From: Jarod Wang Date: Thu, 8 Feb 2007 19:18:42 +0800 (CST) Subject: [U-Boot-Users] How to determine the values assigned to -a and -e options of mkimage tool? Message-ID: <38381.80172.qm@web15907.mail.cnb.yahoo.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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