- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I compiled uboot as well as uclinux for stratix board DK1S40 using standard hardware design for nios2 that comes with web addition software from altera.
when I tried to create an uImage ...running this command. ./mkimage -A nios2 -O linux -T kernel -C gzip -a 0x01000000 -e 0x01000000 "uclinux kernel Image" -d linux.bin.gz uImage I got an error message........ Invalid CPU Type - valid names are: alpha, arm, x86, ia64, m68k, microblaze, mips, mips64, ppc, s390, sh, sparc, sparc64 Usage: ./mkimage -l image -l ==> list image header information ./mkimage [-x] -A arch -O os -T type -C comp -a addr -e ep -n name -d data_file[:data_file...] image -A ==> set architecture to 'arch' -O ==> set operating system to 'os' -T ==> set image type to 'type' -C ==> set compression type 'comp' -a ==> set load address to 'addr' (hex) -e ==> set entry point to 'ep' (hex) -n ==> set image name to 'name' -d ==> use image data from 'datafile' -x ==> set XIP (execute in place) when I looked at the mkimage source code file....I found the nios2 stuff is missing....... I would really appreciate if someone help me to resolve this issue. Is anyone knows ......what needs to be done in order to create an uImage for nios2 platform.Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi haq,
> when I looked at the mkimage source code file....I found the nios2 stuff is missing....... > Is anyone knows ......what needs to be done in order to create an uImage for nios2 platform You need to get the latest version of tools/mkimage.c (revision 1.15). You're probably using mkimage revision 1.14 (from the u-boot 1.1.2 tarball). Download this file from sourceforge & rebuild. Otherwise, you can get a pre-built version of mkimage from: http://www.psyent.com/download (http://www.psyent.com/download) Regards, --Scott
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page