LCD-show-kali
LCD-show-kali copied to clipboard
Kernel Panic
I am using a Raspberry Pi 4B with the latest Kali Linux ARM (64-bit) images and the display results in a kernel panic. My display remains "white" with no resulting usable screen.
Any and all help is greatly appreciated.
Had the same problem on a RPi 3 and Kali Linux 2019.4 64bit
managed to get up and running by
- Copying the /boot/config.txt file from the SD card after using balenaEtcher to flash it with the Kali image, then eject card
- card into Pi and boot, follow the steps to clone LCD-show-kali repo
git clone https://github.com/lcdwiki/LCD-show-kali.git
- chmod it and cd to it as per ReadMe (although it will be named LCD-show-kali)
- Kernel Panic
- Power Pi down, pull card, reconnect to computer used for flashing (where the kali config.txt file is)
- open the config.txt file on the card and the one saved earlier
- On the version on the card, there is only about 5 or 6 lines you need to keep depending on the type of screen you are trying to enable [I was using LCD35-show for a Geekcreit 3.5 inch RPi V3.0 (A) screen]. These should be the last lines in the file, remove everything before that and paste the content of your previously saved config.txt above those few lines It will look something like this config.txt
- save, eject, pull, insert, boot, and then probably go on the hunt for info to calibrate it.. maybe
Hope this helps - Good Luck
Doesn't work w/ mine
Rpi4 bricks when hdmi_force_hotplug=1
And Panic when I take it off
I followed the exact steps as provided and unfortunately this did not work. My experience is the same as @Gumbraise. I am using the MHS40. Do you have a config file that works on the Raspberry Pi 4B with the latest Kali Linux (ARM) and the MHS40?
Does your config file look anything like the one attached? This config file is a mash up of the config file provided as default on Kali 2019.4 64bit and manually adding the lines added by running MHS40-show
Note: I have not tested this, I do not have a RPi 4 to test this with, and do not have a MHS40 screen
# For more options and information see
--
# http://rpf.io/configtxt
# Some settings may impact device functionality. See link above for details
# uncomment if you get no picture on HDMI for a default "safe" mode
#hdmi_safe=1
# uncomment this if your display has a black border of unused pixels visible
# and your display can output without overscan
#disable_overscan=1
# uncomment the following to adjust overscan. Use positive numbers if console
# goes off screen, and negative if there is too much border
#overscan_left=16
#overscan_right=16
#overscan_top=16
#overscan_bottom=16
# uncomment to force a console size. By default it will be display's size minus
# overscan.
#framebuffer_width=1280
#framebuffer_height=720
# uncomment if hdmi display is not detected and composite is being output
#hdmi_force_hotplug=1
# uncomment to force a specific HDMI mode (this will force VGA)
#hdmi_group=1
#hdmi_mode=1
# uncomment to force a HDMI mode rather than DVI. This can make audio work in
# DMT (computer monitor) modes
#hdmi_drive=2
# uncomment to increase signal to HDMI, if you have interference, blanking, or
# no display
# config_hdmi_boost=4
# uncomment for composite PAL
#sdtv_mode=2
#uncomment to overclock the arm. 700 MHz is the default.
#arm_freq=800
# Uncomment some or all of these to enable the optional hardware interfaces
#dtparam=i2c_arm=on
#dtparam=i2s=on
#dtparam=spi=on
# Uncomment this to enable the lirc-rpi module
#dtoverlay=lirc-rpi
# Additional overlays and parameters are documented /boot/overlays/README
# Enable audio (loads snd_bcm2835)
dtparam=audio=on
#[pi4]
# Enable DRM VC4 V3D driver on top of the dispmanx display stack
#dtoverlay=vc4-fkms-v3d
#max_framebuffers=2
[all]
#dtoverlay=vc4-fkms-v3d
# If you would like to enable USB booting on your Pi, uncomment the following line.
# Boot from microsd card with it, then reboot.
# Don't forget to comment this back out after using, especially if you plan to use
# sdcard with multiple machines!
# NOTE: This ONLY works with the Raspberry Pi 3+
#program_usb_boot_mode=1
[pi2]
# Pi2 is 64bit only on v1.2+
# 64bit kernel for Raspberry Pi 2 is called kernel8 (armv8a)
kernel=kernel8-alt.img
[pi3]
# 64bit kernel for Raspberry Pi 3 is called kernel8 (armv8a)
kernel=kernel8-alt.img
[pi4]
# Enable DRM VC4 V3D driver on top of the dispmanx display stack
#dtoverlay=vc4-fkms-v3d
#max_framebuffers=2
# 64bit kernel for Raspberry Pi 4 is called kernel8l (armv8a)
kernel=kernel8l-alt.img
[all]
# Tell firmware to go 64bit mode.
arm_64bit=1
hdmi_force_hotplug=1
dtparam=i2c_arm=on
dtparam=spi=on
enable_uart=1
dtoverlay=mhs395:rotate=90
hdmi_group=2
hdmi_mode=1
hdmi_mode=87
hdmi_cvt 480 320 60 6 0 0 0
hdmi_drive=2
Have tried n4kack method, it boots correctly but keyboard and mouse don´t work anymore. Like USB ports were U/S or not recognised... Anyone experiencing something like that?
Hi, try this repository: https://github.com/danielcshn/LCD-show-kali Update to support Kali Linux Version 2019 or higher (Solution to Kernel Panic).
The solution is (READ ALL BEFORE DOING ANYTHING):
- Copying the /boot/config.txt file from the SD card after flashing it with the Kali image, then put the card into Pi and boot, follow the steps to install on the LCD-show-kali repo.
- The Kernel Panic will appear.
- Power Pi down, pull card, reconnect to computer used for flashing (where the kali config.txt file is) open the config.txt file on the card and the one saved earlier
- On the version on the card, there is only about 5 or 6 lines you need to keep depending on the type of screen you are trying to enable. These should be the last lines in the file, remove everything before that and paste the content of your previously saved config.txt above those few lines.
- save, eject, pull, insert, boot..... IF ALL WORKS JUST STOP AND ENJOY If after booting the usb on the pi doesn't work you'll have to do some changes:
- Before installing the lcd show stuff go into network management and set the wifi network you are using available for every user (so you'll have wifi before login and doesn't need a keyboard)
- SSH into the pi and install xserver-xorg-input-libinput (sudo apt-get install xserver-xorg-input-libinput)
- sudo reboot and enjoy the screen
This is the only method that worked for me (rpi4 4gb - kali 2020.3a arm64)
The original guide is from @n4kack, i just added the usb fix and shortened some parts
The solution is you do things well. Try this repository: https://github.com/danielcshn/LCD-show-kali
I've tried your fork but on kali 64bit (pi4 4gb) didn't work (output was something about being armhf and not arm64). My method worked and no problems after