This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: fis load exec failed
- From: "Sangsu Baek" <sangsu at emctech dot net>
- To: "ecos" <ecos-discuss at ecos dot sourceware dot org>
- Date: Fri, 8 Aug 2008 16:28:28 +0900
- Subject: Re: [ECOS] fis load exec failed
- Hanbiro-vs-header: |||,KR,211.117.4.222,3919,1218180502.18553
- References: <006501c8f3ad$0fed97a0$0c01a8c0@sanbek>
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