[ECOS] Using RedBoot ROM to load RedBoot Ram
Jonathan Larmour
jifl@eCosCentric.com
Thu Feb 12 03:39:00 GMT 2004
Dag Gruneau wrote:
> I have recompiled redboot and tried to load redboot.srec but get error:
>
> RedBoot> load redboot.srec
> Attempt to load S-record data to address: 0x00020000
> RedBoot does not believe this is in RAM - are you sure (y/n)? n
>
> RedBoot> version
>
> RedBoot(tm) bootstrap and debug environment [ROM]
> Non-certified release, version 2.00 - built 17:25:55, Dec 13 2002
>
> Platform: Intel(R) IXDP425
> Copyright (C) 2000, 2001, 2002, Red Hat, Inc.
>
> RAM: 0x10100000-0x20000000, 0x101156a8-0x1ffdd000 available
> FLASH: 0x50000000 - 0x51000000, 128 blocks of 0x00020000 bytes each.
>
> I have been unable to find the place where to change the address.
> What would be the prober value? can redbot be run at 0x10200000 or does
> it have to go at some special address?
According to hal/arm/xscale/ixdp425/current/include/pkgconf/mlt*.ldi
RedBoot should think the RAM starts at 0, not 0x10100000. It seems your
problem is the ROM image on your board is somewhat incompatible with your
current sources. Difficult to say without looking closer what the best way
forward would be, but have you tried saying yes to the ocnfirmation request
and just trying it? According to
hal/arm/xscale/ixdp425/current/include/hal_platform_extras.h:
// Virtual Address Physical Address XCB Size (MB) Description
// 0x00000000 0x00000000 010 256 SDRAM (cached)
// 0x10000000 0x10000000 010 256 SDRAM (alias)
So it may just work if it's an alias.
Jifl
--
eCosCentric http://www.eCosCentric.com/ The eCos and RedBoot experts
Visit us at Embedded World 2004, Nürnberg, Germany, 17-19 Feb, Stand 12-449
--["No sense being pessimistic, it wouldn't work anyway"]-- Opinions==mine
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
More information about the Ecos-discuss
mailing list