# Add New Device for CM4 IO Board Empty

**URL:** <https://forums.balena.io/t/add-new-device-for-cm4-io-board-empty/269599>\
**Category:** balenaOS\
**Created:** [March 11, 2021, 5:38am UTC](https://forums.balena.io/t/add-new-device-for-cm4-io-board-empty/269599 "2021-03-11T05:38:16Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![smithandrewc](https://avatars.discourse-cdn.com/v4/letter/s/ed655f/32.png) [@smithandrewc](https://forums.balena.io/u/smithandrewc)\
**Post date:** [March 11, 2021, 5:38am UTC](https://forums.balena.io/t/add-new-device-for-cm4-io-board-empty/269599/1 "2021-03-11T05:38:16Z")

</div>

Hi,

When trying to download Balena OS for Raspberry Pi CM4 IO board in the devices page, the “Select version” field is empty. If the default platform for the application is already the CM4 IO board, the form doesn’t show up at all. Is the CM4 IO board supported?

Thanks,

Andrew

---

<div class="post-metadata">

**Author:** ![anujdeshpande](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/anujdeshpande/32/3155_2.png) [@anujdeshpande](https://forums.balena.io/u/anujdeshpande)\
**Post date:** [March 11, 2021, 10:31am UTC](https://forums.balena.io/t/add-new-device-for-cm4-io-board-empty/269599/4 "2021-03-11T10:31:59Z")

</div>

Hi

- The CM4 IO board is indeed supported, and you can find the list of supported devices here - [Single-board computers - Balena Documentation](https://www.balena.io/docs/reference/hardware/devices/)
- The Select Version should show you just` v2.71.3` as a single version. If you can’t see this, can you please share a screenshot of what you are seeing. There’s perhaps a bug on the dashboard.

---

<div class="post-metadata">

**Author:** ![smithandrewc](https://avatars.discourse-cdn.com/v4/letter/s/ed655f/32.png) [@smithandrewc](https://forums.balena.io/u/smithandrewc)\
**Post date:** [March 11, 2021, 10:16pm UTC](https://forums.balena.io/t/add-new-device-for-cm4-io-board-empty/269599/6 "2021-03-11T22:16:18Z")

</div>

Must have been a bug on the dashboard, working now. Thanks.

---

<div class="post-metadata">

**Author:** ![mrrobot](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/mrrobot/32/5768_2.png) [@mrrobot](https://forums.balena.io/u/mrrobot)\
**Post date:** [April 13, 2021, 12:12pm UTC](https://forums.balena.io/t/add-new-device-for-cm4-io-board-empty/269599/8 "2021-04-13T12:12:33Z")

</div>

@anujdeshpande Thanks for adding CM4IO, however it seems that there is no docker image for it ? Is that right ? balenalib/raspberrypicm4-ioboard-node for example does not exist in docker hub…  
Should we do anything to make them available ? Please let me know, thanks

---

<div class="post-metadata">

**Author:** ![smithandrewc](https://avatars.discourse-cdn.com/v4/letter/s/ed655f/32.png) [@smithandrewc](https://forums.balena.io/u/smithandrewc)\
**Post date:** [April 13, 2021, 12:37pm UTC](https://forums.balena.io/t/add-new-device-for-cm4-io-board-empty/269599/9 "2021-04-13T12:37:06Z")

</div>

Hi @mrrobot

I had good success with balenalib/raspberrypi4-64 (specifically balenalib/raspberrypi4-64-python:3-build). The 64bit variant didn’t have the raspberry pi binaries (like raspivid, raspistill, etc) so I added them

```
# get raspberry pi stuff
RUN curl http://ports.ubuntu.com/pool/universe/r/raspberrypi-userland/libraspberrypi- bin_0~20200520+git2fe4ca3-0ubuntu3~20.04_arm64.deb -o libraspberrypi-bin.deb && \
    curl http://ports.ubuntu.com/pool/universe/r/raspberrypi-userland/libraspberrypi0_0~20200520+git2fe4ca3-0ubuntu3~20.04_arm64.deb -o libraspberrypi0.deb
RUN install_packages ./libraspberrypi-bin.deb ./libraspberrypi0.deb

```

I also like to have raspi-gpio available for debugging, so I installed it

```
# download and install raspi-gpio
RUN git clone --depth 1 https://github.com/RPi-Distro/raspi-gpio.git && cd raspi-gpio && ./configure && make && make install && cd ../ && rm -R raspi-gpio

```

Hope this helps.

Andrew

---

<div class="post-metadata">

**Author:** ![mrrobot](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/mrrobot/32/5768_2.png) [@mrrobot](https://forums.balena.io/u/mrrobot)\
**Post date:** [April 13, 2021, 12:39pm UTC](https://forums.balena.io/t/add-new-device-for-cm4-io-board-empty/269599/10 "2021-04-13T12:39:20Z")

</div>

@smithandrewc Thanks a lot for this quick reply. I’ll try to replicate it.  
Have you been able to make the DSI port works for the 7inch touch display too?

---

<div class="post-metadata">

**Author:** ![smithandrewc](https://avatars.discourse-cdn.com/v4/letter/s/ed655f/32.png) [@smithandrewc](https://forums.balena.io/u/smithandrewc)\
**Post date:** [April 13, 2021, 1:07pm UTC](https://forums.balena.io/t/add-new-device-for-cm4-io-board-empty/269599/11 "2021-04-13T13:07:48Z")

</div>

@mrrobot, I guess I haven’t tried it yet but I can. I’ve got some boards with a DSI connection on them. I’ll give it a quick spin and let you know.

---

<div class="post-metadata">

**Author:** ![smithandrewc](https://avatars.discourse-cdn.com/v4/letter/s/ed655f/32.png) [@smithandrewc](https://forums.balena.io/u/smithandrewc)\
**Post date:** [April 13, 2021, 2:32pm UTC](https://forums.balena.io/t/add-new-device-for-cm4-io-board-empty/269599/12 "2021-04-13T14:32:41Z")

</div>

@mrrobot I can confirm that DSI1 (I would expect 0 works as well but I haven’t tried) works with the 7" touch display. To get it going you need add an appropriate dt-blob.bin to the /dev/mmcblk0p1 partition. If you’re unfamiliar with that, check out the [Raspberry Pi page.](https://www.raspberrypi.org/documentation/hardware/computemodule/cmio-display.md). If you have trouble, let me know and I can post a working dt-blob.bin for you.

---

<div class="post-metadata">

**Author:** ![mrrobot](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/mrrobot/32/5768_2.png) [@mrrobot](https://forums.balena.io/u/mrrobot)\
**Post date:** [April 13, 2021, 3:07pm UTC](https://forums.balena.io/t/add-new-device-for-cm4-io-board-empty/269599/13 "2021-04-13T15:07:51Z")

</div>

@smithandrewc That’s great, thanks a lot! ~~Do you know anyway of adding the dt-blob.bin directly when flashing (on the SD card) ?~~  
All good, just need to add the file at the partition root.

---

<div class="post-metadata">

**Author:** ![klutchell](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/klutchell/32/861_2.png) [@klutchell](https://forums.balena.io/u/klutchell)\
**Post date:** [April 15, 2021, 4:54pm UTC](https://forums.balena.io/t/add-new-device-for-cm4-io-board-empty/269599/14 "2021-04-15T16:54:33Z")

</div>

Hey @mrrobot @smithandrewc, I’ve opened a new GH issue to track the missing base images for raspberrypicm4-ioboard.

> <https://github.com/balena-io-library/base-images/issues/690>

Thanks for bringing this to our attention!

---

<div class="post-metadata">

**Author:** ![klutchell](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/klutchell/32/861_2.png) [@klutchell](https://forums.balena.io/u/klutchell)\
**Post date:** [April 28, 2021, 6:00pm UTC](https://forums.balena.io/t/add-new-device-for-cm4-io-board-empty/269599/16 "2021-04-28T18:00:53Z")

</div>

Hey @mrrobot and @smithandrewc! The Docker base images for Raspberry Pi CM4 IO board have been published and are available for download now.

Thank you again for bringing this to our attention and let us know if you have any other issues!
