How to make jffs2

Post Reply
mgrunt
Posts: 13
Joined: Sun Oct 11, 2009 11:44 am

How to make jffs2

Post by mgrunt » Tue Nov 03, 2009 12:09 pm

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

mgalemin
Posts: 13
Joined: Tue Oct 06, 2009 11:49 pm

Re: How to make jffs2

Post by mgalemin » Tue Nov 03, 2009 12:29 pm

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. :)

tull
Posts: 2
Joined: Thu Oct 29, 2009 1:05 pm

Re: How to make jffs2

Post by tull » Sat Nov 07, 2009 10:23 am

Hello, can you please advise how to set up packages in buildroot I had properly configured Xserver and QT?

Thanks

Post Reply

Who is online

Users browsing this forum: No registered users and 18 guests