Hello All
After a lot of hours and sleepless nights I was able to get this 5" LCD to work with the BPI-M64 module.
1. Correct resolution setup + environment.
A. In /Boot/armbianEnv.txt set the following:
Make sure to enter overlays= spi-add-cs1 spi-spidev (this is for the touch panel to work)
B. for 180 rotation: extraargs=fbcon=rotate:2 drm_kms_helper.edid_firmware=HDMI-A-1:edid/800x480.bin video=HDMI-A-1:800x480-24@60
No