[U-Boot] [PATCH v4 00/13] sunxi: Allwinner H5 and OrangePi PC2 support
Jagan Teki
jagan at openedev.com
Sat Feb 25 08:20:40 UTC 2017
On Thu, Feb 16, 2017 at 6:50 AM, Andre Przywara <andre.przywara at arm.com> wrote:
> Hi,
>
> thanks for all the reviews and ACKs!
>
> Only minor changes this time, see the Changelog below.
>
> Cheers,
> Andre.
>
> --------------------------
> 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 8 patches contain some fixes and refactoring, to make code
> sharing between the three mentioned SoCs easier.
> Patch 09/13 adds support for the H5 DRAM controller, by extending
> the already existing combined H3/A64 DRAM code.
> Patch 10/13 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 11/13 introduces the H5 SoC config option into Kconfig,
> which defines this shared symbol as well.
> Patch 12/13 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.
>
> At the moment this build suffers from the same problem as the A64: the
> ATF is missing, so Linux won't boot easily. With the RFC version of the
> SPL FIT extension series on the list, applied on top of this one this
> should now be solved.
>
> This series is on top of v2017.03-rc2.
>
> Please have a look and let me know your opinion!
>
> Cheers,
> Andre.
>
> Changelog v3..v4:
> - Adding ACKs and RBs
> - adding help text for CONFIG_SUNXI_HIGH_SRAM option
> - adapting _defconfig to upstream changes
>
> Changelog v2..v3:
> - Adding ACKs and RBs
> - remove not needed CONFIG_MACH_SUN50I_H5_64
> - move ARM_CORTEX_CPU_IS_UP to arch/arm/Kconfig
>
> Changelog v1..v2:
> - Adding Maxime's ACKs
> - new patch 2 and 3 to rename CONFIG_TIMER_CLK_FREQ to COUNTER_FREQUENCY
> - renaming CONFIG symbol name for single core SoCs
> - fixing one checkpatch issue (some are left, though)
> - mentioning methodology and reason for missing data in DRAM driver
> - renaming shared config symbol to CONFIG_MACH_SUNXI_H3_H5
> - updated to lastest origin/master
>
> Andre Przywara (13):
> sunxi: fix ACTLR.SMP assembly routine
> ARM: rename CONFIG_TIMER_CLK_FREQ to COUNTER_FREQUENCY
> fsl: ls102x: remove redundant GENERIC_TIMER_CLK
> 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: introduce Allwinner H5 config option
> sunxi: dts: add basic OrangePi PC 2 device tree file
> sunxi: configs: add basic OrangePi PC 2 defconfig
squash above two commits.
Applied to u-boot-sunxi/master
thanks!
--
Jagan Teki
Free Software Engineer | www.openedev.com
U-Boot, Linux | Upstream Maintainer
Hyderabad, India.
More information about the U-Boot
mailing list