-
Notifications
You must be signed in to change notification settings - Fork 54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for RaspberryPi 1 #7
Comments
Ok, added support by myself: #8 |
Raspberry pi 1 doesn't support ARMv7 but ARMhf. Apply this patch: diff --git a/bootstrap/00-kernel b/bootstrap/00-kernel
index 9a060f7..95471f0 100755
--- a/bootstrap/00-kernel
+++ b/bootstrap/00-kernel
@@ -2,24 +2,28 @@
set -xe
-apk add linux-rpi linux-rpi4 raspberrypi-bootloader zram-init
+apk add linux-rpi raspberrypi-bootloader zram-init
rc-update add zram-init boot
echo "modules=loop,squashfs,sd-mod,usb-storage root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline fsck.repair=yes console=tty1 rootwait quiet" > /boot/cmdline.txt
cat <<EOF > /boot/config.txt
+[pi]
+kernel=vmlinuz-rpi
+initramfs initramfs-rpi
+[pi1]
+kernel=vmlinuz-rpi
+initramfs initramfs-rpi
+[pi2]
+kernel=vmlinuz-rpi
+initramfs initramfs-rpi
[pi3]
kernel=vmlinuz-rpi
initramfs initramfs-rpi
[pi3+]
kernel=vmlinuz-rpi
initramfs initramfs-rpi
-[pi4]
-enable_gic=1
-kernel=vmlinuz-rpi4
-initramfs initramfs-rpi4
[all]
-arm_64bit=1
include usercfg.txt
EOF Then this command: EDIT: If needed my own fork of this repo: https://bitbucket.org/unixfox/alpine-raspberry-pi |
I have an old RaspberryPi 1 laying around and would like to use it for a project and it would really benefit from a slim Alpine image. Could you add a armv7 build as well?
The text was updated successfully, but these errors were encountered: