Difference between revisions of "How to include uEnv.txt in Yocto image"
From KoanSoftware Wiki
(Created page with "== How to include uEnv.txt in Yocto image == If you need to include a custom u-boot environment configuration file for a '''BeagleBone''' board, follow these instructions. C...") |
(No difference)
|
Revision as of 11:08, 4 December 2020
How to include uEnv.txt in Yocto image
If you need to include a custom u-boot environment configuration file for a BeagleBone board, follow these instructions.
Create a new recipe in your custom layer
recipes-bsp/ └── u-boot ├── files │ └── uEnv.txt └── u-boot-ti-staging_%.bbappend
Edit the file u-boot-ti-staging_%.bbappend
FILESEXTRAPATHS_prepend := "${THISDIR}/files:" SRC_URI_append_beaglebone = " file://uEnv.txt" UBOOT_ENV_beaglebone = "uEnv"
Add your uEnv.txt file into the files directory.
Rebuild
bitbake virtual/bootloader
Now you will have a uEnv.txt in the image directory and in the wic file