# iMX93 board support with eMMC boot

**URL:** <https://hub.mender.io/t/imx93-board-support-with-emmc-boot/7247>\
**Category:** General Discussions\
**Tags:** yocto, nxp, scarthgap\
**Created:** [October 7, 2024, 8:14pm UTC](https://hub.mender.io/t/imx93-board-support-with-emmc-boot/7247 "2024-10-07T20:14:59Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![MarekBelisko](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/marekbelisko/32/33_2.png) [@MarekBelisko](https://hub.mender.io/u/MarekBelisko)\
**Post date:** [October 7, 2024, 8:14pm UTC](https://hub.mender.io/t/imx93-board-support-with-emmc-boot/7247/1 "2024-10-07T20:14:59Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![TheYoctoJester](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/theyoctojester/32/1444_2.png) [@TheYoctoJester](https://hub.mender.io/u/TheYoctoJester)\
**Post date:** [October 11, 2024, 3:28pm UTC](https://hub.mender.io/t/imx93-board-support-with-emmc-boot/7247/2 "2024-10-11T15:28:36Z")

</div>

Hi @MarekBelisko,

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

Greetz,  
Josef

---

<div class="post-metadata">

**Author:** ![MarekBelisko](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/marekbelisko/32/33_2.png) [@MarekBelisko](https://hub.mender.io/u/MarekBelisko)\
**Post date:** [October 14, 2024, 1:58pm UTC](https://hub.mender.io/t/imx93-board-support-with-emmc-boot/7247/3 "2024-10-14T13:58:44Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![TheYoctoJester](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/theyoctojester/32/1444_2.png) [@TheYoctoJester](https://hub.mender.io/u/TheYoctoJester)\
**Post date:** [October 18, 2024, 10:42am UTC](https://hub.mender.io/t/imx93-board-support-with-emmc-boot/7247/4 "2024-10-18T10:42:23Z")

</div>

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 ☹ Hopefully next week…

Greetz,  
Josef

---

<div class="post-metadata">

**Author:** ![MarekBelisko](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/marekbelisko/32/33_2.png) [@MarekBelisko](https://hub.mender.io/u/MarekBelisko)\
**Post date:** [October 18, 2024, 11:04am UTC](https://hub.mender.io/t/imx93-board-support-with-emmc-boot/7247/5 "2024-10-18T11:04:40Z")

</div>

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:

```auto
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

---

<div class="post-metadata">

**Author:** ![MarekBelisko](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/marekbelisko/32/33_2.png) [@MarekBelisko](https://hub.mender.io/u/MarekBelisko)\
**Post date:** [October 18, 2024, 11:06am UTC](https://hub.mender.io/t/imx93-board-support-with-emmc-boot/7247/6 "2024-10-18T11:06:10Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![TheYoctoJester](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/theyoctojester/32/1444_2.png) [@TheYoctoJester](https://hub.mender.io/u/TheYoctoJester)\
**Post date:** [October 18, 2024, 11:10am UTC](https://hub.mender.io/t/imx93-board-support-with-emmc-boot/7247/7 "2024-10-18T11:10:26Z")

</div>

Hi @MarekBelisko,

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

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.](https://www.voipac.com/imx93-industrial-development-kit-lite)

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

Greetz,  
Josef

---

<div class="post-metadata">

**Author:** ![MarekBelisko](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/marekbelisko/32/33_2.png) [@MarekBelisko](https://hub.mender.io/u/MarekBelisko)\
**Post date:** [October 25, 2024, 7:34am UTC](https://hub.mender.io/t/imx93-board-support-with-emmc-boot/7247/8 "2024-10-25T07:34:48Z")

</div>

Hi @TheYoctoJester,

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

Thanks.

---

<div class="post-metadata">

**Author:** ![TheYoctoJester](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/theyoctojester/32/1444_2.png) [@TheYoctoJester](https://hub.mender.io/u/TheYoctoJester)\
**Post date:** [October 25, 2024, 8:39am UTC](https://hub.mender.io/t/imx93-board-support-with-emmc-boot/7247/9 "2024-10-25T08:39:20Z")

</div>

@MarekBelisko perfect, thanks a lot!
