# How boot from internal eMMC boot partion

**URL:** <https://community.solid-run.com/t/how-boot-from-internal-emmc-boot-partion/262>\
**Category:** NXP i.MX8M Plus\
**Tags:** iMX8M-plus\
**Created:** [March 10, 2022, 3:47pm UTC](https://community.solid-run.com/t/how-boot-from-internal-emmc-boot-partion/262 "2022-03-10T15:47:08Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![j-licht](https://avatars.discourse-cdn.com/v4/letter/j/bcef8e/32.png) [@j-licht](https://community.solid-run.com/u/j-licht)\
**Post date:** [March 10, 2022, 3:47pm UTC](https://community.solid-run.com/t/how-boot-from-internal-emmc-boot-partion/262/1 "2022-03-10T15:47:08Z")

</div>

Hi,

I want to ask how I can I use the boot partitions on the internal eMMC on my HummingBoard Pulse & i.MX8M Plus.  
I think I need to write the u-boot direct to /dev/mmcblk2boot0, but I don’t know how.  
I’m using your hardknott yocto release.

Best regards,  
Jonas

---

<div class="post-metadata">

**Author:** ![jnettlet](https://dub1.discourse-cdn.com/flex005/user_avatar/community.solid-run.com/jnettlet/32/62_2.png) [@jnettlet](https://community.solid-run.com/u/jnettlet)\
**Post date:** [March 11, 2022, 6:25am UTC](https://community.solid-run.com/t/how-boot-from-internal-emmc-boot-partion/262/2 "2022-03-11T06:25:48Z")

</div>

Yes, u-boot needs to be written to the hardware boot partition of the eMMC. We are finishing the CI integration for u-boot and will have standalone u-boot binaries for the board you can use early next week.

---

<div class="post-metadata">

**Author:** ![j-licht](https://avatars.discourse-cdn.com/v4/letter/j/bcef8e/32.png) [@j-licht](https://community.solid-run.com/u/j-licht)\
**Post date:** [March 21, 2022, 12:23pm UTC](https://community.solid-run.com/t/how-boot-from-internal-emmc-boot-partion/262/3 "2022-03-21T12:23:47Z")

</div>

Hi @jnettlet ,

were I will find your CI Integration for u-boot?

Best regards, Jonas

---

<div class="post-metadata">

**Author:** ![jnettlet](https://dub1.discourse-cdn.com/flex005/user_avatar/community.solid-run.com/jnettlet/32/62_2.png) [@jnettlet](https://community.solid-run.com/u/jnettlet)\
**Post date:** [March 21, 2022, 12:45pm UTC](https://community.solid-run.com/t/how-boot-from-internal-emmc-boot-partion/262/4 "2022-03-21T12:45:58Z")

</div>

The images will be found here, [SolidRun Images](https://images.solid-run.com/IMX8/U-Boot) , when they are ready. But I will also ping this thread.

---

<div class="post-metadata">

**Author:** ![j-licht](https://avatars.discourse-cdn.com/v4/letter/j/bcef8e/32.png) [@j-licht](https://community.solid-run.com/u/j-licht)\
**Post date:** [March 21, 2022, 12:55pm UTC](https://community.solid-run.com/t/how-boot-from-internal-emmc-boot-partion/262/5 "2022-03-21T12:55:14Z")

</div>

Is there also the possibility to get this file from my yocto build?  
And how would I flash this file?

---

<div class="post-metadata">

**Author:** ![jnettlet](https://dub1.discourse-cdn.com/flex005/user_avatar/community.solid-run.com/jnettlet/32/62_2.png) [@jnettlet](https://community.solid-run.com/u/jnettlet)\
**Post date:** [March 21, 2022, 1:26pm UTC](https://community.solid-run.com/t/how-boot-from-internal-emmc-boot-partion/262/6 "2022-03-21T13:26:06Z")

</div>

We will push the patches to Yocto as well, yes. However that will take a bit more integration since Yocto generally sticks u-boot onto the final image, and for eMMC we generally recommend customers use the hardware boot0/1 partitions

---

<div class="post-metadata">

**Author:** ![j-licht](https://avatars.discourse-cdn.com/v4/letter/j/bcef8e/32.png) [@j-licht](https://community.solid-run.com/u/j-licht)\
**Post date:** [March 21, 2022, 1:30pm UTC](https://community.solid-run.com/t/how-boot-from-internal-emmc-boot-partion/262/7 "2022-03-21T13:30:24Z")

</div>

I think I’m going to build a little installer, which will copy the Image to the internal eMMC and should write the u-boot binary to the boot partition.

---

<div class="post-metadata">

**Author:** ![jnettlet](https://dub1.discourse-cdn.com/flex005/user_avatar/community.solid-run.com/jnettlet/32/62_2.png) [@jnettlet](https://community.solid-run.com/u/jnettlet)\
**Post date:** [March 21, 2022, 2:10pm UTC](https://community.solid-run.com/t/how-boot-from-internal-emmc-boot-partion/262/8 "2022-03-21T14:10:59Z")

</div>

You can use usb-otg and NXP’s mfgtools to accomplish this, loading a stub u-boot that enables the ability to export the eMMC partitions as usb devices to the host os, then just dd u-boot to boot0

---

<div class="post-metadata">

**Author:** ![j-licht](https://avatars.discourse-cdn.com/v4/letter/j/bcef8e/32.png) [@j-licht](https://community.solid-run.com/u/j-licht)\
**Post date:** [March 21, 2022, 2:33pm UTC](https://community.solid-run.com/t/how-boot-from-internal-emmc-boot-partion/262/9 "2022-03-21T14:33:15Z")

</div>

So this “just dd u-boot to boot0” is my key question.  
Bitbake generates some u-boot files like:  
u-boot.bin  
u-boot-spl.bin  
imx-boot  
Which file should I flash and do I need some dd options?
