All of lore.kernel.org
 help / color / mirror / Atom feed
From: Icenowy Zheng <icenowy@aosc.xyz>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 00/12] sunxi: Allwinner H5 and OrangePi PC2 support
Date: Fri, 13 Jan 2017 12:39:34 +0800	[thread overview]
Message-ID: <630651484282374@web28m.yandex.ru> (raw)
In-Reply-To: <1484271004-19681-1-git-send-email-andre.przywara@arm.com>



13.01.2017, 09:34, "Andre Przywara" <andre.przywara@arm.com>:
> This series introduces support for the Allwinner H5 SoC with four
> Cortex-A53 cores. The SoC's peripherals are very similar to the H3,
> although the cores and the BROM/SRAM layout resembles the A64.
> The first 6 patches contain some fixes and refactoring, to make code
> sharing between the three mentioned SoCs easier.
> Patch 07/12 adds support for the H5 DRAM controller, by extending
> the already existing combined H3/A64 DRAM code.
> Patch 08/12 renames the existing CONFIG_MACH_SUN8I_H3 config symbol to
> let it be used by all peripheral code that can be shared between the
> H3 and H5. Patch 10/12 introduces the H5 SoC config option into Kconfig,
> which defines this shared symbol as well.
> Patch 11/12 adds an easy device tree, which actually uses the H3 .dtsi
> and overwrites nodes which are different. This is good enough for U-Boot,
> the DT will be changed anyway once we get the DT merged into the Linux
> kernel.
> The final patch then adds the defconfig for the OrangePi PC2 board.
> Since this board comes with soldered SPI flash, we enable support for
> it in the SPL. This has been tested by writing the SPI flash with some
> special sunxi-fel version. The BROM loaded and executed the SPL, which
> in turn loaded and executed U-Boot proper. Both parts are 64-bit only
> for now.
> Ethernet support is enabled, but fails at the moment since the EMAC
> driver does not support setting a GPIO to enable the external Gigabit PHY.
> This should be a problem for H3 boards with Gigabit as well.
>
> At the moment this build suffers from the same problem as the A64: the
> ATF is missing, so Linux won't boot easily. However I finally managed to
> clean up the FIT extension series, which solves this problem in a quite
> elegant way. I will post this series after getting some sleep ;-)
>
> This series is on top of sunxi/next, which has three yet unmerged (and
> unrelated) patches compared to HEAD. So it should apply to both branches.
>
> Some of these patches will probably conflict with ongoing work from
> Icenowy, I am happy to rebase on any branch someone points me to.

No. It's me who should do rebase, as I have not done everything ;-)

