Yocto rootfs overlay

Use the ROOTFS_POSTPROCESS_COMMAND to specify a list of functions to call once the OpenEmbedded build system has created the root filesystem. Create a rootfs/ directory in the image recipe directory. ROOTFS_POSTPROCESS_COMMAND += “rfs_overlay;” rfs_overlay() { rsync -a {THISDIR}/rootfs/*{WORKDIR}/rootfs }

Yocto MULTICONFIG recipe control

Running tasks using bitbake: Run task on specific multiconfig: bitbake mc:<config>:<recipe> -c cleanall bitbake mc:<config>:<recipe> -c configure `bitbake mc:: -e | grep ^BB_CURRENT_MC=“ Run task on multiconfig and default config (only one target can be used with the –environment option): bitbake mc:<config>:<recipe> <recipe> -c cleanall bitbake mc:<config>:<recipe> <recipe> -c configure Testing the current multiconfig within…

Read the full article

EL2 virtualization on Zynq Ultrascale+ notes

Exception Levels: Execution States: Security State Service Call Routing: Hypervisor mode executes at EL2 in the AArch32 state. EL2 is implemented only in a non-secure state, to support guest operating system management. EL2 virtualization provides: virtual values for the contents of a small number of identification registers traps for EL2 exceptions (a hypervisor might be…

Read the full article

Yocto Tasks

Create BSP layer with three machines. Each uses a common recipe that echos “hello from $MACHINE”. Create a custom distribution layer with a mutilconfig build Set the local.conf to use the multiconfig build and save the template configuration

Linux IMA notes

Glossary IMA Integrity Measurement Architecture, responsible for calculating the hashes of files and programs before they are loaded, and supports reporting on the hashes and validate if they adhere to a predefined list. TCB Trusted Computing Base, a set of all hardware, firmware, and/or software components that are critical to the security of a computer…

Read the full article

Using udev with containers

Plug in your SEGGER JLink On the host terminal type lsusb Bus 002 Device 003: ID 17ef:305b Lenovo Lenovo ThinkPad WS Dock Bus 002 Device 002: ID 17ef:305a Lenovo Lenovo ThinkPad WS Dock Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 001 Device 005: ID 138a:0090 Validity Sensors, Inc. VFS7500 Touch…

Read the full article

Downloading Xilinx Yocto layers without git-repo

Edit the GIT_TAG and GIT_TAG_PATCHED variables as required. #!/bin/bash GIT_CMD=”git clone –recurse-submodules –progress -c advice.detachedHead=false” GIT_URL=https://github.com/Xilinx GIT_TAG=”-b xlnx-rel-v2022.1″ GIT_TAG_PATCHED=”-b xlnx-rel-v2022.1_update2″ declare -A url=( [meta-browser]=”{GIT_CMD}{GIT_TAG} {GIT_URL}/meta-browser” [meta-clang]=”{GIT_CMD} {GIT_TAG}{GIT_URL}/meta-clang” [meta-jupyter]=”{GIT_CMD}{GIT_TAG} {GIT_URL}/meta-jupyter” [meta-mingw]=”{GIT_CMD} {GIT_TAG}{GIT_URL}/meta-mingw” [meta-openamp]=”{GIT_CMD}{GIT_TAG} {GIT_URL}/meta-openamp” [meta-openembedded]=”{GIT_CMD} {GIT_TAG}{GIT_URL}/meta-openembedded” [meta-petalinux]=”{GIT_CMD}{GIT_TAG} {GIT_URL}/meta-petalinux” [meta-python2]=”{GIT_CMD} {GIT_TAG}{GIT_URL}/meta-python2″ [meta-qt5]=”{GIT_CMD}{GIT_TAG} {GIT_URL}/meta-qt5″ [meta-som]=”{GIT_CMD} {GIT_TAG}{GIT_URL}/meta-som” [meta-security]=”{GIT_CMD}{GIT_TAG} {GIT_URL}/meta-security” [meta-som]=”{GIT_CMD} {GIT_TAG}{GIT_URL}/meta-som” [meta-virtualization]=”{GIT_CMD}{GIT_TAG} {GIT_URL}/meta-virtualization” [meta-xilinx]=”{GIT_CMD} {GIT_TAG}{GIT_URL}/meta-xilinx” [poky]=”{GIT_CMD}{GIT_TAG} {GIT_URL}/poky” [yocto-manifests]=”{GIT_CMD} {GIT_TAG}{GIT_URL}/yocto-manifests”…

Read the full article

Xilinx Yocto reading list

Performance Local shared download/sstate caches. Site shared download mirrors. hash equivelance sstate server. https://www.thegoodpenguin.co.uk/blog/improving-yocto-build-time/ Secureboot Susbsystem Use Secure Boot Features to Protect Your Design Zynq UltraScale+ MPSoC Software Developer Guide -> Security Features Zynq UltraScale+ MPSoC Embedded Design Tutorial » Boot and Configuration ARM Trusted Firmware Docs Xilinx ATF Development Workflow eSDK PetaLinux PetaLinux vs…

Read the full article