This is the mail archive of the ecos-discuss@sourceware.org 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 load exec failed


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


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