iMX93 board support with eMMC boot

Hi, short question. Did you try to flash sdimg for imx93 to emmc please? I’m struggling with im93evk mender integration that it boot from SD card properly but when try to flash to emmc using uuu tool as usual it hangs after SPL. Any ideas please? Can share my integration but it’s heavily based on imx93 variscite integration. Thanks.

Hi @MarekBelisko,

No, haven’t tried the eMMC path. Does it hang all silently?

Greetz,
Josef

It hangs when SPL is started then nothing more (u-boot should continue with fastboot to flash emmc). Would you be able to try it pls? Thanks.

Hi @MarekBelisko,

Super sorry for not being able to do this earlier - I saw your PR, so is this still relevant? The iMX93 integration which I have still needs bumping to scarthgap, so I need to tackle that first, then I can try flashing :frowning: Hopefully next week…

Greetz,
Josef

Hi @TheYoctoJester,

Yes it’s still an issue but found following workaround:

  1. flash sdimg using uuu and imx-boot which don’t have mender integrated
    uuu -b emmc_all imx-boot_flashing image.sdimg
  2. use uuu script to flash imx-boot which have mender integrated
    uuu uuu.lst
    where uuu.lst is:
uuu_version 1.2.39

SDPS: boot -f imx-boot-flashing


FB: ucmd setenv fastboot_dev mmc
FB: ucmd setenv mmcdev ${emmc_dev}
FB: ucmd mmc dev ${emmc_dev}
FB: flash bootloader imx-boot-flash-mender
FB: ucmd if env exists emmc_ack; then ; else setenv emmc_ack 0; fi;
FB: ucmd mmc partconf ${emmc_dev} ${emmc_ack} 1 0
FB: Done

This way I can flash and use mender integration in emmc. Hope it helps a bit ;).

Thanks and BR,

marek

Issue seems to be remove CONFIG_ENV_IS_NOWHERE=y from defconfig which must be removed otherwise mender cannot be integrated.

Hi @MarekBelisko,

Yep, CONFIG_ENV_IS_NOWHERE will definitely break the integration. So this is in the default config of u-boot-imx somewhere? :frowning:

I’m just giving your board integration a spin, and to be sure, we’re talking about this one? iMX93 Industrial Development Kit Lite | VOIPAC TECHNOLOGIES s.r.o.

Does it need additional layers, so I can construct the kas file for the auto builder?

Greetz,
Josef

Hi @TheYoctoJester,

Yes link is correct. I’ll write also integration notes maybe next week.

Thanks.

@MarekBelisko perfect, thanks a lot!