Hi Scott,
Sorry, I did exactly like you said but this is what I got:
<div class='quotetop'>QUOTE </div>
--- Quote Start ---
1. Use the zImage (the elf from the boot/compressed tree) and create a binary. The binary should
be passed to mkimage with compression 'none' and the load and entry point addresses 0080_0000 above your ram base. In your case this should be 0180_0000. mkimage would look like:
$ mkimage -C none -e 0x01800000 -a 0x01800000 -d zImage.bin <<other parameters>>[/b]
--- Quote End ---
$ ./mkimage -d zImage.bin -A nios2 -O linux -T kernel -n "Welcome to uClinux with MFM" -a 0x01800000 -e 0x01800000 -C none zImage.img
Image Name: Welcome to uClinux with MFM
Created: Sat May 13 16:37:43 2006
Image Type: NIOS II Linux Kernel Image (uncompressed)
Data Size: 1078447 Bytes = 1053.17 kB = 1.03 MB
Load Address: 0x01800000
Entry Point: 0x01800000
==> tftpboot 0x01a00000 zImage.img
Using MAC Address 08:00:3E:26:0A:5B
TFTP from server 192.168.0.183; our IP address is 192.168.0.62
Filename 'zImage.img'.
Load address: 0x1a00000
Loading:# ################################################################
# ################################################################
# ################################################################
# ###############
done
Bytes transferred = 1078511 (1074ef hex)
Automatic boot of image at addr 0x01A00000 ...# # Booting image at 01a00000 ...
Image Name: Welcome to uClinux with MFM
Image Type: Nios-II Linux Kernel Image (uncompressed)
Data Size: 1078447 Bytes = 1 MB
Load Address: 01800000
Entry Point: 01800000
Verifying Checksum ... OK
OK
<div class='quotetop'>QUOTE </div>
--- Quote Start ---
2. Use the vmlinux (not from the boot/compressed tree) and create a binary. Compress the binary
(e.g. vmlinux.bin.gz). Pass the compressed binary to mkimage with compression 'gzip'. Set the
load and entry point addresses to some valid address in ram (the kernel can relocate itself).
But since u-boot will be decompressing, you might as well set the load/entry addresses to
the actual VMA: 0x0100_0000:
$ mkimage -C gzip -e 0x01000000 -a 0x01000000 -d vmlinux.bin.gz <<other parameters>>[/b]
--- Quote End ---
==> tftpboot 1a00000 vmlinux.img
Using MAC Address 08:00:3E:26:0A:5B
TFTP from server 192.168.0.183; our IP address is 192.168.0.62
Filename 'vmlinux.img'.
Load address: 0x1a00000
Loading:# ################################################################
# ################################################################
# ################################################################
# #############
done
Bytes transferred = 1067691 (104aab hex)
Automatic boot of image at addr 0x01A00000 ...# # Booting image at 01a00000 ...
Image Name: Welcome to uClinux with MFM
Image Type: Nios-II Linux Kernel Image (gzip compressed)
Data Size: 1067627 Bytes = 1 MB
Load Address: 01000000
Entry Point: 01000000
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK