summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoonas Kuorilehto <joneskoo@derbian.fi>2022-03-19 20:53:46 +0200
committerJoonas Kuorilehto <joneskoo@derbian.fi>2022-03-19 20:53:51 +0200
commit5c3c4b5a849128310489f9316efa64aac33b32f6 (patch)
treec329adcaebd9e07359ab59f2a249cd914bfbb0e8
parent9addb55e828832bce894d073c9f7480759c289f6 (diff)
downloadalpine-conf-5c3c4b5a849128310489f9316efa64aac33b32f6.zip
setup-disk: add support for Raspberry Zero 2 W
https://www.raspberrypi.com/documentation/computers/config_txt.html#model-filters Related: alpine/aports!31953
-rw-r--r--setup-disk.in9
1 files changed, 9 insertions, 0 deletions
diff --git a/setup-disk.in b/setup-disk.in
index 31a07a6..f8c1e42 100644
--- a/setup-disk.in
+++ b/setup-disk.in
@@ -416,6 +416,9 @@ rpi_gen_config() {
[pi1]
kernel=vmlinuz-rpi
initramfs initramfs-rpi
+ [pi02]
+ kernel=vmlinuz-rpi2
+ initramfs initramfs-rpi2
[pi2]
kernel=vmlinuz-rpi2
initramfs initramfs-rpi2
@@ -431,6 +434,9 @@ rpi_gen_config() {
;;
armv7)
cat <<-EOF
+ [pi02]
+ kernel=vmlinuz-rpi2
+ initramfs initramfs-rpi2
[pi2]
kernel=vmlinuz-rpi2
initramfs initramfs-rpi2
@@ -449,6 +455,9 @@ rpi_gen_config() {
;;
aarch64)
cat <<-EOF
+ [pi02]
+ kernel=vmlinuz-rpi
+ initramfs initramfs-rpi
[pi3]
kernel=vmlinuz-rpi
initramfs initramfs-rpi