I could not see you have mounted a jffs2 file system from the information.
Maybe you could try these steps:
1 reconfigure and compile your kernel to support jffs2
2 get mkfs.jffs2 and cross-compile it
3 use mkfs.jffs2 to make a jffs2 file system on your flash memory device
4 add a mount command line(for example, mount -t jffs2 /dev/mtdblock0 /conf) 
into your
  system startup scripts /etc/rc.
5 copy your route configuration file to /conf
6 use the configuration file in /conf to start your route application

----- Original Message ----- 
From: haaroon <[EMAIL PROTECTED]> 
To: uClinux development list <[EMAIL PROTECTED]>
Cc:  <>
Sent: 13:53:31, 2007-04-12
Subject: Re: [uClinux-dev] How to store configuration files in to flashMemory ?

>Hi Aaron Zhong,                
>
>i am mounting my jffs2 like this . 
>
>mount -t proc proc /proc
>mount -o remount,rw /dev/root /
>                                                                               
>                                               and my /dev/ folder having the 
> list like this .
>
>console    kmem       mtdblock2  ptyp2      ram2       tty6       ttyp4
>cua0       ledman     mtdblock3  ptyp3      ram3       tty7       ttyp5
>cua1       log        mtdr0      ptyp4      random     tty8       ttyp6
>flash      mem        mtdr1      ptyp5      tty        tty9       ttyp7
>hda        mtd0       mtdr2      ptyp6      tty0       ttyS0      ttyp8
>hda1       mtd1       mtdr3      ptyp7      tty1       ttyS1      ttyp9
>hda2       mtd2       null       ptyp8      tty2       ttyp0     
>urandom
>hda3       mtd3       ppp        ptyp9      tty3       ttyp1      zero
>hda4       mtdblock0  ptyp0      ram0       tty4       ttyp2
>ipsec      mtdblock1  ptyp1      ram1       tty5       ttyp3
>
>
>
>Can you give some idea to write my configuration files in to flash.And
>also Is there any tools for writing configurations in Flash memory?
>
>Regards,
>S.Haroon Raseed
>
>
>
>On Wed, 2007-04-11 at 11:13, Aaron Zhong wrote:
>> How about mount a jffs2 root file system from flash?
>> And this is a link may help you:
>> http://www.enseirb.fr/~kadionik/embedded/uclinux/mtd/howto_mtd.html
>> 
>> 
>> ----- Original Message ----- 
>> From: haaroon <[EMAIL PROTECTED]> 
>> To: uclinux <[EMAIL PROTECTED]>
>> Cc: rupam <[EMAIL PROTECTED]>
>> Sent: 13:43:17, 2007-04-11
>> Subject: [uClinux-dev] How to store configuration files in to flash Memory ?
>> 
>> >Hi guys,            
>> >
>> >
>> >I  am using uclinux for my route development. i am changing basic
>> >configuration of my route. but it is getting changed in SDRAM not in
>> >flash memory. I don't know how to store this configuration file in to
>> >flash memory. Can you guys please give  me some idea to store these
>> >configuration files in to flash and while rebooting the system how to
>> >retrieve the contents of the configuration files.
>> >
>> >
>> >Thank alot  
>> >
>> >
>> >
>> >
>> >Regards,
>> >S.Haroon Raseed  
>> >
>> 
>> Sincerely,                            
>> Aaron Zhong
>> 

Sincerely,                               
Aaron Zhong


_______________________________________________
uClinux-dev mailing list
[EMAIL PROTECTED]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [EMAIL PROTECTED]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to