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/glibc-locale_2.25.bb:do_package) 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
export ENABLE_BINARY_LOCALE_GENERATION=1
but the same errors pop up again and again.

Anyone might have any clue on what I could change ?

1 Like

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.

EDIT:
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

2 Likes

about building my kernel as a .deb package:
iā€™ve seen this

https://forum.odroid.com/viewtopic.php?f=112&t=11241

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

1 Like