diff options
author | Szabolcs Sipos | 2021-11-18 01:05:23 +0000 |
---|---|---|
committer | Szabolcs Sipos | 2021-11-18 01:05:23 +0000 |
commit | e464fcc2083afe404ec30e1b5d88439e4bb66cca (patch) | |
tree | a8b4246cf5a6e0db113fa8f596bd2d47014f50fd | |
download | aur-e464fcc2083afe404ec30e1b5d88439e4bb66cca.tar.gz |
Initial commit - v1
-rw-r--r-- | .SRCINFO | 19 | ||||
-rw-r--r-- | .gitignore | 9 | ||||
-rw-r--r-- | PKGBUILD | 21 | ||||
-rwxr-xr-x | cmdline.txt | 1 | ||||
-rwxr-xr-x | config.txt | 5 |
5 files changed, 55 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..607b5ef8b48c --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,19 @@ +pkgbase = raspberrypi-aarch64-directboot + pkgdesc = Boot linux-aarch64 on a Raspberry Pi without U-Boot + pkgver = 1 + pkgrel = 1 + arch = aarch64 + license = GPL2 + depends = raspberrypi-bootloader + depends = raspberrypi-devicetree + depends = linux-aarch64 + conflicts = uboot-raspberrypi + options = !strip + backup = boot/config.txt + backup = boot/cmdline.txt + source = config.txt + source = cmdline.txt + md5sums = SKIP + md5sums = SKIP + +pkgname = raspberrypi-aarch64-directboot diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..789f6f137637 --- /dev/null +++ b/.gitignore @@ -0,0 +1,9 @@ +# Ignore everything +* + +# Except these files +!.gitignore +!PKGBUILD +!.SRCINFO +!cmdline.txt +!config.txt diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..b76954e818b8 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,21 @@ +# Maintainer: Szabolcs Sipos <archur [at] balfug [dot] com> + +buildarch=8 + +pkgname=raspberrypi-aarch64-directboot +pkgdesc="Boot linux-aarch64 on a Raspberry Pi without U-Boot" +pkgver=1 +pkgrel=1 +arch=(aarch64) +depends=('raspberrypi-bootloader' 'raspberrypi-devicetree' 'linux-aarch64') +conflicts=('uboot-raspberrypi') +license=(GPL2) +options=(!strip) +source=('config.txt' 'cmdline.txt') +md5sums=('SKIP' 'SKIP') +backup=('boot/config.txt' 'boot/cmdline.txt') + +package() { + mkdir -p "${pkgdir}"/boot + cp "${srcdir}"/{config.txt,cmdline.txt} "${pkgdir}"/boot +} diff --git a/cmdline.txt b/cmdline.txt new file mode 100755 index 000000000000..6a70f1317977 --- /dev/null +++ b/cmdline.txt @@ -0,0 +1 @@ +root=/dev/mmcblk0p2 rw rootwait console=tty1 diff --git a/config.txt b/config.txt new file mode 100755 index 000000000000..1a00ebeba639 --- /dev/null +++ b/config.txt @@ -0,0 +1,5 @@ +arm_64bit=1 +kernel=Image +initramfs initramfs-linux.img followkernel + +dtoverlay=upstream |