Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
12 years ago

EBV SoCrates Board - Linux 3.10 Kernel stops in the middle of nowhere

Hi,

I'm pretty new to Cyclone V SoCs and also to Linux in general. But I already managed to compile a Linux Kernel 3.10 with the cross compiler toolchain (eldk) provided by www.denx.de (http://www.denx.de). I also got a root fs from denx.de.

Okay, on the Socartes board provided by EBV, there is a micro SD card which already has a running system ready to boot a linux system. This works fine.

I started by setting up u-boot (by stopping the normal linux boot and changing some environment variable to my needs like IP adresses and device tree blob file name, etc). I am able to load my compiled kernel 3.10.17 from my development host for booting on the SoCrates Board (via NFS). I also provide a dtb file which I compiled from the dts file that is provided in the kernel git repository. I also load this file via NFSD to the board at bootup.

The kernel seems to start correctly but then stops after it writes out "stmmac_dvr_probe: warning: cannot get CSR clock". After some time I get some dumps (?!?) or whatever that may give a hint about what the kernel is doing while not booting anymore. I attached everything (from the boot command in the u-boot console until the aformentzioned dump) into the attachment.

The last line that the kernel displays to me seems to have something to do with the Ethernet connection. Maybe I have not compiled the correct ethernet PHY driver into my kernel. But that is just a guess because as I said I'm very unexperienced with Linux kernel internals.

I'm happy about every hint or advise from somebody that is more experienced than I am.

Regards,

Maik

1 Reply