public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] at91rm9200 linking problem (?)
@ 2011-06-20  8:36 Marcin Górski
  2011-06-20  9:04 ` Andreas Bießmann
  0 siblings, 1 reply; 5+ messages in thread
From: Marcin Górski @ 2011-06-20  8:36 UTC (permalink / raw)
  To: u-boot

Hello,

I'm trying to port U-Boot to ARM&EVA board (with AT92RM9200 cpu). I'm a little bit confused about usage of CONFIG_SYS_TEXT_BASE macro. As mentioned many times before U-Boot shouldn't be run from RAM, so I set CONFIG_SYS_TEXT_BASE to point a DataFlash memory. But when I do that not only .text section but also .data and .bss sections are linked to flash memory. When I run U-Boot I get "prefetch_abort" exception (which I believe is due to invalid memory location access). On the other hand, when I set  CONFIG_SYS_TEXT_BASE to point to RAM location U-Boot hangs just after the start:

U-Boot> go 0x22000000
## Starting application at 0x22000000 ...

U-Boot 2011.03 (Jun 20 2011 - 00:56:19)

DRAM:  1 MiB

To load a new image I use an old version of U-Boot (1.1.6) that was previously installed on this board.  This is the very first time when I use U-Boot , any suggestion will be appreciated.
Best regards,
Marcin 

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

end of thread, other threads:[~2011-06-21 14:35 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-20  8:36 [U-Boot] at91rm9200 linking problem (?) Marcin Górski
2011-06-20  9:04 ` Andreas Bießmann
     [not found]   ` <BANLkTi==e5RwZKGRTS=bdiHZ61VT37JYOg@mail.gmail.com>
2011-06-20  9:59     ` Andreas Bießmann
2011-06-21 13:19       ` Marcin Górski
2011-06-21 14:35         ` Andreas Bießmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox