I have been using Yocto Project release Honister with meta-freescale for an i.MX6ul based target very similar to the mx6ul_14x14_evk. u-boot-fslc_2021.07 with SPL builds and works fine.
I am in the process of updating to YP release Kirkstone. However, now with u-boot-fslc_2022.07 building SPL fails with the following messages:
| ( cd spl && arm-altec-linux-gnueabi-ld.bfd -T u-boot-spl.lds --gc-sections -Bstatic --gc-sections --no-dynamic-linker --build-id=none -Ttext 0x00908000 arch/arm/cpu/armv7/start.o --whole-archive arch/arm/cpu/armv7/built-in.o arch/arm/cpu/built-in.o arch/arm/lib/built-in.o arch/arm/mach-imx/built-in.o board/freescale/mx6ul_14x14_evk/built-in.o board/freescale/common/built-in.o common/spl/built-in.o common/init/built-in.o boot/built-in.o common/built-in.o cmd/built-in.o env/built-in.o lib/built-in.o disk/built-in.o drivers/built-in.o drivers/usb/dwc3/built-in.o drivers/usb/cdns3/built-in.o dts/built-in.o fs/built-in.o --no-whole-archive arch/arm/lib/eabi_compat.o arch/arm/lib/lib.a -Map u-boot-spl.map -o u-boot-spl )
| arm-altec-linux-gnueabi-ld.bfd: arch/arm/lib/reset.o: in function `do_reset':
| /develop/projects/altec/tcu/build/tmp/work/altectcu-altec-linux-gnueabi/u-boot-fslc/2022.07+gitAUTOINC+a21d7668eb-r0/git/arch/arm/lib/reset.c:42: undefined reference to `reset_cpu'
| arm-altec-linux-gnueabi-ld.bfd: arch/arm/mach-imx/hab.o: in function `imx_hab_is_enabled':
Essentially the two symbols 'reset_cpu' and 'read_fuse' cannot be resolved. The configuration settings CONFIG_SPL_LIBGENERIC_SUPPORT and CONFIG_SPL_LIBCOMMON_SUPPORT are enabled. I am somewhat at a loss what could have changed. Maybe someone from the NXP team involved with u-boot can shed some light on it. Thank you.
Hi
Please refer this commit:
https://patchwork.ozlabs.org/project/uboot/patch/1451881154-5686-1-git-send-email-peng.fan@nxp.com/