Thursday, August 19, 2021

Yocto: Build Minimal Linux From Scratch For Asus Tinker Board

 

 


Build Minimal Linux For Asus Tinker Board using Yocto Build Tool Follow steps below to setup Yocto for Tinkerboard 

git clone git://git.yoctoproject.org/poky 

cd poky 

git clone git://git.yoctoproject.org/meta-rockchip 

git clone git://git.yoctoproject.org/meta-arm 

git clone https://git.openembedded.org/meta-openembedded 

 source oe-init-build-env 

Add below lines to bblayers.conf found at poky/build/conf 

/home/prajnith/Desktop/poky/meta-openembedded/meta-oe \ 

/home/prajnith/Desktop/poky/meta-rockchip \ 

 /home/prajnith/Desktop/poky/meta-arm/meta-arm \ 

 /home/prajnith/Desktop/poky/meta-arm/meta-arm-toolchain \ 

 

Add below lines to local.conf found at poky/build/conf 

MACHINE ??= "tinker-board" 

EXTRA_IMAGE_FEATURES ?= "debug-tweaks dbg-pkgs dev-pkgs package-management" 

CORE_IMAGE_EXTRA_INSTALL += "apt vim" 

execute below command to generate build 

bitbake core-image-minimal 

 cd build/tmp/deploy/images/tinker-board/ 

sudo dd bs=4M if=core-image-minimal-tinker-board-20210819045610.rootfs.wic of=/dev/sdX && sync 

replace /dev/sdX with your sd card partition number now you should have fully bootable linux 

 

Music: New Horizons Musician: Rafael Krux 

URL: https://filmmusic.io/song/5458-new-horizons- 

License: https://filmmusic.io/standard-license

No comments:

How to add Wireless capability to legacy printers using Raspberry Pi

  This video tutorial demonstrates how to easily add wireless print capablity to your wired legacy printers using your Raspberry Pi. We hav...