[WIP] Mainline Buildroot



I’m trying to port the mainline buildroot on Khadas VIM, and may be in the future be available in the official repository
It automatically generate an minimalist linux image bootable from a SD card.

Linux version : 3.14.29
Uboot : v2015.01

How to :

# git clone https://github.com/thauti/buildroot-kvim

Use the template
# make kvim_defconfig

Customize your image
# make menuconfig

# make

You should have a sdcard.img file in /output/images
Copy the bootable “sdcard.img” into a microSD card:

sudo dd if=output/images/sdcard.img of=/dev/sdX bs=8M

Currently you need to use the serial/uart to get the console.



  • Bootable

Not tested:

  • Ethernet
  • Wifi

Not working:

  • HDMI/Mali (the framebuffer is available)

Please feel free to test it and contribute


Hi @Ticc0,

Maybe you could use Linux 4.19 and U-boot 2018.11 since they support the Khadas Vim and Khadas Vim2, no ?