-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #308 from skiffos/add-pi-5
pi/common: add support for pi 5 and cleanup
- Loading branch information
Showing
23 changed files
with
237 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
console=tty1 console=serial0,115200 root=/dev/ram0 ro net.ifnames=0 dwc_otg.lpm_enable=0 cgroup_enable=cpuset cgroup_enable=memory |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
# For more options and information see | ||
# http://rpf.io/configtxt | ||
# Some settings may impact device functionality. | ||
|
||
# This is the default Skiff config.txt. | ||
# You should customize it to your own needs. | ||
# Create a Skiff config, and copy this file to: | ||
# my/config/resources/rpi/config.txt | ||
|
||
kernel=zImage | ||
initramfs rootfs.cpio.lz4 | ||
|
||
start_file=start_x.elf | ||
fixup_file=fixup_x.dat | ||
|
||
# fixes rpi (3B, 3B+, 3A+, 4B ,zero W and zero 2) ttyAMA0 serial console | ||
dtoverlay=miniuart-bt | ||
|
||
# enable autoprobing of Bluetooth driver without need of hciattach/btattach | ||
dtoverlay=krnbt=on | ||
|
||
# GPU memory | ||
gpu_mem_256=100 | ||
gpu_mem_512=100 | ||
gpu_mem_1024=100 | ||
|
||
# Disable overscan assuming the display supports displaying the full resolution | ||
# If the text shown on the screen disappears off the edge, comment this out | ||
disable_overscan=1 | ||
|
||
# Enable GPIO features | ||
# dtparam=i2c_arm=on | ||
# dtparam=spi=on | ||
# dtparam=i2s=on | ||
|
||
# Audio card | ||
dtparam=audio=on | ||
# dtoverlay=hifiberry-dac | ||
# dtoverlay=hifiberry-dacplus | ||
# dtoverlay=hifiberry-digi | ||
# dtoverlay=iqaudio-dac | ||
# dtoverlay=iqaudio-dacplus | ||
|
||
# Heartbeat LED | ||
# dtparam=act_led_trigger=heartbeat | ||
|
||
# Allow the board to draw additional voltage. | ||
# Note: this sets a permanent overclock canary bit on the Pi. | ||
# over_voltage=4 | ||
|
||
# Forces the CPU to run at maximum clock speed (expect heat) | ||
# force_turbo=1 | ||
|
||
# Forces CPU to run in turbo for initial seconds | ||
# initial_turbo=45 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
console=tty1 console=serial0,115200 root=/dev/ram0 ro net.ifnames=0 dwc_otg.lpm_enable=0 cgroup_enable=cpuset cgroup_enable=memory |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
# For more options and information see | ||
# http://rpf.io/configtxt | ||
# Some settings may impact device functionality. | ||
|
||
# This is the default Skiff config.txt. | ||
# You should customize it to your own needs. | ||
# Create a Skiff config, and copy this file to: | ||
# my/config/resources/rpi/config.txt | ||
|
||
kernel=zImage | ||
initramfs rootfs.cpio.lz4 | ||
|
||
start_file=start_x.elf | ||
fixup_file=fixup_x.dat | ||
|
||
# fixes rpi (3B, 3B+, 3A+, 4B ,zero W and zero 2) ttyAMA0 serial console | ||
dtoverlay=miniuart-bt | ||
|
||
# enable autoprobing of Bluetooth driver without need of hciattach/btattach | ||
dtoverlay=krnbt=on | ||
|
||
# GPU memory | ||
gpu_mem_256=100 | ||
gpu_mem_512=100 | ||
gpu_mem_1024=100 | ||
|
||
# Disable overscan assuming the display supports displaying the full resolution | ||
# If the text shown on the screen disappears off the edge, comment this out | ||
disable_overscan=1 | ||
|
||
# Enable GPIO features | ||
# dtparam=i2c_arm=on | ||
# dtparam=spi=on | ||
# dtparam=i2s=on | ||
|
||
# Audio card | ||
dtparam=audio=on | ||
# dtoverlay=hifiberry-dac | ||
# dtoverlay=hifiberry-dacplus | ||
# dtoverlay=hifiberry-digi | ||
# dtoverlay=iqaudio-dac | ||
# dtoverlay=iqaudio-dacplus | ||
|
||
# Heartbeat LED | ||
# dtparam=act_led_trigger=heartbeat | ||
|
||
# Allow the board to draw additional voltage. | ||
# Note: this sets a permanent overclock canary bit on the Pi. | ||
# over_voltage=4 | ||
|
||
# Forces the CPU to run at maximum clock speed (expect heat) | ||
# force_turbo=1 | ||
|
||
# Forces CPU to run in turbo for initial seconds | ||
# initial_turbo=45 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
console=tty1 console=serial0,115200 root=/dev/ram0 ro net.ifnames=0 dwc_otg.lpm_enable=0 cgroup_enable=cpuset cgroup_enable=memory |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
# For more options and information see | ||
# http://rpf.io/configtxt | ||
# Some settings may impact device functionality. | ||
|
||
# This is the default Skiff config.txt. | ||
# You should customize it to your own needs. | ||
# Create a Skiff config, and copy this file to: | ||
# my/config/resources/rpi/config.txt | ||
|
||
kernel=zImage | ||
initramfs rootfs.cpio.lz4 | ||
|
||
start_file=start_x.elf | ||
fixup_file=fixup_x.dat | ||
|
||
# fixes rpi (3B, 3B+, 3A+, 4B ,zero W and zero 2) ttyAMA0 serial console | ||
dtoverlay=miniuart-bt | ||
|
||
# enable autoprobing of Bluetooth driver without need of hciattach/btattach | ||
dtoverlay=krnbt=on | ||
|
||
# GPU memory | ||
gpu_mem_256=100 | ||
gpu_mem_512=100 | ||
gpu_mem_1024=100 | ||
|
||
# Disable overscan assuming the display supports displaying the full resolution | ||
# If the text shown on the screen disappears off the edge, comment this out | ||
disable_overscan=1 | ||
|
||
# Enable GPIO features | ||
# dtparam=i2c_arm=on | ||
# dtparam=spi=on | ||
# dtparam=i2s=on | ||
|
||
# Audio card | ||
dtparam=audio=on | ||
# dtoverlay=hifiberry-dac | ||
# dtoverlay=hifiberry-dacplus | ||
# dtoverlay=hifiberry-digi | ||
# dtoverlay=iqaudio-dac | ||
# dtoverlay=iqaudio-dacplus | ||
|
||
# Heartbeat LED | ||
# dtparam=act_led_trigger=heartbeat | ||
|
||
# Allow the board to draw additional voltage. | ||
# Note: this sets a permanent overclock canary bit on the Pi. | ||
# over_voltage=4 | ||
|
||
# Forces the CPU to run at maximum clock speed (expect heat) | ||
# force_turbo=1 | ||
|
||
# Forces CPU to run in turbo for initial seconds | ||
# initial_turbo=45 |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
BR2_LINUX_KERNEL_USE_DEFCONFIG=y | ||
BR2_LINUX_KERNEL_DEFCONFIG="bcm2711" | ||
BR2_LINUX_KERNEL_DTS_SUPPORT=y | ||
BR2_LINUX_KERNEL_INTREE_DTS_NAME="bcm2711-rpi-4-b" | ||
|
||
BR2_LINUX_KERNEL_INTREE_DTS_NAME="broadcom/bcm2711-rpi-4-b broadcom/bcm2711-rpi-400 broadcom/bcm2711-rpi-cm4 broadcom/bcm2711-rpi-cm4s broadcom/bcm2712-rpi-5-b" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
BR2_LINUX_KERNEL_USE_DEFCONFIG=y | ||
BR2_LINUX_KERNEL_DEFCONFIG="bcm2711" | ||
BR2_LINUX_KERNEL_DTS_SUPPORT=y | ||
BR2_LINUX_KERNEL_INTREE_DTS_NAME="broadcom/bcm2711-rpi-4-b broadcom/bcm2711-rpi-400 broadcom/bcm2711-rpi-cm4" | ||
BR2_LINUX_KERNEL_INTREE_DTS_NAME="broadcom/bcm2711-rpi-4-b broadcom/bcm2711-rpi-400 broadcom/bcm2711-rpi-cm4 broadcom/bcm2711-rpi-cm4s broadcom/bcm2712-rpi-5-b" |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
BR2_aarch64=y | ||
BR2_cortex_a76=y |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
BR2_LINUX_KERNEL_USE_DEFCONFIG=y | ||
BR2_LINUX_KERNEL_DEFCONFIG="bcm2712" | ||
BR2_LINUX_KERNEL_DTS_SUPPORT=y | ||
BR2_LINUX_KERNEL_INTREE_DTS_NAME="broadcom/bcm2711-rpi-4-b broadcom/bcm2711-rpi-400 broadcom/bcm2711-rpi-cm4 broadcom/bcm2711-rpi-cm4s broadcom/bcm2712-rpi-5-b" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
pi/common |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Configuration for the Pi 5. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Use rngd instead of haveged. | ||
# BR2_PACKAGE_HAVEGED is not set | ||
BR2_PACKAGE_RNG_TOOLS=y |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
console=tty1 console=serial0,115200 root=/dev/ram0 ro net.ifnames=0 dwc_otg.lpm_enable=0 cgroup_enable=cpuset cgroup_enable=memory | ||
console=tty1 console=ttyAMA0,115200 root=/dev/ram0 ro net.ifnames=0 dwc_otg.lpm_enable=0 cgroup_enable=cpuset cgroup_enable=memory usbhid.mousepoll=0 consoleblank=0 cma=384M |
Oops, something went wrong.