# BalenaOS OrangePi One building custom balenaOS image with additional Kernel Devicetree

**URL:** <https://forums.balena.io/t/balenaos-orangepi-one-building-custom-balenaos-image-with-additional-kernel-devicetree/76091>\
**Category:** balenaOS\
**Created:** [March 9, 2020, 6:58pm UTC](https://forums.balena.io/t/balenaos-orangepi-one-building-custom-balenaos-image-with-additional-kernel-devicetree/76091 "2020-03-09T18:58:46Z")\
**Posts on this page:** 1\
**Showing post:** 29

<div class="post-metadata">

**Author:** ![roman-mazur](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/roman-mazur/32/2194_2.png) [@roman-mazur](https://forums.balena.io/u/roman-mazur)\
**Post date:** [March 12, 2020, 11:45am UTC](https://forums.balena.io/t/balenaos-orangepi-one-building-custom-balenaos-image-with-additional-kernel-devicetree/76091/29 "2020-03-12T11:45:52Z")

</div>

Hi,  
Both Orange Pi Zero and One are supported. They work with the balena platform. But in terms of extending the features for these boards, it’s currently on community support, meaning we don’t actively contribute there.

We checked with our devices team and they suggest that what you need should be possible to add similarly how it was done by us for Artik board. See the following commit for an example:

> <https://github.com/balena-os/balena-artik/pull/126/commits/d032b663837acd7cba9afc62eb93051ddf2a476e>

So, for Orange Pi, the general idea would be

```auto
mkdir /sys/kernel/config/device-tree/overlays/spi
cat "the spidev overlay" > /sys/kernel/config/device-tree/overlays/spi/dtbo

```

where “the spidev overlay” is the overlay for their specific machine

Hope it helps to make progress.

---

_[View the full topic](https://forums.balena.io/t/balenaos-orangepi-one-building-custom-balenaos-image-with-additional-kernel-devicetree/76091)._
