Google
  Web www.spinics.net

Re: How to have a ROM file system on AT91SAM9260?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


> > Hi all, 
> > 
> > I'm trying to create a ROM file system (for example JFFS2) in order to
> > be able
> > to save file in DataFlash or NandFlash on a AT91SAM9260-EK board.
> > 
> > I use U-Boot 1.1.5, ARM Linux Kernel 2.6.21-rc1-git3 and Busybox v1.4.1.
> > I try to compile the kernel with MTD options without success.
> > 
> > Actually, I use a RAM file system (ramfs) and I launch the kernel with the
> > following command line:
> > mem=64M console=ttyS0,115200 initrd=0x21100000,3145728 root=/dev/ram0 rw
> > 
> > Thanks for you advices you could give me to set up a romfs.
> > 
> 
> Well JFFS2 is not a ROM file system but...
> 
> The typical problem in doing this is to get the JFFS2 parameters wrong
> Buildroot (buildroot.uclibc.org) is now setup to generate a 
> JFFS2 file system on dataflash
> 
> Download buildroot, buuild a file system and set target info to JFFS2.
> 
> Best Regards
> Ulf Samuelsson
> 

You said that JFFS2 is not a ROM file system, but is it what I need? I need
something to save the files I modified in flash. With ramfs, when I change a
file and reboot the board, I loose my modifications. 

I'm going to try to download the latest verison of buildroot to generate the
JFFS2 file system. How should I configure the linux kernel and what is the
command line to launch it?

Regards
Nicolas




-------------------------------------------------------------------
List admin: http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm
FAQ:        http://www.arm.linux.org.uk/mailinglists/faq.php
Etiquette:  http://www.arm.linux.org.uk/mailinglists/etiquette.php

[Site Home]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux ARM Kernel]     [Linux MIPS]     [ECOS]     [Tools]     [DDR & Rambus]     [Monitors]

Powered by Linux