Boot from SD-card

Post Reply
goran
Posts: 2
Joined: Sun Dec 06, 2009 9:30 am

Boot from SD-card

Post by goran » Tue Dec 22, 2009 6:09 am

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.

Steve
Posts: 5
Joined: Sun Sep 06, 2009 6:52 pm

Re: Boot from SD-card

Post by Steve » Sun Dec 27, 2009 11:44 pm

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

Higgins
Posts: 2
Joined: Mon Oct 12, 2009 8:26 am

Re: Boot from SD-card

Post by Higgins » Wed Dec 30, 2009 12:05 am

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?

goran
Posts: 2
Joined: Sun Dec 06, 2009 9:30 am

Re: Boot from SD-card

Post by goran » Wed Dec 30, 2009 9:57 am

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?

Post Reply

Who is online

Users browsing this forum: No registered users and 13 guests