Atmel website | ARM Community | AVR freaks | Technical Support
Banner
 FAQ •  Search •  Register •  Login 

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: JFFS2 on 8-bits NAND Flash (2Gbits) from ST Micro
PostPosted: Mon Oct 08, 2007 2:48 pm 
Offline

Joined: Wed Jul 04, 2007 8:01 am
Posts: 37
Hi,

Has anyone successfully used JFFS2 on an 8-bits NANd Flash (2Gbits) from ST Micro on AT91SAM9261 ?

I have used U-boot to erase and write JFFS2 filesystem into the NAND flash and everything appears fine (verify with nand dump to screen).

However, when the Linux kernel starts (when assigned to use the NAND for root filesystem), I see a errors such as "Magic bitmask 0x1985 missing ....".

With that, I use a portion of my NOR flash (where U-boot and kernel is stored) for a minimal filesystem and start the kernel.

After starting, I use nanddump function (mtd utilities) to dump the contents of NAND to flash. To my surprise, I noted that the first 3 bytes of data were "0x85 0x85 0x19" instead of "0x85 0x19" (which I saw in U-boot).

Does anyone has any advise on the possible causes of the problem, or anyone can advise what can I check or modify in the code.

Appreciate any help given.

I am using Kernal 2.6.23.

Thanks in advance.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 7 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: