3.5inch RPi Display Raspberry Pi 5 Kali Linux not working

February 15, 2024, 19:54

alexis_callies

Today I received my new Raspberry pi 5 and all of the requirements (power supply, fan,etc). I also got this http://lcdwiki.com/3.5inch_RPi_Display that I bought of Amazon.I installed Kali linux raspberry pi 5 via Raspberry Pi imager and flashed it on an usb drive. I updated and upgraded the system and then I tried to install the driver like the tutorial said, even tried this https://www.reddit.com/r/raspberry_pi/comments/17m88s0/lcd_screen_issues_with_raspberry_pi_5/ , but no success.

alexis_callies

I ran it 2 times since the first time it didn't seemed to have worked and this is what it gave me the 2nd time :
sudo ./LCD35-show
(Reading database ... 394960 files and directories currently installed.)
Removing xserver-xorg-input-evdev (1:2.10.6-2+b1) ...
Processing triggers for man-db (2.12.0-3) ...
Hit:1 http://kali.download/kali kali-rolling InRelease
Reading package lists... Done
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
cmake is already the newest version (3.28.3-1).
libraspberrypi-dev is already the newest version (1:2+git20211125~155417+14b90ff-3+kali3).
0 upgraded, 0 newly installed, 0 to remove and 9 not upgraded.

Cloning into 'rpi-fbcp'...
remote: Enumerating objects: 61, done.
remote: Total 61 (delta 0), reused 0 (delta 0), pack-reused 61
Receiving objects: 100% (61/61), 18.26 KiB | 813.00 KiB/s, done.
Resolving deltas: 100% (20/20), done.
CMake Warning (dev) in CMakeLists.txt:
No project() command is present. The top-level CMakeLists.txt file must
contain a literal, direct call to the project() command. Add a line of
code such as

project(ProjectName)

near the top of the file, but after cmake_minimum_required().

CMake is pretending there is a "project(Project)" command on the first
line.
This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) in CMakeLists.txt:
cmake_minimum_required() should be called prior to this top-level project()
call. Please see the cmake-commands(7) manual for usage documentation of
both commands.
This warning is for project developers. Use -Wno-dev to suppress it.

alexis_callies

-- The C compiler identification is GNU 13.2.0
-- The CXX compiler identification is GNU 13.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):
Compatibility with CMake < 3.5 will be removed from a future version of
CMake.

Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.

-- Configuring done (1.0s)
-- Generating done (0.0s)
-- Build files have been written to: /home/kali/LCD-show/rpi-fbcp/build
[ 50%] Building C object CMakeFiles/fbcp.dir/main.c.o
[100%] Linking C executable fbcp
[100%] Built target fbcp
2023
need to update touch configuration
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following NEW packages will be installed:
xserver-xorg-input-evdev
0 upgraded, 1 newly installed, 0 to remove and 9 not upgraded.
Need to get 0 B/120 kB of archives.
After this operation, 183 kB of additional disk space will be used.
Selecting previously unselected package xserver-xorg-input-evdev.
(Reading database ... 394950 files and directories currently installed.)
Preparing to unpack .../xserver-xorg-input-evdev_1%3a2.10.6-2+b1_arm64.deb ...
Unpacking xserver-xorg-input-evdev (1:2.10.6-2+b1) ...
Setting up xserver-xorg-input-evdev (1:2.10.6-2+b1) ...
Processing triggers for man-db (2.12.0-3) ...
I went to raspi-config (which I installed) and chose WAYLAND -> X11 and I enabled SPI. The screen is still blank. Can someone help me ?

k9t33n

try raspberry pi os and see if it atleest works on that

alexis_callies

I will try it tomorrow but I would like to keep using kali linux

k9t33n

yes I think the drivers don't work on Kali that's all so this is a good debugging step

oops.se

Try installing an older Kali with X11 base

k9t33n

shall we try raspberry pi os first just to makes sure it works at all?