Hackberry-Pi_Zero/Screen/README.md

69 lines
3.3 KiB
Markdown
Raw Normal View History

2024-08-02 21:15:06 +02:00
# This page will tell you the ways to install the display driver in different operating system and some using tips of the display
2024-08-02 21:10:45 +02:00
### 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#installing-the-operating-system), when you choose device, select Raspberry Pi Zero 2W.
### There is a mini-HDMI port on the top side of HackberryPi. You can connect it with another screen. You can use the following commands to disable/enable the displaying.
```sh
vcgencmd display_power 0
vcgencmd display_power 1
```
2024-08-02 21:14:22 +02:00
### The default backlight brightness of the display after you turn HackberryPi on would be 50%. There is a physical button of the top side of HackberryPi. You can single press it to toggle the backlight of the display. You can also adjust the backlight brightness by long pressing the button: If you first long press the button the backlight brightness will slowly increase to 100%, if you now release the button and long press the button again, the backlight brightness of the display will slowly drop to 10%.
2024-07-30 12:03:14 +02:00
# Raspberry Pi OS after 04/04/2022 or later
2024-07-29 21:45:49 +02:00
2024-07-29 21:51:17 +02:00
Add the following line in `/boot/config.txt` in your TF card
2024-07-29 22:03:30 +02:00
```sh
dtoverlay=vc4-kms-dpi-hyperpixel4sq
```
2024-07-29 21:51:17 +02:00
And the `config.txt` file will look like this:
2024-07-29 21:55:32 +02:00
![image](https://github.com/user-attachments/assets/33139e0d-2477-4732-8ff5-a3e2bce9d383)
2024-07-29 21:52:18 +02:00
Now you can insert the TF card in to the slot and your HackberryPi will run Raspberry Pi OS on the screen.
2024-07-29 22:29:30 +02:00
![RaspberryPiOSfoto](https://github.com/user-attachments/assets/faff7b6f-a20e-45b8-801a-6f6dfe51b122)
2024-07-29 21:52:18 +02:00
2024-07-30 12:03:14 +02:00
# Kali Linux or Raspberry Pi OS before 04/04/2022
2024-07-29 21:55:32 +02:00
2024-07-29 22:06:16 +02:00
### Step 1
2024-07-29 21:55:32 +02:00
Add the following lines in `/boot/config.txt` in your TF card
2024-07-29 22:04:32 +02:00
```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
```
2024-07-29 22:07:05 +02:00
And the `config.txt` file will look like this:
![image](https://github.com/user-attachments/assets/eb698c68-0dce-4346-9013-562dcafa3381)
2024-07-29 22:06:16 +02:00
### Step 2
2024-07-29 22:08:46 +02:00
Download the `hyperpixel4.dtbo`file in this github page
Put the `hyperpixel4.dtbo`file into `/boot/overlays`folder
2024-07-29 22:06:16 +02:00
Now you can insert the TF card in to the slot and your HackberryPi will run Kali Linux on the screen.
2024-07-29 22:27:21 +02:00
![Kalilinux Foto](https://github.com/user-attachments/assets/59792d53-11be-4482-83eb-5bd8ca7a9110)
2024-07-29 22:08:46 +02:00
# RetroPi OS
2024-07-29 22:24:24 +02:00
### 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:
2024-07-29 22:24:46 +02:00
![image](https://github.com/user-attachments/assets/40c5440e-34c2-45ca-aa42-7911d98e7115)
2024-07-29 22:24:24 +02:00
### 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.
2024-07-29 22:31:41 +02:00
![RetroPiFoto](https://github.com/user-attachments/assets/8cc5cef6-7c7e-4d3f-ad7a-3357ff6c9ce3)