hi scott:
"1. How did you create your compressed kernel image?"
i use the command to compress the kernel : gzip -9 vmlinux.bin
mkimage -A nios2 -O linux -T kernel -C gzip -a 0x00800000 -e 0x00800000 -n 'Linux Kernel Image' -d vmlinux.bin.gz uImage.img
mkimage -A nios2 -O linux -T filesystem -C gzip -a 0x00c00000 -e 0x00c00000 -n 'romfs EP1C6' -d romfs.bin.gz romfs.img
"2. Did you try booting an uncompressed image? If not please try booting an
uncompressed u-boot image file -- let us know if you have the same problem."
i use the command according to what you said :
mkimage -A nios2 -O linux -T kernel -C none -a 0x00800000 -e 0x00800000 -n 'Linux Kernel Image' -d vmlinux.bin uImage.img
mkimage -A nios2 -O linux -T filesystem -C none -a 0x00c00000 -e 0x00c00000 -n 'romfs EP1C6' -d romfs.bin romfs.img
$SOPC_KIT_NIOS2/bin/bin2flash --flash=U5 --location=0x00000000 --input=u-boot.bin --output=u-boot.flash
$SOPC_KIT_NIOS2/bin/bin2flash --flash=U5 --location=0x00040000 --input=uImage.img --output=uImage.flash
$SOPC_KIT_NIOS2/bin/bin2flash --flash=U5 --location=0x00200000 --input=romfs.img --output=romfs.flash
and then, i download the three files to the NOR flash by the nios2-flash-programmer. but, when i use the command of "bootm 00040000",
the output:
==> bootm 00040000# # Booting image at 00040000 ...
Image Name: linux kernel Image
Image Type: Nios-II Linux Kernel Image (uncompressed)
Data Size: 1053348 Bytes = 1 MB
Load Address: 00800000
Entry Point: 00800000
Verifying Checksum ... OK
OK
have the same problem.
i am more confused now. why is not ok when i use the u-boot to startup the uncompressed kernel.
if i upload the kernel and romfs to NOR flash, and then, running the nios2-termianl, the output is ok!
i feel the question relates the address. because, i am not setting the any address in making the kernel and romfs. but, i do not know how to do.
"3. Your image says, "2.6.4 kernel for EP1C6" -- is this correct? Or are you actually
using 2.6.11 or higher?"
i do not know the version of uclinux kernel, the "2.6.4 kernel for EP1C6" is added at random.
in fact, the real version is "linux version 2.6.11-uc0(sl@wst-9faecf0fdb1) (gcc version 3.4.1(altera niosii 5.0 b73))"
sorry, i forgot to say: when i make the kernel, i delete:
drivers/char/altera_pio_button \ drivers/ide/ide \ drivers/net/smc91111.
if i do not this, it is always to wrong when i make the kernel.