This is the mail archive of the ecos-discuss@sources.redhat.com 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: Using RedBoot ROM to load RedBoot Ram


>>>>> Jonathan Larmour writes:

> 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.

It probably isn't an alias in the RedBoot version he has in ROM. It sounds
like he has the original RedBoot which was ported by some third party and
shipped with early IXDP425 boards. It maps RAM at 0x10000000 which was a
really bad idea. The current RedBoot shipping with that board was ported
by me and maps RAM 0x0 with an auxillary mapping at 0x10000000 for some
backwards compatibility.

What Dag should do is build a RedBoot ROM binary from CVS or get prebuilt
binaries from Intel: 

  http://developer.intel.com/design/network/products/npfamily/ixp425swr1.htm

Use a device programmer or jtag utility to program that into ROM.

--Mark

-- 
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]