Category: Yocto

Setting up a tap device for QEMU using Yocto in Docker container

Typically it should just work but there are some catches when using a docker container environment. NOTE: You don't need to create a bridge between the host NIC and the TAP device. When you run runqemu the tap device is automatically created to match the subnet of the network interface in the guest OS. See…

Read the full article

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.…

Read the full article

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

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

Setup USB Gadget Ethernet on Beaglebone Black

Introduction Here we want to enable network access between the target board and the host dev. Rather than use the ethernet interface (which may not always be available on the target) we can provide power and connect via ethernet to the target board using the USB interface and the USB Gadget framework provided by Linux.…

Read the full article

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

MCIMX6UL-EVKB is a i.MX 6UltraLite Evaluation Kit. It uses the NXP i.MX 6ULL (900 MHz Arm Cortex®-A7 core, MCIMX6Y2DVM09AB). Instructions based on the porting guide - https://www.nxp.com/docs/en/user-guide/IMX_PORTING_GUIDE.pdf 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…

Read the full article

The "What I wish I’d known about Yocto Project" basic skill checklist

This is a completed version of the What I wish I’d known about Yocto Project page in the Yocto documentation. 1. Deal with corporate proxies Use environment variables or ChameleonSocks. https://wiki.yoctoproject.org/wiki/Working_Behind_a_Network_Proxy 2. Add a package to an image To add a package to your image using the local configuration file, use the IMAGE_INSTALL variable with…

Read the full article