Forum Discussion
Altera_Forum
Honored Contributor
20 years agoHi leonqin,
I am happy, that you are close to the end, the error was that the busybox is not in correct flat format, it was elf. I discussed with vapier about adding the ldflag for elf2flt to busybox, but it is not supported yet. 1. The current snapshot of buildroot did not include the latest fix for elf2flt. It should be available tommorow. Or (better) use svn, it will update elf2flt source, cd ~/buildroot svn update rm -rf toolchain_build_nios2/elf2flt make 2. then, follow step 4.1 in the updated post, http://forum.niosforum.com/forum/index.php?showtopic=3174 (http://forum.niosforum.com/forum/index.php?showtopic=3174) 3. update busybox to the rootfs cp ~/buildroot/build_nios2/busybox/busybox ~/rootfs/bin 4. rebuild the kernel to update initram image