Coder Social home page Coder Social logo

lcd-show-kali's Introduction

Set up Kali linux on RPi 3 B+

After fork and adjust files we can run two commands:

  1. ./RUN_LCD
  2. ./RUN_HDMI

And we know everything will be working on RPi 3 B+ and kali-linux-2021.3.

Instructions below are related to the original project.

How to set up LCD 3.5" MPI3508

Used system kali-linux-2021.3-rpi4-nexmon-arm64.img.xz

  1. Install kali on sd card using balenaEtcher
  2. Create backup of config.txt file sudo cp /boot/config.txt /boot/config.txt.bk
  3. Run kali (l: kali, p: kali) and connect with the Internet
  4. Clone repo git clone https://github.com/lcdwiki/LCD-show-kali
  5. Run command cd LCD-show-kali && sudo ./LCD35-show
  • now RPi will reboot and show kernel error
  1. Open SD card on the different computer and copy and replace code from config.txt.bk to /boot/config.txt without last section, which should be like this:
... rest of code from config.txt ...

# 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
hdmi_force_hotplug=1
dtparam=i2c_arm=on
dtparam=spi=on
enable_uart=1
dtoverlay=tft35a:rotate=270
  1. Update packages apt update
  • now rpi should works with TFT LCD 3.5
  1. Instalal package for calibration apt-get install xinput-calibrator.
  2. Edit file sudo nano /etc/X11/xorg.conf.d/99-calibration.conf with configuration:
Section "InputClass"
    Identifier      "calibration"
    MatchProduct    "ADS7846 Touchscreen"
    Option  "Calibration"   "160 3723 3896 181"
	Option  "SwapAxes"	"1"
	Option	"TransformationMatrix"  "1 0 0 0 -1 1 0 0 1"
EndSection
  1. Reboot system by: reboot command and be happy with your kali linux on LCD.
  • To calibrate touch screen run command xinput-calibrator

  • If you want back to HDMI connection run script cd LCD-show-kali && sudo ./LCD35-show

Help

LCD drivers for kali

LCD wiki

LCD manual

lcd-show-kali's People

Contributors

lcdwiki avatar kubek93 avatar goodtft avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.