IMAGE_INSTALL:append = " wireguard-module rsyslog" # syntax for "Honister" or newer releases
IMAGE_INSTALL_append = " wireguard-module rsyslog" # syntax for releases older than "Honister"
MACHINE = "raspberrypi4-64"
IMAGE_FSTYPES:append = " hddimg" # syntax for "Honister" or newer releases
IMAGE_FSTYPES_append = " hddimg" # syntax for releases older than "Honister"
*.bbappend
files (BB_DANGLINGAPPENDS_WARNONLY):
BB_DANGLINGAPPENDS_WARNONLY = "true"
EXTRA_IMAGE_FEATURES = "debug-tweaks ssh-server-dropbear package-management"
PREFERRED_PROVIDER_virtual/kernel = "linux-raspberrypi-rt"
PREFERRED_VERSION_virtual/kernel = "4.19.%"
ENABLE_I2C = "1"
RPI_EXTRA_CONFIG:append = "\n \
dtoverlay=i2c-rtc,ds3231 \n \
" # syntax for "Honister" or newer releases
RPI_EXTRA_CONFIG_append = "\n \
dtoverlay=i2c-rtc,ds3231 \n \
" # syntax for releases older than "Honister"
IMAGE_INSTALL:append:qemuall = " ntpdate " # syntax for "Honister" or newer releases
IMAGE_INSTALL_append_qemuall = " ntpdate " # syntax for releases older than "Honister"
IMAGE_INSTALL:remove:qemuall = "avrdude" # syntax for "Honister" or newer releases
IMAGE_INSTALL_remove_qemuall = "avrdude" # syntax for releases older than "Honister"
hostname:pn-base-files = "custom hostname" # syntax for "Honister" or newer releases
hostname_pn-base-files = "custom hostname" # syntax for releases older than "Honister"
BBMASK = "meta-freescale/recipes-kernel/linux"
BBMASK .= "|meta-freescale/recipes-connectivity/openssl"
SKIP_RECIPE[busybox] = "Lorem ipsum error message"
INCOMPATIBLE_LICENSE = "GPL-3.0 LGPL-3.0 AGPL-3.0"
LICENSE_FLAGS_WHITELIST = "commercial_ffmpeg commercial_x264" # Honister or older
LICENSE_FLAGS_ACCEPTED = "commercial_ffmpeg commercial_x264" # Kirkstone or newer
SOURCE_MIRROR_URL = "https://low-level.wiki/large_files/yocto/downloads/"
INHERIT += "own-mirrors"
SOURCE_MIRROR_URL = "http://.../sources/"
INHERIT += "own-mirrors"
PATH
- it’s a keyword, SSTATE_MIRRORS):
SSTATE_MIRRORS = "file://.* http://.../sstate/PATH"
DL_DIR
(this can be reused across multiple builds or to set up a mirror, DL_DIR, BB_GENERATE_MIRROR_TARBALLS):
DL_DIR = "/var/data/downloads"
BB_GENERATE_MIRROR_TARBALLS = "1"
SSTATE_DIR
(this can be reused across multiple builds or to set up a mirror, SSTATE_DIR):
SSTATE_DIR = "/var/data/sstate"
Search engine for yocto programs, recipes and layers: https://layers.openembedded.org/layerindex/branch/master/recipes/.
bitbake -c menuconfig virtual/kernel
bitbake -c cleanall avrdude
bitbake core-image-minimal --runall=fetch
oe-pkgdata-util find-path /bin/sh
oe-pkgdata-util lookup-recipe python3-io
oe-pkgdata-util package-info acl
oe-pkgdata-util read-value RDEPENDS acl
/home
mapped over the physical directory /mnt/ssd/rpi-tutorial-2/
.
This is useful if you’re recreating old yocto buils, and the host OS is newer (and incompatible).
The re-mapping is specified, in case the default docker filesystem is placed on a HDD, but you also have an SSD installed.
sudo docker run -it --mount type=bind,source=/mnt/ssd/rpi-tutorial-2/,target=/home ubuntu:16.04
*.qemuboot.conf
file:
runqemu nographic slirp
sudo apt-get install bmap-tools
sudo bmaptool copy core-image-minimal-raspberrypi4-64.wic.bz2 /dev/mmcblk0
"C:\Program Files\Oracle\VirtualBox\VBoxManage.exe" convertdd core-image-minimal.hddimg new_file.vdi --format VDI
vboxmanage clonemedium disk ubuntu-cosmic-18.10-cloudimg.vmdk --format RAW pm-vm-physical-1.0.img
bblayers.conf.sample
and local.conf.sample
. The bblayers.conf.sample
file uses ##OEROOT##
placeholder to point to the poky
folder. The conf-notes.txt
file is optional.TEMPLATECONF
must point to the configuration directory):
TEMPLATECONF=meta-.../.../conf source ./oe-init-build-env