public inbox for ecos-devel@sourceware.org
 help / color / mirror / Atom feed
* Can't start redboot in RAM mode
@ 2006-03-24  1:22 EE89 student
  2006-03-24  7:52 ` Andrew Lunn
  0 siblings, 1 reply; 2+ messages in thread
From: EE89 student @ 2006-03-24  1:22 UTC (permalink / raw)
  To: ecos-devel

Hi
i have a modified ixdp425 board and redboot can run on it with ROM and ROMRAM mode
but after i load the redboot[RAM].bin into memory and trying to execute "go"
,then crash.

here is how i generate the bin file
./ecosconfig new ${Board}_npe redboot
./ecosconfig import
${ECOS_REPOSITORY}/hal/arm/xscale/${Board}/current/misc/redboot_RAM.ecm
./ecosconfig import
${ECOS_REPOSITORY}/hal/arm/xscale/${Board}/current/misc/no_eeprom.ecm
./ecosconfig tree

make


and i already change the settings in
packages/hal/arm/xscale/ixdp425/current/include/pkgconf/
to fit my board
is the crash resulted from my wrong settings? but it works on ROM and ROMRAM mode.

best regards
Blair


--------------------------------------------------------------------------------------
Trying NPE-B...success. Using NPE-B with PHY 0.
Ethernet eth0: MAC address 00:03:47:df:32:a8
IP: 10.12.7.221/255.255.255.0, Gateway: 10.12.7.254
Default server: 10.12.7.17

RedBoot(tm) bootstrap and debug environment [ROMRAM]
Red Hat certified release, version 2.01 - built 19:31:44, Mar 22 2006

Platform: IXDP425 Development Platform (XScale) BE
Copyright (C) 2000, 2001, 2002, 2003, 2004 Red Hat, Inc.

RAM: 0x00000000-0x04000000, [0x000266f0-0x03fc1000] available
FLASH: 0x50000000 - 0x51000000, 128 blocks of 0x00020000 bytes each.
RedBoot> load -r -v -b 0x03000000 redboot[RAM].bin
Using default protocol (TFTP)
-
Raw file loaded 0x03000000-0x03049c8b, assumed entry at 0x03000000
RedBoot> go
$T050f:01000040;0d:03fc0fec;#dc$T050f:01000040;0d:03fc0fec;#dc$T050f:01000040;0c

--
NCHUEE (http://www.ee.nchu.edu.tw)

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

* Re: Can't start redboot in RAM mode
  2006-03-24  1:22 Can't start redboot in RAM mode EE89 student
@ 2006-03-24  7:52 ` Andrew Lunn
  0 siblings, 0 replies; 2+ messages in thread
From: Andrew Lunn @ 2006-03-24  7:52 UTC (permalink / raw)
  To: EE89 student; +Cc: ecos-devel

> Platform: IXDP425 Development Platform (XScale) BE
> Copyright (C) 2000, 2001, 2002, 2003, 2004 Red Hat, Inc.
> 
> RAM: 0x00000000-0x04000000, [0x000266f0-0x03fc1000] available
> FLASH: 0x50000000 - 0x51000000, 128 blocks of 0x00020000 bytes each.
> RedBoot> load -r -v -b 0x03000000 redboot[RAM].bin
> Using default protocol (TFTP)
> -
> Raw file loaded 0x03000000-0x03049c8b, assumed entry at 0x03000000
> RedBoot> go
> $T050f:01000040;0d:03fc0fec;#dc$T050f:01000040;0d:03fc0fec;#dc$T050f:01000040;0c

Try connecting gdb and see what it says about the crash.

Are you sure Redboot RAM has been linked to run at 0x03000000. It is
rather high in memory. Normally it goes much lower. Try loading the
elf or srec so you don't need to use -b and -r. Redboot itself will
decide where in memory to load RedBoot RAM.

        Andrew

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

end of thread, other threads:[~2006-03-24  7:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-03-24  1:22 Can't start redboot in RAM mode EE89 student
2006-03-24  7:52 ` Andrew Lunn

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