# U-boot integration fails on custom i.MX35 board

**URL:** <https://hub.mender.io/t/u-boot-integration-fails-on-custom-i-mx35-board/2199>\
**Category:** General Discussions\
**Tags:** nxp, thud, imx35\
**Created:** [July 17, 2020, 11:38am UTC](https://hub.mender.io/t/u-boot-integration-fails-on-custom-i-mx35-board/2199 "2020-07-17T11:38:41Z")\
**Posts on this page:** 1\
**Showing post:** 12

<div class="post-metadata">

**Author:** ![lukip](https://avatars.discourse-cdn.com/v4/letter/l/59ef9b/32.png) [@lukip](https://hub.mender.io/u/lukip)\
**Post date:** [August 6, 2020, 3:32pm UTC](https://hub.mender.io/t/u-boot-integration-fails-on-custom-i-mx35-board/2199/12 "2020-08-06T15:32:08Z")

</div>

Sorry for bothering again, my original problem seems not to have been resolved. If I set

> MENDER\_STORAGE\_DEVICE = “ubi0”

then everything compiles and bootes fine, but when I run `mender` from the command line, there is following error:

> WARN[0000] Could not resolve path link: ubi0\_0 Attempting to continue module=partitions  
> WARN[0000] Could not resolve path link: ubi0\_1 Attempting to continue module=partitions

This is no wonder, as I can see in the auto-generated `mender.conf` that the paths are wrong:

> {  
> “InventoryPollIntervalSeconds”: 1800,  
> “RetryPollIntervalSeconds”: 300,  
> “RootfsPartA”: “ubi0\_0”,  
> “RootfsPartB”: “ubi0\_1”,  
> “ServerURL”: “[https://docker.mender.io](https://docker.mender.io)”,  
> “TenantToken”: “dummy”,  
> “UpdatePollIntervalSeconds”: 1800  
> }

changing from `ubi0_0` to `/dev/ubi0_0` omits this error, but then `mender -rootfs` will not work.

If I otherwise set

> MENDER\_STORAGE\_DEVICE = “/dev/ubi0”

I get the error described in my first post.

How can I correctly set different paths to the UBI volume for Linux and U-boot respectively ?  
Searching through the docs made me think adding

> MENDER\_UBOOT\_STORAGE\_DEVICE = “0”  
> MENDER\_UBOOT\_STORAGE\_INTERFACE = “ubi”

would do the trick, but there is no difference.

Do you have any advice ?

---

_[View the full topic](https://hub.mender.io/t/u-boot-integration-fails-on-custom-i-mx35-board/2199)._
