I had a tough time finding any examples of how BIF_COMMON_ATTR is to be used in the xilinx-bootbin recipe [1][2]. Since I figured it out, I thought I would share.
If you want to set, for instance, [keysrc_encryption] efuse_red_key in your generated bif file, set the following in your xilinx_bootbin_1.0.bbappend: BIF_COMMON_ATTR[keysrc_encryption] = "efuse_red_key" BIF_COMMON_ATTR = "keysrc_encryption" The first sets up the dict key:value pair. The second adds the dict to the attributes to be written to file. Also, be careful when you "override" default values, I was scratching my head about a change I had made in BIF_PARTITION_ATTR not "taking" and realized it was because I had used ?= for that one variable and not =. The ?= is too weak to override the default in the recipe, the hard = is needed to make it work. Hope this helps future me or someone else! --Tim [1] https://git.yoctoproject.org/meta-xilinx/tree/meta-xilinx-core/recipes-bsp/bootbin/xilinx-bootbin_1.0.bb?h=scarthgap [2] https://git.yoctoproject.org/meta-xilinx/tree/meta-xilinx-core/recipes-bsp/bootbin/machine-xilinx-zynqmp.inc?h=scarthgap#n2
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#5480): https://lists.yoctoproject.org/g/meta-xilinx/message/5480 Mute This Topic: https://lists.yoctoproject.org/mt/109454378/21656 Group Owner: [email protected] Unsubscribe: https://lists.yoctoproject.org/g/meta-xilinx/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
