command line partition information
MingLiu
eemingliu at hotmail.com
Mon Nov 17 23:45:17 EST 2008
Hello,
I had the same problem when I use 2.6.27-rc9 with Intel p33 NOR flash memory. My command line is "root=/dev/nfs ip=192.168.0.4:192.168.0.3:192.168.0.3:255.255.255.0 rw nfsroot=192.168.0.3:/home/mingliu/ml403_rootfs console=ttyUL0,9600 mem=64M mtdparts=Intel:5M(kernel),2M(others),-(bitstream)". However the command line partition could not be parsed and there is still only one partition when I boot the kernel.
Are there any persons who manage to use the command line partition option for flash memory? Please give us some hints. Thanks a lot.
BR
Ming
Subject: command line partition informationDate: Sun, 16 Nov 2008 15:43:40 -0800From: Joaquin.Luna at jdsu.comTo: linuxppc-embedded at ozlabs.org
Hello Linux powerpc community,
I am trying to move from 2.6.20 kernel to the new 2.6.27.4 kernel. I am not finding my root file system partition with the new kernel. I am not sure if I need to change my dts file, or if the problem is some where in my kernel config. In either case, it is evident from the boot log that my partition table is not being used. Where it says “[ 0.917162] List of all partitions:" it just lists the entire size of my flash, and none of the partitions listed in the command line.
I do not list any partitions in my dts file, though I tried and not seen any change in the behavior. I have enabled the option in the kernel to parse the partition information from the kernel command line, is there something else I need to do to set up the mtdblockX devices?
Boot Command:
mtdparts=mtdparts=nand0:2m(u-boot),3M(kernel),128K(dtb),30M(jffs2),32M(mycust),90M(myfs),90M(myfs2)
mtd_args=setenv bootargs root=/dev/mtdblock3 rw rootfstype=jffs2 $mtdparts console=ttyS1,115200
Boot Log:
[ 0.825229] brd: module loaded
[ 0.837681] loop: module loaded
[ 0.841404] Driver 'sd' needs updating - please use bus_type methods
[ 0.850005] NAND device: Manufacturer ID: 0x2c, Chip ID: 0xda (Micron NAND 256MiB 3,3V 8-bit)
[ 0.859783] Bad block table found at page 131008, version 0x01
[ 0.867779] Bad block table found at page 130944, version 0x01
[ 0.875443] RedBoot partition parsing not available
[ 0.884431] eLBC NAND device at 0xff800000, bank 0
[ 0.890643] i2c /dev entries driver
[ 0.899633] Driver for 1-wire Dallas network protocol.
[ 0.910115] drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
[ 0.917162] List of all partitions:
[ 0.920856] 1f00 262144 mtdblock0 (driver?)
[ 0.925466] No filesystem could mount root, tried: jffs2
[ 0.930952] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[ 0.939294] Rebooting in 180 seconds..
Thanks to all who can help,
Joaquin Luna
_________________________________________________________________
MSN资讯快递,帮助你第一时间了解最新资讯!
http://im.live.cn/newsexpress
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ozlabs.org/pipermail/linuxppc-embedded/attachments/20081117/04944343/attachment.htm>
More information about the Linuxppc-embedded
mailing list