Hi All,
I am using TISDK 08.02.00.24 1.2. Building the SDK — Processor SDK Linux for AM335X Documentation
.1. I need to compile custom u-boot which i have created a new recipe as i don't want to disturb the existing recipes,
2. I had created source path where u-boot has kept(tisdk/src-bsp/u-boot) and created layer accordingly below is the bblayers output,
tisdk/sources/meta-arm/meta-arm-toolchain \
tisdk/sources/oe-core/meta \
/ tisdk/sources/meta-mylayer\
3. I have used same bb file as used in sources/meta-ti/recipes-bsp/u-boot/u-boot-ti-staging_2021.01.bb and renamed as u-boot-ti-staging_2021.01.bbappend used in my layer(tisdk/sources/meta-mylayer/recipes-bsp/u-boot) and compiled Build system is not allowing us to modify the append file which is there in sources/meta-processor-sdk/recipes-bsp/u-boot/u-boot-ti-staging_%.bbappend
Below is the bbappend content which i added
inherit externalsrc
LIC_FILES_CHKSUM = "file://Licenses/README;md5=5a7450c57ffe5ae63fd732446b988025"
#UBOOT_LOCALVERSION = "-g${@d.getVar('SRCPV', True)}"
UBOOT_LOCALVERSION_remove = "-g${@d.getVar('SRCPV', True).split('+')[1]}"
EXTERNALSRC = "${OEBASE}/src-bsp/u-boot"
EXTERNALSRC_BUILD = "${WORKDIR}/build_uboot_external"
. for the above changes in bbappend file i am facing as below,
ERROR: ExpansionError during parsing tisdk/sources/meta-ti/recipes-bsp/u-boot/u-boot-ti-staging_2021.01.bb
Traceback (most recent call last):
File "Var <UBOOT_LOCALVERSION>", line 1, in <module>
bb.data_smart.ExpansionError: Failure expanding variable UBOOT_LOCALVERSION, expression was -g${@d.getVar('SRCPV', True).split('+')[1]} which triggered exception IndexError: list index
out of range
can you please give some pointes for this how to move further?