public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] TEXT_BASE and hardware configuration word on MPC8248
@ 2006-05-04 11:38 Laurent Pinchart
  2006-05-05 11:47 ` Andre Schwarz
  0 siblings, 1 reply; 2+ messages in thread
From: Laurent Pinchart @ 2006-05-04 11:38 UTC (permalink / raw)
  To: u-boot

Hi everybody,

I've been able to flash an Embedded Planet EP8248 board with u-boot 1.1.4 with 
success, and I'm now trying to run it on a custom MPC8248 based board.

The custom board, unlike the EP8248 which provides the hardware reset 
configuration word through the on board FPGA, stores the HRCW in flash 
memory.

The board has a single 16-bit 128Mbit flash chip, which is mapped at 
0xFF000000.

I'm a bit puzzled by the way the u-boot image is relocated at link time. 
TEXT_BASE is defined as 0xFFF00000, as the board boots from high memory. The 
_start symbol is located at 0xFFF00100, which looks fine to me. However, the 
HRCW is stored at 0xFFF00000, while it should in my opinion be at the 
beginning of the flash at 0xFF000000.

Is there something I don't understand in the MPC8248 boot process ?

Thanks in advance for all the help you can provide.

Best regards,

Laurent Pinchart

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

* [U-Boot-Users] TEXT_BASE and hardware configuration word on MPC8248
  2006-05-04 11:38 [U-Boot-Users] TEXT_BASE and hardware configuration word on MPC8248 Laurent Pinchart
@ 2006-05-05 11:47 ` Andre Schwarz
  0 siblings, 0 replies; 2+ messages in thread
From: Andre Schwarz @ 2006-05-05 11:47 UTC (permalink / raw)
  To: u-boot

Hello Laurent,

the CPU has two starting points called "low boot" and "high boot".
It's either the first or the last MB of the address space, i.e. 0x0 or 
0xFFF00000. It is just a matter of mapping the flash into local memory. In 
either case, the reset exception vector is located at offset 0x100, thus 
results in 0x00000100 or 0xFFF00100.

The reset vector is NOT RELATED to the flash base address.


regards,
Andr?

On Thursday 04 May 2006 13:38, Laurent Pinchart wrote:
> Hi everybody,
>
> I've been able to flash an Embedded Planet EP8248 board with u-boot 1.1.4
> with success, and I'm now trying to run it on a custom MPC8248 based board.
>
> The custom board, unlike the EP8248 which provides the hardware reset
> configuration word through the on board FPGA, stores the HRCW in flash
> memory.
>
> The board has a single 16-bit 128Mbit flash chip, which is mapped at
> 0xFF000000.
>
> I'm a bit puzzled by the way the u-boot image is relocated at link time.
> TEXT_BASE is defined as 0xFFF00000, as the board boots from high memory.
> The _start symbol is located at 0xFFF00100, which looks fine to me.
> However, the HRCW is stored at 0xFFF00000, while it should in my opinion be
> at the beginning of the flash at 0xFF000000.
>
> Is there something I don't understand in the MPC8248 boot process ?
>
> Thanks in advance for all the help you can provide.
>
> Best regards,
>
> Laurent Pinchart
>
>
> -------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job
> easier Download IBM WebSphere Application Server v.1.0.1 based on Apache
> Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> U-Boot-Users mailing list
> U-Boot-Users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/u-boot-users

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

end of thread, other threads:[~2006-05-05 11:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-05-04 11:38 [U-Boot-Users] TEXT_BASE and hardware configuration word on MPC8248 Laurent Pinchart
2006-05-05 11:47 ` Andre Schwarz

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