[U-Boot] [PATCH 0/6] arm64: Pine64 fixes and updates

Andre Przywara andre.przywara at arm.com
Wed May 4 23:15:28 CEST 2016


This series improves the Pine64 support.
The first patch fixes a build break, see details in the commit message.
Patch 2/6 reverts a no longer needed memory reservation, as the firmware
bits that used to live in DRAM now can reside in SRAM.
To allow U-Boot to be easily loaded by Allwinner's boot0 loader, patch
3/6 reserves some space at the beginning of the image to (optionally)
fit in a header required by boot0.
Patch 4/6 adjusts the default load addresses in the environment to
meet the arm64 requirements (especially the kernel load address).
The device tree files included in the original Pine64 commit are
outdated, so patch 5/6 replaces some with more mature versions and also
adjusts the naming to match other sunxi boards.
The final patch renames the _defconfig file to get rid of the _plus_
insert.

Please review, comment and apply, if possible.

Cheers,
Andre.

P.S. tools/buildman/README was TL;DR, so I just tested Pine64 and
Bananapi compilation. If someone with a working buildman setup could
test this for build regressions, I'd be grateful.

Andre Przywara (6):
  arm/arm64: Move barrier instructions into separate header
  Revert "sunxi: Reserve ATF memory space on A64"
  arm64: sunxi: reserve space for boot0 header
  arm64: sunxi: adjust default load addresses
  arm64: Pine64: update FDT files
  Pine64: rename defconfig

 arch/arm/cpu/armv8/start.S                 |   3 +
 arch/arm/dts/Makefile                      |   3 +-
 arch/arm/dts/a64.dtsi                      | 564 --------------------------
 arch/arm/dts/pine64.dts                    |  62 ---
 arch/arm/dts/pine64_common.dtsi            |  76 ----
 arch/arm/dts/pine64_plus.dts               |  63 ---
 arch/arm/dts/sun50i-a64-pine64-common.dtsi |  80 ++++
 arch/arm/dts/sun50i-a64-pine64-plus.dts    |  59 +++
 arch/arm/dts/sun50i-a64-pine64.dts         |  58 +++
 arch/arm/dts/sun50i-a64.dtsi               | 624 +++++++++++++++++++++++++++++
 arch/arm/include/asm/armv7.h               |  21 +-
 arch/arm/include/asm/barriers.h            |  44 ++
 arch/arm/mach-sunxi/dram_helpers.c         |   2 +-
 board/sunxi/board.c                        |   9 -
 configs/pine64_defconfig                   |  20 +
 configs/pine64_plus_defconfig              |  20 -
 include/configs/sunxi-common.h             |  18 +
 17 files changed, 910 insertions(+), 816 deletions(-)
 delete mode 100644 arch/arm/dts/a64.dtsi
 delete mode 100644 arch/arm/dts/pine64.dts
 delete mode 100644 arch/arm/dts/pine64_common.dtsi
 delete mode 100644 arch/arm/dts/pine64_plus.dts
 create mode 100644 arch/arm/dts/sun50i-a64-pine64-common.dtsi
 create mode 100644 arch/arm/dts/sun50i-a64-pine64-plus.dts
 create mode 100644 arch/arm/dts/sun50i-a64-pine64.dts
 create mode 100644 arch/arm/dts/sun50i-a64.dtsi
 create mode 100644 arch/arm/include/asm/barriers.h
 create mode 100644 configs/pine64_defconfig
 delete mode 100644 configs/pine64_plus_defconfig

-- 
2.7.3



More information about the U-Boot mailing list