Hello,
I want to try a Linux kernel so I managed an SD card to have two
partitions. The first is formatted as FAT32 where I copied:
http://beagleboard.googlecode.com/files/MLO_revb
http://beagleboard.googlecode.com/files/flash-uboot.bin
http://beagleboard.googlecode.com/files/uImage_OTG
in that order. The second one is formatted as ext3 and contains the
root file system:
http://beagleboard.googlecode.com/files/ALSA-FS.tar.gz
which I have untar-ed directly on the SD.
I set the boot arguments and commands like these:
# setenv bootargs 'console=ttyS2,115200n8 root=/dev/mmcblk0p2 rw
rootwait'
# setenv bootcmd 'mmcinit;fatload mmc 0 80300000 uImage;bootm
80300000'
After power-up it reads the uImage and start to load the kernel. After
a while on the serial terminal I get:
VFS: Unable to mount root fs via NFS, trying floppy.
VFS: Cannot open root device "mmcblk0p2" or unknown-block(2,0)
VFS: Cannot open root device "mmcblk0p2" or unknown-block(2,0)
Please append a correct "root=" boot option; here are the available
partitions:
Please append a correct "root=" boot option; here are the available
partitions:
1f00 512 mtdblock01f00 512 mtdblock0 (driver?)
(driver?)
1f01 1920 mtdblock11f01 1920 mtdblock1 (driver?)
(driver?)
1f02 128 mtdblock21f02 128 mtdblock2 (driver?)
(driver?)
1f03 5120 mtdblock31f03 5120 mtdblock3 (driver?)
(driver?)
1f04 254464 mtdblock41f04 254464 mtdblock4 (driver?)
(driver?)
<0>Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-
block(2,0)
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-
block(2,0)
I understand there is a mistake in the root arguments, but I can't
understand how to read the "available partitions" table and how to
change the bootarg value.
May you help me, please?
Thanks
Marco