Open gearhead opened 4 years ago
Hard to say - fbcp-ili9341 has only been tested against 32-bit Raspbian, other OSes are a bit of a lucky scenario if they work. Not sure what is happening there. If you are on 64-bit OS, then maybe some of the memory mapping stuff is completely different, and causes the crash. I'm afraid you'll need to debug through it on your own to figure this one out.
There are some other issues reported against Arch Linux in this bug tracker, maybe some users from those issues may be able to help.. (have not seen a Bus error show up though)
Any updates about aarch64 support ?
pi3 would be be good reference device, because it works on 32b too
https://github.com/juj/fbcp-ili9341#raspbian--32-bit-only
Relate-to: https://github.com/juj/fbcp-ili9341/issues/159 Relate-to: https://github.com/juj/fbcp-ili9341/issues/43
Trying this out on a B3+ with a pitft3.5 from adafruit. I run Arch Linux and am running kernel 5.4.70 with the RPi build config (dtoverlays work, etc) Read through the issues and instructions and think I did what was needed and made the binary this way: edited the CMakeLists.txt to comment out a line to change the build flags:
I tried this cmake line with dma enabled:
cmake -DADAFRUIT_HX8357D_PITFT=ON -DSPI_BUS_CLOCK_DIVISOR=6 -DARMV8A=ON ..
Tried running the binary from an SSH login and nothing seems to happen and I get this error:I tried this to disable dma to see if there is any difference:
cmake -DADAFRUIT_HX8357D_PITFT=ON -DSPI_BUS_CLOCK_DIVISOR=6 -DARMV8A=ON -DUSE_DMA_TRANSFERS=OFF ..
and now, the display flashes but still does not display anything and I get this error: