mirror of
https://github.com/ZitaoTech/Hackberry-Pi_Zero.git
synced 2025-02-15 08:49:17 +01:00
60 lines
2.1 KiB
Markdown
60 lines
2.1 KiB
Markdown
# This page will tell you the ways to install the display driver in different operating system
|
|
### First you need to install the operating system you need into RaspberryPi, this is the [tutorial](https://www.raspberrypi.com/documentation/computers/getting-started.html), when you choose device, select Raspberry Pi Zero 2W.
|
|
# Raspberry Pi OS
|
|
|
|
Add the following line in `/boot/config.txt` in your TF card
|
|
|
|
```sh
|
|
dtoverlay=vc4-kms-dpi-hyperpixel4sq
|
|
```
|
|
And the `config.txt` file will look like this:
|
|
![image](https://github.com/user-attachments/assets/33139e0d-2477-4732-8ff5-a3e2bce9d383)
|
|
Now you can insert the TF card in to the slot and your HackberryPi will run Raspberry Pi OS on the screen.
|
|
|
|
# Kali Linux
|
|
|
|
### Step 1
|
|
Add the following lines in `/boot/config.txt` in your TF card
|
|
|
|
```sh
|
|
dtoverlay=hyperpixel4
|
|
overscan_left=0
|
|
overscan_right=0
|
|
overscan_top=0
|
|
overscan_bottom=0
|
|
framebuffer_width=720
|
|
enable_dpi_lcd=1
|
|
display_default_lcd=1
|
|
dpi_group=2
|
|
dpi_mode=87
|
|
dpi_output_format=0x5f026
|
|
dpi_timings=720 0 20 20 40 720 0 15 15 15 0 0 0 60 0 36720000 4
|
|
```
|
|
And the `config.txt` file will look like this:
|
|
![image](https://github.com/user-attachments/assets/eb698c68-0dce-4346-9013-562dcafa3381)
|
|
|
|
### Step 2
|
|
Download the `hyperpixel4.dtbo`file in this github page
|
|
Put the `hyperpixel4.dtbo`file into `/boot/overlays`folder
|
|
Now you can insert the TF card in to the slot and your HackberryPi will run Kali Linux on the screen.
|
|
|
|
# RetroPi OS
|
|
### Step 1
|
|
Add the following lines in `/boot/config.txt` in your TF card
|
|
|
|
```sh
|
|
dtoverlay=hyperpixel4
|
|
enable_dpi_lcd=1
|
|
dpi_group=2
|
|
dpi_mode=87
|
|
dpi_output_format=0x5f026
|
|
dpi_timings=720 0 20 20 40 720 0 15 15 15 0 0 0 60 0 36720000 4
|
|
```
|
|
And the `config.txt` file will look like this:
|
|
![image](https://github.com/user-attachments/assets/2a4445e8-589b-4af5-84a0-1275de28d122)
|
|
|
|
### Step 2
|
|
Download the `hyperpixel4.dtbo`file in this github page
|
|
Put the `hyperpixel4.dtbo`file into `/boot/overlays`folder
|
|
Now you can insert the TF card in to the slot and your HackberryPi will run RetroPi OS on the screen.
|