BelaPlatform / bela-image-builder

Scripts to build a Bela image from scratch
MIT License
37 stars 16 forks source link

Postpone Bela startup #55

Closed giuliomoro closed 7 years ago

giuliomoro commented 7 years ago

You hear sound at startup for a split second, but when the SPI driver spi-omap2-mcspi is loaded (or done with init or whatever), the sound stop. The pru is hanging on DAC_WAIT_FOR_FINISH. We should postpone startup in systemctl

This happens when the systemd target is After=local-fs.target. It does not happen 100% of the time. When it happens you get

[ 12.829978] omap_hwmod: spi0: _wait_target_disable failed