Open mixerreq opened 1 year ago
The error suggests there is some other software driver that is using the DMA RX channel 1.
Try using another DMA RX channel for fbcp-ili9341. See https://github.com/juj/fbcp-ili9341#specifying-other-build-options :
-DDMA_RX_CHANNEL=<num>: Specifies the DMA channel number to use for SPI receive commands.
Change this if you find a DMA channel conflict.
Potentially good looking alternatives would be
DMA channel 0 has peripheral map 0 (is lite channel: 0, currently active: 0, current control block: (nil))
DMA channel 5 has peripheral map 0 (is lite channel: 0, currently active: 0, current control block: (nil))
so either -DDMA_RX_CHANNEL=0
or -DDMA_RX_CHANNEL=5
might work.
If neither of those work out and there is still a conflict, then there is a document at https://www.raspberrypi.org/app/uploads/2012/02/BCM2835-ARM-Peripherals.pdf that lists what those peripheral numbers mean:
These might give an idea of what is utilizing the same DMA channel.
In this case it looks like something that is driving PWM peripheral decided to use this DMA channel, hence the crash.
The error suggests there is some other software driver that is using the DMA RX channel 1.
Try using another DMA RX channel for fbcp-ili9341. See https://github.com/juj/fbcp-ili9341#specifying-other-build-options :
-DDMA_RX_CHANNEL=<num>: Specifies the DMA channel number to use for SPI receive commands. Change this if you find a DMA channel conflict.
Potentially good looking alternatives would be
DMA channel 0 has peripheral map 0 (is lite channel: 0, currently active: 0, current control block: (nil)) DMA channel 5 has peripheral map 0 (is lite channel: 0, currently active: 0, current control block: (nil))
so either
-DDMA_RX_CHANNEL=0
or-DDMA_RX_CHANNEL=5
might work.If neither of those work out and there is still a conflict, then there is a document at https://www.raspberrypi.org/app/uploads/2012/02/BCM2835-ARM-Peripherals.pdf that lists what those peripheral numbers mean:
These might give an idea of what is utilizing the same DMA channel.
In this case it looks like something that is driving PWM peripheral decided to use this DMA channel, hence the crash.
Thanks for fast reply. After compiling driver with added agruments now lxde loading. Thanks for your answer
i have issue with lxde while i logging in display driver just crashing...
this is my log of driver
OS: Raspberry pi OS (Legacy) 32 bit Hardware: Raspberry Pi 3B+ 1.4 Ghz Screen driver: ili9341