Procházet zdrojové kódy

Initial ARM64 Support

pull/71/head
luigifcruz před 2 roky
rodič
revize
7852180dd9
5 změnil soubory, kde provedl 13 přidání a 5 odebrání
  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 Zobrazit soubor

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

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


+ 1
- 0
stage0/00-configure-apt/00-run.sh Zobrazit soubor

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

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

+ 7
- 3
stage0/00-configure-apt/files/sources.list Zobrazit soubor

@@ -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 Zobrazit soubor

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

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

+ 3
- 0
stage1/00-boot-files/files/config.txt Zobrazit soubor

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

# Run in 64-bit mode
arm_64bit=1

# Disable compensation for displays with overscan
disable_overscan=1



Načítá se…
Zrušit
Uložit