* [U-Boot-Users] How to determine the values assigned to -a and -e options of mkimage tool?
@ 2007-02-08 11:18 Jarod Wang
0 siblings, 0 replies; 2+ messages in thread
From: Jarod Wang @ 2007-02-08 11:18 UTC (permalink / raw)
To: u-boot
Hi all
I'm porting u-boot-1.1.4 to an smdk2410-like custom board to boot Linux 2.4.18-rmk7 kernel by using cross-2.95.3 as cross-compiler on my CentOS 4.4 powered i386 box. The board got a 64MB SDRAM mapped into 0x3000 0000 - 0x3400 0000 in S3C2410A's address space.
And yesterday I could see the output in minicom, but I was confused by the options of tools/mkimage when I tried to create an uImage file. According to the README file there are two options '-a' and '-e' which denote the 'load address' and 'entry point(address)' respectively.
So I set both of them to 0x30008000 when I built my uImage file according to the following lines in arch/arm/boot/Makefile:
ifeq ($(CONFIG_ARCH_S3C2410),y)
ZTEXTADDR = 0x30008000
ZRELADDR = 0x30008000
endif
My question is whether these two values should be assigned to -a and -e options, and what about the value of CFG_LOAD_ADDR in configuration header file?
Any hints would be highly appreciate.
Best regards,
Jarod Wang
___________________________________________________________
????????-3.5G???20M???
http://cn.mail.yahoo.com
^ permalink raw reply [flat|nested] 2+ messages in thread
* [U-Boot-Users] How to determine the values assigned to -a and -e options of mkimage tool?
@ 2007-02-08 11:43 Jarod Wang
0 siblings, 0 replies; 2+ messages in thread
From: Jarod Wang @ 2007-02-08 11:43 UTC (permalink / raw)
To: u-boot
Hi all
I'm porting u-boot-1.1.4 to an smdk2410-like custom board to boot Linux
2.4.18-rmk7 kernel by using cross-2.95.3 as cross-compiler on my CentOS
4.4 powered i386 box. The board got a 64MB SDRAM mapped into 0x3000
0000 - 0x3400 0000 in S3C2410A's address space.
And yesterday I could see the output in minicom, but I was confused by
the options of tools/mkimage when I tried to create an uImage file.
According to the README file there are two options '-a' and '-e' which
denote the 'load address' and 'entry point(address)' respectively.
So I set both of them to 0x30008000 when I built my uImage file
according to the following lines in arch/arm/boot/Makefile:
ifeq ($(CONFIG_ARCH_S3C2410),y)
ZTEXTADDR = 0x30008000
ZRELADDR = 0x30008000
endif
My question is whether these two values should be assigned to -a and -e
options, and what about the value of CFG_LOAD_ADDR in configuration
header file?
Any hints would be highly appreciate.
Best regards,
Jarod Wang
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-02-08 11:43 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-02-08 11:18 [U-Boot-Users] How to determine the values assigned to -a and -e options of mkimage tool? Jarod Wang
2007-02-08 11:43 Jarod Wang
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.