From: sahar mustafa <nilesmile@live.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] how can i change u-boot load address?
Date: Mon, 6 Oct 2008 05:13:24 -0700 (PDT) [thread overview]
Message-ID: <19836732.post@talk.nabble.com> (raw)
hi every one..
currently, u-boot load it self in SDRAM address : 0x80100000
i want the u-boot to be loaded to address: 0x80FE0000.
i have try the following:
1#repeating the last steps preform by the build script:
1-./tools/mkimage -A mips -T firmware -C bzip2 -a 0x80100000 -e 0x80100000
-n 'u-boot image' -d u-boot.bz2 u-boot.zimg
2-./mk_ubootimg.sh head.bin u-boot.zimg 12400 u-boot.img
3-mipsel-linux-objcopy -I binary -O binary --pad-to 0x10000 u-boot.img
u-boot.img
that of course after changing to the new address, but when downloading it to
the board, it hangs
2#in the mkimage.c file, i have change the code a little:
case 'a':
if (--argc <= 0)
usage ();
addr = strtoul ("0x80FE0000", (char **)&ptr, 16);
*++argv;
if (*ptr) {
fprintf (stderr,
"%s: invalid load address %s\n",
cmdname, *argv);
exit (EXIT_FAILURE);
their was no compilation error, but also the board hangs
3# i thought a bout the entry point, and make it to match the load address,
but still the same result.
can you tell me how to change the load address without crippling the u-boot?
with respect
sahar mustafa.
--
View this message in context: http://www.nabble.com/how-can-i-change-u-boot-load-address--tp19836732p19836732.html
Sent from the Uboot - Users mailing list archive@Nabble.com.
next reply other threads:[~2008-10-06 12:13 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-06 12:13 sahar mustafa [this message]
2008-10-06 15:13 ` [U-Boot] how can i change u-boot load address? Andrew Dyer
2008-10-06 23:36 ` Roman Mashak
2008-10-07 2:06 ` Roman Mashak
2008-10-07 7:36 ` Wolfgang Denk
2008-10-07 8:11 ` Hebbar
2008-10-07 9:01 ` Wolfgang Denk
2008-10-07 12:36 ` Roman Mashak
2008-10-07 14:02 ` Wolfgang Denk
2008-10-08 2:22 ` Roman Mashak
[not found] <mailman.1056.1223364979.2783.u-boot@lists.denx.de>
2008-10-07 8:38 ` Gururaja Hebbar K R
2008-10-07 9:04 ` Wolfgang Denk
2008-10-07 9:39 ` Gururaja Hebbar K R
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=19836732.post@talk.nabble.com \
--to=nilesmile@live.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