Nios® II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
Announcements
Intel Support hours are Monday-Fridays, 8am-5pm PST, except Holidays. Thanks to our community members who provide support during our down time or before we get to your questions. We appreciate you!

Need Forum Guidance? Click here
Search our FPGA Knowledge Articles here.
12435 Discussions

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

Altera_Forum
Honored Contributor II
772 Views

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
0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
89 Views

Hi,  

 

somebody recently got the same problem like I have : http://lists.rocketboards.org/pipermail/rfi/2013-october/000633.html (http://somebody recently got the same problem like i have : http://lists.rocketboards.org/pipermail/rfi/2013-october/000633.html

 

It is said, that I should not use mainline kernel but the git repository from rocketboards.org. 

 

Okay, I tried that, but it seems as if the server does not answer properly on my git clone request (neither via git port nor via http). 

 

What is wrong, there? 

 

Regards, 

Maik
Reply