Browse Source

Initial ARM64 Support

pull/71/head
luigifcruz 2 years ago
parent
commit
7852180dd9
5 changed files with 13 additions and 5 deletions
  1. +1
    -1
      scripts/common
  2. +1
    -0
      stage0/00-configure-apt/00-run.sh
  3. +7
    -3
      stage0/00-configure-apt/files/sources.list
  4. +1
    -1
      stage0/prerun.sh
  5. +3
    -0
      stage1/00-boot-files/files/config.txt

+ 1
- 1
scripts/common View File

@@ -13,7 +13,7 @@ bootstrap(){
BOOTSTRAP_CMD=qemu-debootstrap BOOTSTRAP_CMD=qemu-debootstrap
fi fi


BOOTSTRAP_ARGS+=(--arch armhf)
BOOTSTRAP_ARGS+=(--arch arm64)
BOOTSTRAP_ARGS+=(--components "main,contrib,non-free") BOOTSTRAP_ARGS+=(--components "main,contrib,non-free")
BOOTSTRAP_ARGS+=(--keyring "${STAGE_DIR}/files/raspberrypi.gpg") BOOTSTRAP_ARGS+=(--keyring "${STAGE_DIR}/files/raspberrypi.gpg")
BOOTSTRAP_ARGS+=(--exclude=info) BOOTSTRAP_ARGS+=(--exclude=info)


+ 1
- 0
stage0/00-configure-apt/00-run.sh View File

@@ -14,6 +14,7 @@ fi


on_chroot apt-key add - < files/raspberrypi.gpg.key on_chroot apt-key add - < files/raspberrypi.gpg.key
on_chroot << EOF on_chroot << EOF
dpkg --add-architecture armhf
apt-get update apt-get update
apt-get dist-upgrade -y apt-get dist-upgrade -y
EOF EOF

+ 7
- 3
stage0/00-configure-apt/files/sources.list View File

@@ -1,3 +1,7 @@
deb http://raspbian.raspberrypi.org/raspbian/ RELEASE main contrib non-free rpi
# Uncomment line below then 'apt-get update' to enable 'apt-get source'
#deb-src http://raspbian.raspberrypi.org/raspbian/ RELEASE main contrib non-free rpi
deb http://deb.debian.org/debian RELEASE main contrib non-free
deb http://security.debian.org/debian-security RELEASE-security main contrib non-free
deb http://deb.debian.org/debian RELEASE-updates main contrib non-free
# Uncomment deb-src lines below then 'apt-get update' to enable 'apt-get source'
#deb-src http://deb.debian.org/debian RELEASE main contrib non-free
#deb-src http://security.debian.org/debian-security RELEASE-security main contrib non-free
#deb-src http://deb.debian.org/debian RELEASE-updates main contrib non-free

+ 1
- 1
stage0/prerun.sh View File

@@ -1,5 +1,5 @@
#!/bin/bash -e #!/bin/bash -e


if [ ! -d "${ROOTFS_DIR}" ] || [ "${USE_QCOW2}" = "1" ]; then if [ ! -d "${ROOTFS_DIR}" ] || [ "${USE_QCOW2}" = "1" ]; then
bootstrap ${RELEASE} "${ROOTFS_DIR}" http://raspbian.raspberrypi.org/raspbian/
bootstrap ${RELEASE} "${ROOTFS_DIR}" http://deb.debian.org/debian/
fi fi

+ 3
- 0
stage1/00-boot-files/files/config.txt View File

@@ -62,6 +62,9 @@ display_auto_detect=1
dtoverlay=vc4-kms-v3d dtoverlay=vc4-kms-v3d
max_framebuffers=2 max_framebuffers=2


# Run in 64-bit mode
arm_64bit=1

# Disable compensation for displays with overscan # Disable compensation for displays with overscan
disable_overscan=1 disable_overscan=1




Loading…
Cancel
Save