public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] U-boot & MonteJade start up
@ 2007-05-02  4:39 Jonathan Pratt
  2007-05-02  5:16 ` Stefan Roese
  0 siblings, 1 reply; 15+ messages in thread
From: Jonathan Pratt @ 2007-05-02  4:39 UTC (permalink / raw)
  To: u-boot

I'm trying to get u-boot up and running on an Intel MonteJade (IXDPG425)
board without much luck.

I downloaded version 2.0 of the Npe code and placed it in the
appropriate directory and the build worked fine. Getting it up and
running on the board has proved more difficulat.

I'm using a Macraigor USB wiggler to download to the FLASH. If anyone
has done this successfully then I would appreciate some pointers as I'm
not sure what I've done thus far is correct.

As far as I understand it, the xscale starts up in little endian mode.
The application is, however, big-endian. When I program the FLASH it
appears to be big-endian, and I don't as yet understand where the
transition from little endian occurs. The u-boot code in the current
state doesn't go anywhere with no response from the serial port.

Is there some pre-bootloader code which does the transition to
big-endian? If so, do I need to program this sepeartely? If not, where
does the transition to big-endian occur and why does the code I see (in
the srec file, for example) appear to start off big-endian? I can
imagine ld getting pretty confused trying to link a little-endian
snippet to a big-endian application.

Thanks

Jonathan Pratt

ELPRO Technologies Pty Ltd
"Wireless Solutions Since 1983"
ISO 9001:2000 Accredited
ABN 17 010 627 835

9/12 Billabong St, Stafford, 
QLD, Australia 4053
Telephone: +61 7 3352 4533   
Facsimile: +61 7 3352 4577

Web Site: http://www.elprotech.com

^ permalink raw reply	[flat|nested] 15+ messages in thread
* [U-Boot-Users] U-boot & MonteJade start up
@ 2007-05-02  9:07 Martijn de Gouw
  0 siblings, 0 replies; 15+ messages in thread
From: Martijn de Gouw @ 2007-05-02  9:07 UTC (permalink / raw)
  To: u-boot

Hi 

> I have to admit, that I don't know right now, where this big 
> endian/little 
> endian change is made. Perhaps some boot-strapping pin? Not 
> sure, would have 
> to look in the manual. Martijn? Could you jump in here?

first lines in cpu/ixp/start.S
reset:
        /* disable mmu, set big-endian */

> For the 2 IXP4xx boards I used (ixdpg425 and pdnb3) I can 
> say, that they "just 
> work" with the current U-Boot implementation in big endian 
> mode. And here 

The NPEs won't work when the cpu is run in little endian mode,
according to the datasheet.

best regards,
Martijn de Gouw 

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

end of thread, other threads:[~2007-05-10 11:25 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-02  4:39 [U-Boot-Users] U-boot & MonteJade start up Jonathan Pratt
2007-05-02  5:16 ` Stefan Roese
2007-05-02  6:22   ` Jonathan Pratt
2007-05-09  7:17   ` [U-Boot-Users] IXP425 ethernet & NPE microcode Jonathan Pratt
2007-05-09  9:16     ` Eric BENARD
2007-05-09  9:52     ` Stefan Roese
2007-05-09 20:32       ` Jonathan Pratt
2007-05-09 22:37     ` Wolfgang Denk
2007-05-09 22:55       ` Jonathan Pratt
2007-05-09 23:16         ` David Hawkins
2007-05-10  1:50           ` Jonathan Pratt
2007-05-10  5:16             ` Stefan Roese
2007-05-10  9:04               ` Øyvind Repvik
2007-05-10 11:25                 ` Stefan Roese
  -- strict thread matches above, loose matches on Subject: below --
2007-05-02  9:07 [U-Boot-Users] U-boot & MonteJade start up Martijn de Gouw

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