<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1597" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>
<DIV><FONT face=Arial size=2>Hi all,</FONT></DIV>
<DIV><FONT face=Arial size=2>I have a Spansion <SPAN lang=EN-US 
style="FONT-SIZE: 11pt; FONT-FAMILY: Arial; mso-bidi-font-size: 10.0pt; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA">S29GL512N</SPAN> 
NOR flash. Specifically, I have two banks of 64 MB mapped in the following 
way:&nbsp;</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>0xf4000000- 0xf7ffffff&nbsp; First 
bank</FONT></DIV>
<DIV><FONT face=Arial size=2>0xfc000000-0xffffff&nbsp;&nbsp;&nbsp;&nbsp; Second 
Bank (boot bank)</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>In the Linux kernel we have partitioned the flash 
in five parts:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>0xf4000000 - 0xf43fffff Linux kernel 
image</FONT></DIV>
<DIV><FONT face=Arial size=2>0xf4400000 - 0xf4fffffff Rootfs Image</FONT></DIV>
<DIV><FONT face=Arial size=2>0xf5000000 - 0xf7ffffff&nbsp;Data1</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>0xfc000000 - 0xfff7ffff Data2</FONT></DIV>
<DIV><FONT face=Arial size=2>0xfff80000 - 0xffffffff U-boot image</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>We'd like to format&nbsp;linux kernel&nbsp;and 
rootfs image partitions (and the others) with jffs2, because the two images may 
be&nbsp;replaced with newer ones&nbsp;while Linux is running.&nbsp;</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>A first question is: </FONT></DIV>
<DIV><FONT face=Arial size=2>Is it possible to boot (bootm command) the images 
stored in&nbsp;partitions formatted using jffs2?</FONT></DIV>
<DIV><FONT face=Arial size=2>i.e.&nbsp;after the images are replaced and the 
machine is rebooted, can the u-boot be configured to read the new image from 
these jffs2 partitions?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>If so, how is it possible to perform 
it?</FONT></DIV>
<DIV><FONT face=Arial size=2>Because from Internet and manual,&nbsp;I reckon out 
that u-boot works using binary or file-system images stored in raw way&nbsp;and 
I don't understand if the image can be read andloaded from a not-raw 
partitions.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Thanks in advance for the 
reply.</FONT></DIV></FONT></DIV>
<DIV><FONT face=Arial size=2>Fabio Ubaldi</FONT></DIV></BODY></HTML>