Page 1 of 1
How to make jffs2
Posted: Tue Nov 03, 2009 12:09 pm
by mgrunt
Hi all, i install to my mini2440 (128MB NAND) u-boot, and kernel. Both works OK. Now i must make root filesystem. It's possible make from file directory structure (/bin, /usr etc.) JFFS2 file? Probebly yes, with make.jffs2 program. But program have several parameters, and i don't know, which values i must set for NAND 128MB. Can you enybody help me?
Thank you
Michal Grunt
Re: How to make jffs2
Posted: Tue Nov 03, 2009 12:29 pm
by mgalemin
Hi Michal,
Try to use
buildroot. It is an extremely useful stuff.
Untar it and execute 'make menuconfig'. Change next parameters:
Code: Select all
Target Architecture
[*] arm
Target Architecture Variant
[*] arm920t
Target ABI:
[*] EABI
Toolchain
[*] Enable RPC // need for NFS support in busybox
[*] Use software floating point // need for for busybox
[*] Build/install c++ compiler and libstdc++? // need for QT compiling
Package Selection for the target
[*] <choose software you want to use in your system>
Target filesystem options
[ ] ext2
[*] jffs2
Flash Type
(x) NAND flash with 2kB Page and 128 kB erasesize
Save these settings and execute 'make'. You'll find ready to flash rootfs.arm.jffs2 rootfs image in ./binaries/uclibc/ folder. Buildroot will download and build all necessary packages (toolchain, binutils, uclibc, busybox etc.)
Enjoy.
Re: How to make jffs2
Posted: Sat Nov 07, 2009 10:23 am
by tull
Hello, can you please advise how to set up packages in buildroot I had properly configured Xserver and QT?
Thanks