Forum Discussion
Altera_Forum
Honored Contributor
20 years agoHi jigdo,
> mkimage -A ppc -O linux -T kernel -C gzip > -a 0 -e 0 -n "Linux Kernel Image" > -d linux.bin.gz uImage Based on your previous posts, this should be: mkimage -A nios2 -O linux -T kernel -C gzip -a 0x1000000 -e 0x1000000 -n "Linux Kernel Image" -d linux.bin.gz uImage > I think the uImage file also is .bin type file,so I use bin2flash comand convert the uImage > to uImage.flash,then download to .flash file use nios2-flash-programmer . Correct. > I don't have the .img file. It is the uImage file ... the output of mkimage. > I am sure the niosII is little endian This is irrelevant. It is the header that is apparently incorrect (which is always stored in network byte order by mkimage). Again, if you post the results of imi and mkimage -l, I may be able to help. Regards, --Scott