Build the Netinstaller Flashimage¶
References¶
The instructions for setting up and building a Debian netinstaller image for our products. To do this, the Yocto BSP is extended by a distribution that creates a customised U-Boot and Linux kernel version. This boot configuration is then programmed to the onboard eMMC for booting Debian. The Debian installation itself can be customised to your needs. The necessary packages are downloaded via the Internet during installation.
BSP Setup¶
The Yocto BSP is extended by a “netinst” distribution which builds a custom U-Boot and Linux kernel and a uuu configuration to start the Debian Netinstaller.
Set up a BSP as described in the Yocto Guide
The last step “repo sync” is done in your working directory. Stay in this directory and add the Netinstaller files:
wget --directory-prefix=.repo/local_manifests/ \
https://www.karo-electronics.com/fileadmin/download/debian_images/netinst.xml
repo sync
Setup Build Directory¶
Note
KARO_BASEBOARD is mandatory for QS modules
KARO_BASEBOARD=<baseboard>
DISTRO=karo-custom-karo-netinst MACHINE=<machine> source karo-setup-release.sh -b build-netinstaller
Build¶
bitbake karo-image-netinst
Find the results¶
Find the image deployment as described in the Yocto Guide