Thanks for the reply, changing the xml file accordingly the issue related to codeaurora is sovled, but I have still an issue during the uboot compilation.
ERROR: ExpansionError during parsing /home/adv/adv-release-bsp/sources/meta-imx/meta-bsp/recipes-bsp/u-boot/u-boot-imx_2021.04.bb
Traceback (most recent call last):
File "/home/adv/adv-release-bsp/sources/poky/bitbake/lib/bb/fetch2/__init__.py", line 1637, in Fetch.__init__(urls=['git://github.com/ADVANTECH-Corp/uboot-imx.git;protocol=https;branch=adv_v2021.04_5.10.35_2.0.0'], d=<bb.data_smart.DataSmart object at 0x7fd4e8eedb38>, cache=True, localonly=False, connection_cache=None):
try:
> self.ud[url] = FetchData(url, d, localonly)
except NonLocalMethod:
File "/home/adv/adv-release-bsp/sources/poky/bitbake/lib/bb/fetch2/__init__.py", line 1277, in FetchData.__init__(url='git://github.com/ADVANTECH-Corp/uboot-imx.git;protocol=https;branch=adv_v2021.04_5.10.35_2.0.0', d=<bb.data_smart.DataSmart object at 0x7fd4e8eedb38>, localonly=False):
if hasattr(self.method, "urldata_init"):
> self.method.urldata_init(self, d)
File "/home/adv/adv-release-bsp/sources/poky/bitbake/lib/bb/fetch2/git.py", line 236, in Git.urldata_init(ud=<bb.fetch2.FetchData object at 0x7fd4e88a3d30>, d=<bb.data_smart.DataSmart object at 0x7fd4e8eedb38>):
> ud.setup_revisions(d)
File "/home/adv/adv-release-bsp/sources/poky/bitbake/lib/bb/fetch2/__init__.py", line 1307, in FetchData.setup_revisions(d=<bb.data_smart.DataSmart object at 0x7fd4e8eedb38>):
for name in self.names:
> self.revisions[name] = srcrev_internal_helper(self, d, name)
File "/home/adv/adv-release-bsp/sources/poky/bitbake/lib/bb/fetch2/__init__.py", line 1170, in srcrev_internal_helper(ud=<bb.fetch2.FetchData object at 0x7fd4e88a3d30>, d=<bb.data_smart.DataSmart object at 0x7fd4e8eedb38>, name='default'):
if srcrev == "INVALID" or not srcrev:
> raise FetchError("Please set a valid SRCREV for url %s (possible key names are %s, or use a ;rev=X URL parameter)" % (str(attempts), ud.url), ud.url)
if srcrev == "AUTOINC":
bb.data_smart.ExpansionError: Failure expanding variable do_configure, expression was if [ -n "1G" ]; then
unset i j
for config in mx6qrsb3430a1_1G_config; do
i=$(expr $i + 1);
for type in 1G; do
j=$(expr $j + 1);
if [ $j -eq $i ]; then
oe_runmake -C /home/adv/adv-release-bsp/build_board/tmp/work/imx6qrsb3430a1-poky-linux-gnueabi/u-boot-imx/1_2021.04-r0/git O=/home/adv/adv-release-bsp/build_board/tmp/work/imx6qrsb3430a1-poky-linux-gnueabi/u-boot-imx/1_2021.04-r0/git/${config} ${config}
if [ -n "${@' '.join(find_cfgs(d))}" ]; then
merge_config.sh -m -O /home/adv/adv-release-bsp/build_board/tmp/work/imx6qrsb3430a1-poky-linux-gnueabi/u-boot-imx/1_2021.04-r0/git/${config} /home/adv/adv-release-bsp/build_board/tmp/work/imx6qrsb3430a1-poky-linux-gnueabi/u-boot-imx/1_2021.04-r0/git/${config}/.config ${@" ".join(find_cfgs(d))}
oe_runmake -C /home/adv/adv-release-bsp/build_board/tmp/work/imx6qrsb3430a1-poky-linux-gnueabi/u-boot-imx/1_2021.04-r0/git O=/home/adv/adv-release-bsp/build_board/tmp/work/imx6qrsb3430a1-poky-linux-gnueabi/u-boot-imx/1_2021.04-r0/git/${config} oldconfig
fi
fi
done
unset j
done
unset i
DEVTOOL_DISABLE_MENUCONFIG=true
else
if [ -n " mx6qrsb3430a1_1G_config" ]; then
oe_runmake -C /home/adv/adv-release-bsp/build_board/tmp/work/imx6qrsb3430a1-poky-linux-gnueabi/u-boot-imx/1_2021.04-r0/git O=/home/adv/adv-release-bsp/build_board/tmp/work/imx6qrsb3430a1-poky-linux-gnueabi/u-boot-imx/1_2021.04-r0/git mx6qrsb3430a1_1G_config
else
oe_runmake -C /home/adv/adv-release-bsp/build_board/tmp/work/imx6qrsb3430a1-poky-linux-gnueabi/u-boot-imx/1_2021.04-r0/git O=/home/adv/adv-release-bsp/build_board/tmp/work/imx6qrsb3430a1-poky-linux-gnueabi/u-boot-imx/1_2021.04-r0/git oldconfig
fi
merge_config.sh -m .config ${@" ".join(find_cfgs(d))}
cml1_do_configure
fi
which triggered exception FetchError: Fetcher failure for URL: 'git://github.com/ADVANTECH-Corp/uboot-imx.git;protocol=https;branch=adv_v2021.04_5.10.35_2.0.0'. Please set a valid SRCREV for url ['SRCREV_default_pn-u-boot-imx', 'SRCREV_default', 'SRCREV_pn-u-boot-imx', 'SRCREV'] (possible key names are git://github.com/ADVANTECH-Corp/uboot-imx.git;protocol=https;branch=adv_v2021.04_5.10.35_2.0.0, or use a ;rev=X URL parameter)
this is the repo reference used: repo init -u git://github.com/ADVANTECH-Corp/adv-arm-yocto-bsp.git -b refs/tags/imx6LBVB0012 -m my-imx6LBVB0012.xml
and the environment:
export MC=imx6qrsb3430a1
export BSP_HOME=/home/adv/adv-release-bsp/imx6LBVB0012_2022-12-29
export BDIR=build_board
MACHINE=${MC} DISTRO=fsl-imx-xwayland source imx-setup-release.sh -b ${BDIR}