[PATCH v3] ARM: imx: mxs: Add support for imx287 based BTT devices

Fabio Estevam festevam at gmail.com
Thu Jun 5 20:04:24 CEST 2025


Hi Lukasz,

On Thu, Jun 5, 2025 at 9:37 AM Lukasz Majewski <lukma at denx.de> wrote:
>
> The btt[c3] devices are based on imx287 SoC.
>
> U-Boot SPL 2025.04-01081-g07e086681d26 (Apr 16 2025 - 12:24:36 +0200)
> Trying to boot from MMC1
>
> U-Boot 2025.04-01081-g07e086681d26 (Apr 16 2025 - 12:24:36 +0200)
>
> CPU:   Freescale i.MX28 rev1.2 at 454 MHz
> BOOT:  SSP SPI #3, master, 3V3 NOR
> Model: BTT3
> Board: LWE BTT SoM HW rev 0
> DRAM:  256 MiB
> Core:  86 devices, 15 uclasses, devicetree: separate
> MMC:   MXS MMC: 0
> Loading Environment from SPIFlash... SF: Detected is25lp128 with page
>                     size 256 Bytes, erase size 64 KiB, total 16 MiB
> OK
> In:    serial at 80074000
> Out:   serial at 80074000
> Err:   serial at 80074000
> Net:   eth0: ethernet at 800f0000
> Hit any key to stop autoboot:  0
>
> Signed-off-by: Lukasz Majewski <lukma at denx.de>

I ran this patch through CI, and the following error is seen:

+board/liebherr/btt/btt.c: In function 'board_late_init':
+board/liebherr/btt/btt.c:362:19: error: implicit declaration of
function 'env_set_ulong'; did you mean 'env_get_vlan'?
[-Wimplicit-function-declaration]
+  362 |         int ret = env_set_ulong("board_som_rev", get_som_rev());
+      |                   ^~~~~~~~~~~~~
+      |                   env_get_vlan
+board/liebherr/btt/btt.c:367:15: error: implicit declaration of
function 'env_set' [-Wimplicit-function-declaration]
+  367 |         ret = env_set("arch", get_board_name());
+      |               ^~~~~~~
+make[2]: *** [scripts/Makefile.build:249: board/liebherr/btt/btt.o] Error 1
+make[1]: *** [Makefile:1923: board/liebherr/btt] Error 2
+make: *** [Makefile:185: sub-make] Error 2

Please run v4 through CI and make sure it passes.


More information about the U-Boot mailing list