* [ECOS] fis load exec failed
@ 2008-08-01 8:03 Sangsu Baek
2008-08-08 7:29 ` Sangsu Baek
0 siblings, 1 reply; 3+ messages in thread
From: Sangsu Baek @ 2008-08-01 8:03 UTC (permalink / raw)
To: ecos
hi I've some trouble with redboot on a ixp435 custom board.
following works
> load -r -b 0x01600000 zImage
> exec
Using base address 0x01600000 and length 0x00104b4c
Then I created zImage partitions successfully with zImage successfully.
>
> fis list
Name FLASH addr Mem addr Length Entry point
RedBoot 0x50000000 0x50000000 0x00080000 0x00000000
zimage 0x50080000 0x50080000 0x00120000 0x01600000
FIS directory 0x50FE0000 0x50FE0000 0x0001F000 0x00000000
RedBoot config 0x50FFF000 0x50FFF000 0x00001000 0x00000000
But following doesn't work, I don't know why.
> fis load -b 0x01600000 zimage
> exec 0x01600000
Can't execute Linux - invalid entry address
regards
-
Sangsu Baek
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [ECOS] fis load exec failed
2008-08-01 8:03 [ECOS] fis load exec failed Sangsu Baek
@ 2008-08-08 7:29 ` Sangsu Baek
2008-08-13 7:25 ` Jürgen Lambrecht
0 siblings, 1 reply; 3+ messages in thread
From: Sangsu Baek @ 2008-08-08 7:29 UTC (permalink / raw)
To: ecos
I've found that crc error caused the problem.
RedBoot> fis load -b 0x01600000 zimage
** Warning - checksum failure. stored: 0xfe06c871, computed: 0x151a32bf
RedBoot>
So I turned off CRC_CHECK and rebuilt redboot & upgraded RedBoot.
But I faced another problem. I couldn't erase flash memory.
Now I can't even upgrade Redboot anymore.
RedBoot>
RedBoot>
RedBoot>
RedBoot>
RedBoot>
RedBoot> fis list
Name FLASH addr Mem addr Length Entry point
RedBoot 0x50000000 0x50000000 0x00080000 0x00000000
FIS directory 0x50FE0000 0x50FE0000 0x0001F000 0x00000000
RedBoot config 0x50FFF000 0x50FFF000 0x00001000 0x00000000
RedBoot>
RedBoot>
RedBoot>
RedBoot>
RedBoot> fis init
About to initialize [format] FLASH image system - continue (y/n)? y
*** Initialize FLASH Image System
... Unlock from 0x50fe0000-0x51000000: .
... Erase from 0x50fe0000-0x51000000: ** command abort - illegal memory access?
RedBoot>
RedBoot>
RedBoot>
RedBoot>
RedBoot>
RedBoot> fis erase -f 0x500A0000 -l 0x00040000
... Erase from 0x500a0000-0x500e0000: ** command abort - illegal memory access?
RedBoot>
RedBoot>
----- Original Message -----
From: "Sangsu Baek" <sangsu@emctech.net>
To: "ecos" <ecos-discuss@ecos.sourceware.org>
Sent: Friday, August 01, 2008 5:03 PM
Subject: [ECOS] fis load exec failed
> hi I've some trouble with redboot on a ixp435 custom board.
> following works
>
> > load -r -b 0x01600000 zImage
> > exec
> Using base address 0x01600000 and length 0x00104b4c
>
> Then I created zImage partitions successfully with zImage successfully.
>
> >
> > fis list
> Name FLASH addr Mem addr Length Entry point
> RedBoot 0x50000000 0x50000000 0x00080000 0x00000000
> zimage 0x50080000 0x50080000 0x00120000 0x01600000
> FIS directory 0x50FE0000 0x50FE0000 0x0001F000 0x00000000
> RedBoot config 0x50FFF000 0x50FFF000 0x00001000 0x00000000
>
> But following doesn't work, I don't know why.
> > fis load -b 0x01600000 zimage
> > exec 0x01600000
> Can't execute Linux - invalid entry address
>
> regards
>
> -
> Sangsu Baek
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [ECOS] fis load exec failed
2008-08-08 7:29 ` Sangsu Baek
@ 2008-08-13 7:25 ` Jürgen Lambrecht
0 siblings, 0 replies; 3+ messages in thread
From: Jürgen Lambrecht @ 2008-08-13 7:25 UTC (permalink / raw)
To: Sangsu Baek; +Cc: ecos
Sangsu Baek wrote:
> I've found that crc error caused the problem.
> RedBoot> fis load -b 0x01600000 zimage
> ** Warning - checksum failure. stored: 0xfe06c871, computed: 0x151a32bf
> RedBoot>
> So I turned off CRC_CHECK and rebuilt redboot & upgraded RedBoot.
>
'checksum failure' means that the flash image is corrupt, or that the
crc has become corrupt.
Because 'fis load zimage; exec' does not work I would think the flash
image is corrupt.
So there is no problem with 'fis load' or with 'exec' or with the
'CRC_CHECK', only a problem with your flash.
I would only turn off CRC_CHECK if the cpu would not be fast enough to
do the crc..
This reply comes late (just back from holidays), maybe you have already
solved your flash problems?
(take another board and start from scratch with an empty flash)
Anyhow, regards,
Jürgen
> But I faced another problem. I couldn't erase flash memory.
> Now I can't even upgrade Redboot anymore.
>
> RedBoot>
> RedBoot>
> RedBoot>
> RedBoot>
> RedBoot>
> RedBoot> fis list
> Name FLASH addr Mem addr Length Entry point
> RedBoot 0x50000000 0x50000000 0x00080000 0x00000000
> FIS directory 0x50FE0000 0x50FE0000 0x0001F000 0x00000000
> RedBoot config 0x50FFF000 0x50FFF000 0x00001000 0x00000000
> RedBoot>
> RedBoot>
> RedBoot>
> RedBoot>
> RedBoot> fis init
> About to initialize [format] FLASH image system - continue (y/n)? y
> *** Initialize FLASH Image System
> ... Unlock from 0x50fe0000-0x51000000: .
> ... Erase from 0x50fe0000-0x51000000: ** command abort - illegal memory access?
> RedBoot>
> RedBoot>
> RedBoot>
> RedBoot>
> RedBoot>
> RedBoot> fis erase -f 0x500A0000 -l 0x00040000
> ... Erase from 0x500a0000-0x500e0000: ** command abort - illegal memory access?
> RedBoot>
> RedBoot>
>
>
>
>
>
>
>
>
> ----- Original Message -----
> From: "Sangsu Baek" <sangsu@emctech.net>
> To: "ecos" <ecos-discuss@ecos.sourceware.org>
> Sent: Friday, August 01, 2008 5:03 PM
> Subject: [ECOS] fis load exec failed
>
>
>
>> hi I've some trouble with redboot on a ixp435 custom board.
>> following works
>>
>> > load -r -b 0x01600000 zImage
>> > exec
>> Using base address 0x01600000 and length 0x00104b4c
>>
>> Then I created zImage partitions successfully with zImage successfully.
>>
>> >
>> > fis list
>> Name FLASH addr Mem addr Length Entry point
>> RedBoot 0x50000000 0x50000000 0x00080000 0x00000000
>> zimage 0x50080000 0x50080000 0x00120000 0x01600000
>> FIS directory 0x50FE0000 0x50FE0000 0x0001F000 0x00000000
>> RedBoot config 0x50FFF000 0x50FFF000 0x00001000 0x00000000
>>
>> But following doesn't work, I don't know why.
>> > fis load -b 0x01600000 zimage
>> > exec 0x01600000
>> Can't execute Linux - invalid entry address
>>
>> regards
>>
>> -
>> Sangsu Baek
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-08-13 7:25 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-08-01 8:03 [ECOS] fis load exec failed Sangsu Baek
2008-08-08 7:29 ` Sangsu Baek
2008-08-13 7:25 ` Jürgen Lambrecht
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).