I was able to read and write through serial with an C application before.
But after I change sysvinit to systemd the serial port doesn’t work anymore (ttymxc1).
The console serial port (ttymxc4) works ok.
When ttymxc1 is opened by the app, at the system console trows:
20ec000.sdma: sdma firmware not ready!
imx-uart 21e8000.serial: Prepare for the RX slave dma failed!
Also the bluetooth init fails because seems to work only with sysvinit:
[FAILED] Failed to start Initialization of the bluetooth chip.
See ‘systemctl status bluetooth-init.service’ for details.
Jul 30 06:21:27 ccimx6ulsbc bluetooth-init: /etc/bluetooth-init: .: line 91: can’t open ‘/etc/init.d/functions’: No such file or directory
Anyone could give any clues to make the serial work again?
I need systemd to control the start and fail restart of the app.