|
Hi, I am trying to get the going with the PM9263 development board from Ronetix. I have compiled the KaeilOS kernel and console image rootfs sccessfully with Openembedded, and flashed them on the board. Kernel is on address 0x10050000 and rootfs on the NAND at address 0x0.
But when I do "bootm 1050000" from u-boot the kernel starts fine but ends with:
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(2,0)
I am think there may be something wrong with my u-boot arguments. Here they are:
bootargs=root=/dev/mtdblock4 rootfstype=jffs2 bootdelay=1 baudrate=115200 hostname=SBox mtdids=nor0=physmap-flash.0,nand0=nand mtdparts=mtdparts=physmap-flash.0:256k(u-boot),64k(u-boot-env1),64k(u-boot-env2),1856k(kernel1),-(kernel2);nand:-(nand) partition=nand0,0 rootargs=root=/dev/mtdblock4 rootfstype=jffs2 ramargs=setenv bootargs $(rootargs) $(mtdparts) nfsargs=setenv bootargs root=/dev/nfs rw nfsroot=$(serverip):$(rootpath) $(mtdparts) addip=setenv bootargs $(bootargs) ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask):$(hostname):eth0:off ramboot=tftpboot 0x22000000 $(bootimage);run ramargs;run addip;bootm 22000000 rootpath=/usr/local/share/sbox-tree bootimage=vmImage testboot=setenv rootpath /usr/local/share/sbox-tree-tng_lak;run nfsboot nfsboot=tftpboot 0x22000000 $(bootimage);run nfsargs;run addip;bootm 22000000 flashboot=run ramargs;bootm 0x10050000 serialno=0000121a29c4 filesize=186f68 fileaddr=20020000 gatewayip=192.168.1.254 netmask=255.255.255.0 stdin=serial stdout=serial stderr=serial ipaddr=192.168.0.3 serverip=192.168.0.2 ethact=macb0 ethaddr=02:00:12:1A:29:C4 bootcmd=bootm 10050000
Anyone knows whats wrong? Im really new to this.
|