This section provides required packages on an Ubuntu Linux distribution:
Packages needed to build an image for a headless system:
$ sudo apt-get install gawk wget git-core diffstat unzip texinfo gcc-multilib \
build-essential chrpath socat cpio python python3 python3-pip python3-pexpect \
xz-utils debianutils iputils-ping python-git repo bmap-tools
To easily manage different git repositories layers, meta-variscite project is using Android repo tool,
First initialize repo specifying the project manifest and the corresponding branch:
$ repo init -u https://github.com/linumiz/meta-variscite.git -m conf/samples/variscite.xml -b master
then checkout the project source tree:
$ repo sync -j10
meta-variscite offers pre-configured machine templates, tested and ready to use.
- variscite
$ cd variscite/
$ TEMPLATECONF=meta-variscite/conf/samples/ source oe-init-build-env
$ bitbake variscite-image-base-sd
$ bitbake variscite-image-base-emmc
After successfull compilation you will find the image in below name, which can be directly flashed into SD card
dd if=./variscite-image-base-sd.wic of=/dev/sdX bs=10M
Pre-requiste SD image flashed and sucessfull linux booting. Copy below two images to SD card
dd if=./variscite-image-base-emmc.wic of=/dev/mmcblkX bs=10M