[BeagleBoard/DSP_Howto] issue with mmc card

Hi all,
I followed guideline on http://elinux.org/BeagleBoard/DSP_Howto
I can built it normally and get uImage.
But when I tried to boot the kernel with bootargs as follow
setenv bootargs 'console=ttyS2,115200n8n console=tty0 root=/dev/
mmcblk0p2 rootdelay=2 rootfstype=ext2 rw video=omapfb:vram:2M,vram:4M'
I receipt these message:
VFS: Cannot open root device "mmcblk0p2" or unknown-block(2,0)
Please append a correct "root=" boot option; here are the available
partitions:
1f00 512 mtdblock0 (driver?)
1f01 1920 mtdblock1 (driver?)
1f02 128 mtdblock2 (driver?)
1f03 4096 mtdblock3 (driver?)
1f04 255488 mtdblock4 (driver?)
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-
block(2,0)
Normally, kernel will recognize the mmc card and its partitions.
Any one met this issue? Any solution please.
Regards,
Giang Nguyen

Hi all,

Could somebody just help me with a quick question -

When the Angstrom splashscreen comes up with the
pair of compasses and the progress bar, what colour
should the background be?

I'm seeing a light blue/cyan background, but am still
having trouble with colourisation overall, and so I
wondered if perhaps it should be white, which may
lead me to think I have a h/w issue...

Thanks,

Alex Lennon
http://www.dynamicdevices.co.uk

hi.

where is your rootfs from?

It cannt mount dev/mmcblk0p2, so it gave you the kernel panic error.

make sure your rootfs can work well with you new uImage.

thanks

Hi Favor,
Usually it should output like this:

Waiting 2sec before mounting root device…
mmc0: new high speed SDHC card at address 0002
mmcblk0: mmc0:0002 00000 3.81 GiB
mmcblk0: p1 p2 p3

Then rootfs can be mounted properly. But when I use the new kernel from the instruction, it failed to do that.
I’ve test with other kernels.

Regards,
Giang Nguyen

Hi!

I'm trying to compile a new kernel from http://www.kernel.org/pub/linux/kernel/v2.6/testing/
for the beagleboard rev. c2 ( 2.6.30-rc7 ) but i get an similar error
like above:

Waiting 2sec before mounting root device...
Root-NFS: No NFS server available, giving up.
VFS: Unable to mount root fs via NFS, trying floppy.
VFS: Cannot open root device "mmcblk0p2" or unknown-block(2,0)
Please append a correct "root=" boot option; here are the available
partitions:
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-
block(2,0)

So is this a kernel problem or a .config problem? i'm using the
emdebian cross compiler tool chain and i did the following to compile:

make CROSS_COMPILE=arm-linux-gnueabi- ARCH=arm clean
make CROSS_COMPILE=arm-linux-gnueabi- ARCH=arm omap3_beagle_defconfig
make CROSS_COMPILE=arm-linux-gnueabi- ARCH=arm xconfig
make CROSS_COMPILE=arm-linux-gnueabi- ARCH=arm uImage

Does anyone know what to do to get a kernel from kernel.org to work on
the beagleboard with booting from sd-card? precompiled kernel are
working...

Regards,
sol

Hi!

I'm trying to compile a new kernel from Index of /pub/linux/kernel/v2.6/testing/
for the beagleboard rev. c2 ( 2.6.30-rc7 ) but i get an similar error

the kernel from Index of /pub/linux/kernel/v2.6/testing/
can not be used on beagleboard, I think.

you should download the kernel which is from somewhere related to
beagleboard branch, or linux-omap branch.

I think the 2.6.30 kernel contains beagleboard support. I just compiled
it using omap3_beagle_config.

I still have to test the kernel though so that's why I'm not too sure
yet if it works.

AMit

ok, thanks for the information!

is there somewhere a list of beagleboard kernel branches?

i tried a git clone from git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap-2.6.git
but it looks like it has a problem with my usb hub (i'm trying to
solve this right now...)

regards,
sol