[Buildroot] Bare metal toolchain support?

Alvaro Gamez alvaro.gamez at hazent.com
Wed Nov 23 16:44:46 UTC 2016


2016-11-23 15:49 GMT+01:00 Alvaro Gamez <alvaro.gamez at hazent.com>:

> Under Xilinx':
> 00000000  0000001e R_MICROBLAZE_32_NONE              c
> Under buildroots':
> 00000000  0000001e unrecognized: 1e                 c

I've made some progress on this. There was something wrong on my setup
that made it use some toolchain apps from Xilinx but some others from
so it's even a miracle it reached that far. Once solved lots of environment
and the like, there remains just this one error on compilation:

-Wl,-T -Wl,lscript.ld -L../bsp/lib -mlittle-endian -mxl-barrel-shift
-mxl-pattern-compare -mno-xl-soft-div -mcpu=v9.6 -mno-xl-soft-mul
-mxl-multiply-high -Wl,--no-relax -o "bootloader.elf" bootloader.o
platform.o srec.o  -Wl,--start-group,-lxil,-lgcc,-lc,--end-group
In function `__libc_csu_init':
(.text+0x44): undefined reference to `__init_array_start'
In function `__libc_csu_init':
(.text+0x4c): undefined reference to `__init_array_end'
collect2: error: ld returned 1 exit status
Makefile:32: recipe for target 'bootloader.elf' failed
make: *** [bootloader.elf] Error 1

So... back to square oneI guess. I don't know what to do with this now.

Best regards

Álvaro Gámez Machado
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20161123/dacc87e8/attachment.html>

More information about the buildroot mailing list