From: Ayman M. El-Khashab <ayman@elkhashab.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] Hangs at relocation on 460EX Target
Date: Tue, 21 Oct 2008 10:37:10 -0500 [thread overview]
Message-ID: <20081021153706.GA21379@crust.elkhashab.com> (raw)
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
next reply other threads:[~2008-10-21 15:37 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-21 15:37 Ayman M. El-Khashab [this message]
2008-10-21 15:54 ` [U-Boot] Hangs at relocation on 460EX Target 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20081021153706.GA21379@crust.elkhashab.com \
--to=ayman@elkhashab.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox