
Hi All,
I have successfully built u-boot 1.2.0 on my Avnet evaluation board (ml403 like) which uses virtex-4 xilinx FPGA with built-in ppc405 processor. The u-boot was configured to deal with UART lite.
I have build also zImage.elf which runs very well on my board. I have however difficulties to run kernel image via u-boot.
My board has 32 MB of RAM memory (address range 0x000000 - 0x1ffffff)
The steps which I have done are as following:
1. I have build u-boot and loaded it via jtag to my board XMD% dow u-boot1a.elf section, .text: 0x01a00000-0x01a0d838 section, .resetvec: 0x01a122f0-0x01a122f4 section, .rodata: 0x01a0d838-0x01a0fc5b section, .reloc: 0x01a0fd00-0x01a102a8 section, .data: 0x01a102a8-0x01a10740 section, .data.rel: 0x01a10740-0x01a1076c section, .data.rel.local: 0x01a1076c-0x01a10ba4 section, .u_boot_cmd: 0x01a10ba4-0x01a10db4 section, .bss: 0x01a10e00-0x01a122f0 Downloaded Program u-boot1a.elf
2. I have loaded the uImage via jtag to the memory location 0x600000
3. I have started u-boot:
U-Boot 1.2.0 (Aug 31 2007 - 10:49:57) ### No HW ID - assuming ML403 DRAM: 32 MB Using default environment In: serial Out: serial Err: serial
Hit any key to stop autoboot: 0
4. I have started uImage
=> bootm 0x600000 ## Booting image at 00600000 ... Image Name: Linux-2.6.21-rc6 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 981837 Bytes = 958.8 kB Load Address: 00a00000 Entry Point: 00a00000 Verifying Checksum ... OK Uncompressing Kernel Image ... OK ## Current stack ends at 0x01FCC668 => set upper limit to 0x00800000 No initrd ## Transferring control to Linux (at address 00a00000) ...
5. After that the system just hangs
6. I have tried as well to run zImage.elf from u-boot (zImage.elf runs well when started straight from jtag):
=> bootelf 0x600000 Loading .text @ 0x00400000 (14140 bytes) Loading .data @ 0x00404000 (987136 bytes) Clearing .bss @ 0x004f5000 (8504 bytes) ## Starting application at 0x00400000 ... loaded at: 00400000 004F7138 board data at: 004F5120 004F5138 relocated to: 004040B4 004040CC zimage at: 00404EA9 004F49F5 avail ram: 004F8000 01FFFFFF Linux/PPC load: console=ttyUL0,9600 root=/dev/nfs rw nfsroot=129.117.144.113:/opt/eldk41/ppc_4xx,tcp ip=::::virtex4-mirek:eth0:dhcp panic=1 Uncompressing Linux...
7. After that system just hangs
My observation is that: - when launching zImage from u-boot, the system blocks during zImage uncompressing - when launching uImage from u-boot the system blocks after u-boot uncompresses the uImage
I do not know what I do wrong. Maybe the processor is not set to the correct mode of the apportion or the memory locations are not correct.
I do not also know what should be the proper: Load Address and Entry Point for uImage. The zImage refers to the location 0x400000 (as listed above).
I attache to this post my Avnet board u-boot configuration.
Any suggestion is welcome
Best Regards
Mirek