public inbox for ecos-devel@sourceware.org
 help / color / mirror / Atom feed
* redboot does not start in ram mode
@ 2004-07-08 20:54 Martin Laabs
  2004-07-09  8:40 ` Andrew Lunn
  2004-07-19  9:54 ` redboot does not start in ram mode David Vrabel
  0 siblings, 2 replies; 6+ messages in thread
From: Martin Laabs @ 2004-07-08 20:54 UTC (permalink / raw)
  To: ecos-devel

Hi,

I have a  3e-524 board with an IXP425. Because I want
to update the redboot I tried to compile a ram version.
Therefor I used the guide from intel beacuse the board seems
to be only slightly different from intels IXDP425 board.
I changed the memory map and tried to load/start the image. I failed.
After many attempt I tried to load the original RAM version that
is saved in the flash:

RedBoot> fis list
Name              FLASH addr  Mem addr    Length      Entry point
RedBoot           0x51000000  0x51000000  0x00040000  0x00000000
RedBoot config    0x517C0000  0x517C0000  0x00001000  0x00000000
FIS directory     0x517E0000  0x517E0000  0x00020000  0x00000000
RedBoot_RAM       0x51040000  0x11400000  0x00040000  0x00000000
zImage            0x51080000  0x11400000  0x000C0000  0x00000000
RedBoot> fis load RedBoot_RAM
RedBoot> go

But after pressing return the board hangs. Because there is an eeprom
onboard the RAM begins at 0x10000000

edBoot> v 
RedBoot(tm) bootstrap and debug environment [ROM] 
Non-certified release, version 2.00 - built 10:04:47, Dec 17 2003 
 
Platform: 3eTI-EAP (XScale) 
Copyright (C) 2000, 2001, 2002, Red Hat, Inc. 
 
RAM: 0x10000000-0x12000000, 0x10115778-0x11fdd000 available 
FLASH: 0x51000000 - 0x51800000, 64 blocks of 0x00020000 bytes each. 


But when I load the RedBoot_RAM to 0x10200000 (or an other
explicit address with the -b option) I get much binary data 
printet onto my terminal.


In my own version I changed only the following in the .ldi file:

MEMORY
{
    ram : ORIGIN = 0x10200000, LENGTH = 0x10000000
}

SECTIONS
{
    SECTIONS_BEGIN
    SECTION_fixed_vectors (ram, 0x10200020, LMA_EQ_VMA)
    SECTION_rom_vectors (ram, 0x10220000, LMA_EQ_VMA)
    SECTION_text (ram, ALIGN (0x4), LMA_EQ_VMA)
[...] (rest unchanged)

and of cause CYGMEM_REGION_ram in the coresponding header file.

Do you have a hint how to start the RAM image from the flash
or my own compiled image? Or maybe you can tell me how to
debug it without JTAG.

Thank you
 Martin Laabs

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2004-07-19  9:54 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-07-08 20:54 redboot does not start in ram mode Martin Laabs
2004-07-09  8:40 ` Andrew Lunn
2004-07-09 13:25   ` Martin Laabs
2004-07-09 13:34     ` Gary Thomas
2004-07-09 14:00       ` "fis create" substitute Edgar Grimberg
2004-07-19  9:54 ` redboot does not start in ram mode David Vrabel

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