前置条件:ubantu2018 SDK是使用git clone 进行下载的,单独编译uboot和内核均没问题
Executing post-image script support/scripts/genimage.sh
board/100ask/nxp-imx6ull/genimage.cfg:28: no sub-section title/index for ‘config’
INFO: cmd: “mkdir -p “/home/wz/SDK/100ask_imx6ull-sdk/Buildroot_2020.02.x/output/build/genimage.tmp”” (stderr):
INFO: cmd: “rm -rf “/home/wz/SDK/100ask_imx6ull-sdk/Buildroot_2020.02.x/output/build/genimage.tmp”/*” (stderr):
INFO: cmd: “mkdir -p “/home/wz/SDK/100ask_imx6ull-sdk/Buildroot_2020.02.x/output/build/genimage.tmp”” (stderr):
INFO: cmd: “cp -a “/tmp/tmp.NJeCCWOF75” “/home/wz/SDK/100ask_imx6ull-sdk/Buildroot_2020.02.x/output/build/genimage.tmp/root”” (stderr):
INFO: cmd: “find ‘/home/wz/SDK/100ask_imx6ull-sdk/Buildroot_2020.02.x/output/build/genimage.tmp/root’ -depth -type d -printf ‘%P\0’ | xargs -0 -I {} touch -r ‘/tmp/tmp.NJeCCWOF75/{}’ ‘/home/wz/SDK/100ask_imx6ull-sdk/Buildroot_2020.02.x/output/build/genimage.tmp/root/{}’” (stderr):
INFO: cmd: “mkdir -p “/home/wz/SDK/100ask_imx6ull-sdk/Buildroot_2020.02.x/output/images”” (stderr):
INFO: hdimage(100ask-imx6ull-pro-512d-systemv-v1.img): adding partition ‘u-boot’ from ‘u-boot-dtb.imx’ …
ERROR: hdimage(100ask-imx6ull-pro-512d-systemv-v1.img): fiemap /home/wz/SDK/100ask_imx6ull-sdk/Buildroot_2020.02.x/output/images/u-boot-dtb.imx: 25 Inappropriate ioctl for device
ERROR: hdimage(100ask-imx6ull-pro-512d-systemv-v1.img): failed to write image partition ‘u-boot’
INFO: hdimage(100ask-imx6ull-pro-512d-systemv-v1.img): cmd: “rm -f “/home/wz/SDK/100ask_imx6ull-sdk/Buildroot_2020.02.x/output/images/100ask-imx6ull-pro-512d-systemv-v1.img”” (stderr):
ERROR: hdimage(100ask-imx6ull-pro-512d-systemv-v1.img): failed to generate 100ask-imx6ull-pro-512d-systemv-v1.img
Makefile:827: recipe for target ‘target-post-image’ failed
make[1]: *** [target-post-image] Error 1
Makefile:84: recipe for target ‘_all’ failed
make: *** [_all] Error 2