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: fis free command


----- Original Message ----- 
From: "Gary Thomas" <gary@mlbassoc.com>
To: "Chris Garry" <cgarry@sweeneydesign.co.uk>
Cc: "eCos Discussion" <ecos-discuss@sources.redhat.com>
Sent: Saturday, November 01, 2003 7:56 AM
Subject: Re: [ECOS] fis free command
> Chris Garry said:
> > I just re-built RedBoot and noticed a small problem with the fis free
> > command. Output from RedBoot below:
> >
> > -- Begin --
> > RedBoot(tm) bootstrap and debug environment [ROM]
> > Non-certified release, version E7T-DBoard - built 16:51:24, Oct 31 2003
> >
> > Copyright (C) 2000, 2001, 2002, Red Hat, Inc.
> >
> > RAM: 0x00000000-0x00080000, [0x00017cc8-0x0006f000] available
> >      0x01900000-0x03900000, [0x01900000-0x03900000] available
> > FLASH: 0x01800000 - 0x01880000, 128 blocks of 0x00001000 bytes each.
> > RedBoot> fis free
> >   0x0183B000 .. 0x0187E000
> >   0x01880000 .. 0x0187FFFF
> > RedBoot>
> > -- End --
> >
> > The last line of output from the fis free command
> > (0x01880000 .. 0x0187FFFF) is bogus since the highest FLASH address
> > is 0x0187FFFF.
> >
> > Has this been seen on other platforms?
> 
> No.  What does 'fis list' show?
> 

RedBoot> fis free
  0x0183B000 .. 0x0187E000
  0x01880000 .. 0x0187FFFF
RedBoot> fis list
Name              FLASH addr  Mem addr    Length      Entry point
(reserved)        0x01800000  0x01800000  0x00010000  0x00000000
RedBoot[post]     0x01810000  0x01810000  0x00020000  0x00000000
support.fpga      0x01830000  0x01900000  0x0000B000  0x01900000
RedBoot config    0x0187E000  0x0187E000  0x00001000  0x00000000
FIS directory     0x0187F000  0x0187F000  0x00001000  0x00000000
RedBoot>

> Note: 'fis free' has recently been changed to believe the values in
> the fis directory.  If it is incorrect, then all bets are off.  A
> configuration control can be used to restore the previous [dubious]
> behaviour.

I rebuilt RedBoot with CYGDAT_REDBOOT_FIS_MAX_FREE_CHUNKS
disabled and 'fis free' worked correctly.  I agree that the new 'fis free'method is
better so I'll have a look at what is going wrong on my target.

Chris

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


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