I am at the beginning of a steep learning curve for Yocto and embedded Linux. I am building yocto from source on a ubuntu 16.4 host for the SAMA5D2-xplained EVK. I have followed all the current build instructions from the git repos and repeatedly end up with the same error.
I have managed to build the at91bootstrap binary separately from the sam4linux instructions but not as part of a yocto bitbake.
The error message that I get back is as follows:
Code: Select all
LD sama5d2_xplained-dataflashboot-uboot-3.8.7.elf | ./scripts/get_sram_size.sh: 1: ./scripts/get_sram_size.sh: bc: not found | Makefile:338: recipe for target 'ChkFileSize' failed | make: *** [ChkFileSize] Error 3 | ERROR: oe_runmake failed | WARNING: exit code 1 from a shell command. | ERROR: Function failed: do_compile (log file is located at /home/matt/sw_builds/atmel_sama5d2/linux4sam/poky/build-atmel/tmp/work/sama5d2_xplained-poky-linux-gnueabi/at91bootstrap/3.8.7-r0/temp/log.do_compile.12980) ERROR: Task (/home/matt/sw_builds/atmel_sama5d2/linux4sam/meta-atmel/recipes-bsp/at91bootstrap/at91bootstrap_3.8.7.bb:do_compile) failed with exit code '1'