# 2.98.12 Won't uBoot with Variscite IMX8M on custom carrier

**URL:** <https://forums.balena.io/t/2-98-12-wont-uboot-with-variscite-imx8m-on-custom-carrier/359095>\
**Category:** balenaOS\
**Created:** [June 19, 2022, 12:07am UTC](https://forums.balena.io/t/2-98-12-wont-uboot-with-variscite-imx8m-on-custom-carrier/359095 "2022-06-19T00:07:52Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![anathan84](https://avatars.discourse-cdn.com/v4/letter/a/dc4da7/32.png) [@anathan84](https://forums.balena.io/u/anathan84)\
**Post date:** [June 19, 2022, 12:07am UTC](https://forums.balena.io/t/2-98-12-wont-uboot-with-variscite-imx8m-on-custom-carrier/359095/1 "2022-06-19T00:07:52Z")

</div>

We have a custom carrier based on the Variscite IMX8M-Mini SOM.

We specifically do NOT have the PCI-e or CAN FD pieces implemented on our carrier and in version 2.5x of BalenaOS, this has not been an issue.

I’d previously reported this on 2.71 ([UART Failure after upgrading to 2.71.3+rev1 from 2.50.1+rev1 on Variscite IMX8M](https://forums.balena.io/t/uart-failure-after-upgrading-to-2-71-3-rev1-from-2-50-1-rev1-on-variscite-imx8m/275528)) and unfortunately never really got that resolved.

We were excited to see 2.98 come out so immediately we tried the new OS uboot on a board and were met with disappointment.

Uboot starts up off the SD card, but then get stuck about 4 seconds in.

```auto
Trying to boot from MMC1

[0.133192] imx_sec_dsim_drv 32e10000.mipi_dsi: Failed to attach bridge: 32e10000.mipi_dsi
[0.141478] imx_sec_dsim_drv 32e10000.mipi_dsi: failed to bind sec dsim bridge: -517
[0.741205] edt_ft5x06 1-0038: touchscreen probe failed
[0.817165] ov5640_mipi 1-003c: Read reg error: reg=300a
[0.826291] pca953x 3-0020: failed writing register
[0.832055] pca953x 3-0021: failed writing register
[0.965042] imx6q-pcie 33800000.pcie: iMX8 PCIe PLL lock timeout
[0.965047] imx6q-pcie 33800000.pcie: imx8_pcie_wait_for_phy_pll_lock failed, pcie oscillator most likely missing on carrier board. Bail out to avoid hang at boot.
[0.965055] imx6q-pcie 33800000.pcie: imx6_pcie_host_init failed: -19.
[0.965070] imx6q-pcie 33800000.pcie: failed to initialize host
[0.965074] imx6q-pcie 33800000.pcie: unable to add pcie port.
[1.433492] mmc1: error -110 whilst initialising SD card
Starting version 244.3+
[1.650766] mmc1: error -110 whilst initialising SD card
[1.873564] mmc1: error -110 whilst initialising SD card
[2.103289] mmc1: error -110 whilst initialising SD card
[3.772669] fsl-asoc-card sound-wm8904: ASoC: failed to init link HiFi: -517
[3.803505] fsl-asoc-card sound-wm8904: ASoC: failed to init link HiFi: -517
[3.812849] fsl-asoc-card sound-wm8904: ASoC: failed to init link HiFi: -517
[3.823956] fsl-asoc-card sound-wm8904: ASoC: failed to init link HiFi: -517
[3.839110] fsl-asoc-card sound-wm8904: ASoC: failed to init link HiFi: -517
[3.847588] fsl-asoc-card sound-wm8904: ASoC: failed to init link HiFi: -517
[3.913001] debugfs: Directory '30030000.sai' with parent 'wm8904-audio' already present!
[4.214972] mcp251xfd spi0.1 (unnamed net_device) (uninitialized): Failed to detect MCP251xFD (osc=0x00000000).

```

---

<div class="post-metadata">

**Author:** ![alexgg](https://avatars.discourse-cdn.com/v4/letter/a/7ab992/32.png) [@alexgg](https://forums.balena.io/u/alexgg)\
**Post date:** [June 29, 2022, 8:49am UTC](https://forums.balena.io/t/2-98-12-wont-uboot-with-variscite-imx8m-on-custom-carrier/359095/2 "2022-06-29T08:49:53Z")

</div>

Hi, what I suggest is that you build a custom OS image and debug the default device tree to boot on your custom carrier board. Once you have a working device tree we will integrate it into a future release of balenaOS. This can happen in one of two ways:

- We have a feature in the roadmap to allow for custom selection of device trees from boot.
- If that is not ready on time (it’s not currently been prioritised), we will create a new device tree for your custom carrier board.

---

<div class="post-metadata">

**Author:** ![alexgg](https://avatars.discourse-cdn.com/v4/letter/a/7ab992/32.png) [@alexgg](https://forums.balena.io/u/alexgg)\
**Post date:** [August 5, 2022, 5:01pm UTC](https://forums.balena.io/t/2-98-12-wont-uboot-with-variscite-imx8m-on-custom-carrier/359095/4 "2022-08-05T17:01:20Z")

</div>

Hi, following up on this. Did you manage to modify the device tree to boot this custom carrier board?

---

<div class="post-metadata">

**Author:** ![anathan84](https://avatars.discourse-cdn.com/v4/letter/a/dc4da7/32.png) [@anathan84](https://forums.balena.io/u/anathan84)\
**Post date:** [August 5, 2022, 5:48pm UTC](https://forums.balena.io/t/2-98-12-wont-uboot-with-variscite-imx8m-on-custom-carrier/359095/6 "2022-08-05T17:48:26Z")

</div>

Unfortunately not. We’ve tried a the new point releases but each fails in a unique way.
