DIY mainline kernel (4.12)+ ubuntu base 17.04 (zesty) for vim pro and EMMC install


octo poky env set for now, but build failed due to disk full, i will retry after i freed some more space


when I do…

cd amlogic-bsp/
source poky/oe-init-build-env
export MACHINE=khadas-vim
bitbake amlogic-image-headless-initrd

after a while, I get these errors…

| ERROR: Function failed: do_prep_locale_tree (log file is located at /home/raxy/Documents/amlogic-bsp/build/tmp-glibc/work/aarch64-oe-linux/glibc-locale/2.25-r0/temp/log.do_package.5485)
ERROR: Task (/home/raxy/Documents/amlogic-bsp/poky/meta/recipes-core/glibc/ failed with exit code '1'
ERROR: qemu-native-2.8.0-r0 do_compile: oe_runmake failed
ERROR: qemu-native-2.8.0-r0 do_compile: Function failed: do_compile (log file is located at /home/raxy/Documents/amlogic-bsp/build/tmp-glibc/work/x86_64-linux/qemu-native/2.8.0-r0/temp/log.do_compile.5092)
ERROR: Logfile of failure stored in: /home/raxy/Documents/amlogic-bsp/build/tmp-glibc/work/x86_64-linux/qemu-native/2.8.0-r0/temp/log.do_compile.5092

II can’t figure out what is wrong, after looking in the error log and make file for glibc, I tried to set
but the same errors pop up again and again.

Anyone might have any clue on what I could change ?


I 'm so sorry I finally need to give up on octo poky, I cannot figure out how to build a kernel the OpenEmbedded way.
So back to mainline legacy and trying to validate my existing protocol on 4.12.14
stay tuned.

4.12.14 + xenial successfully built (even if need to recheck some error messages)

boots ok,
serial console ok
ethernet works,
distro updates and upgrades ok
login prompt displayed on hdmi
BT installs ok


about building my kernel as a .deb package:
i’ve seen this

has anyone managed to build one vim kernel from an ubuntu 14 or 16 ,and with make-dpkg ?