Category: Yocto

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

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

Modifying U-Boot Kconfig with configuration fragments and Yocto on the MCIMX6UL-EVKB evaluation board

Your eval board boots, but it hangs during the “starting linux kernel” message. You can’t debug the Linux kernel because it hasn’t loaded yet. So the next option is to debug the preceding U-Boot bootloader. This article explains how to configure a Yocto layer to modify the Uboot Kconfig settings (without hacking about in the tmp/work directory!)

Adding user configuration to device files using STM32CubeIDE’s “Device Configuration Tool”

The STM32CubeIDE can be used to generate device tree source file (.dts) for your embedded linux image. These describe the hardware for the board on which linux will run. This is compiled into a device tree binary file (.dtb) which is included on the image and loaded by u-boot along with the Linux kernel zImage.

In this article we are going to create two STM32CubeIDE projects – a DK-2 project with all the presets and a custom project for the custom board – and compare them side-by-side.

Designing a custom STM32MP1 board for embedded Linux using Yocto and OpenSTLinux

Custom Board Design First lets discuss the hardware. There are vendor boards available: Evaluation boards are expensive due to the large number of external connectors and integrated circuitry (including FPGAs and HDMI decoders!). These are really meant for sales demos. Any development work done on these would be wasted time since your own custom design…

Read the full article