Skip to content

Commit

Permalink
Add support for raspberrypi0-2w-64
Browse files Browse the repository at this point in the history
Signed-off-by: Drew Moseley <[email protected]>
  • Loading branch information
drewmoseley authored and microhobby committed Sep 18, 2024
1 parent 53dfe9f commit 14b47ca
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 1 deletion.
3 changes: 3 additions & 0 deletions conf/machine/include/raspberrypi0-2w-64.inc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
require raspberrypi3-64.inc

KERNEL_DEVICETREE:raspberrypi0-2w-64:sota ?= " broadcom/bcm2710-rpi-zero-2.dtb overlays/vc4-fkms-v3d.dtbo overlays/rpi-ft5406.dtbo"
22 changes: 22 additions & 0 deletions recipes-kernel/linux/files/raspberrypi0-2w-64.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
CONFIG_I2C_ALGOBIT=y
CONFIG_CEC_CORE=y
CONFIG_DRM=y
# CONFIG_DRM_DEBUG_MM is not set
CONFIG_DRM_KMS_HELPER=y
CONFIG_DRM_SCHED=y
CONFIG_DRM_V3D=y
CONFIG_SND=y
CONFIG_SND_SOC=y
CONFIG_SND_BCM2835=y
CONFIG_DRM_VC4=y
CONFIG_DRM_PANEL_ORIENTATION_QUIRKS=y
CONFIG_FB_CFB_FILLRECT=y
CONFIG_FB_CFB_COPYAREA=y
CONFIG_FB_CFB_IMAGEBLIT=y
CONFIG_FB_SYS_FILLRECT=y
CONFIG_FB_SYS_COPYAREA=y
CONFIG_FB_SYS_IMAGEBLIT=y
CONFIG_FB_SYS_FOPS=y
CONFIG_BACKLIGHT_CLASS_DEVICE=y
CONFIG_DRM_PANEL_SIMPLE=y
CONFIG_DRM_PANEL_RASPBERRYPI_TOUCHSCREEN=y
2 changes: 1 addition & 1 deletion scripts/setup-environment-internal
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ fi
# Create a common list of "<machine>(<layer>)", sorted by <machine>
# Blacklist unsupported machines of TorizonCore
MACHLAYERS=$(find layers/ -print | grep "conf/machine/.*\.conf" |
grep -E '(apalis.*\.conf|colibri.*\.conf|verdin.*\.conf|qemuarm64\.conf|genericx86-64\.conf|raspberrypi4-64\.conf|raspberrypi3-64\.conf|intel-corei7-64\.conf|nezha-allwinner-d1\.conf|beaglebone-yocto\.conf|beagleplay\.conf)' |
grep -E '(apalis.*\.conf|colibri.*\.conf|verdin.*\.conf|qemuarm64\.conf|genericx86-64\.conf|raspberrypi4-64\.conf|raspberrypi3-64\.conf|raspberrypi0-2w-64\.conf|intel-corei7-64\.conf|nezha-allwinner-d1\.conf|beaglebone-yocto\.conf|beagleplay\.conf)' |
grep -E -v '(imx7-nand|colibri-vf|tk1|colibri-imx7|colibri-imx6ull|verdin-am62-k3r5)\.conf' |
sed -e 's/\.conf//g' -e 's/layers\///' |
awk -F'/conf/machine/' '{print $NF "(" $1 ")"}' | LC_ALL=C sort)
Expand Down

0 comments on commit 14b47ca

Please sign in to comment.