- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hi:
I use nios2 toolchains compile a ap from open source.Compile success and make the bin file. I copy the bin file to ~/rootfs/bin, and rebuild kernel . I download zImage to dvb and exec , i execed the bin file,but fail. the erro informatin: the bad ......file I use nios2-linux-uclibc-flthdr ,nios2-linux-uclibc elf2flt cmd to exchanger the file format.But failed. How can I do?thanks a lot.Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
--- Quote Start --- originally posted by alex824@May 8 2006, 01:02 PM hi:
i use nios2 toolchains compile a ap from open source.compile success and make
the bin file.
i copy the bin file to ~/rootfs/bin, and rebuild kernel . i download zimage to dvb
and exec , i execed the bin file,but fail.
the erro informatin: the bad ......file
i use nios2-linux-uclibc-flthdr ,nios2-linux-uclibc elf2flt cmd to exchanger the file
format.but failed.
how can i do?thanks a lot.
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=15178)
--- quote end ---
--- Quote End --- You should add "-elf2flt" during objects linking. It won't work if you use them on an elf.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If you didn't see the "CPIO" and "GZIP" in compile message, the initramfs is not updated. You will have to remove the file usr/initramfs_list in kernel dir, and compile again to force the update of initramfs.
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