public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] Hangs at relocation on 460EX Target
@ 2008-10-21 15:37 Ayman M. El-Khashab
  2008-10-21 15:54 ` Stefan Roese
  0 siblings, 1 reply; 13+ messages in thread
From: Ayman M. El-Khashab @ 2008-10-21 15:37 UTC (permalink / raw)
  To: u-boot

Hello,

We've got our custom hardware in and are having trouble getting
u-boot to start up.  We've modeled our board close to the canyonlands.
The main differences are no sensors, DIMM at 0x51, and a 16Mb NOR
flash instead of 64Mb.  We boot and get messages and we've determined
it is stuck inside the relocation or immediately after it branches
to the code in RAM.  

My first thought is that we need to make several changes to handle
the 16Mb flash since there was some code to handle the movement of
the 64Mb flash in early_init_r.  It seems for us that is not needed.

Secondly, there might be some changes needed to the EBC Setup in
the config file.  However I've compared those to the data sheet
and not seeing anything obvious.  I have disabled early_init_r and
made the following changes to the configuration

#define CFG_FLASH_BASE          0xFF000000   * later mapped to this addr    */

#define CFG_FLASH_BASE_PHYS_H   0x0
#define CFG_FLASH_BASE_PHYS_L   0xFF000000
#define CFG_FLASH_BASE_PHYS     (((u64)CFG_FLASH_BASE_PHYS_H << 32) | \
                                 (u64)CFG_FLASH_BASE_PHYS_L)

#define CFG_FLASH_SIZE          (16 << 20)


Any tips to what else I might be missing?  I don't recall having
this much difficulty last time u-boot was ported to our boards.

Thanks
Ayman

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

end of thread, other threads:[~2008-10-27 14:34 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-21 15:37 [U-Boot] Hangs at relocation on 460EX Target Ayman M. El-Khashab
2008-10-21 15:54 ` Stefan Roese
2008-10-21 16:20   ` Ayman M. El-Khashab
2008-10-21 19:10     ` Wolfgang Denk
2008-10-21 21:59       ` Ayman M. El-Khashab
2008-10-22  5:12         ` Stefan Roese
2008-10-23  0:59           ` Ayman M. El-Khashab
2008-10-23  4:02             ` Stefan Roese
2008-10-23  6:27               ` Felix Radensky
2008-10-23  7:15                 ` Stefan Roese
2008-10-23  7:31                   ` Felix Radensky
2008-10-23  8:39                     ` Stefan Roese
2008-10-27 14:34                       ` Ayman M. El-Khashab

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