summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--uboot-sunxi/PKGBUILD92
-rw-r--r--uboot-sunxi/boot.txt16
-rwxr-xr-xuboot-sunxi/mkscr9
-rw-r--r--uboot-sunxi/uboot-sunxi.install22
4 files changed, 0 insertions, 139 deletions
diff --git a/uboot-sunxi/PKGBUILD b/uboot-sunxi/PKGBUILD
deleted file mode 100644
index e145e841e..000000000
--- a/uboot-sunxi/PKGBUILD
+++ /dev/null
@@ -1,92 +0,0 @@
-# Maintainer: Erich Eckner <arch at eckner dot net>
-# Contributor: Christopher Reimer <mail+aur[at]c-reimer[dot]de>
-# Contributor: Kevin Mihelich <kevin@archlinuxarm.org>
-
-# ist alles absichtlich nicht any ohne ELF Dateien
-
-pkgbase=uboot-sunxi
-_boards=(
- 'uboot-a10-olinuxino-lime A10-OLinuXino-Lime'
- 'uboot-a10s-olinuxino-micro A10s-OLinuXino-M'
- 'uboot-a13-olinuxino A13-OLinuXino'
- 'uboot-a13-olinuxino-micro A13-OLinuXinoM'
- 'uboot-a20-olinuxino-lime A20-OLinuXino-Lime'
- 'uboot-a20-olinuxino-lime2 A20-OLinuXino-Lime2'
- 'uboot-a20-olinuxino-micro A20-OLinuXino_MICRO'
- 'uboot-bananapi Bananapi'
-# 'uboot-bananapi-m1-plus bananapi_m1_plus'
-# 'uboot-bananapi-m2-berry bananapi_m2_berry'
-# 'uboot-Bananapi-m2m Bananapi_m2m'
-# 'uboot-bananapi-m2-plus_h3 bananapi_m2_plus_h3'
-# 'uboot-bananapi-m2-plus_h5 bananapi_m2_plus_h5'
-# 'uboot-Bananapi-m2-ultra Bananapi_M2_Ultra'
-# 'uboot-bananapi-m2-zero bananapi_m2_zero'
-# 'uboot-Bananapro Bananapro'
- 'uboot-cubieboard Cubieboard'
- 'uboot-cubieboard2 Cubieboard2'
- 'uboot-cubietruck Cubietruck'
- 'uboot-pcduino Linksprite_pcDuino'
- 'uboot-pcduino3 Linksprite_pcDuino3'
- 'uboot-pcduino3-nano Linksprite_pcDuino3_Nano'
-)
-pkgname=("${_boards[@]%% *}")
-pkgdesc='U-Boot for several architectures'
-pkgver=2021.04
-pkgrel=1
-arch=('armv7h')
-url="http://git.denx.de/u-boot.git/"
-license=('GPL')
-makedepends=('git' 'swig' 'bc' 'dtc' 'python2' 'python')
-backup=(boot/boot.txt boot/boot.scr)
-source=("ftp://ftp.denx.de/pub/u-boot/u-boot-${pkgver}.tar.bz2"
- 'boot.txt'
- 'mkscr')
-sha512sums=('c24835a520bfd528032614576ca552e55e6de129372e72e22e80e0d45dc5c1c75aa4aad80e856d5bbd7146ec092cac52a6f352253cf3fdf9fe536f5e87782803'
- 'f2978ea8acc39fccd0269eb74248e622d1e5daf0b30a2c48ac1d618deda3b4733e949d21bff5dbd2e5b6c39f0df60480c55e3ee1bf8e64df2c8157a51f2fbb49'
- '7046ab4d88efbba636be049be2f660e18c05e48d161d39437c1580b12795ba4d9197ad57ac4572398f80a38d4777507b57228abf4cc41f0081d196ece27ea9d0')
-
-prepare() {
- cd u-boot-${pkgver}
-
- sed -i '
- 1 s/env python$/&2/
- 1 s/\(env python\)3$/\1/
- ' tools/binman/binman{,.py}
-}
-
-build() {
- cd u-boot-${pkgver}
-
- unset CFLAGS CXXFLAGS LDFLAGS
-
- for i in "${_boards[@]#* }"; do
- mkdir ../bin_${i}
- make distclean
- make ${i}_config
- echo 'CONFIG_IDENT_STRING=" Arch Linux ARM"' >> .config
- make EXTRAVERSION=-${pkgrel}
- mv u-boot-sunxi-with-spl.bin ../bin_${i}
- done
-
- tools/mkimage -A arm -O linux -T script -C none -n "U-Boot boot script" -d ../boot.txt ../boot.scr
-}
-
-for i in "${!_boards[@]}"; do
- _pn="${_boards[${i}]%% *}"
- _pd="${_boards[${i}]#* }"
-
- eval 'package_'"${_pn}"'() {
- pkgdesc="U-Boot for '"${_pd#Linksprite_}"'"
- install=${pkgbase}.install
- provides=('"'"'uboot-sunxi'"'"')
- conflicts=('"'"'uboot-sunxi'"'"')
-
- install -d "${pkgdir}"/boot
- install -Dm644 bin_'"${_pd}"'/u-boot-sunxi-with-spl.bin "${pkgdir}"/boot
-
- install -Dm644 boot.txt "${pkgdir}"/boot/boot.txt
- install -Dm644 boot.scr "${pkgdir}"/boot/boot.scr
- install -Dm755 mkscr "${pkgdir}"/boot/mkscr
-}'
-
-done
diff --git a/uboot-sunxi/boot.txt b/uboot-sunxi/boot.txt
deleted file mode 100644
index a1c7a59b1..000000000
--- a/uboot-sunxi/boot.txt
+++ /dev/null
@@ -1,16 +0,0 @@
-# After modifying, run ./mkscr
-
-if test -n ${distro_bootpart}; then setenv bootpart ${distro_bootpart}; else setenv bootpart 1; fi
-part uuid ${devtype} ${devnum}:${bootpart} uuid
-
-setenv bootargs console=${console} root=PARTUUID=${uuid} rw rootwait
-
-if load ${devtype} ${devnum}:${bootpart} ${kernel_addr_r} /boot/zImage; then
- if load ${devtype} ${devnum}:${bootpart} ${fdt_addr_r} /boot/dtbs/${fdtfile}; then
- if load ${devtype} ${devnum}:${bootpart} ${ramdisk_addr_r} /boot/initramfs-linux.img; then
- bootz ${kernel_addr_r} ${ramdisk_addr_r}:${filesize} ${fdt_addr_r};
- else
- bootz ${kernel_addr_r} - ${fdt_addr_r};
- fi;
- fi;
-fi
diff --git a/uboot-sunxi/mkscr b/uboot-sunxi/mkscr
deleted file mode 100755
index 272b6a7a5..000000000
--- a/uboot-sunxi/mkscr
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/bin/bash
-
-if [[ ! -x /usr/bin/mkimage ]]; then
- echo "mkimage not found. Please install uboot-tools:"
- echo " pacman -S uboot-tools"
- exit 1
-fi
-
-mkimage -A arm -O linux -T script -C none -n "U-Boot boot script" -d boot.txt boot.scr
diff --git a/uboot-sunxi/uboot-sunxi.install b/uboot-sunxi/uboot-sunxi.install
deleted file mode 100644
index cd4afef4b..000000000
--- a/uboot-sunxi/uboot-sunxi.install
+++ /dev/null
@@ -1,22 +0,0 @@
-flash_uboot() {
- echo "A new U-Boot version needs to be flashed onto /dev/mmcblk0."
- echo "Do you want to do this now? [y|N]"
- read -r shouldwe
- if [[ $shouldwe =~ ^([yY][eE][sS]|[yY])$ ]]; then
- dd if=/boot/u-boot-sunxi-with-spl.bin of=/dev/mmcblk0 bs=1024 seek=8
- else
- echo "You can do this later by running:"
- echo "# dd if=/boot/u-boot-sunxi-with-spl.bin of=/dev/mmcblk0 bs=1024 seek=8"
- fi
-}
-
-## arg 1: the new package version
-post_install() {
- flash_uboot
-}
-
-## arg 1: the new package version
-## arg 2: the old package version
-post_upgrade() {
- flash_uboot
-}