Page 1 of 1

Boot from SD-card

Posted: Tue Dec 22, 2009 6:09 am
by goran
Anyone's got an idea on how to boot from SD-card on mini2440? I have tried the u-boot and Kernels from
http://repo.or.cz/w/linux-2.6/mini2440.git and also Debian and a copule of other sources.
I always get "..cannot find root device mmcblk0pX.." no matter what. I believe I have the correct bootcmd and bootarg settings.
I can read files from both partitions in u-boot ,so the hardware seems to be ok.

Re: Boot from SD-card

Posted: Sun Dec 27, 2009 11:44 pm
by Steve
Have you added a bootdelay parameter to the Linux command line? I found this necessary to boot from the SD card. So my working linux_cmd_line parameters are:

Code: Select all

noinitrd console=ttySAC0,115200 root=/dev/mmcblk0p1 rootfstype=ext3 rootdelay=5

Re: Boot from SD-card

Posted: Wed Dec 30, 2009 12:05 am
by Higgins
One related question: how could I write a YAFFS/YAFFS2 image (those that produced by the mkyaffs2image tool) to an SD card so the board can recognize it?

Re: Boot from SD-card

Posted: Wed Dec 30, 2009 9:57 am
by goran
Yes, I've tried delays, both short and long ones, but neither works.
Can't figure out whether hardware initialization takes place in a separate thread, and that it
may be polled for results to soon?