Skip to content

Commit

Permalink
add the bcm27xx target files intended to be in the prior commit
Browse files Browse the repository at this point in the history
  • Loading branch information
aimacintyre committed Feb 9, 2023
1 parent 12f5269 commit cf90b72
Show file tree
Hide file tree
Showing 13 changed files with 18,371 additions and 0 deletions.
11 changes: 11 additions & 0 deletions targets/bcm27xx/patches/10-fix-kernel-patchver.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
--- a/target/linux/bcm27xx/Makefile
+++ b/target/linux/bcm27xx/Makefile
@@ -11,7 +11,7 @@ BOARDNAME:=Broadcom BCM27xx
FEATURES:=audio boot-part display ext4 fpu gpio rootfs-part rtc squashfs usb usbgadget
SUBTARGETS:=bcm2708 bcm2709 bcm2710 bcm2711

-KERNEL_PATCHVER=5.10
+KERNEL_PATCHVER:=5.10

define Target/Description
Build firmware image for Broadcom BCM27xx SoC devices.
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
--- a/target/linux/bcm27xx/bcm2708/config-5.10
+++ b/target/linux/bcm27xx/bcm2708/config-5.10
@@ -354,6 +354,7 @@ CONFIG_USB_UAS=y
CONFIG_USB_USBNET=y
CONFIG_USE_OF=y
CONFIG_VFP=y
+# CONFIG_VIDEO_BCM2835_UNICAM is not set
CONFIG_VT=y
CONFIG_VT_CONSOLE=y
CONFIG_VT_CONSOLE_SLEEP=y
--- a/target/linux/bcm27xx/bcm2709/config-5.10
+++ b/target/linux/bcm27xx/bcm2709/config-5.10
@@ -449,6 +449,7 @@
CONFIG_USE_OF=y
CONFIG_VFP=y
CONFIG_VFPv3=y
+# CONFIG_VIDEO_BCM2835_UNICAM is not set
CONFIG_VT=y
CONFIG_VT_CONSOLE=y
CONFIG_VT_CONSOLE_SLEEP=y
--- a/target/linux/bcm27xx/bcm2710/config-5.10
+++ b/target/linux/bcm27xx/bcm2710/config-5.10
@@ -435,6 +435,7 @@
CONFIG_USB_SUPPORT=y
CONFIG_USB_UAS=y
CONFIG_USB_USBNET=y
+# CONFIG_VIDEO_BCM2835_UNICAM is not set
CONFIG_VMAP_STACK=y
CONFIG_VT=y
CONFIG_VT_CONSOLE=y
--- a/target/linux/bcm27xx/bcm2711/config-5.10
+++ b/target/linux/bcm27xx/bcm2711/config-5.10
@@ -449,6 +449,7 @@
CONFIG_USB_XHCI_HCD=y
CONFIG_USB_XHCI_PCI=y
CONFIG_USB_XHCI_PLATFORM=y
+# CONFIG_VIDEO_BCM2835_UNICAM is not set
CONFIG_VMAP_STACK=y
CONFIG_VT=y
CONFIG_VT_CONSOLE=y
10 changes: 10 additions & 0 deletions targets/bcm27xx/patches/50-add-eth1-to-board-config.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
--- a/target/linux/bcm27xx/base-files/etc/board.d/02_network 2021-08-21 22:15:47.655631601 +1000
+++ b/target/linux/bcm27xx/base-files/etc/board.d/02_network 2021-08-31 23:40:12.527169670 +1000
@@ -21,6 +21,7 @@
raspberrypi,4-compute-module |\
raspberrypi,4-model-b)
ucidef_set_interface_lan "eth0"
+ [ -d /sys/class/net/eth1 ] && ucidef_set_interface_wan "eth1"
;;

raspberrypi,model-zero-w)

0 comments on commit cf90b72

Please sign in to comment.