Hello, On Mon, 04 Apr 2016 14:52:28 -0600, [email protected] wrote:
> I am trying to build Busybox for my ARMv7-M microprocessor based board. > It seems to compile everything as configured; however, the resulting > binary is only 340 bytes in size. The map file shows all files that were > built, but there is no space allocated for them. It's as if it has > decided to discard all sections as unused. I've tried for a while now to > figure out why it might be doing this. I am using Buildroot to automate > the entire process. Can anyone provide any guidance on how to go about > fixing this? What other information should I provide? I had the same problem, and IIRC it was because uClibc was compiled with DOPIC=y, which doesn't work well with elf2flt on ARM noMMU. We have very recently merged ARMv7-M support in Buildroot, which has been successfully tested on STM32 platforms. You could give it a try, it builds a working uClibc-ng based toolchain and Busybox. Best regards, Thomas -- Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com _______________________________________________ busybox mailing list [email protected] http://lists.busybox.net/mailman/listinfo/busybox
