From: Wolfgang Denk Date: Wed, 09 Apr 2003 10:01:32 +0200 Subject: [U-Boot-Users] I will be crazy, Please HELP In-Reply-To: Your message of "Wed, 09 Apr 2003 10:35:38 PDT." <01a401c2febe$6f3809a0$fe02a8c0@esd11> Message-ID: <20030409080137.DF026C5877@atlas.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de In message <01a401c2febe$6f3809a0$fe02a8c0@esd11> you wrote: > after two days, I still cannot boot a kernel from u-boot, > 1.first I build my linux kernel by: > make lubbock > make oldconfig > make dep > make zImage > 2.then I follow the README file to product uImage, > arm-linux-objcopy -O binary -R .note -R .comment -S vmlinux linux.bin > gzip -9 linux.bin > mkimage -A arm -O linux -T kernel -C gzip -a 0xa0008000 -e 0xa0008000 -n > "Linux Kernel Image" -d linux.bin.gz uImage > 3.then I use u-boot to load it: > =>loadb 0xa0008000 > =>bootm 0xa0008000 > ## Booting image at a0008000 ... > Image Name: Linux Kernel Image > Image Type: ARM Linux Kernel Image (gzip compressed) > Data Size: 791662 Bytes = 773.1 kB > Load Address: a0008000 > Entry Point: a0008000 This is wrong. Load the image to RAM at a _different_ address. You overwrite your own code. Wolfgang Denk -- Software Engineering: Embedded and Realtime Systems, Embedded Linux Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd at denx.de Pray to God, but keep rowing to shore. - Russian Proverb