# Problems with imx\_usb on PICO-PI-IMX/

**URL:** https://hub.mender.io/t/problems-with-imx-usb-on-pico-pi-imx/1081
**Category:** General Discussions
**Created:** [September 24, 2019, 7:04pm UTC](https://hub.mender.io/t/problems-with-imx-usb-on-pico-pi-imx/1081 "2019-09-24T19:04:36Z")
**Posts on this page:** 15
**Page:** 2

<div class="post-metadata">

### Author: ![neuberfran](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/neuberfran/32/369_2.png) [@neuberfran](https://hub.mender.io/u/neuberfran)
#### Post date: [September 29, 2019, 3:04pm UTC](https://hub.mender.io/t/problems-with-imx-usb-on-pico-pi-imx/1081/22 "2019-09-29T15:04:05Z")

</div>

@drewmoseley @jorisoffouga After I add EXTRA\_IMAGE\_FEATURES\_append = " package-management " in thud branch I have issue to create principal image:

> **[Foto de Neuber](https://drive.google.com/file/d/13EMzRX0dlW4bd0TkH-kaRQfVDnralLZe/view?usp=drivesdk)**
>
> Google Drive file.

> **[Foto de Neuber](https://drive.google.com/file/d/13GJpZzABJ4ZFPSySwX7hwz3PAoxjtCtG/view?usp=drivesdk)**
>
> Google Drive file.

---

<div class="post-metadata">

### Author: ![neuberfran](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/neuberfran/32/369_2.png) [@neuberfran](https://hub.mender.io/u/neuberfran)
#### Post date: [September 30, 2019, 5:05am UTC](https://hub.mender.io/t/problems-with-imx-usb-on-pico-pi-imx/1081/23 "2019-09-30T05:05:11Z")

</div>

@drewmoseley @jorisoffouga @mirzak I have this issue: ERROR: core-image-base-1.0-r0 do\_image\_mender: Size of rootfs is greater than the calculated partition space (255082496 \> 226492416). This image won’t fit on a device with the current storage configuration. Try reducing IMAGE\_OVERHEAD\_FACTOR if it is higher than 1.0, or raise MENDER\_STORAGE\_TOTAL\_SIZE\_MB if the device in fact has more storage

Because I put EXTRA\_IMAGE\_FEATURES\_append = " package-management " in my conf/local.conf

**Where I found options IMAGE\_OVERHEAD\_FACTOR, MENDER\_STORAGE\_TOTAL\_SIZE\_MB in my mender-nxp folder**

---

<div class="post-metadata">

### Author: ![neuberfran](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/neuberfran/32/369_2.png) [@neuberfran](https://hub.mender.io/u/neuberfran)
#### Post date: [October 2, 2019, 9:32pm UTC](https://hub.mender.io/t/problems-with-imx-usb-on-pico-pi-imx/1081/24 "2019-10-02T21:32:26Z")

</div>

@mirzak @jorisoffouga @drewmoseley I need help with this issue:

> **[issuefinal.png](https://drive.google.com/file/d/1BOb464N47MLslPThy7JpkbNCeu1W5jFa/view?usp=sharing)**
>
> Google Drive file.

ums 0 mmc 0  
MMC: no card present  
mmc\_init: -123, time 1  
\*\* Bad device mmc 0 \*\*  
=\> mmc list  
FSL\_SDHC: 0  
FSL\_SDHC: 1 (eMMC)  
=\> mmc info  
MMC: no card present  
mmc\_init: -123, time 2

---

<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: [October 3, 2019, 1:58pm UTC](https://hub.mender.io/t/problems-with-imx-usb-on-pico-pi-imx/1081/25 "2019-10-03T13:58:53Z")

</div>

It appears something is wrong with your hardware or that there is no SDCard in the board. UBoot sees device 0 as SDCard. If you want to switch to eMMC, I think running “mmc dev 1” will do it.

---

<div class="post-metadata">

### Author: ![neuberfran](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/neuberfran/32/369_2.png) [@neuberfran](https://hub.mender.io/u/neuberfran)
#### Post date: [October 6, 2019, 12:37am UTC](https://hub.mender.io/t/problems-with-imx-usb-on-pico-pi-imx/1081/26 "2019-10-06T00:37:04Z")

</div>

@drewmoseley I don’t have sdcard in my imx7d-pico-pi android things start kit

---

<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: [October 7, 2019, 3:33pm UTC](https://hub.mender.io/t/problems-with-imx-usb-on-pico-pi-imx/1081/27 "2019-10-07T15:33:17Z")

</div>

OK. It sounds like you should be using “ums 0 mmc 1” instead. That will share your eMMC as a block device with your PC assuming you have them connected over USB using the proper port on the client.

---

<div class="post-metadata">

### Author: ![neuberfran](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/neuberfran/32/369_2.png) [@neuberfran](https://hub.mender.io/u/neuberfran)
#### Post date: [October 7, 2019, 4:00pm UTC](https://hub.mender.io/t/problems-with-imx-usb-on-pico-pi-imx/1081/28 "2019-10-07T16:00:04Z")

</div>

@drewmoseley My imx7d pico android things start kit died

[https://community.nxp.com/message/1214690](https://community.nxp.com/message/1214690)

> **[RE: PICO-PI-IMX7 and Siging In/Um?](https://forum.digikey.com/t/re-pico-pi-imx7-and-siging-in-um/2537/177)**
>
> It looks like your version of u-boot you’ve installed can’t read the eMMC… I would bug the author of that tutorial or use the one we provide: https://www.digikey.com/eewiki/display/linuxonarm/PICO-PI-IMX7 Regards,

---

<div class="post-metadata">

### Author: ![neuberfran](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/neuberfran/32/369_2.png) [@neuberfran](https://hub.mender.io/u/neuberfran)
#### Post date: [October 13, 2019, 3:35pm UTC](https://hub.mender.io/t/problems-with-imx-usb-on-pico-pi-imx/1081/30 "2019-10-13T15:35:47Z")

</div>

@drewmoseley You said: "OK. It sounds like you should be using “ums 0 mmc 1” instead. "

So in the command dfu 0 mmc 0 (which is done earlier in the tutorial) should i do dfu 0 mmc 1?

What about mmc dev 1

---

<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: [October 14, 2019, 4:45pm UTC](https://hub.mender.io/t/problems-with-imx-usb-on-pico-pi-imx/1081/31 "2019-10-14T16:45:04Z")

</div>

I don’t know. Unfortunately I have never used this particular hardware. Based on the output you showed from the “mmc list” command, then it should be mmc 1.

---

<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: [October 14, 2019, 4:48pm UTC](https://hub.mender.io/t/problems-with-imx-usb-on-pico-pi-imx/1081/32 "2019-10-14T16:48:51Z")

</div>

There are likely a few more layers you need to include in your bblayers.conf. At a minimum you will likely need:

- [http://layers.openembedded.org/layerindex/branch/master/layer/meta-tensorflow/](http://layers.openembedded.org/layerindex/branch/master/layer/meta-tensorflow/)
- [http://layers.openembedded.org/layerindex/branch/master/layer/openembedded-core/](http://layers.openembedded.org/layerindex/branch/master/layer/openembedded-core/)
- [http://layers.openembedded.org/layerindex/branch/master/layer/meta-oe/](http://layers.openembedded.org/layerindex/branch/master/layer/meta-oe/)
- [http://layers.openembedded.org/layerindex/branch/master/layer/meta-python/](http://layers.openembedded.org/layerindex/branch/master/layer/meta-python/)

The [meta-tensorflow layer has a BUILD.md file](https://git.yoctoproject.org/cgit/cgit.cgi/meta-tensorflow/tree/BUILD.md) which should help you get started.

---

<div class="post-metadata">

### Author: ![neuberfran](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/neuberfran/32/369_2.png) [@neuberfran](https://hub.mender.io/u/neuberfran)
#### Post date: [November 1, 2019, 10:36pm UTC](https://hub.mender.io/t/problems-with-imx-usb-on-pico-pi-imx/1081/33 "2019-11-01T22:36:20Z")

</div>

@drewmoseley  
@mirzak

My yocto thud 2.6 project not going up.

I have a issue like this: [NXP imx8mm evk don't boot](https://hub.mender.io/t/nxp-imx8mm-evk-dont-boot/585).

But my board is imx7d-pico (without sdcard) and tutorial is this: [Technexion PICO-PI-IMX7](https://hub.mender.io/t/technexion-pico-pi-imx7/136)

Before the **dfu 0 mmc 0** command (in [@jorisoffouga](https://hub.mender.io/u/jorisoffouga) tutorial) I commanded **mmc partconf 0 0 7 0** to avoid the error \*\* Bad device mmc 0 \*\* in the **ums 0 mmc 0** command later. I have never used the **mmc dev 1** command.

As shown below link I think the error could be on partition 24.00 MB (unallocated)

How to solve my issue

> **[yoctoissue.png](https://drive.google.com/file/d/1joP8cKgaHr8Z-mZDLQooMPOxSiBOFQz_/view?usp=sharing)**
>
> Google Drive file.

---

<div class="post-metadata">

### Author: ![neuberfran](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/neuberfran/32/369_2.png) [@neuberfran](https://hub.mender.io/u/neuberfran)
#### Post date: [November 4, 2019, 1:05am UTC](https://hub.mender.io/t/problems-with-imx-usb-on-pico-pi-imx/1081/34 "2019-11-04T01:05:56Z")

</div>

@mirzak @jorisoffouga @drewmoseley Last screen before ums 0 mmc 0

> **[screen.png](https://drive.google.com/file/d/1Uy1sogT6_2rgbKDqFzVCtJy21_pA_JjU/view?usp=sharing)**
>
> Google Drive file.

or ums 0 mmc 1

I put ums 0 mmc 1 because with ums 0 mmc 0 I have issue:

**mmc list**  
FSL\_SDHC: 0  
FSL\_SDHC: 1 (eMMC)  
=\> **ums 0 mmc 0**  
MMC: no card present  
\*\* Bad device mmc 0 \*\*  
=\> ums 0 mmc 1

**AND i have issue below**

> **[issuetoda.png](https://drive.google.com/file/d/1_2SmmhmQmYHVGKV-4BMvEJmu-5zjD015/view?usp=sharing)**
>
> Google Drive file.

**gparted result and lsblk**

> **[gparted.png](https://drive.google.com/file/d/1vXFbGmS_Dlig41QyMcn3CHYREXjp4Mpe/view?usp=sharing)**
>
> Google Drive file.

  

> **[sss.png](https://drive.google.com/file/d/1L-AwKv8-6b4vfzHA7PGrPPgDZCWX-nCz/view?usp=sharing)**
>
> Google Drive file.

---

<div class="post-metadata">

### Author: ![neuberfran](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/neuberfran/32/369_2.png) [@neuberfran](https://hub.mender.io/u/neuberfran)
#### Post date: [August 4, 2020, 2:29pm UTC](https://hub.mender.io/t/problems-with-imx-usb-on-pico-pi-imx/1081/35 "2020-08-04T14:29:21Z")

</div>

@drewmoseley @jorisoffouga @mirzak

Please, help me with this issue:

**after saveenv command.**  
**=\> mmc list**  
FSL\_SDHC: 0 (eMMC)  
**=\> part list mmc 0**  
“## Unknown partition table type 0”  
**=\> part list mmc 1**  
MMC Device 1 not found

**dfu 0 mmc 0**  
Couldn’t find part #1 on mmc device #0  
DFU entities configuration failed!  
(partition table does not match dfu\_alt\_info?)  
dfu - Device Firmware Upgrade

Usage:  
dfu \<USB\_controller\> [list]

- device firmware upgrade via \<USB\_controller\>  
on device , attached to interface

[list] - list available alt settings

 ![help](https://canada1.discourse-cdn.com/flex036/uploads/mender/original/1X/551d5dd714e2f3f635332c542a8ddd1e209f0e88.png)

---

<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: [August 5, 2020, 1:35pm UTC](https://hub.mender.io/t/problems-with-imx-usb-on-pico-pi-imx/1081/36 "2020-08-05T13:35:14Z")

</div>

No idea, sorry. I don’t have this hardware any more so it’s difficult for me to do anything here. At a minimum it seems there is something wrong with your partitions on MMC device 0.

Drew

---

<div class="post-metadata">

### Author: ![neuberfran](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/neuberfran/32/369_2.png) [@neuberfran](https://hub.mender.io/u/neuberfran)
#### Post date: [August 5, 2020, 5:14pm UTC](https://hub.mender.io/t/problems-with-imx-usb-on-pico-pi-imx/1081/37 "2020-08-05T17:14:50Z")

</div>

@drewmoseley If I do this worked (I solved dfu 0 mmc 0), But not solved the main issue:. \*_The .sdimg yocto image not start_, Why? (I’m google assistant and cloud iot core specialist and I need this device (with Yocto image) to do this: [https://cloud.google.com/community/tutorials/cloud-iot-mender-ota](https://cloud.google.com/community/tutorials/cloud-iot-mender-ota))

 ![if I do this word but NOT](https://canada1.discourse-cdn.com/flex036/uploads/mender/original/1X/dbc6e832e843750cf66ea895d6538955d639b2ad.png)

[Previous page](https://hub.mender.io/t/problems-with-imx-usb-on-pico-pi-imx/1081.md?page=1)