>
> Please have a look and let me know your opinion!
>
> Cheers,
> Andre.
>
> Andre Przywara (12):
> ??sunxi: fix ACTLR.SMP assembly routine
> ??sunxi: simplify ACTLR.SMP bit set #ifdef
> ??sunxi: configs: merge sun9i and sun50i SPL memory definitions
> ??sunxi: Kconfig: introduce CONFIG_SUNXI_HIGH_SRAM
> ??sunxi: provide ARMv8 mem_map for every ARM64 board
> ??SPI: SPL: sunxi: fix 64-bit build
> ??sunxi: DRAM: add Allwinner H5 support
> ??sunxi: prepare for sharing MACH_SUN8I_H3 config symbol
> ??sunxi: H5: add COUNTER_FREQUENCY
> ??sunxi: introduce Allwinner H5 config option
> ??sunxi: dts: add basic OrangePi PC 2 device tree file
> ??sunxi: configs: add basic OrangePi PC 2 defconfig
>
> ?arch/arm/dts/Makefile | 2 +
> ?arch/arm/dts/sun50i-h5-orangepi-pc2.dts | 147 ++++++++++++++++++++++++++
> ?arch/arm/include/asm/arch-sunxi/clock_sun6i.h | 4 +-
> ?arch/arm/include/asm/arch-sunxi/cpu.h | 1 +
> ?arch/arm/include/asm/arch-sunxi/cpu_sun4i.h | 4 +-
> ?arch/arm/include/asm/arch-sunxi/dram.h | 2 +-
> ?arch/arm/include/asm/arch-sunxi/spl.h | 2 +-
> ?arch/arm/mach-sunxi/Makefile | 2 +-
> ?arch/arm/mach-sunxi/board.c | 21 ++--
> ?arch/arm/mach-sunxi/clock_sun6i.c | 6 +-
> ?arch/arm/mach-sunxi/cpu_info.c | 2 +
> ?arch/arm/mach-sunxi/dram_sun8i_h3.c | 97 ++++++++++++++---
> ?arch/arm/mach-sunxi/usb_phy.c | 4 +-
> ?board/sunxi/Kconfig | 36 ++++++-
> ?board/sunxi/MAINTAINERS | 5 +
> ?configs/orangepi_pc2_defconfig | 16 +++
> ?drivers/mtd/spi/Kconfig | 2 +-
> ?drivers/mtd/spi/sunxi_spi_spl.c | 16 +--
> ?drivers/net/sun8i_emac.c | 2 +-
> ?drivers/power/Kconfig | 4 +-
> ?drivers/usb/host/ehci-sunxi.c | 2 +-
> ?include/configs/sun8i.h | 2 +
> ?include/configs/sunxi-common.h | 22 ++--
> ?23 files changed, 330 insertions(+), 71 deletions(-)
> ?create mode 100644 arch/arm/dts/sun50i-h5-orangepi-pc2.dts
> ?create mode 100644 configs/orangepi_pc2_defconfig
>
> --
> 2.8.2

      parent reply	other threads:[~2017-01-13  4:39 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-13  1:29 [U-Boot] [PATCH 00/12] sunxi: Allwinner H5 and OrangePi PC2 support Andre Przywara
2017-01-13  1:29 ` [U-Boot] [PATCH 01/12] sunxi: fix ACTLR.SMP assembly routine Andre Przywara
2017-01-16  7:42   ` Maxime Ripard
2017-01-13  1:29 ` [U-Boot] [PATCH 02/12] sunxi: simplify ACTLR.SMP bit set #ifdef Andre Przywara
2017-01-13  4:41   ` Icenowy Zheng
2017-01-13  8:09     ` [U-Boot] [linux-sunxi] " Vishnu Patekar
2017-01-13  8:28       ` André Przywara
2017-01-16  7:44         ` Maxime Ripard
2017-01-22  1:06           ` André Przywara
2017-01-23  9:55             ` Maxime Ripard
2017-01-13  8:20     ` [U-Boot] " André Przywara
2017-01-13  1:29 ` [U-Boot] [PATCH 03/12] sunxi: configs: merge sun9i and sun50i SPL memory definitions Andre Przywara
2017-01-16  7:45   ` Maxime Ripard
2017-01-13  1:29 ` [U-Boot] [PATCH 04/12] sunxi: Kconfig: introduce CONFIG_SUNXI_HIGH_SRAM Andre Przywara
2017-01-16  7:46   ` Maxime Ripard
2017-01-13  1:29 ` [U-Boot] [PATCH 05/12] sunxi: provide ARMv8 mem_map for every ARM64 board Andre Przywara
2017-01-16  7:47   ` Maxime Ripard
2017-01-13  1:29 ` [U-Boot] [PATCH 06/12] SPI: SPL: sunxi: fix 64-bit build Andre Przywara
2017-01-15 12:17   ` Rask Ingemann Lambertsen
2017-01-19 13:57     ` Simon Glass
2017-01-13  1:29 ` [U-Boot] [PATCH 07/12] sunxi: DRAM: add Allwinner H5 support Andre Przywara
2017-01-16  7:56   ` Maxime Ripard
2017-01-13  1:30 ` [U-Boot] [PATCH 08/12] sunxi: prepare for sharing MACH_SUN8I_H3 config symbol Andre Przywara
2017-01-16  7:59   ` Maxime Ripard
2017-01-22  1:06     ` André Przywara
2017-01-13  1:30 ` [U-Boot] [PATCH 09/12] sunxi: H5: add COUNTER_FREQUENCY Andre Przywara
2017-01-16  8:01   ` Maxime Ripard
2017-01-22  1:06     ` André Przywara
2017-01-13  1:30 ` [U-Boot] [PATCH 10/12] sunxi: introduce Allwinner H5 config option Andre Przywara
2017-01-13  1:30 ` [U-Boot] [PATCH 11/12] sunxi: dts: add basic OrangePi PC 2 device tree file Andre Przywara
2017-01-13  1:30 ` [U-Boot] [PATCH 12/12] sunxi: configs: add basic OrangePi PC 2 defconfig Andre Przywara
2017-01-13  4:39 ` Icenowy Zheng [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=630651484282374@web28m.yandex.ru \
    --to=icenowy@aosc.xyz \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.