Hello,
I tried updating the mx6ul_14x14_evk_config/.config file by applying a .bbappend on it and it worked, my driver is going from:
# CONFIG_DRIVER_TI_CPSW is not set
to
CONFIG_DRIVER_TI_CPSW=y
But when I do "bitbake u-boot-imx" I have the following compiling error:
.config:1752:warning: override: reassigning to symbol DRIVER_TI_CPSW
And a bunch of other errors regarding drivers in the log file. I don't know why updating a driver might corrupt the compile process of the u-boot!
See full log file as attached.
Thanks
Hi,
Thank you for your interest in NXP Semiconductor products,
I found this record of u-boot modifications in yocto which (in the addendum) seems to correctly override the defconfig, could you try it?
Regards
Hi Joseph,
Unfortunately I already did what this SO is doing by applying a patch but it was not working.
I created a .bbappend file with the following:
FILESEXTRAPATHS:preprend := "${THISDIR}/files:"
SRC_URI:append = " file://u-boot-custom.cfg"
do_configure:append() {
cat ${WORKDIR}/u-boot-custom.cfg >> ${B}/mx6ul_14x14_evk_config/.config
}
But when I was running bitbake u-boot-imx I had a compile error:
fatal error: asm/arch/cpu.h: No such file or directory
25 | #include <asm/arch/cpu.h>
So I manually modified the file to remove the asm/arch in the include to be able to successfully compile. I don't know if my modifications were correct but it compiled the u-boot-imx.
After this I generated a .wic image with the new u-boot and flashed it on my SD Card but I encounter a boot problem:
U-Boot 2022.04-lf_v2022.04+g1c881f4da83 (Jun 07 2022 - 05:16:02 +0000)
CPU: i.MX6ULL rev1.1 900 MHz (running at 396 MHz)
CPU: Commercial temperature grade (0C to 95C) at 38C
Reset cause: POR
Model: Freescale i.MX6 UltraLite 14x14 EVK Board
Board: MX6UL 14x14 EVK
DRAM: 512 MiB
Core: 63 devices, 18 uclasses, devicetree: separate
MMC: FSL_SDHC: 0, FSL_SDHC: 1
Loading Environment from MMC... *** Warning - bad CRC, using default environment
[*]-Video Link 0 (480 x 272)
[0] lcdif@21c8000, video
In: serial
Out: serial
Err: serial
data abort
pc : [<9eea1f16>] lr : [<9eec0b39>]
reloc pc : [<87824f16>] lr : [<87843b39>]
sp : 9de738a0 ip : 9de7388c fp : 87800020
r10: 00000017 r9 : 9de7aec0 r8 : 00000100
r7 : 021bc400 r6 : 9eecdb46 r5 : 00000000 r4 : 9de7d9d0
r3 : ffffffff r2 : 02140000 r1 : 00006cc8 r0 : ffffffff
Flags: NzCv IRQs off FIQs off Mode SVC_32 (T)
Code: 1e03 9300 da0e 6822 (6853) b125
Resetting CPU ...
resetting ...
Any clue ? Thanks a lot