This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

DM3730 DVSDK 4.03 - VFS: Cannot open root device "mmcblk0p2"

Hello guys,

I'm having trouble booting from an SD card generated from DVSDK 4.03 on my Technexion TDM-3730 (basically, a DM-3730) board. The SD card is a 8GB SanDisk simply created by running this from the DVSDK directory:

sudo ./bin/mksdboot.sh --device /dev/sdc --sdk /home/myuser/dvsdk

It boots just fine until it tries to mount the root filesystem, then I get a classic "VFS: Unable to mount root fs":

[ 4.456390] Waiting for root device /dev/mmcblk0p2...
[ 4.478149] mmc0: new high speed SDHC card at address aaaa
[ 4.485839] mmcblk0: mmc0:aaaa SU08G 7.40 GiB (ro)
[ 4.506591] mmcblk0: p1 p2
[ 4.584686] VFS: Cannot open root device "mmcblk0p2" or unknown-block(179,2)
[ 4.592102] Please append a correct "root=" boot option; here are the available partitions:
[ 4.600891] 1f00 512 mtdblock0 (driver?)
[ 4.606445] 1f01 1280 mtdblock1 (driver?)
[ 4.611694] 1f02 768 mtdblock2 (driver?)
[ 4.617034] 1f03 5120 mtdblock3 (driver?)
[ 4.622344] 1f04 516608 mtdblock4 (driver?)
[ 4.627593] b300 7761920 mmcblk0 driver: mmcblk
[ 4.633178] b301 40131 mmcblk0p1 00000000-0000-0000-0000-000000000mmcblk0p1
[ 4.641540] b302 7719232 mmcblk0p2 00000000-0000-0000-0000-000000000mmcblk0p2
[ 4.649932] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(179,2)

My uboot args are:

OMAP3_EVM # printenv
bootdelay=10
baudrate=115200
bootfile=uImage
loadaddr=0x82000000
usbtty=cdc_acm
console=ttyO0,115200n8
mmcargs=setenv bootargs console=${console} root=/dev/mmcblk0p2 rw rootfstype=ext3 rootwait omap_vout.vid1_static_vrfb_alloc=y
nandargs=setenv bootargs console=${console} root=/dev/mtdblock4 rw rootfstype=jffs2
loadbootscript=fatload mmc 0 ${loadaddr} boot.scr
bootscript=echo Running bootscript from mmc ...; source ${loadaddr}
loaduimage=fatload mmc 0 ${loadaddr} uImage
mmcboot=echo Booting from mmc ...; run mmcargs; bootm ${loadaddr}
nandboot=echo Booting from nand ...; run nandargs; onenand read ${loadaddr} 280000 400000; bootm ${loadaddr}
dieid#=786800029e3800000168432c1703101a
bootcmd=mmc init;fatload mmc 0 0x82000000 uImage;bootm 0x82000000
bootargs=console=ttyO0,115200n8 rw mem=55M@0x80000000 mpurate=1000 mem=128M@0x88000000 omap_vout.vid1_static_vrfb_alloc=y omapfb.vram=0:4M omapfb.mode=dvi:1280x720@60 omapdss.def_disp=dvi root=/dev/mmcblk0p2 rootfstype=ext3 rootwait ip=off
stdin=serial
stdout=serial
stderr=serial

Any suggestion would be appreciated...what puzzles me is that the mmcblk0p2 seems to be listed as a valid partition in the error message from the kernel. Could it be an SD card problem as mine is a 8GB one? Also I have a revision G1 hardware it that matters.

Thanks!