# Device hangs during boot - Technexion PICO-PI-IMX7 - Yocto

**URL:** <https://hub.mender.io/t/device-hangs-during-boot-technexion-pico-pi-imx7-yocto/934>\
**Category:** General Discussions\
**Created:** [March 20, 2019, 5:22pm UTC](https://hub.mender.io/t/device-hangs-during-boot-technexion-pico-pi-imx7-yocto/934 "2019-03-20T17:22:59Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![jwinarske](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/jwinarske/32/2015_2.png) [@jwinarske](https://hub.mender.io/u/jwinarske)\
**Post date:** [March 20, 2019, 5:22pm UTC](https://hub.mender.io/t/device-hangs-during-boot-technexion-pico-pi-imx7-yocto/934/1 "2019-03-20T17:22:59Z")

</div>

I can build a Yocto thud image, and flash the target. It hangs at:

```
`[3.238452] Waiting for root device /dev/mmcblk1p2...`

```

Changing u-boot variable mender\_boot\_part to 1, switches the hang to:

```
`[3.238452] Waiting for root device /dev/mmcblk1p1...`
```

---

<div class="post-metadata">

**Author:** ![jorisoffouga](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/jorisoffouga/32/64_2.png) [@jorisoffouga](https://hub.mender.io/u/jorisoffouga)\
**Post date:** [March 20, 2019, 5:40pm UTC](https://hub.mender.io/t/device-hangs-during-boot-technexion-pico-pi-imx7-yocto/934/2 "2019-03-20T17:40:58Z")

</div>

Sorry i change this 😓

---

<div class="post-metadata">

**Author:** ![texierp](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/texierp/32/45_2.png) [@texierp](https://hub.mender.io/u/texierp)\
**Post date:** [March 20, 2019, 5:53pm UTC](https://hub.mender.io/t/device-hangs-during-boot-technexion-pico-pi-imx7-yocto/934/3 "2019-03-20T17:53:05Z")

</div>

In the meantime, you can change the following variable :

```auto
MENDER_STORAGE_DEVICE = "/dev/mmcblk1" 

```

by

```auto
MENDER_STORAGE_DEVICE = "/dev/mmcblk2".
```

---

<div class="post-metadata">

**Author:** ![jwinarske](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/jwinarske/32/2015_2.png) [@jwinarske](https://hub.mender.io/u/jwinarske)\
**Post date:** [March 20, 2019, 6:04pm UTC](https://hub.mender.io/t/device-hangs-during-boot-technexion-pico-pi-imx7-yocto/934/4 "2019-03-20T18:04:42Z")

</div>

That fixed it. Thanks!

---

<div class="post-metadata">

**Author:** ![jorisoffouga](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/jorisoffouga/32/64_2.png) [@jorisoffouga](https://hub.mender.io/u/jorisoffouga)\
**Post date:** [March 20, 2019, 6:34pm UTC](https://hub.mender.io/t/device-hangs-during-boot-technexion-pico-pi-imx7-yocto/934/5 "2019-03-20T18:34:11Z")

</div>

I create a PR for fix this problem

> <https://github.com/mendersoftware/meta-mender-community/pull/47>

---

<div class="post-metadata">

**Author:** ![anishmonachan](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/anishmonachan/32/802_2.png) [@anishmonachan](https://hub.mender.io/u/anishmonachan)\
**Post date:** [July 24, 2020, 3:46pm UTC](https://hub.mender.io/t/device-hangs-during-boot-technexion-pico-pi-imx7-yocto/934/6 "2020-07-24T15:46:45Z")

</div>

I’m currently using `warrior` branch and I still have this boot hangs issue with the message ’`Waiting for root device mmcblk2p2` and my local.conf file has the variable set to `MENDER_STORAGE_DEVICE = "/dev/mmcblk2"`

---

<div class="post-metadata">

**Author:** ![drewmoseley](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/drewmoseley/32/47_2.png) [@drewmoseley](https://hub.mender.io/u/drewmoseley)\
**Post date:** [July 24, 2020, 4:22pm UTC](https://hub.mender.io/t/device-hangs-during-boot-technexion-pico-pi-imx7-yocto/934/7 "2020-07-24T16:22:18Z")

</div>

The PR referenced above was for the thud branch so you may need to cherry pick it into your warrior branch checkout.

Drew
