Debian Bug report logs - #848557
Please enable support for Orange Pi Zero

version graph

Package: u-boot-sunxi; Maintainer for u-boot-sunxi is Vagrant Cascadian <vagrant@debian.org>; Source for u-boot-sunxi is src:u-boot (PTS, buildd, popcon).

Reported by: Mateusz Łukasik <mati75@linuxmint.pl>

Date: Sun, 18 Dec 2016 11:48:04 UTC

Severity: wishlist

Tags: patch, upstream

Fixed in version u-boot/2016.11+dfsg1-3

Done: Vagrant Cascadian <vagrant@debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Vagrant Cascadian <vagrant@debian.org>:
Bug#848557; Package u-boot-sunxi. (Sun, 18 Dec 2016 11:48:07 GMT) (full text, mbox, link).


Acknowledgement sent to Mateusz Łukasik <mati75@linuxmint.pl>:
New Bug report received and forwarded. Copy sent to Vagrant Cascadian <vagrant@debian.org>. (Sun, 18 Dec 2016 11:48:07 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Mateusz Łukasik <mati75@linuxmint.pl>
To: debian-bts <submit@bugs.debian.org>
Subject: Please enable support for Orange Pi Zero
Date: Sun, 18 Dec 2016 12:46:12 +0100
[Message part 1 (text/plain, inline)]
Package: u-boot-sunxi
Severity: wishlist
Tags: patch


Hi,

Please enable support for Orange Pi Zero. It is similar to nano pi neo.

I attach my debdiff on which I tested u-boot for it. Kernel support will 
be for this mobo since 4.10 or 4.11. I sent backports support to 4.9.



-- 
 .''`.  Mateusz Łukasik
: :' :  http://mati75.eu
`. `'   Debian Member - mati75@linuxmint.pl
  `-    GPG: D93B 0C12 C8D0 4D7A AFBC  FA27 CCD9 1D61 11A0 6851
[u-boot_2016.11+dfsg1-2.1.debdiff (text/plain, attachment)]

Information forwarded to debian-bugs-dist@lists.debian.org, Vagrant Cascadian <vagrant@debian.org>:
Bug#848557; Package u-boot-sunxi. (Sun, 18 Dec 2016 11:51:08 GMT) (full text, mbox, link).


Acknowledgement sent to Mateusz Łukasik <mati75@linuxmint.pl>:
Extra info received and forwarded to list. Copy sent to Vagrant Cascadian <vagrant@debian.org>. (Sun, 18 Dec 2016 11:51:08 GMT) (full text, mbox, link).


Message #10 received at 848557@bugs.debian.org (full text, mbox, reply):

From: Mateusz Łukasik <mati75@linuxmint.pl>
To: 848557@bugs.debian.org
Subject: Re: Please enable support for Orange Pi Zero
Date: Sun, 18 Dec 2016 12:49:33 +0100
[Message part 1 (text/plain, inline)]
Correct debdiff

-- 
 .''`.  Mateusz Łukasik
: :' :  http://mati75.eu
`. `'   Debian Member - mati75@linuxmint.pl
  `-    GPG: D93B 0C12 C8D0 4D7A AFBC  FA27 CCD9 1D61 11A0 6851
[u-boot_2016.11+dfsg1-2.1.debdiff (text/plain, attachment)]

Information forwarded to debian-bugs-dist@lists.debian.org:
Bug#848557; Package u-boot-sunxi. (Sun, 18 Dec 2016 13:51:06 GMT) (full text, mbox, link).


Acknowledgement sent to Vagrant Cascadian <vagrant@debian.org>:
Extra info received and forwarded to list. (Sun, 18 Dec 2016 13:51:07 GMT) (full text, mbox, link).


Message #15 received at 848557@bugs.debian.org (full text, mbox, reply):

From: Vagrant Cascadian <vagrant@debian.org>
To: Mateusz Łukasik <mati75@linuxmint.pl>, 848557@bugs.debian.org
Subject: Re: Bug#848557: Please enable support for Orange Pi Zero
Date: Sun, 18 Dec 2016 14:48:43 +0100
[Message part 1 (text/plain, inline)]
Control: tags 848557 upstream

On 2016-12-18, Mateusz Łukasik wrote:
> Correct debdiff

Thanks!

This looks like patches submitted upstream just a few days ago:

  https://patchwork.ozlabs.org/patch/706458/
  https://patchwork.ozlabs.org/patch/706460/

I'd like to hold off applying them until they are merged upstream, or at
least in one of the maintainer trees.

I'll try to keep an eye on it, but please update the bug report when it
gets merged.


live well,
  vagrant


> diff -Nru u-boot-2016.11+dfsg1/debian/changelog u-boot-2016.11+dfsg1/debian/changelog
> --- u-boot-2016.11+dfsg1/debian/changelog	2016-12-16 14:10:52.000000000 +0100
> +++ u-boot-2016.11+dfsg1/debian/changelog	2016-12-17 21:10:17.000000000 +0100
> @@ -1,3 +1,10 @@
> +u-boot (2016.11+dfsg1-2.1) UNRELEASED; urgency=medium
> +
> +  * Non-maintainer upload.
> +  * u-boot-sunxi: Add orangepi_zero target.
> +
> + -- Mateusz Łukasik <mati75@linuxmint.pl>  Sat, 17 Dec 2016 21:10:17 +0100
> +
>  u-boot (2016.11+dfsg1-2) unstable; urgency=medium
>  
>    * u-boot-sunxi: Add nanopi_neo target.
> diff -Nru u-boot-2016.11+dfsg1/debian/patches/series u-boot-2016.11+dfsg1/debian/patches/series
> --- u-boot-2016.11+dfsg1/debian/patches/series	2016-12-16 12:39:28.000000000 +0100
> +++ u-boot-2016.11+dfsg1/debian/patches/series	2016-12-17 21:10:17.000000000 +0100
> @@ -28,3 +28,6 @@
>  odroid/0001-Convert-odroid-to-use-distro_bootcmd.patch
>  
>  odroid-xu3/bootdelay
> +
> +sunxi-add-proper-device-tree-for-Orange-Pi-Zero-boards.patch
> +sunxi-add-orangepi-zero-defconfig.patch
> diff -Nru u-boot-2016.11+dfsg1/debian/patches/sunxi-add-orangepi-zero-defconfig.patch u-boot-2016.11+dfsg1/debian/patches/sunxi-add-orangepi-zero-defconfig.patch
> --- u-boot-2016.11+dfsg1/debian/patches/sunxi-add-orangepi-zero-defconfig.patch	1970-01-01 01:00:00.000000000 +0100
> +++ u-boot-2016.11+dfsg1/debian/patches/sunxi-add-orangepi-zero-defconfig.patch	2016-12-17 21:10:17.000000000 +0100
> @@ -0,0 +1,37 @@
> +diff --git a/board/sunxi/MAINTAINERS b/board/sunxi/MAINTAINERS
> +index e23d45eed9..2321b8b08f 100644
> +--- a/board/sunxi/MAINTAINERS
> ++++ b/board/sunxi/MAINTAINERS
> +@@ -232,6 +232,11 @@ M:	Jelle van der Waa <jelle@vdwaa.nl>
> + S:	Maintained
> + F:	configs/nanopi_neo_defconfig
> + 
> ++ORANGEPI ZERO BOARD
> ++M:     Icenowy Zheng <icenowy@aosc.xyz>
> ++S:     Maintained
> ++F:     configs/orangepi_zero_defconfig
> ++
> + R16 EVB PARROT BOARD
> + M:	Quentin Schulz <quentin.schulz@free-electrons.com>
> + S:	Maintained
> +diff --git a/configs/orangepi_zero_defconfig b/configs/orangepi_zero_defconfig
> +new file mode 100644
> +index 0000000000..8813927bc1
> +--- /dev/null
> ++++ b/configs/orangepi_zero_defconfig
> +@@ -0,0 +1,15 @@
> ++CONFIG_ARM=y
> ++CONFIG_ARCH_SUNXI=y
> ++CONFIG_MACH_SUN8I_H3=y
> ++CONFIG_DRAM_CLK=672
> ++CONFIG_DRAM_ZQ=3881979
> ++CONFIG_DRAM_ODT_EN=y
> ++CONFIG_DEFAULT_DEVICE_TREE="sun8i-h2-plus-orangepi-zero"
> ++# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
> ++CONFIG_CONSOLE_MUX=y
> ++CONFIG_SPL=y
> ++# CONFIG_CMD_IMLS is not set
> ++# CONFIG_CMD_FLASH is not set
> ++# CONFIG_CMD_FPGA is not set
> ++CONFIG_SUN8I_EMAC=y
> ++CONFIG_USB_EHCI_HCD=y
> diff -Nru u-boot-2016.11+dfsg1/debian/patches/sunxi-add-proper-device-tree-for-Orange-Pi-Zero-boards.patch u-boot-2016.11+dfsg1/debian/patches/sunxi-add-proper-device-tree-for-Orange-Pi-Zero-boards.patch
> --- u-boot-2016.11+dfsg1/debian/patches/sunxi-add-proper-device-tree-for-Orange-Pi-Zero-boards.patch	1970-01-01 01:00:00.000000000 +0100
> +++ u-boot-2016.11+dfsg1/debian/patches/sunxi-add-proper-device-tree-for-Orange-Pi-Zero-boards.patch	2016-12-17 21:07:20.000000000 +0100
> @@ -0,0 +1,161 @@
> +diff --git a/arch/arm/dts/Makefile b/arch/arm/dts/Makefile
> +index f43746966c..5553351f7d 100644
> +--- a/arch/arm/dts/Makefile
> ++++ b/arch/arm/dts/Makefile
> +@@ -271,6 +271,7 @@ dtb-$(CONFIG_MACH_SUN8I_A83T) += \
> + 	sun8i-a83t-cubietruck-plus.dtb \
> + 	sun8i-a83t-sinovoip-bpi-m3.dtb
> + dtb-$(CONFIG_MACH_SUN8I_H3) += \
> ++	sun8i-h2-plus-orangepi-zero.dtb \
> + 	sun8i-h3-bananapi-m2-plus.dtb \
> + 	sun8i-h3-orangepi-2.dtb \
> + 	sun8i-h3-orangepi-lite.dtb \
> +diff --git a/arch/arm/dts/sun8i-h2-plus-orangepi-zero.dts b/arch/arm/dts/sun8i-h2-plus-orangepi-zero.dts
> +new file mode 100644
> +index 0000000000..0989434074
> +--- /dev/null
> ++++ b/arch/arm/dts/sun8i-h2-plus-orangepi-zero.dts
> +@@ -0,0 +1,143 @@
> ++/*
> ++ * Copyright (C) 2016 Icenowy Zheng <icenowy@aosc.xyz>
> ++ *
> ++ * Based on sun8i-h3-orangepi-one.dts, which is:
> ++ *   Copyright (C) 2016 Hans de Goede <hdegoede@redhat.com>
> ++ *
> ++ * This file is dual-licensed: you can use it either under the terms
> ++ * of the GPL or the X11 license, at your option. Note that this dual
> ++ * licensing only applies to this file, and not this project as a
> ++ * whole.
> ++ *
> ++ *  a) This file is free software; you can redistribute it and/or
> ++ *     modify it under the terms of the GNU General Public License as
> ++ *     published by the Free Software Foundation; either version 2 of the
> ++ *     License, or (at your option) any later version.
> ++ *
> ++ *     This file is distributed in the hope that it will be useful,
> ++ *     but WITHOUT ANY WARRANTY; without even the implied warranty of
> ++ *     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> ++ *     GNU General Public License for more details.
> ++ *
> ++ * Or, alternatively,
> ++ *
> ++ *  b) Permission is hereby granted, free of charge, to any person
> ++ *     obtaining a copy of this software and associated documentation
> ++ *     files (the "Software"), to deal in the Software without
> ++ *     restriction, including without limitation the rights to use,
> ++ *     copy, modify, merge, publish, distribute, sublicense, and/or
> ++ *     sell copies of the Software, and to permit persons to whom the
> ++ *     Software is furnished to do so, subject to the following
> ++ *     conditions:
> ++ *
> ++ *     The above copyright notice and this permission notice shall be
> ++ *     included in all copies or substantial portions of the Software.
> ++ *
> ++ *     THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
> ++ *     EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
> ++ *     OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
> ++ *     NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
> ++ *     HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
> ++ *     WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
> ++ *     FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
> ++ *     OTHER DEALINGS IN THE SOFTWARE.
> ++ */
> ++
> ++/dts-v1/;
> ++#include "sun8i-h3.dtsi"
> ++#include "sunxi-common-regulators.dtsi"
> ++
> ++#include <dt-bindings/gpio/gpio.h>
> ++#include <dt-bindings/input/input.h>
> ++#include <dt-bindings/pinctrl/sun4i-a10.h>
> ++
> ++/ {
> ++	model = "Xunlong Orange Pi Zero";
> ++	compatible = "xunlong,orangepi-zero", "allwinner,sun8i-h2-plus";
> ++
> ++	aliases {
> ++		serial0 = &uart0;
> ++		/* ethernet0 is the H3 emac, defined in sun8i-h3.dtsi */
> ++		ethernet1 = &xr819;
> ++	};
> ++
> ++	chosen {
> ++		stdout-path = "serial0:115200n8";
> ++	};
> ++
> ++	leds {
> ++		compatible = "gpio-leds";
> ++
> ++		pwr_led {
> ++			label = "orangepi:green:pwr";
> ++			gpios = <&r_pio 0 10 GPIO_ACTIVE_HIGH>;
> ++			default-state = "on";
> ++		};
> ++
> ++		status_led {
> ++			label = "orangepi:red:status";
> ++			gpios = <&pio 0 17 GPIO_ACTIVE_HIGH>;
> ++		};
> ++	};
> ++
> ++	reg_vcc_wifi: reg_vcc_wifi {
> ++		compatible = "regulator-fixed";
> ++		regulator-min-microvolt = <3300000>;
> ++		regulator-max-microvolt = <3300000>;
> ++		regulator-name = "vcc-wifi";
> ++		enable-active-high;
> ++		gpio = <&pio 0 20 GPIO_ACTIVE_HIGH>;
> ++	};
> ++
> ++	wifi_pwrseq: wifi_pwrseq {
> ++		compatible = "mmc-pwrseq-simple";
> ++		reset-gpios = <&r_pio 0 7 GPIO_ACTIVE_LOW>;
> ++	};
> ++};
> ++
> ++&ehci1 {
> ++	status = "okay";
> ++};
> ++
> ++&mmc0 {
> ++	pinctrl-names = "default";
> ++	pinctrl-0 = <&mmc0_pins_a>;
> ++	vmmc-supply = <&reg_vcc3v3>;
> ++	bus-width = <4>;
> ++	cd-gpios = <&pio 5 6 GPIO_ACTIVE_HIGH>; /* PF6 */
> ++	cd-inverted;
> ++	status = "okay";
> ++};
> ++
> ++&mmc1 {
> ++	pinctrl-names = "default";
> ++	pinctrl-0 = <&mmc1_pins_a>;
> ++	vmmc-supply = <&reg_vcc_wifi>;
> ++	mmc-pwrseq = <&wifi_pwrseq>;
> ++	bus-width = <4>;
> ++	non-removable;
> ++	status = "okay";
> ++
> ++	/*
> ++	 * Explicitly define the sdio device, so that we can add an ethernet
> ++	 * alias for it (which e.g. makes u-boot set a mac-address).
> ++	 */
> ++	xr819: sdio_wifi@1 {
> ++		reg = <1>;
> ++	};
> ++};
> ++
> ++&ohci1 {
> ++	status = "okay";
> ++};
> ++
> ++&uart0 {
> ++	pinctrl-names = "default";
> ++	pinctrl-0 = <&uart0_pins_a>;
> ++	status = "okay";
> ++};
> ++
> ++&usbphy {
> ++	/* USB VBUS is always on */
> ++	status = "okay";
> ++};
> diff -Nru u-boot-2016.11+dfsg1/debian/targets u-boot-2016.11+dfsg1/debian/targets
> --- u-boot-2016.11+dfsg1/debian/targets	2016-12-16 12:39:28.000000000 +0100
> +++ u-boot-2016.11+dfsg1/debian/targets	2016-12-17 21:10:17.000000000 +0100
> @@ -148,6 +148,9 @@
>  # Vagrant Cascadian <vagrant@debian.org>, Orange PI Plus2
>  armhf	sunxi		orangepi_plus	u-boot-sunxi-with-spl.bin
>  
> +# Mateusz Łukasik <mati75@linuxmint.pl>, Orange PI Zero
> +armhf   sunxi           orangepi_zero   u-boot-sunxi-with-spl.bin
> +
>  # Ricardo Salveti <rsalveti@rsalveti.net>
>  arm64	qcom		dragonboard410c	u-boot.bin
>  
[signature.asc (application/pgp-signature, inline)]

Added tag(s) upstream. Request was from Vagrant Cascadian <vagrant@debian.org> to 848557-submit@bugs.debian.org. (Sun, 18 Dec 2016 13:51:07 GMT) (full text, mbox, link).


Reply sent to Vagrant Cascadian <vagrant@debian.org>:
You have taken responsibility. (Thu, 22 Dec 2016 05:09:06 GMT) (full text, mbox, link).


Notification sent to Mateusz Łukasik <mati75@linuxmint.pl>:
Bug acknowledged by developer. (Thu, 22 Dec 2016 05:09:07 GMT) (full text, mbox, link).


Message #22 received at 848557-close@bugs.debian.org (full text, mbox, reply):

From: Vagrant Cascadian <vagrant@debian.org>
To: 848557-close@bugs.debian.org
Subject: Bug#848557: fixed in u-boot 2016.11+dfsg1-3
Date: Thu, 22 Dec 2016 05:04:36 +0000
Source: u-boot
Source-Version: 2016.11+dfsg1-3

We believe that the bug you reported is fixed in the latest version of
u-boot, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 848557@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Vagrant Cascadian <vagrant@debian.org> (supplier of updated u-boot package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Wed, 21 Dec 2016 20:44:44 -0800
Source: u-boot
Binary: u-boot u-boot-imx u-boot-qcom u-boot-tegra u-boot-omap u-boot-sunxi u-boot-exynos u-boot-rockchip u-boot-rpi u-boot-tools
Architecture: source
Version: 2016.11+dfsg1-3
Distribution: unstable
Urgency: medium
Maintainer: Vagrant Cascadian <vagrant@debian.org>
Changed-By: Vagrant Cascadian <vagrant@debian.org>
Description:
 u-boot     - A boot loader for embedded systems
 u-boot-exynos - A boot loader for exynos systems
 u-boot-imx - A boot loader for imx systems
 u-boot-omap - A boot loader for omap systems
 u-boot-qcom - A boot loader for qcom systems
 u-boot-rockchip - A boot loader for rockchip systems
 u-boot-rpi - A boot loader for Raspberry PI systems
 u-boot-sunxi - A boot loader for sunxi systems
 u-boot-tegra - A boot loader for NVIDIA Tegra systems
 u-boot-tools - companion tools for Das U-Boot bootloader
Closes: 848557 848911
Changes:
 u-boot (2016.11+dfsg1-3) unstable; urgency=medium
 .
   [ Peter Michael Green ]
   * u-boot-imx: Add patch to add an mx6cuboxi4x4 target, supporting boards
     with 4GB of ram (Closes: #848911).
 .
   [ Vagrant Cascadian ]
   * u-boot-sunxi: Add patches to support orangepi_zero.
     (Closes: #848557). Thanks to Mateusz Łukasik.
   * Add Rick Thomas to mx6cuboxi testers.
Checksums-Sha1:
 02886deac402c804acf89a9afbe88c5d72e7309f 2693 u-boot_2016.11+dfsg1-3.dsc
 04f9264f70e8b62c1a34757e5b375e468cdad02b 37716 u-boot_2016.11+dfsg1-3.debian.tar.xz
Checksums-Sha256:
 5b4e28b46037690501ce4a8320a328ac0a0ddf4f4cb8731ce446bccc40adecc7 2693 u-boot_2016.11+dfsg1-3.dsc
 192519239159d558f6017ff5f464aa44b81ed7acf98ee240475a444a5a954f1b 37716 u-boot_2016.11+dfsg1-3.debian.tar.xz
Files:
 dca5419d331994132eed38f2dd77126f 2693 admin optional u-boot_2016.11+dfsg1-3.dsc
 723e4a94577a0ab818f9cb7e0ed2579f 37716 admin optional u-boot_2016.11+dfsg1-3.debian.tar.xz

-----BEGIN PGP SIGNATURE-----

iQJHBAEBCgAxFiEEcDardHbDotegGFCHt4uC1IFLkbYFAlhbW+MTHHZhZ3JhbnRA
ZGViaWFuLm9yZwAKCRC3i4LUgUuRtpuxEACZb9KOW688c2zNjao/kKbNBruDAm5i
SPbL5bVZCx29fJYYmHOy1qR0w+/crV2YtqZh/CiiyKS+oruymvJmdN6tioVQHUMF
Tq1s2d1mZtnJkNxf853rDES+lD8n+8QmNgaFkGHqPgtZN826naah0r98etXIoQOB
L8gcL5HyAS2loGYxgywOLi1QBejjKzG59S38ybiPlWqEGjcugcE4wFBPOsJ8gIDf
Xnm1eJ03VzyIdroRVj2H2wrPRJ9ZQPVHaYlgnNcyKoS+NX2jSBP/VCiKmUYZ2Sri
IN9Nxlg3ilZt6p2xtVH+VgRJJ0t7RCLLp7JG5AXLfcvtTIhHo0e9xIolb0HQmJK2
ND4zLCZx1x0oFNDyPIkIz+/0dE9TEPgVUEJfeaL4m9RB5uAjM3jDSdvCdCq30SCN
sP3TVi3vfc6PGrN6sBF+IyTS6gNuGVcBeBzT+fKzPOSEfDOdQHARbc19OuG5VVEn
7I/bEnhSxGoD4+GXJC+p+Jv2ndcffX+cBniWaEzZOr8EwVh0RqQPbHdd50NsUy1j
1fIKKfoF27K7SzkdZZfqcl7OVOjR4l7KkYZMEBw9ZBuZz5iSEKDwxwhxwurqQJ8X
hpfQYYVkdEcXadajHIrS2MrxlKFhY390S2XVQIRfXdjuNcOhxxSFadTekp//YylN
P3rH66bAma56dw==
=c04z
-----END PGP SIGNATURE-----




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Mon, 30 Jan 2017 07:35:54 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sun Jun 4 06:50:41 2023; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.