I'm hoping someone can tell me what salient point I am missing with
trying to get Angstrom going on my Beagle Board. I've spend all day
trying to get it going, so thought I'd post this before bedtime in the
hope there'll be someone telling me what an idiot I've been in the
morning!
I have downloaded the files from here:
http://www.angstrom-distribution.org/demo/beagleboard/
I have followed the instructions for dual formatting an SD card here
(4G, not 2G, just in case that's relevant):
http://code.google.com/p/beagleboard/wiki/LinuxBootDiskFormat
I untarred
file:///home/robertw/Data/Linux/Beagleboard/Angstrom-Beagleboard-demo-image-glibc-ipk-2008.1-test-20080823-beagleboard.rootfs.tar.bz2
And put that on the ext3 partition of the SD card.
On the FAT partition I put:
mlo
u-boot.bin
uImage
I then insert the DS card, boot into uBoot while holding USER switch
down and issue the following commands (there is no Beagleboard logo in
this version of uBoot as there is from the presinstalled NAND flash
version):
(Instructions from here)
http://code.google.com/p/beagleboard/wiki/BootingBeagleBoard
mmcinit
fatload mmc 0 0x80300000 uImage
I then tried two possibilities:
First:
setenv bootargs console=ttyS2,115200n8 noinitrd root=/dev/mmcblk0p1
rootfstype=ext2 rw rootdelay=1 nohz=off
bootm 0x80300000
This gives me kernel panic and says:
No filesystem could mount root, tried: ext2
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-
block(179,1)
I do get a beagleboard.org logo
Them if I reboot, and for the setenv this time put the line from the
readme file:
setenv bootargs 'console=ttyS2,115200n8 console=tty0 root=/dev/
mmcblk0p2 rootdelay=2 rootfstype=ext3 video=omapfb:vram:2M,vram:4M
bootm 0x80300000
This time I get at the end:
Freeing init memory: 176K
Kernel panic - not syncing: No init found. Try passing init= option
to kernel.
I saw a post where someone had said they had "finally" got Angstrom
going and someone was expressing alarm that it had been hard. I must
say, if I had not had some embedded Linux experience elsewhere I would
have been *totally* lost rather than simply struggling like mad to get
this far. (That sounds awfully ungrateful for all the work that has
already been put in by other people and I don't wish it to sound like
that.) I'm probably missing something salient, but I just cannot see
at all, so really hope someone can point me to the bit that I can't
see for looking!
Getting to this point had taken from 10am this morning to midnight
with the odd break, so it's definitely not a straightforward thing. If
I can get this going I'll write up a newb's guide to getting it all
loaded up.
Most grateful for any help going it going! :~)
Rob