[U-Boot-Users] Re: u-boot error message

Hello Bruce,
I used u-boot-1.1.1 to boot linux.My target board is ALTERA DK1C20 and cpu is nios.I used tools/mkimage to encapsulate a linux kernel image with header information.But it display some error messages,it like that:
[root@a901 u-boot-20040316cvs]# tools/mkimage -n 'linux kernel' \
-A nios -O linux -T kernel -C none -a 1010000 -e 1010000 \
-d /opt/cdk4nios/src/u-boot-20040316cvs/linux.bin uimage
Invalid CPU Type - valid names are: alpha, arm, x86, ia64, mips, mips64, ppc, s3 90, sh, sparc, sparc64, m68k
Because my cpu is nios,so my linux kernel can't boot.Can you tell me what can i do?
Ps:my name is Bruce
Hm, I haven't worked with a NIOS system, but obviously the port forgot to include support in the mkimage tool. cmd_bootm.c tests for those values so that might be your problem. Try the attached patch and maybe some NIOS people on this mailing list can speak up.
Cheers Detlev
PS: Mail F'up-to set to u-boot-users@lists.sourceforge.net

In message 87fz3ybcsg.fsf@deepthought.outer.space.org you wrote:
Hm, I haven't worked with a NIOS system, but obviously the port forgot to include support in the mkimage tool. cmd_bootm.c tests for those values so that might be your problem. Try the attached patch and maybe some NIOS people on this mailing list can speak up.
Added, thanks.
Best regards,
Wolfgang Denk
participants (2)
-
Detlev Zundel
-
Wolfgang Denk