# what is the correct u-boot image for i.mx nano evk board?

**URL:** <https://forums.digi.com/t/what-is-the-correct-u-boot-image-for-i-mx-nano-evk-board/21584>\
**Category:** Linux\
**Tags:** u-boot\
**Created:** [July 24, 2020, 10:38am UTC](https://forums.digi.com/t/what-is-the-correct-u-boot-image-for-i-mx-nano-evk-board/21584 "2020-07-24T10:38:43Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![chet](https://avatars.discourse-cdn.com/v4/letter/c/9dc877/32.png) [@chet](https://forums.digi.com/u/chet)\
**Post date:** [July 24, 2020, 10:38am UTC](https://forums.digi.com/t/what-is-the-correct-u-boot-image-for-i-mx-nano-evk-board/21584/1 "2020-07-24T10:38:43Z")

</div>

I have purchased an i.mx nano evk board. I have manage to brick the bootloader in the emmc. I am attempting to follow the directions for restoring it found here:  
[https://www.digi.com/resources/documentation/digidocs/embedded/dey/3.0/cc8mnano/yocto\_t\_recover-device\_8](https://www.digi.com/resources/documentation/digidocs/embedded/dey/3.0/cc8mnano/yocto_t_recover-device_8)

I can boot fine from SD, but I have failed to get uuu to reflash the bootloader in the eMMc. I am unsure if I am using the correct image to reflash the emmc.

I have tried images that I created by doing the yocto build and also ones that are prebuilt that can be downloaded from here:

[https://ftp1.digi.com/support/digiembeddedyocto/3.0/r1/images/ccimx8mn-dvk/xwayland/](https://ftp1.digi.com/support/digiembeddedyocto/3.0/r1/images/ccimx8mn-dvk/xwayland/)

Every time I run uuu it bricks my SD card, and it won’t boot from emmc. Reflashing the SD card is easy (I’ve already done that at least 20 times).

Assume I use prebuilt images that I can download just to bring some sanity to the process: What image should I use on the SD card? What image should I flash to the emmc using uuu or some other means? Thanks.

---

<div class="post-metadata">

**Author:** ![LeonidM](https://avatars.discourse-cdn.com/v4/letter/l/d26b3c/32.png) [@LeonidM](https://forums.digi.com/u/LeonidM)\
**Post date:** [July 27, 2020, 6:11pm UTC](https://forums.digi.com/t/what-is-the-correct-u-boot-image-for-i-mx-nano-evk-board/21584/2 "2020-07-27T18:11:16Z")

</div>

Did you purchase and NXP EVK kit and try to use Digi images on it? Why? This is not a Digi product and those images will not work on NXP EVK. Please see NXP help page:  
[https://www.nxp.com/document/guide/i-mx-8m-nano-evk-board-getting-started-guide:GS-8MNANOLPD4-EVK](https://www.nxp.com/document/guide/i-mx-8m-nano-evk-board-getting-started-guide:GS-8MNANOLPD4-EVK)

---

<div class="post-metadata">

**Author:** ![chet](https://avatars.discourse-cdn.com/v4/letter/c/9dc877/32.png) [@chet](https://forums.digi.com/u/chet)\
**Post date:** [July 28, 2020, 9:22am UTC](https://forums.digi.com/t/what-is-the-correct-u-boot-image-for-i-mx-nano-evk-board/21584/3 "2020-07-28T09:22:07Z")

</div>

Let me clarify, It is a Digi ConnectCore 8M Nano SOM based on NXP i.MX 8M Nano kit. 100% Digi. Purchased from DigiKey.

[https://www.digi.com/products/embedded-systems/system-on-modules/i-mx-8m-nano-som#productsupport](https://www.digi.com/products/embedded-systems/system-on-modules/i-mx-8m-nano-som#productsupport)

---

<div class="post-metadata">

**Author:** ![LeonidM](https://avatars.discourse-cdn.com/v4/letter/l/d26b3c/32.png) [@LeonidM](https://forums.digi.com/u/LeonidM)\
**Post date:** [July 28, 2020, 9:35am UTC](https://forums.digi.com/t/what-is-the-correct-u-boot-image-for-i-mx-nano-evk-board/21584/4 "2020-07-28T09:35:05Z")

</div>

Please try images and procedure from this link:  
[https://www.digi.com/resources/documentation/digidocs/embedded/dey/3.0/cc8mnano/yocto-gs\_t\_program-fw.html](https://www.digi.com/resources/documentation/digidocs/embedded/dey/3.0/cc8mnano/yocto-gs_t_program-fw.html)

the link has archive with images and two sets of instructions:

1. program via uuu (no sd card needed)
2. program from uSD card

\>Every time I run uuu it bricks my SD card  
when you program via uuu, you should not have SD card inserted - it transfers images via USB directly to the target.

---

<div class="post-metadata">

**Author:** ![chet](https://avatars.discourse-cdn.com/v4/letter/c/9dc877/32.png) [@chet](https://forums.digi.com/u/chet)\
**Post date:** [July 29, 2020, 7:39am UTC](https://forums.digi.com/t/what-is-the-correct-u-boot-image-for-i-mx-nano-evk-board/21584/5 "2020-07-29T07:39:56Z")

</div>

OK, thanks for the help. Here is what ended up working for me:

get the install\_linux\_fw\_uuu.sh script from here

[https://ftp1.digi.com/support/digiembeddedyocto/3.0/r1/images/ccimx8mn-dvk/xwayland/install\_linux\_fw\_uuu.sh](https://ftp1.digi.com/support/digiembeddedyocto/3.0/r1/images/ccimx8mn-dvk/xwayland/install_linux_fw_uuu.sh)

edit this script with your image name if it is different from whats hard coded in the script, but don’t change the imx-boot-ccimx8mn-dvk.bin

connect with serial terminal (8,N,1 115200)

dip switch S1.1=on S1.2=on S1.3=off S1.4=off

Press reset button on DVK board

uuu imx-boot-ccimx8mn-dvk.bin (host terminal)

hit enter quickly (serial terminal)

fastboot 0 (serial terminal)

./install\_linux\_fw\_uuu.sh (host terminal)

you will see this in the window that runs uuu:

Success 0 Failure 0 Wait for Known USB Device Appear…

you will see this in your linux serial terminal:

resetting …

dip switch S1.1=off S1.2=off S1.3=off S1.4=off

Press the reset button

Device will go through two boot cycles

You should be at a shiny new login prompt running from emmc now

I sent the same question via email to Digi. They replied in pretty short order with instructions to use the install\_linux\_fw\_uuu.sh. That combined with your comment to leave out the SD card did the trick. Boot from uuu and run the .sh script
