# BalenaOS (Pi Zero W) will not reboot after config change

**URL:** <https://forums.balena.io/t/balenaos-pi-zero-w-will-not-reboot-after-config-change/266386>\
**Category:** balenaOS\
**Tags:** support, network, raspberrypizero\
**Created:** [March 5, 2021, 5:47pm UTC](https://forums.balena.io/t/balenaos-pi-zero-w-will-not-reboot-after-config-change/266386 "2021-03-05T17:47:36Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![dillionben](https://avatars.discourse-cdn.com/v4/letter/d/58f4c7/32.png) [@dillionben](https://forums.balena.io/u/dillionben)\
**Post date:** [March 5, 2021, 5:47pm UTC](https://forums.balena.io/t/balenaos-pi-zero-w-will-not-reboot-after-config-change/266386/1 "2021-03-05T17:47:36Z")

</div>

Hello! i am trying to set up Balena OS on my Pi zero. the flash and initial setup went well. However when i attempt to add variabled to the host config either via the dashboard or directly, BalenaOS will not connect back to the VPN. The ACT light is solid green. The config i am changing is fr the /boot/config.txt for my screen. The site with the listed changes is directly below.

[https://www.waveshare.com/wiki/7inch\_LCD\_for\_Pi](https://www.waveshare.com/wiki/7inch_LCD_for_Pi)

I have also copied the logs below from the dashboard

05.03.21 01:46:33 (-0500) Supervisor starting  
05.03.21 01:46:49 (-0500) Applying configuration change {“SUPERVISOR\_POLL\_INTERVAL”:“900000”,“SUPERVISOR\_DELTA\_VERSION”:“3”}  
05.03.21 01:46:53 (-0500) Applied configuration change {“SUPERVISOR\_POLL\_INTERVAL”:“900000”,“SUPERVISOR\_DELTA\_VERSION”:“3”}  
05.03.21 01:46:55 (-0500) Creating network ‘default’  
05.03.21 01:56:18 (-0500) Supervisor starting  
05.03.21 01:56:24 (-0500) Applying configuration change {“SUPERVISOR\_DELTA”:“1”}  
05.03.21 01:56:24 (-0500) Applied configuration change {“SUPERVISOR\_DELTA”:“1”}  
05.03.21 02:10:00 (-0500) Supervisor starting  
05.03.21 11:59:45 (-0500) Rebooting  
05.03.21 12:02:37 (-0500) Supervisor starting  
05.03.21 12:25:04 (-0500) Applying boot config: {“disable\_splash”:“1”,“dtoverlay”:[“dpi24”],“dtparam”:[“i2c\_arm=on”,“spi=on”,“audio=on”],“enable\_uart”:“1”,“gpu\_mem”:“16”}  
05.03.21 12:25:06 (-0500) Applied boo

---

<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:** [March 5, 2021, 9:49pm UTC](https://forums.balena.io/t/balenaos-pi-zero-w-will-not-reboot-after-config-change/266386/4 "2021-03-05T21:49:30Z")

</div>

Hey there, just to confirm the value you are setting in the dashboard is `BALENA_HOST_CONFIG_dtoverlay=dpi24` or `RESIN_HOST_CONFIG_dtoverlay=dpi24` ? Are there any other config vars you are providing from that URL?

Can you provide the version of balenaOS you are running and confirm the device type as shown in the dashboard? You can also just copy-paste the results of `cat /etc/os-release` from the host OS terminal.

---

<div class="post-metadata">

**Author:** ![dillionben](https://avatars.discourse-cdn.com/v4/letter/d/58f4c7/32.png) [@dillionben](https://forums.balena.io/u/dillionben)\
**Post date:** [March 5, 2021, 11:46pm UTC](https://forums.balena.io/t/balenaos-pi-zero-w-will-not-reboot-after-config-change/266386/6 "2021-03-05T23:46:20Z")

</div>

I used RESIN\_HOST\_CONFIG\_dtoverlay=dpi24. The same format for all of the lines listed on that site for pi zero. I also attempted adding them directly to the config page with the same effect.

---

<div class="post-metadata">

**Author:** ![ab77](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/ab77/32/2870_2.png) [@ab77](https://forums.balena.io/u/ab77)\
**Post date:** [March 9, 2021, 11:26pm UTC](https://forums.balena.io/t/balenaos-pi-zero-w-will-not-reboot-after-config-change/266386/7 "2021-03-09T23:26:26Z")

</div>

Hi there, can you read through [this](https://www.raspberrypi.org/forums/viewtopic.php?t=244266) forum thread to see if any of the steps in there could help? Perhaps starting with disabled audio and checking if the latest dtb is on the boot partition.

---

<div class="post-metadata">

**Author:** ![dillionben](https://avatars.discourse-cdn.com/v4/letter/d/58f4c7/32.png) [@dillionben](https://forums.balena.io/u/dillionben)\
**Post date:** [March 10, 2021, 10:58pm UTC](https://forums.balena.io/t/balenaos-pi-zero-w-will-not-reboot-after-config-change/266386/9 "2021-03-10T22:58:52Z")

</div>

i have disabled audio without any resolution. It seems as the dpi24 may be having issues? however it works fine on my Pi4. The screen also works fine when i edit the config file beforehand and then run initial boot, however the boot will hang with:

ttys ttyso: 10 input overrun(s)

---

<div class="post-metadata">

**Author:** ![dillionben](https://avatars.discourse-cdn.com/v4/letter/d/58f4c7/32.png) [@dillionben](https://forums.balena.io/u/dillionben)\
**Post date:** [March 11, 2021, 12:44am UTC](https://forums.balena.io/t/balenaos-pi-zero-w-will-not-reboot-after-config-change/266386/10 "2021-03-11T00:44:33Z")

</div>

dtoverlay=dpi24 allows the screen to function but causses the input overun error and will not finish boot. removing this will allow boot and functioning of the device/ application but not allow the screen to function.

Thoughts?

---

<div class="post-metadata">

**Author:** ![markcorbinuk](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/markcorbinuk/32/4771_2.png) [@markcorbinuk](https://forums.balena.io/u/markcorbinuk)\
**Post date:** [March 11, 2021, 4:24pm UTC](https://forums.balena.io/t/balenaos-pi-zero-w-will-not-reboot-after-config-change/266386/11 "2021-03-11T16:24:11Z")

</div>

It looks like somebody answered you in [this](https://www.raspberrypi.org/forums/viewtopic.php?f=44&t=306617) forum thread?

---

<div class="post-metadata">

**Author:** ![markcorbinuk](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/markcorbinuk/32/4771_2.png) [@markcorbinuk](https://forums.balena.io/u/markcorbinuk)\
**Post date:** [March 11, 2021, 4:36pm UTC](https://forums.balena.io/t/balenaos-pi-zero-w-will-not-reboot-after-config-change/266386/12 "2021-03-11T16:36:18Z")

</div>

I found this in the README at [firmware/boot/overlays at master · raspberrypi/firmware · GitHub](https://github.com/raspberrypi/firmware/tree/master/boot/overlays)

```auto
Name: dpi24
Info: Overlay for a generic 24-bit DPI display
        This uses GPIOs 0-27 (so no I2C, uart etc.), and activates the output
        2-3 seconds after the kernel has started.
Load: dtoverlay=dpi24
Params: <None>

```
