Atmel website | ARM Community | AVR freaks | Technical Support
Banner
 FAQ •  Search •  Register •  Login 

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: AT91SAM632 board; Unable to mount root fs
PostPosted: Thu Jun 04, 2009 10:05 pm 
Offline

Joined: Wed Apr 22, 2009 6:17 pm
Posts: 5
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.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: