This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: copy FIS directory - fis load problem?
- From: Gary Thomas <gary at mlbassoc dot com>
- To: M Core <cmosis5 at hotmail dot com>
- Cc: ecos-discuss at ecos dot sourceware dot org
- Date: Wed, 10 Jun 2009 16:04:33 -0600
- Subject: Re: [ECOS] copy FIS directory - fis load problem?
- References: <1242900770.7626.ezmlm@ecos.sourceware.org> <COL108-W35B96EF49BD7862C16F93BF2450@phx.gbl>
M Core wrote:
>
> Does anyone know how to copy FIS directory to RAM?
> (My goal it to copy it off the boards so I can avoid running fconfig on every board).
>
>
> The problem fis load doesn't seem to do anything.
>
>
>
>
> RedBoot> mfill -b 0x00218000 -l 0x100 -p 5555 -4
> RedBoot> dump -b 0x00218000 -l 0x100
> 00218000: B3 15 00 00 B3 15 00 00 B3 15 00 00 B3 15 00 00 |................|
> 00218010: B3 15 00 00 B3 15 00 00 B3 15 00 00 B3 15 00 00 |................|
> 00218020: B3 15 00 00 B3 15 00 00 B3 15 00 00 B3 15 00 00 |................|
> 00218030: B3 15 00 00 B3 15 00 00 B3 15 00 00 B3 15 00 00 |................|
> 00218040: B3 15 00 00 B3 15 00 00 B3 15 00 00 B3 15 00 00 |................|
> 00218050: B3 15 00 00 B3 15 00 00 B3 15 00 00 B3 15 00 00 |................|
> 00218060: B3 15 00 00 B3 15 00 00 B3 15 00 00 B3 15 00 00 |................|
> 00218070: B3 15 00 00 B3 15 00 00 B3 15 00 00 B3 15 00 00 |................|
> 00218080: B3 15 00 00 B3 15 00 00 B3 15 00 00 B3 15 00 00 |................|
> 00218090: B3 15 00 00 B3 15 00 00 B3 15 00 00 B3 15 00 00 |................|
> 002180A0: B3 15 00 00 B3 15 00 00 B3 15 00 00 B3 15 00 00 |................|
> 002180B0: B3 15 00 00 B3 15 00 00 B3 15 00 00 B3 15 00 00 |................|
> 002180C0: B3 15 00 00 B3 15 00 00 B3 15 00 00 B3 15 00 00 |................|
> 002180D0: B3 15 00 00 B3 15 00 00 B3 15 00 00 B3 15 00 00 |................|
> 002180E0: B3 15 00 00 B3 15 00 00 B3 15 00 00 B3 15 00 00 |................|
> 002180F0: B3 15 00 00 B3 15 00 00 B3 15 00 00 B3 15 00 00 |................|
> RedBoot> fis load -b 0x00218000 -c "FIS directory"
> RedBoot> dump -b 0x00218000 -l 0x100
> 00218000: B3 15 00 00 B3 15 00 00 B3 15 00 00 B3 15 00 00 |................|
> 00218010: B3 15 00 00 B3 15 00 00 B3 15 00 00 B3 15 00 00 |................|
> 00218020: B3 15 00 00 B3 15 00 00 B3 15 00 00 B3 15 00 00 |................|
> 00218030: B3 15 00 00 B3 15 00 00 B3 15 00 00 B3 15 00 00 |................|
> 00218040: B3 15 00 00 B3 15 00 00 B3 15 00 00 B3 15 00 00 |................|
> 00218050: B3 15 00 00 B3 15 00 00 B3 15 00 00 B3 15 00 00 |................|
> 00218060: B3 15 00 00 B3 15 00 00 B3 15 00 00 B3 15 00 00 |................|
> 00218070: B3 15 00 00 B3 15 00 00 B3 15 00 00 B3 15 00 00 |................|
> 00218080: B3 15 00 00 B3 15 00 00 B3 15 00 00 B3 15 00 00 |................|
> 00218090: B3 15 00 00 B3 15 00 00 B3 15 00 00 B3 15 00 00 |................|
> 002180A0: B3 15 00 00 B3 15 00 00 B3 15 00 00 B3 15 00 00 |................|
> 002180B0: B3 15 00 00 B3 15 00 00 B3 15 00 00 B3 15 00 00 |................|
> 002180C0: B3 15 00 00 B3 15 00 00 B3 15 00 00 B3 15 00 00 |................|
> 002180D0: B3 15 00 00 B3 15 00 00 B3 15 00 00 B3 15 00 00 |................|
> 002180E0: B3 15 00 00 B3 15 00 00 B3 15 00 00 B3 15 00 00 |................|
> 002180F0: B3 15 00 00 B3 15 00 00 B3 15 00 00 B3 15 00 00 |................|
> RedBoot> fis load -b 0x00218000 -c FIS directory
What's the platform? It works fine on my PowerPC based systems:
RedBoot> fi lo -b 0x100000 "FIS directory"
RedBoot> x -b 0x100000
00100000: 28 72 65 73 65 72 76 65 64 29 00 00 00 00 00 00 |(reserved)......|
00100010: F0 00 00 00 F0 00 00 00 00 02 00 00 00 00 00 00 |................|
Also note that the command you issued is not going to save
the 'fconfig' data. For that, you'd need to load 'RedBoot config'
RedBoot> x -b 0x100000
00100000: 00 00 10 00 0B AD FA CE 01 0C 01 00 62 6F 6F 74 |............boot|
00100010: 5F 73 63 72 69 70 74 00 00 00 00 00 04 11 01 0C |_script.........|
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss