On 2019-04-16, Frédéric Danis wrote:
> This board is supported upstream in this version but not embedded in the 
> package.
> Please find attached a patch to add it.
>
> Tested with Debian sid and latest unstable arm64 kernel
> 4.19.0-4-arm64.

Thanks for the patch!

It also appears to have a configuration available in u-boot
2019.01. Would you be able to also test that version, so we can add
support in the buster release?

live well,
  vagrant

> From 5ac8cddedb108991095d40cd8a7d863fd455983f Mon Sep 17 00:00:00 2001
> From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Danis?= <frederic.da...@collabora.com>
> Date: Tue, 16 Apr 2019 14:26:14 +0200
> Subject: [PATCH] Enable orangepi_zero_plus2 target in u-boot-sunxi
> Content-Type: text/plain; charset="utf-8"
> Content-Transfer-Encoding: 8bit
>
> ---
>  debian/bin/u-boot-install-sunxi64 | 1 +
>  debian/targets                    | 3 +++
>  2 files changed, 4 insertions(+)
>
> diff --git a/debian/bin/u-boot-install-sunxi64 
> b/debian/bin/u-boot-install-sunxi64
> index 3612edab51..5c48ab9c53 100755
> --- a/debian/bin/u-boot-install-sunxi64
> +++ b/debian/bin/u-boot-install-sunxi64
> @@ -8,6 +8,7 @@ if [ -z "$TARGET" ] && [ -f "${dtmodel}" ]; then
>               Pine64+) TARGET="/usr/lib/u-boot/pine64_plus" ;;
>               "Olimex A64-Olinuxino") TARGET="/usr/lib/u-boot/a64-olinuxino/" 
> ;;
>               "Olimex A64 Teres-I") TARGET="/usr/lib/u-boot/teres_i/" ;;
> +             "OrangePi Zero Plus2") 
> TARGET="/usr/lib/u-boot/orangepi_zero_plus2/" ;;
>       esac
>  fi
>  
> diff --git a/debian/targets b/debian/targets
> index 7d6d98c5f4..777b29677d 100644
> --- a/debian/targets
> +++ b/debian/targets
> @@ -201,6 +201,9 @@ arm64     rpi             rpi_3           u-boot.bin
>  # Rodrigo Exterckötter Tjäder <rodr...@tjader.xyz>
>  arm64        sunxi           a64-olinuxino   u-boot.bin spl/sunxi-spl.bin 
> u-boot-nodtb.bin arch/arm/dts/sun50i-a64-olinuxino.dtb
>  
> +# Frederic Danis <frederic.da...@collabora.com>
> +arm64        sunxi           orangepi_zero_plus2     u-boot.bin 
> spl/sunxi-spl.bin u-boot-nodtb.bin 
> arch/arm/dts/sun50i-h5-orangepi-zero-plus2.dtb
> +
>  # Vagrant Cascadian <vagr...@debian.org>
>  arm64        sunxi           pine64_plus     u-boot.bin spl/sunxi-spl.bin 
> u-boot-nodtb.bin arch/arm/dts/sun50i-a64-pine64-plus.dtb 
> arch/arm/dts/sun50i-a64-pine64.dtb
>  
> -- 
> 2.18.0

Attachment: signature.asc
Description: PGP signature

Reply via email to