# Ubifs ECC errors after adding Mender to Toradex iMX6ULL Image

**URL:** https://hub.mender.io/t/ubifs-ecc-errors-after-adding-mender-to-toradex-imx6ull-image/1767
**Category:** General Discussions
**Tags:** yocto, nxp, thud
**Created:** [April 8, 2020, 1:58pm UTC](https://hub.mender.io/t/ubifs-ecc-errors-after-adding-mender-to-toradex-imx6ull-image/1767 "2020-04-08T13:58:16Z")
**Posts on this page:** 1
**Showing post:** 5

<div class="post-metadata">

### Author: ![thofu](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/thofu/32/914_2.png) [@thofu](https://hub.mender.io/u/thofu)
#### Post date: [November 3, 2020, 6:30am UTC](https://hub.mender.io/t/ubifs-ecc-errors-after-adding-mender-to-toradex-imx6ull-image/1767/5 "2020-11-03T06:30:33Z")

</div>

This is reviving a rather old thread, but since I had the exact same issues as the thread creator and his error description is very good, I wanted to add my solution.

As a precursor, I used the toradex-imx7 community recipes as a base and rewrote the parts needed for the imx6ull board. For flashing I followed Mirza Krak’s description here: [https://hub.mender.io/t/toradex-colibri-imx7-dual-512mb-colibri-imx7-solo-256mb/81](https://hub.mender.io/t/toradex-colibri-imx7-dual-512mb-colibri-imx7-solo-256mb/81)

Afterwards the board booted up only once throwing a lot of ecc errors and from the second start it only went into u-boot.

On my search for a solution I stumbled upon the answer from “sawdust” in the following stackoverflow thread: [https://stackoverflow.com/questions/37407667/ubi-error-ubi-io-read-error-74-ecc-error](https://stackoverflow.com/questions/37407667/ubi-error-ubi-io-read-error-74-ecc-error)

Using “nand write.trimffs” instead of “nand write” seems to have solved the issue and I can reboot multiple times.

Best regards,  
Thorsten

---

_[View the full topic](https://hub.mender.io/t/ubifs-ecc-errors-after-adding-mender-to-toradex-imx6ull-image/1767)._
