public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] how can i change u-boot load address?
@ 2008-10-06 12:13 sahar mustafa
  2008-10-06 15:13 ` Andrew Dyer
  0 siblings, 1 reply; 13+ messages in thread
From: sahar mustafa @ 2008-10-06 12:13 UTC (permalink / raw)
  To: u-boot


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.

^ permalink raw reply	[flat|nested] 13+ messages in thread
[parent not found: <mailman.1056.1223364979.2783.u-boot@lists.denx.de>]

end of thread, other threads:[~2008-10-08  2:22 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-06 12:13 [U-Boot] how can i change u-boot load address? sahar mustafa
2008-10-06 15:13 ` 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

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