aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--target/linux/bcm27xx/base-files/etc/board.d/02_network1
-rw-r--r--target/linux/bcm27xx/base-files/etc/diag.sh1
-rw-r--r--target/linux/bcm27xx/image/Makefile16
3 files changed, 12 insertions, 6 deletions
diff --git a/target/linux/bcm27xx/base-files/etc/board.d/02_network b/target/linux/bcm27xx/base-files/etc/board.d/02_network
index b4394f6922..23bc9afdb9 100644
--- a/target/linux/bcm27xx/base-files/etc/board.d/02_network
+++ b/target/linux/bcm27xx/base-files/etc/board.d/02_network
@@ -23,6 +23,7 @@ raspberrypi,model-b-rev2)
ucidef_set_interface_lan "eth0"
;;
+raspberrypi,model-zero-2 |\
raspberrypi,model-zero-w)
ucidef_set_interface_lan "wlan0"
;;
diff --git a/target/linux/bcm27xx/base-files/etc/diag.sh b/target/linux/bcm27xx/base-files/etc/diag.sh
index a22ffd3f2a..180b31ec95 100644
--- a/target/linux/bcm27xx/base-files/etc/diag.sh
+++ b/target/linux/bcm27xx/base-files/etc/diag.sh
@@ -20,6 +20,7 @@ set_state() {
raspberrypi,3-compute-module |\
raspberrypi,model-b |\
raspberrypi,model-zero |\
+ raspberrypi,model-zero-2 |\
raspberrypi,model-zero-w)
status_led="led0"
;;
diff --git a/target/linux/bcm27xx/image/Makefile b/target/linux/bcm27xx/image/Makefile
index 83d255f326..4cd1052941 100644
--- a/target/linux/bcm27xx/image/Makefile
+++ b/target/linux/bcm27xx/image/Makefile
@@ -96,13 +96,15 @@ define Device/rpi-2
bcm2709-rpi-2-b bcm2710-rpi-2-b \
bcm2710-rpi-3-b bcm2710-rpi-3-b-plus \
bcm2711-rpi-4-b bcm2711-rpi-400 \
- bcm2710-rpi-cm3 bcm2711-rpi-cm4
+ bcm2710-rpi-cm3 bcm2711-rpi-cm4 \
+ bcm2710-rpi-zero-2
SUPPORTED_DEVICES := \
- rpi-2-b rpi-3-b rpi-3-b-plus rpi-cm \
+ rpi-2-b rpi-3-b rpi-3-b-plus rpi-cm rpi-zero-2 \
raspberrypi,2-model-b raspberrypi,2-model-b-rev2 \
raspberrypi,3-model-b raspberrypi,3-model-b-plus \
raspberrypi,3-compute-module raspberrypi,compute-module-3 \
- raspberrypi,400 raspberrypi,4-compute-module raspberrypi,4-model-b
+ raspberrypi,400 raspberrypi,4-compute-module raspberrypi,4-model-b \
+ raspberrypi,model-zero-2
DEVICE_PACKAGES := \
cypress-firmware-43430-sdio \
cypress-nvram-43430-sdio-rpi-3b \
@@ -126,12 +128,14 @@ define Device/rpi-3
DEVICE_DTS := \
broadcom/bcm2710-rpi-2-b \
broadcom/bcm2710-rpi-3-b broadcom/bcm2710-rpi-3-b-plus \
- broadcom/bcm2710-rpi-cm3
+ broadcom/bcm2710-rpi-cm3 \
+ broadcom/bcm2710-rpi-zero-2
SUPPORTED_DEVICES := \
- rpi-3-b rpi-3-b-plus \
+ rpi-3-b rpi-3-b-plus rpi-zero-2 \
raspberrypi,2-model-b-rev2 \
raspberrypi,3-model-b raspberrypi,3-model-b-plus \
- raspberrypi,3-compute-module raspberrypi,compute-module-3
+ raspberrypi,3-compute-module raspberrypi,compute-module-3 \
+ raspberrypi,model-zero-2
DEVICE_PACKAGES := \
cypress-firmware-43430-sdio \
cypress-nvram-43430-sdio-rpi-3b \