<!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: </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>0xf4000000- 0xf7ffffff First
bank</FONT></DIV>
<DIV><FONT face=Arial size=2>0xfc000000-0xffffff Second
Bank (boot bank)</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </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> </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 Data1</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </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> </DIV>
<DIV><FONT face=Arial size=2>We'd like to format linux kernel and
rootfs image partitions (and the others) with jffs2, because the two images may
be replaced with newer ones while Linux is running. </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </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 partitions formatted using jffs2?</FONT></DIV>
<DIV><FONT face=Arial size=2>i.e. 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> </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, I reckon out
that u-boot works using binary or file-system images stored in raw way 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> </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>