summaryrefslogtreecommitdiff
path: root/libre/uboot-sunxi-linux-libre
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2016-02-26 17:38:06 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2016-02-26 17:39:20 -0300
commit969609c3df945079418d2e90a85df1a09f411f36 (patch)
treeea5bf8e55a86a58c6b3fe8978af38dd4aee44c5c /libre/uboot-sunxi-linux-libre
parent3e1e7a769de7dc339fbf10f760ec90a2dea4f500 (diff)
downloadabslibre-969609c3df945079418d2e90a85df1a09f411f36.tar.gz
abslibre-969609c3df945079418d2e90a85df1a09f411f36.tar.bz2
abslibre-969609c3df945079418d2e90a85df1a09f411f36.zip
uboot4extlinux-sunxi: add new package to [libre]
Diffstat (limited to 'libre/uboot-sunxi-linux-libre')
-rw-r--r--libre/uboot-sunxi-linux-libre/0001-parabola-arm-modifications.patch28
-rw-r--r--libre/uboot-sunxi-linux-libre/PKGBUILD256
-rw-r--r--libre/uboot-sunxi-linux-libre/boot.txt19
-rwxr-xr-xlibre/uboot-sunxi-linux-libre/mkscr9
-rw-r--r--libre/uboot-sunxi-linux-libre/uboot-a10-olinuxino-lime-linux-libre.install22
-rw-r--r--libre/uboot-sunxi-linux-libre/uboot-a10s-olinuxino-micro-linux-libre.install22
-rw-r--r--libre/uboot-sunxi-linux-libre/uboot-a13-olinuxino-linux-libre.install22
-rw-r--r--libre/uboot-sunxi-linux-libre/uboot-a13-olinuxino-micro-linux-libre.install22
-rw-r--r--libre/uboot-sunxi-linux-libre/uboot-a20-olinuxino-lime-linux-libre.install22
-rw-r--r--libre/uboot-sunxi-linux-libre/uboot-a20-olinuxino-lime2-linux-libre.install22
-rw-r--r--libre/uboot-sunxi-linux-libre/uboot-a20-olinuxino-micro-linux-libre.install22
-rw-r--r--libre/uboot-sunxi-linux-libre/uboot-cubieboard-linux-libre.install22
-rw-r--r--libre/uboot-sunxi-linux-libre/uboot-cubieboard2-linux-libre.install22
-rw-r--r--libre/uboot-sunxi-linux-libre/uboot-cubietruck-linux-libre.install22
-rw-r--r--libre/uboot-sunxi-linux-libre/uboot-pcduino-linux-libre.install22
-rw-r--r--libre/uboot-sunxi-linux-libre/uboot-pcduino3-linux-libre.install22
-rw-r--r--libre/uboot-sunxi-linux-libre/uboot-pcduino3-nano-linux-libre.install22
17 files changed, 0 insertions, 598 deletions
diff --git a/libre/uboot-sunxi-linux-libre/0001-parabola-arm-modifications.patch b/libre/uboot-sunxi-linux-libre/0001-parabola-arm-modifications.patch
deleted file mode 100644
index d910fa54e..000000000
--- a/libre/uboot-sunxi-linux-libre/0001-parabola-arm-modifications.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-diff --git a/include/config_distro_defaults.h b/include/config_distro_defaults.h
-index 8237239..2477edf 100644
---- a/include/config_distro_defaults.h
-+++ b/include/config_distro_defaults.h
-@@ -59,4 +59,7 @@
- #define CONFIG_SUPPORT_RAW_INITRD
- #define CONFIG_SYS_HUSH_PARSER
-
-+#define CONFIG_CMD_PART
-+#define CONFIG_PARTITION_UUIDS
-+
- #endif /* _CONFIG_CMD_DISTRO_DEFAULTS_H */
-diff --git a/include/configs/sunxi-common.h b/include/configs/sunxi-common.h
-index 1f7a1cb..ae0ddf7 100644
---- a/include/configs/sunxi-common.h
-+++ b/include/configs/sunxi-common.h
-@@ -141,7 +141,7 @@
- #define CONFIG_SYS_NO_FLASH
-
- #define CONFIG_SYS_MONITOR_LEN (512 << 10) /* 512 KiB */
--#define CONFIG_IDENT_STRING " Allwinner Technology"
-+#define CONFIG_IDENT_STRING " Parabola GNU/Linux-libre"
-
- #define CONFIG_ENV_OFFSET (544 << 10) /* (8 + 24 + 512) KiB */
- #define CONFIG_ENV_SIZE (128 << 10) /* 128 KiB */
---
-2.3.6
-
diff --git a/libre/uboot-sunxi-linux-libre/PKGBUILD b/libre/uboot-sunxi-linux-libre/PKGBUILD
deleted file mode 100644
index bf82bd926..000000000
--- a/libre/uboot-sunxi-linux-libre/PKGBUILD
+++ /dev/null
@@ -1,256 +0,0 @@
-# U-Boot: sunXi
-# Maintainer (Arch): Kevin Mihelich <kevin@archlinuxarm.org>
-# Contributor: André Silva <emulatorman@parabola.nu>
-
-buildarch=4
-
-_pkgbase=linux-libre
-pkgbase=uboot-sunxi-${_pkgbase}
-pkgname=("uboot-a10-olinuxino-lime-${_pkgbase}"
- "uboot-a10s-olinuxino-micro-${_pkgbase}"
- "uboot-a13-olinuxino-${_pkgbase}"
- "uboot-a13-olinuxino-micro-${_pkgbase}"
- "uboot-a20-olinuxino-lime-${_pkgbase}"
- "uboot-a20-olinuxino-lime2-${_pkgbase}"
- "uboot-a20-olinuxino-micro-${_pkgbase}"
- "uboot-cubieboard-${_pkgbase}"
- "uboot-cubieboard2-${_pkgbase}"
- "uboot-cubietruck-${_pkgbase}"
- "uboot-pcduino-${_pkgbase}"
- "uboot-pcduino3-${_pkgbase}"
- "uboot-pcduino3-nano-${_pkgbase}")
-pkgver=2015.07
-pkgrel=1.1
-arch=('armv7h')
-url="http://git.denx.de/u-boot.git/"
-license=('GPL')
-makedepends=('bc' 'dtc')
-depends=('linux-libre')
-source=("ftp://ftp.denx.de/pub/u-boot/u-boot-${pkgver}.tar.bz2"
- '0001-parabola-arm-modifications.patch'
- 'boot.txt'
- 'mkscr')
-md5sums=('3dac9a0b46fed77fc768ad3bd2d68c05'
- 'b83d7781a1365b2d9d87f9dfa9d2c166'
- 'cbc1530c593b029ba8cb8de191d1f095'
- '858048d9bbc6502968defb52791b6c52')
-
-boards=('A10-OLinuXino-Lime'
- 'A10s-OLinuXino-M'
- 'A13-OLinuXino'
- 'A13-OLinuXinoM'
- 'A20-OLinuXino-Lime'
- 'A20-OLinuXino-Lime2'
- 'A20-OLinuXino_MICRO'
- 'Cubieboard'
- 'Cubieboard2'
- 'Cubietruck'
- 'Linksprite_pcDuino'
- 'Linksprite_pcDuino3'
- 'Linksprite_pcDuino3_Nano')
-
-prepare() {
- cd u-boot-${pkgver}
-
- patch -Np1 -i ../0001-parabola-arm-modifications.patch
-}
-
-build() {
- cd u-boot-${pkgver}
-
- unset CFLAGS
- unset CXXFLAGS
- unset LDFLAGS
-
- for i in ${boards[@]}; do
- mkdir ../bin_${i}
- make distclean
- make ${i}_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
-}
-
-package_uboot-a10-olinuxino-lime-linux-libre() {
- pkgdesc="U-Boot for A10 OLinuXino Lime (built for the linux-libre kernel package)"
- install=${pkgname}.install
- backup=(boot/${pkgname}/boot.txt boot/${pkgname}/boot.scr)
- replaces=('uboot-a10-olinuxino-lime')
-
- install -d "${pkgdir}/boot/${pkgname}"
- install -Dm644 bin_A10-OLinuXino-Lime/u-boot-sunxi-with-spl.bin "${pkgdir}/boot/${pkgname}"
-
- install -Dm644 boot.txt "${pkgdir}/boot/${pkgname}"/boot.txt
- install -Dm644 boot.scr "${pkgdir}/boot/${pkgname}"/boot.scr
- install -Dm755 mkscr "${pkgdir}/boot/${pkgname}"/mkscr
-}
-
-package_uboot-a10s-olinuxino-micro-linux-libre() {
- pkgdesc="U-Boot for A10s OLinuXino Micro (built for the linux-libre kernel package)"
- install=${pkgname}.install
- backup=(boot/${pkgname}/boot.txt boot/${pkgname}/boot.scr)
- replaces=('uboot-a10s-olinuxino-micro')
-
- install -d "${pkgdir}/boot/${pkgname}"
- install -Dm644 bin_A10s-OLinuXino-M/u-boot-sunxi-with-spl.bin "${pkgdir}/boot/${pkgname}"
-
- install -Dm644 boot.txt "${pkgdir}/boot/${pkgname}"/boot.txt
- install -Dm644 boot.scr "${pkgdir}/boot/${pkgname}"/boot.scr
- install -Dm755 mkscr "${pkgdir}/boot/${pkgname}"/mkscr
-}
-
-package_uboot-a13-olinuxino-linux-libre() {
- pkgdesc="U-Boot for A13 OLinuXino (built for the linux-libre kernel package)"
- install=${pkgname}.install
- backup=(boot/${pkgname}/boot.txt boot/${pkgname}/boot.scr)
- replaces=('uboot-a13-olinuxino')
-
- install -d "${pkgdir}/boot/${pkgname}"
- install -Dm644 bin_A13-OLinuXino/u-boot-sunxi-with-spl.bin "${pkgdir}/boot/${pkgname}"
-
- install -Dm644 boot.txt "${pkgdir}/boot/${pkgname}"/boot.txt
- install -Dm644 boot.scr "${pkgdir}/boot/${pkgname}"/boot.scr
- install -Dm755 mkscr "${pkgdir}/boot/${pkgname}"/mkscr
-}
-
-package_uboot-a13-olinuxino-micro-linux-libre() {
- pkgdesc="U-Boot for A13 OLinuXino Micro (built for the linux-libre kernel package)"
- install=${pkgname}.install
- backup=(boot/${pkgname}/boot.txt boot/${pkgname}/boot.scr)
- replaces=('uboot-a13-olinuxino-micro')
-
- install -d "${pkgdir}/boot/${pkgname}"
- install -Dm644 bin_A13-OLinuXinoM/u-boot-sunxi-with-spl.bin "${pkgdir}/boot/${pkgname}"
-
- install -Dm644 boot.txt "${pkgdir}/boot/${pkgname}"/boot.txt
- install -Dm644 boot.scr "${pkgdir}/boot/${pkgname}"/boot.scr
- install -Dm755 mkscr "${pkgdir}/boot/${pkgname}"/mkscr
-}
-
-package_uboot-a20-olinuxino-lime-linux-libre() {
- pkgdesc="U-Boot for A20 OLinuXino Lime (built for the linux-libre kernel package)"
- install=${pkgname}.install
- backup=(boot/${pkgname}/boot.txt boot/${pkgname}/boot.scr)
- replaces=('uboot-a20-olinuxino-lime')
-
- install -d "${pkgdir}/boot/${pkgname}"
- install -Dm644 bin_A20-OLinuXino-Lime/u-boot-sunxi-with-spl.bin "${pkgdir}/boot/${pkgname}"
-
- install -Dm644 boot.txt "${pkgdir}/boot/${pkgname}"/boot.txt
- install -Dm644 boot.scr "${pkgdir}/boot/${pkgname}"/boot.scr
- install -Dm755 mkscr "${pkgdir}/boot/${pkgname}"/mkscr
-}
-
-package_uboot-a20-olinuxino-lime2-linux-libre() {
- pkgdesc="U-Boot for A20 OLinuXino Lime2 (built for the linux-libre kernel package)"
- install=${pkgname}.install
- backup=(boot/${pkgname}/boot.txt boot/${pkgname}/boot.scr)
- replaces=('uboot-a20-olinuxino-lime2')
-
- install -d "${pkgdir}/boot/${pkgname}"
- install -Dm644 bin_A20-OLinuXino-Lime2/u-boot-sunxi-with-spl.bin "${pkgdir}/boot/${pkgname}"
-
- install -Dm644 boot.txt "${pkgdir}/boot/${pkgname}"/boot.txt
- install -Dm644 boot.scr "${pkgdir}/boot/${pkgname}"/boot.scr
- install -Dm755 mkscr "${pkgdir}/boot/${pkgname}"/mkscr
-}
-
-package_uboot-a20-olinuxino-micro-linux-libre() {
- pkgdesc="U-Boot for A20 OLinuXino Micro (built for the linux-libre kernel package)"
- install=${pkgname}.install
- backup=(boot/${pkgname}/boot.txt boot/${pkgname}/boot.scr)
- replaces=('uboot-a20-olinuxino-micro')
-
- install -d "${pkgdir}/boot/${pkgname}"
- install -Dm644 bin_A20-OLinuXino_MICRO/u-boot-sunxi-with-spl.bin "${pkgdir}/boot/${pkgname}"
-
- install -Dm644 boot.txt "${pkgdir}/boot/${pkgname}"/boot.txt
- install -Dm644 boot.scr "${pkgdir}/boot/${pkgname}"/boot.scr
- install -Dm755 mkscr "${pkgdir}/boot/${pkgname}"/mkscr
-}
-
-package_uboot-cubieboard-linux-libre() {
- pkgdesc="U-Boot for Cubieboard (built for the linux-libre kernel package)"
- install=${pkgname}.install
- backup=(boot/${pkgname}/boot.txt boot/${pkgname}/boot.scr)
- replaces=('uboot-cubieboard')
-
- install -d "${pkgdir}/boot/${pkgname}"
- install -Dm644 bin_Cubieboard/u-boot-sunxi-with-spl.bin "${pkgdir}/boot/${pkgname}"/u-boot-sunxi-with-spl.bin
-
- install -Dm644 boot.txt "${pkgdir}/boot/${pkgname}"/boot.txt
- install -Dm644 boot.scr "${pkgdir}/boot/${pkgname}"/boot.scr
- install -Dm755 mkscr "${pkgdir}/boot/${pkgname}"/mkscr
-}
-
-package_uboot-cubieboard2-linux-libre() {
- pkgdesc="U-Boot for Cubieboard 2 (built for the linux-libre kernel package)"
- install=${pkgname}.install
- backup=(boot/${pkgname}/boot.txt boot/${pkgname}/boot.scr)
- replaces=('uboot-cubieboard2')
-
- install -d "${pkgdir}/boot/${pkgname}"
- install -Dm644 bin_Cubieboard2/u-boot-sunxi-with-spl.bin "${pkgdir}/boot/${pkgname}"/u-boot-sunxi-with-spl.bin
-
- install -Dm644 boot.txt "${pkgdir}/boot/${pkgname}"/boot.txt
- install -Dm644 boot.scr "${pkgdir}/boot/${pkgname}"/boot.scr
- install -Dm755 mkscr "${pkgdir}/boot/${pkgname}"/mkscr
-}
-
-package_uboot-cubietruck-linux-libre() {
- pkgdesc="U-Boot for Cubietruck (built for the linux-libre kernel package)"
- install=${pkgname}.install
- backup=(boot/${pkgname}/boot.txt boot/${pkgname}/boot.scr)
- replaces=('uboot-cubietruck')
-
- install -d "${pkgdir}/boot/${pkgname}"
- install -Dm644 bin_Cubietruck/u-boot-sunxi-with-spl.bin "${pkgdir}/boot/${pkgname}"/u-boot-sunxi-with-spl.bin
-
- install -Dm644 boot.txt "${pkgdir}/boot/${pkgname}"/boot.txt
- install -Dm644 boot.scr "${pkgdir}/boot/${pkgname}"/boot.scr
- install -Dm755 mkscr "${pkgdir}/boot/${pkgname}"/mkscr
-}
-
-package_uboot-pcduino-linux-libre() {
- pkgdesc="U-Boot for pcDuino (built for the linux-libre kernel package)"
- install=${pkgname}.install
- backup=(boot/${pkgname}/boot.txt boot/${pkgname}/boot.scr)
- replaces=('uboot-pcduino')
-
- install -d "${pkgdir}/boot/${pkgname}"
- install -Dm644 bin_Linksprite_pcDuino/u-boot-sunxi-with-spl.bin "${pkgdir}/boot/${pkgname}"
-
- install -Dm644 boot.txt "${pkgdir}/boot/${pkgname}"/boot.txt
- install -Dm644 boot.scr "${pkgdir}/boot/${pkgname}"/boot.scr
- install -Dm755 mkscr "${pkgdir}/boot/${pkgname}"/mkscr
-}
-
-package_uboot-pcduino3-linux-libre() {
- pkgdesc="U-Boot for pcDuino3 (built for the linux-libre kernel package)"
- install=${pkgname}.install
- backup=(boot/${pkgname}/boot.txt boot/${pkgname}/boot.scr)
- replaces=('uboot-pcduino3')
-
- install -d "${pkgdir}/boot/${pkgname}"
- install -Dm644 bin_Linksprite_pcDuino3/u-boot-sunxi-with-spl.bin "${pkgdir}/boot/${pkgname}"
-
- install -Dm644 boot.txt "${pkgdir}/boot/${pkgname}"/boot.txt
- install -Dm644 boot.scr "${pkgdir}/boot/${pkgname}"/boot.scr
- install -Dm755 mkscr "${pkgdir}/boot/${pkgname}"/mkscr
-}
-
-package_uboot-pcduino3-nano-linux-libre() {
- pkgdesc="U-Boot for pcDuino3 Nano (built for the linux-libre kernel package)"
- install=${pkgname}.install
- backup=(boot/${pkgname}/boot.txt boot/${pkgname}/boot.scr)
- replaces=('uboot-pcduino3-nano')
-
- install -d "${pkgdir}/boot/${pkgname}"
- install -Dm644 bin_Linksprite_pcDuino3_Nano/u-boot-sunxi-with-spl.bin "${pkgdir}/boot/${pkgname}"
-
- install -Dm644 boot.txt "${pkgdir}/boot/${pkgname}"/boot.txt
- install -Dm644 boot.scr "${pkgdir}/boot/${pkgname}"/boot.scr
- install -Dm755 mkscr "${pkgdir}/boot/${pkgname}"/mkscr
-}
diff --git a/libre/uboot-sunxi-linux-libre/boot.txt b/libre/uboot-sunxi-linux-libre/boot.txt
deleted file mode 100644
index bd8417edd..000000000
--- a/libre/uboot-sunxi-linux-libre/boot.txt
+++ /dev/null
@@ -1,19 +0,0 @@
-part uuid ${devtype} ${devnum}:${bootpart} uuid
-setenv bootargs console=${console} root=PARTUUID=${uuid} rw rootwait
-
-if load ${devtype} ${devnum}:${bootpart} ${kernel_addr_r} /boot/vmlinuz-linux-libre; then
- if load ${devtype} ${devnum}:${bootpart} ${fdt_addr_r} /boot/dtbs/linux-libre/${fdtfile}; then
- if load ${devtype} ${devnum}:${bootpart} ${ramdisk_addr_r} /boot/initramfs-linux-libre.img; then
- bootz ${kernel_addr_r} ${ramdisk_addr_r}:${filesize} ${fdt_addr_r};
- else
- bootz ${kernel_addr_r} - ${fdt_addr_r};
- fi;
- fi;
-fi
-
-if load ${devtype} ${devnum}:${bootpart} 0x48000000 /boot/uImage-linux-libre; then
- if load ${devtype} ${devnum}:${bootpart} 0x43000000 /boot/uboot-sunxi-linux-libre/script.bin; then
- setenv bootm_boot_mode sec;
- bootm 0x48000000;
- fi;
-fi
diff --git a/libre/uboot-sunxi-linux-libre/mkscr b/libre/uboot-sunxi-linux-libre/mkscr
deleted file mode 100755
index b79add361..000000000
--- a/libre/uboot-sunxi-linux-libre/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/uboot-sunxi-linux-libre/boot.txt /boot/uboot-sunxi-linux-libre/boot.scr
diff --git a/libre/uboot-sunxi-linux-libre/uboot-a10-olinuxino-lime-linux-libre.install b/libre/uboot-sunxi-linux-libre/uboot-a10-olinuxino-lime-linux-libre.install
deleted file mode 100644
index bd0e36bfb..000000000
--- a/libre/uboot-sunxi-linux-libre/uboot-a10-olinuxino-lime-linux-libre.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/uboot-a10-olinuxino-lime-linux-libre/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/uboot-a10-olinuxino-lime-linux-libre/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
-}
diff --git a/libre/uboot-sunxi-linux-libre/uboot-a10s-olinuxino-micro-linux-libre.install b/libre/uboot-sunxi-linux-libre/uboot-a10s-olinuxino-micro-linux-libre.install
deleted file mode 100644
index 420a93b0d..000000000
--- a/libre/uboot-sunxi-linux-libre/uboot-a10s-olinuxino-micro-linux-libre.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/uboot-a10s-olinuxino-micro-linux-libre/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/uboot-a10s-olinuxino-micro-linux-libre/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
-}
diff --git a/libre/uboot-sunxi-linux-libre/uboot-a13-olinuxino-linux-libre.install b/libre/uboot-sunxi-linux-libre/uboot-a13-olinuxino-linux-libre.install
deleted file mode 100644
index a8221b5cf..000000000
--- a/libre/uboot-sunxi-linux-libre/uboot-a13-olinuxino-linux-libre.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/uboot-a13-olinuxino-linux-libre/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/uboot-a13-olinuxino-linux-libre/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
-}
diff --git a/libre/uboot-sunxi-linux-libre/uboot-a13-olinuxino-micro-linux-libre.install b/libre/uboot-sunxi-linux-libre/uboot-a13-olinuxino-micro-linux-libre.install
deleted file mode 100644
index 2a10abd7f..000000000
--- a/libre/uboot-sunxi-linux-libre/uboot-a13-olinuxino-micro-linux-libre.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/uboot-a13-olinuxino-micro-linux-libre/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/uboot-a13-olinuxino-micro-linux-libre/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
-}
diff --git a/libre/uboot-sunxi-linux-libre/uboot-a20-olinuxino-lime-linux-libre.install b/libre/uboot-sunxi-linux-libre/uboot-a20-olinuxino-lime-linux-libre.install
deleted file mode 100644
index 474fc7006..000000000
--- a/libre/uboot-sunxi-linux-libre/uboot-a20-olinuxino-lime-linux-libre.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/uboot-a20-olinuxino-lime-linux-libre/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/uboot-a20-olinuxino-lime-linux-libre/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
-}
diff --git a/libre/uboot-sunxi-linux-libre/uboot-a20-olinuxino-lime2-linux-libre.install b/libre/uboot-sunxi-linux-libre/uboot-a20-olinuxino-lime2-linux-libre.install
deleted file mode 100644
index bfbbeee34..000000000
--- a/libre/uboot-sunxi-linux-libre/uboot-a20-olinuxino-lime2-linux-libre.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/uboot-a20-olinuxino-lime2-linux-libre/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/uboot-a20-olinuxino-lime2-linux-libre/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
-}
diff --git a/libre/uboot-sunxi-linux-libre/uboot-a20-olinuxino-micro-linux-libre.install b/libre/uboot-sunxi-linux-libre/uboot-a20-olinuxino-micro-linux-libre.install
deleted file mode 100644
index 5d599c09c..000000000
--- a/libre/uboot-sunxi-linux-libre/uboot-a20-olinuxino-micro-linux-libre.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/uboot-a20-olinuxino-micro-linux-libre/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/uboot-a20-olinuxino-micro-linux-libre/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
-}
diff --git a/libre/uboot-sunxi-linux-libre/uboot-cubieboard-linux-libre.install b/libre/uboot-sunxi-linux-libre/uboot-cubieboard-linux-libre.install
deleted file mode 100644
index 85fe2cf24..000000000
--- a/libre/uboot-sunxi-linux-libre/uboot-cubieboard-linux-libre.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/uboot-cubieboard-linux-libre/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/uboot-cubieboard-linux-libre/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
-}
diff --git a/libre/uboot-sunxi-linux-libre/uboot-cubieboard2-linux-libre.install b/libre/uboot-sunxi-linux-libre/uboot-cubieboard2-linux-libre.install
deleted file mode 100644
index d74c526c2..000000000
--- a/libre/uboot-sunxi-linux-libre/uboot-cubieboard2-linux-libre.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/uboot-cubieboard2-linux-libre/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/uboot-cubieboard2-linux-libre/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
-}
diff --git a/libre/uboot-sunxi-linux-libre/uboot-cubietruck-linux-libre.install b/libre/uboot-sunxi-linux-libre/uboot-cubietruck-linux-libre.install
deleted file mode 100644
index 420ead6e0..000000000
--- a/libre/uboot-sunxi-linux-libre/uboot-cubietruck-linux-libre.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/uboot-cubietruck-linux-libre/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/uboot-cubietruck-linux-libre/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
-}
diff --git a/libre/uboot-sunxi-linux-libre/uboot-pcduino-linux-libre.install b/libre/uboot-sunxi-linux-libre/uboot-pcduino-linux-libre.install
deleted file mode 100644
index b6bd4d068..000000000
--- a/libre/uboot-sunxi-linux-libre/uboot-pcduino-linux-libre.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/uboot-pcduino-linux-libre/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/uboot-pcduino-linux-libre/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
-}
diff --git a/libre/uboot-sunxi-linux-libre/uboot-pcduino3-linux-libre.install b/libre/uboot-sunxi-linux-libre/uboot-pcduino3-linux-libre.install
deleted file mode 100644
index b6fba6640..000000000
--- a/libre/uboot-sunxi-linux-libre/uboot-pcduino3-linux-libre.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/uboot-pcduino3-linux-libre/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/uboot-pcduino3-linux-libre/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
-}
diff --git a/libre/uboot-sunxi-linux-libre/uboot-pcduino3-nano-linux-libre.install b/libre/uboot-sunxi-linux-libre/uboot-pcduino3-nano-linux-libre.install
deleted file mode 100644
index fd08460b7..000000000
--- a/libre/uboot-sunxi-linux-libre/uboot-pcduino3-nano-linux-libre.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/uboot-pcduino3-nano-linux-libre/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/uboot-pcduino3-nano-linux-libre/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
-}