goodtft / LCD-show

2.4" 2.8"3.2" 3.5" 5.0" 7.0" TFT LCD driver for the Raspberry PI 3B+/A/A+/B/B+/PI2/ PI3/ZERO/ZERO W
2.26k stars 777 forks source link

LCD-show-kali no longer crashes when compiling in Kali 2019.2 but I'm still getting a white screen on my touchscreen and getting picture on HDMI instead. #155

Open oshura3 opened 5 years ago

oshura3 commented 5 years ago

Hey there, thanks to this new repo listed below, the compiler was able to finish. Sadly after rebooting, Kali came up and I can see the OS again but instead of through the touchscreen as hoped for, it is coming through the HDMI connection at the resolution it should be at for the touchscreen. I will post the output below to see if if helps. I'm happy I have my OS back but I just want to know how to get it to come through the small screen. Also, I chose the MHS40-show option. Thank you for the hard work!

edit: When I tried using the ./LCD-hdmi option, the system just froze. I had to pull the cable from the RPi 4 and plug it back in, when the system rebooted, it worked as normal. I hope that this gets fixed soon. If I can be of help to make it work, please let me know.

quote see this: https://github.com/lcdwiki/LCD-show-kali

2019-06-29

goodtft end quote

begin trace Hit:2 http://http.re4son-kernel.com/re4son kali-pi InRelease Hit:1 http://kali.download/kali kali-rolling InRelease Reading package lists... Done Reading package lists... Done Building dependency tree Reading state information... Done cmake is already the newest version (3.13.4-1). git is already the newest version (1:2.20.1-2). The following additional packages will be installed: libraspberrypi0 The following NEW packages will be installed: libraspberrypi-dev libraspberrypi0 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. Need to get 1242 kB of archives. After this operation, 6602 kB of additional disk space will be used. Get:1 http://http.re4son-kernel.com/re4son kali-pi/main armhf libraspberrypi0 armhf 4.19.55-20190712 [839 kB] Get:2 http://http.re4son-kernel.com/re4son kali-pi/main armhf libraspberrypi-dev armhf 4.19.55-20190712 [403 kB] Fetched 1242 kB in 8s (154 kB/s) Selecting previously unselected package libraspberrypi0. (Reading database ... 262413 files and directories currently installed.) Preparing to unpack .../libraspberrypi0_4.19.55-20190712_armhf.deb ... Unpacking libraspberrypi0 (4.19.55-20190712) ... Selecting previously unselected package libraspberrypi-dev. Preparing to unpack .../libraspberrypi-dev_4.19.55-20190712_armhf.deb ... Unpacking libraspberrypi-dev (4.19.55-20190712) ... Setting up libraspberrypi0 (4.19.55-20190712) ... Setting up libraspberrypi-dev (4.19.55-20190712) ...

Cloning into 'rpi-fbcp'... remote: Enumerating objects: 61, done. remote: Total 61 (delta 0), reused 0 (delta 0), pack-reused 61 Unpacking objects: 100% (61/61), done. -- The C compiler identification is GNU 8.3.0 -- The CXX compiler identification is GNU 8.3.0 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Configuring done -- Generating done -- Build files have been written to: /root/LCD-show-kali/rpi-fbcp/build Scanning dependencies of target fbcp [ 50%] Building C object CMakeFiles/fbcp.dir/main.c.o [100%] Linking C executable fbcp [100%] Built target fbcp reboot now

发件人:abujed notifications@github.com 发送时间:2019-06-16 04:23 主题:[goodtft/LCD-show] Driver does not compile on Kali 2019.2 (#144) 收件人:"goodtft/LCD-show"LCD-show@noreply.github.com 抄送:"Subscribed"subscribed@noreply.github.com

Fails to compile and bricks OS - trace below... HELP!? root@kali:~/Downloads/LCD-show# ./MHS35-show Reading package lists... Done Building dependency tree Reading state information... Done git is already the newest version (1:2.20.1-2). The following additional packages will be installed: cmake-data librhash0 libuv1 Suggested packages: cmake-doc ninja-build The following NEW packages will be installed: cmake cmake-data librhash0 libuv1 0 upgraded, 4 newly installed, 0 to remove and 1 not upgraded. Need to get 4,747 kB of archives. After this operation, 24.3 MB of additional disk space will be used. Get:1 http://archive.linux.duke.edu/kalilinux/kali kali-rolling/main arm64 cmake-data all 3.13.4-1 [1,476 kB] Get:2 http://archive.linux.duke.edu/kalilinux/kali kali-rolling/main arm64 librhash0 arm64 1.3.8-1 [121 kB] Get:3 http://archive.linux.duke.edu/kalilinux/kali kali-rolling/main arm64 libuv1 arm64 1.24.1-1 [105 kB] Get:4 http://archive.linux.duke.edu/kalilinux/kali kali-rolling/main arm64 cmake arm64 3.13.4-1 [3,046 kB] Fetched 4,747 kB in 7s (653 kB/s) Selecting previously unselected package cmake-data. (Reading database ... 254665 files and directories currently installed.) Preparing to unpack .../cmake-data_3.13.4-1_all.deb ... Unpacking cmake-data (3.13.4-1) ... Selecting previously unselected package librhash0:arm64. Preparing to unpack .../librhash0_1.3.8-1_arm64.deb ... Unpacking librhash0:arm64 (1.3.8-1) ... Selecting previously unselected package libuv1:arm64. Preparing to unpack .../libuv1_1.24.1-1_arm64.deb ... Unpacking libuv1:arm64 (1.24.1-1) ... Selecting previously unselected package cmake. Preparing to unpack .../cmake_3.13.4-1_arm64.deb ... Unpacking cmake (3.13.4-1) ... Setting up libuv1:arm64 (1.24.1-1) ... Setting up librhash0:arm64 (1.3.8-1) ... Setting up cmake-data (3.13.4-1) ... Setting up cmake (3.13.4-1) ... Processing triggers for man-db (2.8.5-2) ... Processing triggers for libc-bin (2.28-10) ... Cloning into 'rpi-fbcp'... remote: Enumerating objects: 9, done. remote: Counting objects: 100% (9/9), done. remote: Compressing objects: 100% (8/8), done. remote: Total 61 (delta 3), reused 5 (delta 1), pack-reused 52 Unpacking objects: 100% (61/61), done. -- The C compiler identification is GNU 8.3.0 -- The CXX compiler identification is GNU 8.3.0 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Configuring done -- Generating done -- Build files have been written to: /root/Downloads/LCD-show/rpi-fbcp/build Scanning dependencies of target fbcp [ 50%] Building C object CMakeFiles/fbcp.dir/main.c.o /root/Downloads/LCD-show/rpi-fbcp/main.c:9:10: fatal error: bcm_host.h: No such file or directory

include

^~~~ compilation terminated. make[2]: [CMakeFiles/fbcp.dir/build.make:63: CMakeFiles/fbcp.dir/main.c.o] Error 1 make[1]: [CMakeFiles/Makefile2:73: CMakeFiles/fbcp.dir/all] Error 2 make: *** [Makefile:84: all] Error 2 install: cannot stat 'fbcp': No such file or directory this is not raspberrypi kernel, no need to update touch configure, reboot Connection to closed by remote host. Connection to closed. I would post other pertinent system info but it's bricked :-( — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

Originally posted by @goodtft in https://github.com/goodtft/LCD-show/issues/144#issuecomment-506941710

goodtft commented 5 years ago

MHS40-show

What type of screen do you use?