This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: redboot block size on IQ80310


> > I'm sure there's enough space 
> > because 'fis free' returns 0x60000 - 0x7C0000, which is 
> > plenty of room.

 0x7C0000
- 0x60000
---------
 0x760000 = 7733248 bytes or 7.375MB

my root file system file maxes out at around 5 megs (depending on what I
put in it). But I can't create the file in flash. 

log:
---------------------------------------------
RedBoot> fis free
  0x00060000 .. 0x007C0000
RedBoot> fis list
Name              FLASH addr  Mem addr    Length      Entry point
RedBoot           0x00000000  0x00000000  0x00040000  0x00000000
RedBoot[backup]   0x00040000  0x00040000  0x00040000  0x00000000
RedBoot config    0x007C0000  0x007C0000  0x00020000  0x00000000
FIS directory     0x007E0000  0x007E0000  0x00020000  0x00000000
RedBoot> fis create -b 0xa0200000 -l 0x500000 rootfs.img
Can't locate 5242880 bytes free in FLASH
RedBoot>
---------------------------------------------

as you can see 5242880 < 7733248!

On Mon, 2004-06-21 at 15:15, Doyle, Patrick wrote:
> Have you tried executing an:
> 
> RedBoot> fis free
> 
> to see if your flash is erased?  The "fis free" command will report regions
> of flash that it believes are erased.  The last time I looked, "fis create"
> used the same code to determine if there was enough room for a new image.
> 
> --wpd
> > -----Original Message-----
> > From: tjohnson [mailto:tjohnson@itd.nrl.navy.mil] 
> > Sent: Monday, June 21, 2004 3:15 PM
> > To: ecos-discuss@sources.redhat.com
> > Subject: [ECOS] redboot block size on IQ80310
> > 
> > 
> > Hi list,
> > 
> > I was wondering if anyone knew the max file size on redboot 
> > for an Intel IQ80310 board. I was trying to burn a root file 
> > system for linux into flash and for any file greater than 
> > say, 2 meg 'fis create' returns saying it can't find enough 
> > space to fit the file in. I'm sure there's enough space 
> > because 'fis free' returns 0x60000 - 0x7C0000, which is 
> > plenty of room. It seems like this has to do with the 
> > block_size on IQ80310 and redboot's inability to burn file's 
> > larger than that value. Any help would be greatly appreciated!
> > 
> > -Travis
> > 
> > 
> > -- 
> > Before posting, please read the FAQ: 
> > http://ecos.sourceware.org/fom/ecos
> > and search the list 
> > archive: http://ecos.sourceware.org/ml/ecos-discuss
> > 
> 
> 
> Patrick Doyle
> DSP Design Engineer
> (603) 546-2179
> 
>  
> 
> This communication is from DTC Communications, Inc. and is intended to be
> confidential and solely for the use of the persons or entities addressed
> above.  If you are not an intended recipient, be aware that the information
> contained herein may be protected from unauthorized use by privilege or law,
> and any copying, distribution, disclosure, or other use of this information
> is prohibited.  If you have received this communication in error, please
> contact the sender by return e-mail or telephone the above number
> immediately and delete or destroy all copies.  Thank you for your
> cooperation.
> 
>  
> 


-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]