Creating a generic user for use within a devcontainer project
random things I made and things I learnt making them
Creating a generic user for use within a devcontainer project
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 }
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…
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…
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
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…
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…
Using Processor Configuration Access Port (PCAP) Device tree overlays are not supported by Xilinx DTG and must be hand-crafted Kernel configuration is required Note, partial reconfiguration of the PL regions requires partioning of the bitstream into blocks so that they can be replaced as part of a higher level bitstream design. As far as I…
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”…
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…