root fs mount issue: Xilinx System ACE on PCI bus
Sanjay Bajaj
sbajaj at tsi-telsys.com
Thu Jun 9 01:36:27 EST 2005
Thanks Mark and Peter for your responses.
I was not using devfs filesystem earlier. I included that in the kernel build and set the "root=" in the bootargs to "/dev/xsysace/disc0/part2 rw". A similar string I found in Xilinx ML300 documentation. It worked !
Thanks Again.
Sanjay
-----Original Message-----
From: Mark Chambers [mailto:markc at mail.com]
Sent: Tuesday, June 07, 2005 8:48 PM
To: Sanjay Bajaj
Subject: Re: root fs mount issue: Xilinx System ACE on PCI bus
Arggh, sorry, I told you wrong. It's "rootfstype=". Also, I see that the
command list I use (which came from u-boot) also has "noinitrd" in it. The
whole line is (just for a reference):
root=/dev/mtdblock0 rw noinitrd rootfstype=jffs2
ip=192.168.1.4:192.168.1.6:192.168.1.1:255.255.255.0:iView:eth0:off panic=1
I'm using devfs - are you?
----- Original Message -----
From: "Sanjay Bajaj" <sbajaj at tsi-telsys.com>
To: "Mark Chambers" <markc at mail.com>
Cc: <linuxppc-embedded at ozlabs.org>
Sent: Tuesday, June 07, 2005 1:02 PM
Subject: RE: root fs mount issue: Xilinx System ACE on PCI bus
Hi! Mark,
I did put in "rootfs=ext3", but, the result is still the same.
Sanjay
-----Original Message-----
From: Mark Chambers [mailto:markc at mail.com]
Sent: Tuesday, June 07, 2005 11:51 AM
To: Sanjay Bajaj
Subject: Re: root fs mount issue: Xilinx System ACE on PCI bus
Well, I'm no guru, but you could try adding a 'rootfs=" option to your
kernel command line (rootfs=jffs2, for instance, or ext2). Perhaps the
kernel is not able to automatically determine the filesystem. When you
'mount' you explicitly tell the kernel what kind of file system is on the
device.
Mark Chambers
----- Original Message -----
From: "Sanjay Bajaj" <sbajaj at tsi-telsys.com>
To: <linuxppc-embedded at ozlabs.org>
Sent: Tuesday, June 07, 2005 11:05 AM
Subject: root fs mount issue: Xilinx System ACE on PCI bus
Hi! Gurus,
Need some help in understanding root fs mounting. The setup we have here is
our hardware has Xilinx Virtex II pro chip that has System ACE hardware
connected to a compact flash. The Virtex II Pro is connected to Local PCI
bus which is run by PPC 440GX processor. I have ported the driver for
xsysace from ml300 config to our hardware (From OPB to PCI). When I boot
over nfs, I can easily mount the partictions on the compact flash. The nodes
in /dev directory are:
brw-r--r-- 1 root root 254, 0 Jun 3 13:04 xsysacea
brw-r--r-- 1 root root 254, 1 Jun 3 13:04 xsysacea1
brw-r--r-- 1 root root 254, 2 Jun 3 13:04 xsysacea2
When I try to boot from the commpact flash, the kernel panics. The edited
boot listing is as follows:
=> bootm
...
...
Kernel command line: root=/dev/xsysacea2 rw console=ttyS0,9600 mem=128M
...
...
Partition check:
xsysacea: xsysacea1 xsysacea2
System ACE at 0xFFFC1000 mapped to 0xD2070000, irq=26, 500472KB
...
...
VFS: Cannot open root device "xsysacea2" or 00:00
Please append a correct "root=" boot option
Kernel panic: VFS: Unable to mount root fs on 00:00
<0>Rebooting in 180 seconds..
-------
What am I missing here? Any help is appreciated.
Thanks,
Sanjay
_______________________________________________
Linuxppc-embedded mailing list
Linuxppc-embedded at ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-embedded
More information about the Linuxppc-embedded
mailing list