Forum Discussion
Altera_Forum
Honored Contributor
20 years agoupdate to buildroot guide
Dear all, I have updated the buildroot guide with gcc3.4.6, kernel 2.6.15.6 and new elf2flt.ld, please check out, http://forum.niosforum.com/forum/index.php?showtopic=3174 (http://forum.niosfor...
Altera_Forum
Honored Contributor
20 years ago --- Quote Start --- originally posted by hootsmon@Mar 29 2006, 12:50 PM thx hippo. here's another wrinkle (probably unrelated)....
$ nios2-linux-uclibc-flthdr ~/rootfs/bin/busybox ~/rootfs/bin/busybox
bash: nios2-linux-uclibc-flthdr: command not found btw, i do have a binary called 'flthdr' but it reports problems...
~/buildroot/toolchain_build_nios2/elf2flt$ ./flthdr ~/linux-2.6.16/vmlinux
cannot read header of /home/andrew/linux-2.6.16/vmlinux also, i am getting bad magic errors when busybox tries to start.
any ideas? how do i build nios2-linux-uclibc-flthdr ?
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=13880)</div> --- Quote End --- In answer to my own question, I rebuilt nios2-linux-uclibc-flthdr as follows:
cd ~/buildroot/toolchain_build_nios2/elf2flt
make clean
make
make install Having installed flthdr utility, kernel boots and busybox runs properly now.