Hackberry-Pi_Zero/Screen
Zitao 919cd834a8
Update README.md
2024-08-02 21:15:06 +02:00
..
README.md Update README.md 2024-08-02 21:15:06 +02:00
hyperpixel4.dtbo Add files via upload 2024-07-29 22:07:48 +02:00

README.md

This page will tell you the ways to install the display driver in different operating system and some using tips of the display

First you need to install the operating system you need into RaspberryPi, this is the tutorial, 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.

vcgencmd display_power 0
vcgencmd display_power 1

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%.

Raspberry Pi OS after 04/04/2022 or later

Add the following line in /boot/config.txt in your TF card

dtoverlay=vc4-kms-dpi-hyperpixel4sq

And the config.txt file will look like this:
image
Now you can insert the TF card in to the slot and your HackberryPi will run Raspberry Pi OS on the screen.
RaspberryPiOSfoto

Kali Linux or Raspberry Pi OS before 04/04/2022

Step 1

Add the following lines in /boot/config.txt in your TF card

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

Step 2

Download the hyperpixel4.dtbofile in this github page
Put the hyperpixel4.dtbofile into /boot/overlaysfolder
Now you can insert the TF card in to the slot and your HackberryPi will run Kali Linux on the screen.
Kalilinux Foto

RetroPi OS

Step 1

Add the following lines in /boot/config.txt in your TF card

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

Step 2

Download the hyperpixel4.dtbofile in this github page
Put the hyperpixel4.dtbofile into /boot/overlaysfolder
Now you can insert the TF card in to the slot and your HackberryPi will run RetroPi OS on the screen.
RetroPiFoto