public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] Problems with root JFFS2 on NAND Flash
@ 2008-06-13 13:58 Stuart Wood
  2008-06-13 14:45 ` Stuart Wood
  0 siblings, 1 reply; 9+ messages in thread
From: Stuart Wood @ 2008-06-13 13:58 UTC (permalink / raw)
  To: u-boot

I'm having some new problems with my jffs2 root file system when it is
mounted the first time from small page nand flash.
I'm pretty sure its some sort of configuration problem but the web
hasn't helped so far.

NAND Flash,
erase block = 0x4000, page size

The jffs2 image is being built with this command from Buildroot:

# Use fakeroot so mkfs.jffs2 believes the previous fakery
echo "/home/stuart/ArmLinux/buildroot/toolchain_build_arm_nofpu/mtd_orig/util/mkfs.jffs2
-e 0x4000 -p -l -s 0x200 -n -D target/generic/device_table.txt -d
/home/stuart/ArmLinux/buildroot/build_arm_nofpu/root -o
/home/stuart/ArmLinux/buildroot/rootfs.arm_nofpu.jffs2" \
                >> /opt/buildroot/_fakeroot.rootfs.arm_nofpu.jffs2
chmod a+x /opt/buildroot/_fakeroot.rootfs.arm_nofpu.jffs2
/opt/buildroot/usr/bin/fakeroot --
/opt/buildroot/_fakeroot.rootfs.arm_nofpu.jffs2
rootdir=/home/stuart/ArmLinux/buildroot/build_arm_nofpu/root
table='target/generic/device_table.txt'
mkfs.jffs2: skipping device_table entry '/dev': no parent directory!
mkfs.jffs2: skipping device_table entry '/tmp': no parent directory!
mkfs.jffs2: skipping device_table entry '/etc': no parent directory!
-rw-r--r-- 1 stuart stuart 2736128 2008-06-13 09:52
/home/stuart/ArmLinux/buildroot/rootfs.arm_nofpu.jffs2
/sbin/ldconfig -r /home/stuart/ArmLinux/buildroot/build_arm_nofpu/root
2>/dev/null

I'm using u-boot 1.3.3 to load the image like this:

-- 
Stuart Wood

Lab X Technologies, LLC
176 Anderson Ave.
Suite 302
Rochester, NY 14607
Phone: (585) 271-7790 x207
Fax: (585) 473.4707

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2008-06-30 21:02 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-13 13:58 [U-Boot-Users] Problems with root JFFS2 on NAND Flash Stuart Wood
2008-06-13 14:45 ` Stuart Wood
2008-06-13 15:54   ` Grant Erickson
2008-06-26 17:27     ` Stuart Wood
2008-06-26 17:55       ` Grant Erickson
2008-06-26 18:16         ` Stuart Wood
2008-06-26 18:51           ` Kenneth Johansson
2008-06-30 21:02             ` Stuart Wood
2008-06-26 23:17           ` Andrejs Cainikovs

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox