How to include uEnv.txt in Yocto image
Jump to navigation
Jump to search
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