Skip to contentSkip to conversation

board: Add Allwinner A64/H5 boards

PATCH Superseded Jagan Teki 6 participants 29 messages Nov 1, 2017 – Dec 20, 2017 2 messages not in the archive Arm/Allwinner sunXi SoC support

v5 of 6 Superseded Latest is v6 →

lore
Share & tools
lore

Jagan Teki

author
#0 lore raw

v5 cover board: Add Allwinner A64/H5 boards

This patchset fix wiki link and update dtb file for sopine board.
[1] was previous set.

All boards now use Mainline U-Boot, Linux and Nanaopi A64, A64-olinuxino used linux-next patches since 4.13.7 have not been merged.

Tested on rea hardware.

Changes for v5:
- Fixed wiki links
- Update dtb file for sopine
Changes for v4:
- Added "arm-trusted-firmware: Build FIP for BL33" patch
- Added "uboot: Add U-Boot-bundles-ATF support" patch
- Droped sunxi64-post-build.sh config and script file Changes for v3:
- Fixed Bananapi M1 comment on config file
- Add sunxi64-post-build.sh
- Add all sunxi64 boards
Changes for v2:
- Rebase on master

[1] http://buildroot-busybox.2317881.n4.nabble.com/PATCH-v4-00-11-board-Add-Allwinner-A64-H5-boards-td178509.html

Jagan Teki (11):
arm-trusted-firmware: Build FIP for BL33
uboot: Add U-Boot-bundles-ATF support
board: Add Bananapi M64 support
board: Add Pine64 support
board: Add SoPine support
board: Add FriendlyARM Nanopi A64 support
board: Add FriendlyARM Nanopi NEO2 support
board: Add Olimex A64-OLinuXino support
board: Add Orangepi Win/Win Plus support
board: Add Orangepi Prime support
board: Add Orangepi Zero Plus2 support

 .gitlab-ci.yml                                     |   9 +
 DEVELOPERS                                         |  16 ++
 board/bananapi/bananapi-m64/boot.cmd               |   6 +
 board/bananapi/bananapi-m64/genimage.cfg           |  38 +++
 board/bananapi/bananapi-m64/readme.txt             |  37 +++
 board/friendlyarm/nanopi-a64/boot.cmd              |   6 +
 board/friendlyarm/nanopi-a64/genimage.cfg          |  38 +++
 board/friendlyarm/nanopi-a64/linux_axp.fragment    |   3 +
 ...nner-a64-add-NMI-R_INTC-controller-on-A64.patch |  41 ++++
 ...lwinner-a64-add-DTSI-file-for-AXP803-PMIC.patch | 176 ++++++++++++++
 ...winner-a64-Add-initial-NanoPi-A64-support.patch | 254 +++++++++++++++++++++
 board/friendlyarm/nanopi-a64/readme.txt            |  37 +++
 board/friendlyarm/nanopi-neo2/boot.cmd             |   6 +
 board/friendlyarm/nanopi-neo2/genimage.cfg         |  38 +++
 board/friendlyarm/nanopi-neo2/readme.txt           |  37 +++
 board/olimex/a64-olinuxino/boot.cmd                |   6 +
 board/olimex/a64-olinuxino/genimage.cfg            |  38 +++
 board/olimex/a64-olinuxino/linux_axp.fragment      |   3 +
 ...nner-a64-add-NMI-R_INTC-controller-on-A64.patch |  41 ++++
 ...lwinner-a64-add-DTSI-file-for-AXP803-PMIC.patch | 176 ++++++++++++++
 ...nner-a64-Add-A64-OLinuXino-initial-suppor.patch | 244 ++++++++++++++++++++
 board/olimex/a64-olinuxino/readme.txt              |  37 +++
 board/orangepi/orangepi-prime/boot.cmd             |   6 +
 board/orangepi/orangepi-prime/genimage.cfg         |  38 +++
 board/orangepi/orangepi-prime/readme.txt           |  37 +++
 board/orangepi/orangepi-win/boot.cmd               |   6 +
 board/orangepi/orangepi-win/genimage.cfg           |  38 +++
 board/orangepi/orangepi-win/readme.txt             |  37 +++
 board/orangepi/orangepi-zero-plus2/boot.cmd        |   6 +
 board/orangepi/orangepi-zero-plus2/genimage.cfg    |  38 +++
 board/orangepi/orangepi-zero-plus2/readme.txt      |  37 +++
 board/pine64/pine64/boot.cmd                       |   6 +
 board/pine64/pine64/genimage.cfg                   |  38 +++
 board/pine64/pine64/readme.txt                     |  38 +++
 board/pine64/sopine/boot.cmd                       |   6 +
 board/pine64/sopine/genimage.cfg                   |  38 +++
 board/pine64/sopine/readme.txt                     |  38 +++
 boot/arm-trusted-firmware/arm-trusted-firmware.mk  |  12 +-
 boot/uboot/Config.in                               |  10 +
 boot/uboot/uboot.mk                                |   5 +
 configs/bananapi_m64_defconfig                     |  47 ++++
 configs/friendlyarm_nanopi_a64_defconfig           |  51 +++++
 configs/friendlyarm_nanopi_neo2_defconfig          |  47 ++++
 configs/olimex_a64_olinuxino_defconfig             |  51 +++++
 configs/orangepi_prime_defconfig                   |  47 ++++
 configs/orangepi_win_defconfig                     |  47 ++++
 configs/orangepi_zero_plus2_defconfig              |  47 ++++
 configs/pine64_defconfig                           |  47 ++++
 configs/pine64_sopine_defconfig                    |  47 ++++
 49 files changed, 2149 insertions(+), 3 deletions(-)
 create mode 100644 board/bananapi/bananapi-m64/boot.cmd
 create mode 100644 board/bananapi/bananapi-m64/genimage.cfg
 create mode 100644 board/bananapi/bananapi-m64/readme.txt
 create mode 100644 board/friendlyarm/nanopi-a64/boot.cmd
 create mode 100644 board/friendlyarm/nanopi-a64/genimage.cfg
 create mode 100644 board/friendlyarm/nanopi-a64/linux_axp.fragment
 create mode 100644 board/friendlyarm/nanopi-a64/patches/linux/linux-0001-arm64-allwinner-a64-add-NMI-R_INTC-controller-on-A64.patch
 create mode 100644 board/friendlyarm/nanopi-a64/patches/linux/linux-0002-arm64-allwinner-a64-add-DTSI-file-for-AXP803-PMIC.patch
 create mode 100644 board/friendlyarm/nanopi-a64/patches/linux/linux-0003-arm64-allwinner-a64-Add-initial-NanoPi-A64-support.patch
 create mode 100644 board/friendlyarm/nanopi-a64/readme.txt
 create mode 100644 board/friendlyarm/nanopi-neo2/boot.cmd
 create mode 100644 board/friendlyarm/nanopi-neo2/genimage.cfg
 create mode 100644 board/friendlyarm/nanopi-neo2/readme.txt
 create mode 100644 board/olimex/a64-olinuxino/boot.cmd
 create mode 100644 board/olimex/a64-olinuxino/genimage.cfg
 create mode 100644 board/olimex/a64-olinuxino/linux_axp.fragment
 create mode 100644 board/olimex/a64-olinuxino/patches/linux/linux-0001-arm64-allwinner-a64-add-NMI-R_INTC-controller-on-A64.patch
 create mode 100644 board/olimex/a64-olinuxino/patches/linux/linux-0002-arm64-allwinner-a64-add-DTSI-file-for-AXP803-PMIC.patch
 create mode 100644 board/olimex/a64-olinuxino/patches/linux/linux-0003-arm64-allwinner-a64-Add-A64-OLinuXino-initial-suppor.patch
 create mode 100644 board/olimex/a64-olinuxino/readme.txt
 create mode 100644 board/orangepi/orangepi-prime/boot.cmd
 create mode 100644 board/orangepi/orangepi-prime/genimage.cfg
 create mode 100644 board/orangepi/orangepi-prime/readme.txt
 create mode 100644 board/orangepi/orangepi-win/boot.cmd
 create mode 100644 board/orangepi/orangepi-win/genimage.cfg
 create mode 100644 board/orangepi/orangepi-win/readme.txt
 create mode 100644 board/orangepi/orangepi-zero-plus2/boot.cmd
 create mode 100644 board/orangepi/orangepi-zero-plus2/genimage.cfg
 create mode 100644 board/orangepi/orangepi-zero-plus2/readme.txt
 create mode 100644 board/pine64/pine64/boot.cmd
 create mode 100644 board/pine64/pine64/genimage.cfg
 create mode 100644 board/pine64/pine64/readme.txt
 create mode 100644 board/pine64/sopine/boot.cmd
 create mode 100644 board/pine64/sopine/genimage.cfg
 create mode 100644 board/pine64/sopine/readme.txt
 create mode 100644 configs/bananapi_m64_defconfig
 create mode 100644 configs/friendlyarm_nanopi_a64_defconfig
 create mode 100644 configs/friendlyarm_nanopi_neo2_defconfig
 create mode 100644 configs/olimex_a64_olinuxino_defconfig
 create mode 100644 configs/orangepi_prime_defconfig
 create mode 100644 configs/orangepi_win_defconfig
 create mode 100644 configs/orangepi_zero_plus2_defconfig
 create mode 100644 configs/pine64_defconfig
 create mode 100644 configs/pine64_sopine_defconfig
Signature · 1 line
1.9.1
author
#1 lore raw

PATCH v5 1/11 arm-trusted-firmware: Build FIP for BL33

To build FIP for Juno, we need to set BL33 for non-BL33 there is no need to build the FIP, so this patch adjust the make to handle both scenarios.

---
 boot/arm-trusted-firmware/arm-trusted-firmware.mk | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)
boot/arm-trusted-firmware/arm-trusted-firmware.mk +7 -3
index 7b1cc6e..5b4e3b0 100644
@@ -28,21 +28,25 @@ ARM_TRUSTED_FIRMWARE_INSTALL_IMAGES = YES
 
 ARM_TRUSTED_FIRMWARE_PLATFORM = $(call qstrip,$(BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM))
 
+ARM_TRUSTED_FIRMWARE_CMDS += all
+
 ARM_TRUSTED_FIRMWARE_MAKE_OPTS += \
 	CROSS_COMPILE="$(TARGET_CROSS)" \
-	BL33=$(BINARIES_DIR)/u-boot.bin \
 	$(call qstrip,$(BR2_TARGET_ARM_TRUSTED_FIRMWARE_ADDITIONAL_VARIABLES)) \
 	PLAT=$(ARM_TRUSTED_FIRMWARE_PLATFORM)
 
 ifeq ($(BR2_TARGET_VEXPRESS_FIRMWARE),y)
-ARM_TRUSTED_FIRMWARE_MAKE_OPTS += SCP_BL2=$(BINARIES_DIR)/scp-fw.bin
 ARM_TRUSTED_FIRMWARE_DEPENDENCIES += vexpress-firmware
+ARM_TRUSTED_FIRMWARE_MAKE_OPTS += \
+	BL33=$(BINARIES_DIR)/u-boot.bin \
+	SCP_BL2=$(BINARIES_DIR)/scp-fw.bin
+ARM_TRUSTED_FIRMWARE_CMDS += fip
 endif
 
 define ARM_TRUSTED_FIRMWARE_BUILD_CMDS
 	$(TARGET_CONFIGURE_OPTS) \
 		$(MAKE) -C $(@D) $(ARM_TRUSTED_FIRMWARE_MAKE_OPTS) \
-			all fip
+			$(ARM_TRUSTED_FIRMWARE_CMDS)
 endef
 
 define ARM_TRUSTED_FIRMWARE_INSTALL_IMAGES_CMDS
Signature · 1 line
1.9.1
author
#2 lore raw

PATCH v5 2/11 uboot: Add U-Boot-bundles-ATF support

In reply to Jagan Teki

For building U-Boot proper in Allwinner A64/H5, ATF need to build first and ATF binary need to be exported.

U-Boot-bundles-ATF support export ATF binary and disable U-Boot dependency in ATF becuase except U-Boot dependent boards(like juno) ideally ATF will build prior to U-Boot.

---
 boot/arm-trusted-firmware/arm-trusted-firmware.mk |  2 ++
 boot/uboot/Config.in                              | 10 ++++++++++
 boot/uboot/uboot.mk                               |  5 +++++
 3 files changed, 17 insertions(+)
boot/arm-trusted-firmware/arm-trusted-firmware.mk +2 -0
index 5b4e3b0..c0af8e8 100644
@@ -8,7 +8,9 @@ ARM_TRUSTED_FIRMWARE_VERSION = $(call qstrip,$(BR2_TARGET_ARM_TRUSTED_FIRMWARE_V
 ARM_TRUSTED_FIRMWARE_LICENSE = BSD-3-Clause
 ARM_TRUSTED_FIRMWARE_LICENSE_FILES = license.rst
 
+ifeq ($(BR2_TARGET_UBOOT_NEEDS_ATF),)
 ARM_TRUSTED_FIRMWARE_DEPENDENCIES += uboot
+endif
 
 ifeq ($(ARM_TRUSTED_FIRMWARE_VERSION),custom)
 # Handle custom ATF tarballs as specified by the configuration
boot/uboot/Config.in +10 -0
index 8215912..4751593 100644
@@ -158,6 +158,16 @@ config BR2_TARGET_UBOOT_NEEDS_OPENSSL
 	  typically the case when the board configuration has
 	  CONFIG_FIT_SIGNATURE enabled.
 
+config BR2_TARGET_UBOOT_NEEDS_ATF
+	bool "U-Boot needs ATF"
+	depends on BR2_TARGET_ARM_TRUSTED_FIRMWARE
+	help
+	  For building U-Boot proper in Allwinner A64/H5, ATF need
+	  to build first and ATF binary need to be exported.
+	  This config typically export ATF binary and disable
+	  U-Boot dependency in ATF becuase except U-Boot dependent
+	  boards(like juno) ideally ATF will build prior to U-Boot.
+
 menu "U-Boot binary format"
 
 config BR2_TARGET_UBOOT_FORMAT_AIS
boot/uboot/uboot.mk +5 -0
index fdacf16..cbd2225 100644
@@ -134,6 +134,11 @@ UBOOT_MAKE_OPTS += \
 	HOSTCC="$(HOSTCC) $(HOST_CFLAGS)" \
 	HOSTLDFLAGS="$(HOST_LDFLAGS)"
 
+ifeq ($(BR2_TARGET_UBOOT_NEEDS_ATF),y)
+UBOOT_MAKE_OPTS += \
+	BL31=${BUILD_DIR}/arm-trusted-firmware-${BR2_TARGET_ARM_TRUSTED_FIRMWARE_VERSION}/build/${BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM}/release/${BR2_TARGET_ARM_TRUSTED_FIRMWARE_ADDITIONAL_VARIABLES}.bin
+endif
+
 ifeq ($(BR2_TARGET_UBOOT_NEEDS_DTC),y)
 UBOOT_DEPENDENCIES += host-dtc
 endif
Signature · 1 line
1.9.1
author
#3 lore raw

PATCH v5 3/11 board: Add Bananapi M64 support

In reply to Jagan Teki

Add initial support for bananapi M64 board with below features:
- U-Boot 2017.09
- Linux 4.13.7
- Default packages from buildroot

Cc hailymei at banana-pi.com <[email protected]>
---
 .gitlab-ci.yml                           |  1 +
 DEVELOPERS                               |  1 +
 board/bananapi/bananapi-m64/boot.cmd     |  6 ++++
 board/bananapi/bananapi-m64/genimage.cfg | 38 ++++++++++++++++++++++++++
 board/bananapi/bananapi-m64/readme.txt   | 37 +++++++++++++++++++++++++
 configs/bananapi_m64_defconfig           | 47 ++++++++++++++++++++++++++++++++
 6 files changed, 130 insertions(+)
 create mode 100644 board/bananapi/bananapi-m64/boot.cmd
 create mode 100644 board/bananapi/bananapi-m64/genimage.cfg
 create mode 100644 board/bananapi/bananapi-m64/readme.txt
 create mode 100644 configs/bananapi_m64_defconfig
.gitlab-ci.yml +1 -0
index ebaac7a..3dd4f48 100644
@@ -90,6 +90,7 @@ atmel_sama5d4_xplained_mmc_defconfig: *defconfig
 atmel_sama5d4_xplained_mmc_dev_defconfig: *defconfig
 bananapi_m1_defconfig: *defconfig
 bananapi_m2_plus_defconfig: *defconfig
+bananapi_m64_defconfig: *defconfig
 bananapro_defconfig: *defconfig
 beagleboardx15_defconfig: *defconfig
 beaglebone_defconfig: *defconfig
DEVELOPERS +1 -0
index 51283f1..6521aad 100644
@@ -729,6 +729,7 @@ N:	Jagan Teki <[email protected]>
 F:	board/bananapi/
 F:	board/engicam/
 F:	configs/bananapi_m1_defconfig
+F:	configs/bananapi_m64_defconfig
 F:	configs/engicam_imx6qdl_icore_defconfig
 F:	configs/engicam_imx6qdl_icore_qt5_defconfig
 F:	configs/engicam_imx6qdl_icore_rqs_defconfig
board/bananapi/bananapi-m64/boot.cmd new file +6 -0
new file mode 100644
index 0000000..d35c9b0
@@ -0,0 +1,6 @@
+setenv bootargs console=ttyS0,115200 earlyprintk root=/dev/mmcblk0p2 rootwait
+
+fatload mmc 0 $kernel_addr_r Image
+fatload mmc 0 $fdt_addr_r sun50i-a64-bananapi-m64.dtb
+
+booti $kernel_addr_r - $fdt_addr_r
board/bananapi/bananapi-m64/genimage.cfg new file +38 -0
new file mode 100644
index 0000000..891217c
@@ -0,0 +1,38 @@
+image boot.vfat {
+	vfat {
+		files = {
+			"Image",
+			"sun50i-a64-bananapi-m64.dtb",
+			"boot.scr"
+		}
+	}
+	size = 64M
+}
+
+image sdcard.img {
+	hdimage {
+	}
+
+	partition spl {
+		in-partition-table = "no"
+		image = "sunxi-spl.bin"
+		offset = 8192
+	}
+
+	partition u-boot {
+		in-partition-table = "no"
+		image = "u-boot.itb"
+		offset = 40K
+	}
+
+	partition boot {
+		partition-type = 0xC
+		bootable = "true"
+		image = "boot.vfat"
+	}
+
+	partition rootfs {
+		partition-type = 0x83
+		image = "rootfs.ext4"
+	}
+}
board/bananapi/bananapi-m64/readme.txt new file +37 -0
new file mode 100644
index 0000000..0dec3e5
@@ -0,0 +1,37 @@
+Intro
+=====
+
+This default configuration will allow you to start experimenting with the
+buildroot environment for the Bananapi M64. With the current configuration
+it will bring-up the board, and allow access through the serial console.
+
+Bananapi M64 link:
+http://www.banana-pi.org/m64.html
+
+Wiki link:
+https://openedev.amarulasolutions.com/display/ODWIKI/Bananapi+M64
+
+This configuration uses U-Boot mainline and kernel mainline.
+
+How to build
+============
+
+    $ make bananapi_m64_defconfig
+    $ make
+
+Note: you will need access to the internet to download the required
+sources.
+
+How to write the SD card
+========================
+
+Once the build process is finished you will have an image called "sdcard.img"
+in the output/images/ directory.
+
+Copy the bootable "sdcard.img" onto an SD card with "dd":
+
+  $ sudo dd if=output/images/sdcard.img of=/dev/sdX
+  $ sudo sync
+
+Insert the micro SDcard in your Bananapi M64 and power it up. The console
+is on the serial line, 115200 8N1.
configs/bananapi_m64_defconfig new file +47 -0

47 lines not on this page · raw message

Signature · 1 line
1.9.1

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

#6 lore raw

[Buildroot] 回复: Re: [PATCH v5 03/11] board: Add Bananapi M64 support

Hello,

Quoted 3 lines · hailymei at banana-pi.com

Good day!
We have arranged shipment for you by DHL with the tracking no. of 5151974822, pls track it on: http://www.dhl.com/en/express/tracking.html?AWB=5151974822&brand=DHL

Just for the record: you are posting to two public mailing lists here, while those exchanges should probably be private.

That being said, if you're sending BananaPi boards, I'm also interested :-)

Thanks :-)

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
#7 lore raw

[Buildroot] 回复: Re: [PATCH v5 03/11] board: Add Bananapi M64 support

Quoted 10 lines · Thomas Petazzoni

Hello,

Quoted 3 lines · hailymei at banana-pi.com

Good day!
We have arranged shipment for you by DHL with the tracking no. of 5151974822, pls track it on: http://www.dhl.com/en/express/tracking.html?AWB=5151974822&brand=DHL

Just for the record: you are posting to two public mailing lists here, while those exchanges should probably be private.

Sorry, Haily Mei accidentally reply all.

thanks!

Signature · 4 lines
Jagan Teki
Senior Linux Kernel Engineer | Amarula Solutions
U-Boot, Linux | Upstream Maintainer
Hyderabad, India.
#8 lore raw

PATCH v5 3/11 board: Add Bananapi M64 support

In reply to Jagan Teki

Hello,

configs/bananapi_m64_defconfig line 14

Quoted 7 lines · Jagan Teki
configs/bananapi_m64_defconfig new file +7 -0
+# Firmware
+BR2_TARGET_ARM_TRUSTED_FIRMWARE=y
+BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_GIT=y
+BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_REPO_URL="https://github.com/apritzel/arm-trusted-firmware.git"
+BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="sun50iw1p1"
+BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_REPO_VERSION="aa75c8da415158a94b82a430b2b40000778e851f"
+BR2_TARGET_ARM_TRUSTED_FIRMWARE_ADDITIONAL_VARIABLES="bl31"

What is this "bl31" additional variable doing?

Aren't you hijacking the ADDITIONAL_VARIABLES thing to call the bl31 make target ?

I understand it works, but it's a hack.

Best regards,

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
#9 lore raw

PATCH v5 3/11 board: Add Bananapi M64 support

+ Andre

Quoted 4 lines · Thomas Petazzoni

Hello,

On Wed, 1 Nov 2017 19:05:45 +0100, Jagan Teki wrote:

Quoted 9 lines

configs/bananapi_m64_defconfig line 14

Quoted 7 lines
configs/bananapi_m64_defconfig new file +7 -0
+# Firmware
+BR2_TARGET_ARM_TRUSTED_FIRMWARE=y
+BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_GIT=y
+BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_REPO_URL="https://github.com/apritzel/arm-trusted-firmware.git"
+BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="sun50iw1p1"
+BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_REPO_VERSION="aa75c8da415158a94b82a430b2b40000778e851f"
+BR2_TARGET_ARM_TRUSTED_FIRMWARE_ADDITIONAL_VARIABLES="bl31"

What is this "bl31" additional variable doing?

Source build varies based on the exception levels switches, like bl31 we have bl31, bl2, bl1

Quoted 3 lines

Aren't you hijacking the ADDITIONAL_VARIABLES thing to call the bl31 make target ?

Since ADDITIONAL_VARIABLES resembles to use additional parameters for ATF build, I've treated bl31 as additional variable for this ATF

thanks!

Signature · 4 lines
Jagan Teki
Senior Linux Kernel Engineer | Amarula Solutions
U-Boot, Linux | Upstream Maintainer
Hyderabad, India.
#10 lore raw

PATCH v5 3/11 board: Add Bananapi M64 support

Hi,

Quoted 18 lines · Jagan Teki

+ Andre

Quoted 4 lines · Thomas Petazzoni

Hello,

On Wed, 1 Nov 2017 19:05:45 +0100, Jagan Teki wrote:

Quoted 9 lines

configs/bananapi_m64_defconfig line 14

Quoted 7 lines
configs/bananapi_m64_defconfig new file +7 -0
+# Firmware
+BR2_TARGET_ARM_TRUSTED_FIRMWARE=y
+BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_GIT=y
+BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_REPO_URL="https://github.com/apritzel/arm-trusted-firmware.git"
+BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="sun50iw1p1"
+BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_REPO_VERSION="aa75c8da415158a94b82a430b2b40000778e851f"
+BR2_TARGET_ARM_TRUSTED_FIRMWARE_ADDITIONAL_VARIABLES="bl31"

What is this "bl31" additional variable doing?

Quoted 2 lines

Source build varies based on the exception levels switches, like bl31 we have bl31, bl2, bl1

Those are not exception levels, but just stages of ATF: BROM loads bl1, which (optionally) loads bl2 and possibly bl31 (if bl2 does not do this). Various platforms can implement only a subset of these stages, the Allwinner port chose to only implement bl31.
Technically we should express this in the Makefile snippets, so that "make all" just builds bl31, but that's not easy to do in the Allwinner port.

Quoted 5 lines
Quoted 2 lines

Aren't you hijacking the ADDITIONAL_VARIABLES thing to call the bl31 make target ?

Since ADDITIONAL_VARIABLES resembles to use additional parameters for ATF build, I've treated bl31 as additional variable for this ATF

I have the same feeling as Thomas: bl31 is just a make target (instead of "all" and/or "fip"). So it should be treated like this. Using ADDITIONAL_VARIABLES sounds like a hack.

Cheers,
Andre.

#11 lore raw

PATCH v5 3/11 board: Add Bananapi M64 support

Hello,

Quoted 6 lines · Andre Przywara
Quoted 2 lines

Since ADDITIONAL_VARIABLES resembles to use additional parameters for ATF build, I've treated bl31 as additional variable for this ATF

I have the same feeling as Thomas: bl31 is just a make target (instead of "all" and/or "fip"). So it should be treated like this. Using ADDITIONAL_VARIABLES sounds like a hack.

See the series I have posted at
http://lists.busybox.net/pipermail/buildroot/2017-December/208788.html
for a proposal that (among other things) supports bl31 as a proper make target.

Best regards,

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
author
#12 lore raw

PATCH v5 4/11 board: Add Pine64 support

In reply to Jagan Teki

Add initial support for Pine64 board with below features:
- U-Boot 2017.09
- Linux 4.13.7
- Default packages from buildroot

Cc TL Lim <[email protected]>
Cc Andre Przywara <[email protected]>
---
 .gitlab-ci.yml                   |  1 +
 DEVELOPERS                       |  2 ++
 board/pine64/pine64/boot.cmd     |  6 +++++
 board/pine64/pine64/genimage.cfg | 38 ++++++++++++++++++++++++++++++++
 board/pine64/pine64/readme.txt   | 38 ++++++++++++++++++++++++++++++++
 configs/pine64_defconfig         | 47 ++++++++++++++++++++++++++++++++++++++++
 6 files changed, 132 insertions(+)
 create mode 100644 board/pine64/pine64/boot.cmd
 create mode 100644 board/pine64/pine64/genimage.cfg
 create mode 100644 board/pine64/pine64/readme.txt
 create mode 100644 configs/pine64_defconfig
.gitlab-ci.yml +1 -0
index 3dd4f48..44edc61 100644
@@ -161,6 +161,7 @@ orangepi_zero_defconfig: *defconfig
 pandaboard_defconfig: *defconfig
 pc_x86_64_bios_defconfig: *defconfig
 pc_x86_64_efi_defconfig: *defconfig
+pine64_defconfig: *defconfig
 qemu_aarch64_virt_defconfig: *defconfig
 qemu_arm_versatile_defconfig: *defconfig
 qemu_arm_versatile_nommu_defconfig: *defconfig
DEVELOPERS +2 -0
index 6521aad..780c674 100644
@@ -728,8 +728,10 @@ F:	package/keepalived/
 N:	Jagan Teki <[email protected]>
 F:	board/bananapi/
 F:	board/engicam/
+F:	board/pine64/
 F:	configs/bananapi_m1_defconfig
 F:	configs/bananapi_m64_defconfig
+F:	configs/pine64_defconfig
 F:	configs/engicam_imx6qdl_icore_defconfig
 F:	configs/engicam_imx6qdl_icore_qt5_defconfig
 F:	configs/engicam_imx6qdl_icore_rqs_defconfig
board/pine64/pine64/boot.cmd new file +6 -0
new file mode 100644
index 0000000..14f5610
@@ -0,0 +1,6 @@
+setenv bootargs console=ttyS0,115200 earlyprintk root=/dev/mmcblk0p2 rootwait
+
+fatload mmc 0 $kernel_addr_r Image
+fatload mmc 0 $fdt_addr_r sun50i-a64-pine64.dtb
+
+booti $kernel_addr_r - $fdt_addr_r
board/pine64/pine64/genimage.cfg new file +38 -0
new file mode 100644
index 0000000..8e12308
@@ -0,0 +1,38 @@
+image boot.vfat {
+	vfat {
+		files = {
+			"Image",
+			"sun50i-a64-pine64.dtb",
+			"boot.scr"
+		}
+	}
+	size = 64M
+}
+
+image sdcard.img {
+	hdimage {
+	}
+
+	partition spl {
+		in-partition-table = "no"
+		image = "sunxi-spl.bin"
+		offset = 8192
+	}
+
+	partition u-boot {
+		in-partition-table = "no"
+		image = "u-boot.itb"
+		offset = 40K
+	}
+
+	partition boot {
+		partition-type = 0xC
+		bootable = "true"
+		image = "boot.vfat"
+	}
+
+	partition rootfs {
+		partition-type = 0x83
+		image = "rootfs.ext4"
+	}
+}
board/pine64/pine64/readme.txt new file +38 -0
new file mode 100644
index 0000000..85226fd
@@ -0,0 +1,38 @@
+Intro
+=====
+
+This default configuration will allow you to start experimenting with the
+buildroot environment for the Pine64. With the current configuration
+it will bring-up the board, and allow access through the serial console.
+
+Pine64 link:
+https://www.pine64.org/?page_id=1194
+
+Wiki link:
+https://openedev.amarulasolutions.com/display/ODWIKI/Pine64
+
+This configuration uses U-Boot mainline and kernel mainline.
+
+How to build
+============
+
+    $ make pine64_defconfig
+
+    $ make
+
+Note: you will need access to the internet to download the required
+sources.
+
+How to write the SD card
+========================
+
+Once the build process is finished you will have an image called "sdcard.img"
+in the output/images/ directory.
+
+Copy the bootable "sdcard.img" onto an SD card with "dd":
+
+  $ sudo dd if=output/images/sdcard.img of=/dev/sdX
+  $ sudo sync
+
+Insert the micro SDcard in your Pine64 and power it up. The console
+is on the serial line, 115200 8N1.
configs/pine64_defconfig new file +47 -0

47 lines not on this page · raw message

Signature · 1 line
1.9.1
author
#13 lore raw

PATCH v5 5/11 board: Add SoPine support

In reply to Jagan Teki

Add initial support for SoPine board with below features:
- U-Boot 2017.09
- Linux 4.13.7
- Default packages from buildroot

Cc TL Lim <[email protected]>
Cc Andre Przywara <[email protected]>
---
 .gitlab-ci.yml                   |  1 +
 DEVELOPERS                       |  1 +
 board/pine64/sopine/boot.cmd     |  6 +++++
 board/pine64/sopine/genimage.cfg | 38 ++++++++++++++++++++++++++++++++
 board/pine64/sopine/readme.txt   | 38 ++++++++++++++++++++++++++++++++
 configs/pine64_sopine_defconfig  | 47 ++++++++++++++++++++++++++++++++++++++++
 6 files changed, 131 insertions(+)
 create mode 100644 board/pine64/sopine/boot.cmd
 create mode 100644 board/pine64/sopine/genimage.cfg
 create mode 100644 board/pine64/sopine/readme.txt
 create mode 100644 configs/pine64_sopine_defconfig
.gitlab-ci.yml +1 -0
index 44edc61..a690b17 100644
@@ -162,6 +162,7 @@ pandaboard_defconfig: *defconfig
 pc_x86_64_bios_defconfig: *defconfig
 pc_x86_64_efi_defconfig: *defconfig
 pine64_defconfig: *defconfig
+pine64_sopine_defconfig: *defconfig
 qemu_aarch64_virt_defconfig: *defconfig
 qemu_arm_versatile_defconfig: *defconfig
 qemu_arm_versatile_nommu_defconfig: *defconfig
DEVELOPERS +1 -0
index 780c674..106d793 100644
@@ -732,6 +732,7 @@ F:	board/pine64/
 F:	configs/bananapi_m1_defconfig
 F:	configs/bananapi_m64_defconfig
 F:	configs/pine64_defconfig
+F:	configs/pine64_sopine_defconfig
 F:	configs/engicam_imx6qdl_icore_defconfig
 F:	configs/engicam_imx6qdl_icore_qt5_defconfig
 F:	configs/engicam_imx6qdl_icore_rqs_defconfig
board/pine64/sopine/boot.cmd new file +6 -0
new file mode 100644
index 0000000..2eab642
@@ -0,0 +1,6 @@
+setenv bootargs console=ttyS0,115200 earlyprintk root=/dev/mmcblk0p2 rootwait
+
+fatload mmc 0 $kernel_addr_r Image
+fatload mmc 0 $fdt_addr_r sun50i-a64-sopine-baseboard.dtb
+
+booti $kernel_addr_r - $fdt_addr_r
board/pine64/sopine/genimage.cfg new file +38 -0
new file mode 100644
index 0000000..5606d34
@@ -0,0 +1,38 @@
+image boot.vfat {
+	vfat {
+		files = {
+			"Image",
+			"sun50i-a64-sopine-baseboard.dtb",
+			"boot.scr"
+		}
+	}
+	size = 64M
+}
+
+image sdcard.img {
+	hdimage {
+	}
+
+	partition spl {
+		in-partition-table = "no"
+		image = "sunxi-spl.bin"
+		offset = 8192
+	}
+
+	partition u-boot {
+		in-partition-table = "no"
+		image = "u-boot.itb"
+		offset = 40K
+	}
+
+	partition boot {
+		partition-type = 0xC
+		bootable = "true"
+		image = "boot.vfat"
+	}
+
+	partition rootfs {
+		partition-type = 0x83
+		image = "rootfs.ext4"
+	}
+}
board/pine64/sopine/readme.txt new file +38 -0
new file mode 100644
index 0000000..08cb380
@@ -0,0 +1,38 @@
+Intro
+=====
+
+This default configuration will allow you to start experimenting with the
+buildroot environment for the SoPine. With the current configuration
+it will bring-up the board, and allow access through the serial console.
+
+SoPINE link:
+https://www.pine64.org/?page_id=1491
+
+Wiki link:
+https://openedev.amarulasolutions.com/display/ODWIKI/SoPine
+
+This configuration uses U-Boot mainline and kernel mainline.
+
+How to build
+============
+
+    $ make pine64_sopine_defconfig
+
+    $ make
+
+Note: you will need access to the internet to download the required
+sources.
+
+How to write the SD card
+========================
+
+Once the build process is finished you will have an image called "sdcard.img"
+in the output/images/ directory.
+
+Copy the bootable "sdcard.img" onto an SD card with "dd":
+
+  $ sudo dd if=output/images/sdcard.img of=/dev/sdX
+  $ sudo sync
+
+Insert the micro SDcard in your SoPine and power it up. The console
+is on the serial line, 115200 8N1.
configs/pine64_sopine_defconfig new file +47 -0

47 lines not on this page · raw message

Signature · 1 line
1.9.1
author
#14 lore raw

PATCH v5 6/11 board: Add FriendlyARM Nanopi A64 support

In reply to Jagan Teki

Add initial support for FriendlyARM Nanopi A64 board with below features:
- U-Boot 2017.09
- Linux 4.13.7
- Default packages from buildroot

---
 .gitlab-ci.yml                                     |   1 +
 DEVELOPERS                                         |   2 +
 board/friendlyarm/nanopi-a64/boot.cmd              |   6 +
 board/friendlyarm/nanopi-a64/genimage.cfg          |  38 +++
 board/friendlyarm/nanopi-a64/linux_axp.fragment    |   3 +
 ...nner-a64-add-NMI-R_INTC-controller-on-A64.patch |  41 ++++
 ...lwinner-a64-add-DTSI-file-for-AXP803-PMIC.patch | 176 ++++++++++++++
 ...winner-a64-Add-initial-NanoPi-A64-support.patch | 254 +++++++++++++++++++++
 board/friendlyarm/nanopi-a64/readme.txt            |  37 +++
 configs/friendlyarm_nanopi_a64_defconfig           |  51 +++++
 10 files changed, 609 insertions(+)
 create mode 100644 board/friendlyarm/nanopi-a64/boot.cmd
 create mode 100644 board/friendlyarm/nanopi-a64/genimage.cfg
 create mode 100644 board/friendlyarm/nanopi-a64/linux_axp.fragment
 create mode 100644 board/friendlyarm/nanopi-a64/patches/linux/linux-0001-arm64-allwinner-a64-add-NMI-R_INTC-controller-on-A64.patch
 create mode 100644 board/friendlyarm/nanopi-a64/patches/linux/linux-0002-arm64-allwinner-a64-add-DTSI-file-for-AXP803-PMIC.patch
 create mode 100644 board/friendlyarm/nanopi-a64/patches/linux/linux-0003-arm64-allwinner-a64-Add-initial-NanoPi-A64-support.patch
 create mode 100644 board/friendlyarm/nanopi-a64/readme.txt
 create mode 100644 configs/friendlyarm_nanopi_a64_defconfig
.gitlab-ci.yml +1 -0
index a690b17..9e566de 100644
@@ -119,6 +119,7 @@ freescale_imx6ulevk_defconfig: *defconfig
 freescale_imx7dsabresd_defconfig: *defconfig
 freescale_mpc8315erdb_defconfig: *defconfig
 freescale_p1010rdb_pa_defconfig: *defconfig
+friendlyarm_nanopi_a64_defconfig: *defconfig
 galileo_defconfig: *defconfig
 gdb_bfin_bf512_defconfig: *defconfig
 grinn_chiliboard_defconfig: *defconfig
DEVELOPERS +2 -0
index 106d793..cae3730 100644
@@ -728,9 +728,11 @@ F:	package/keepalived/
 N:	Jagan Teki <[email protected]>
 F:	board/bananapi/
 F:	board/engicam/
+F:	board/friendlyarm/nanopi-a64/
 F:	board/pine64/
 F:	configs/bananapi_m1_defconfig
 F:	configs/bananapi_m64_defconfig
+F:	configs/friendlyarm_nanopi_a64_defconfig
 F:	configs/pine64_defconfig
 F:	configs/pine64_sopine_defconfig
 F:	configs/engicam_imx6qdl_icore_defconfig
board/friendlyarm/nanopi-a64/boot.cmd new file +6 -0
new file mode 100644
index 0000000..446bd85
@@ -0,0 +1,6 @@
+setenv bootargs console=ttyS0,115200 earlyprintk root=/dev/mmcblk0p2 rootwait
+
+fatload mmc 0 $kernel_addr_r Image
+fatload mmc 0 $fdt_addr_r sun50i-a64-nanopi-a64.dtb
+
+booti $kernel_addr_r - $fdt_addr_r
board/friendlyarm/nanopi-a64/genimage.cfg new file +38 -0
new file mode 100644
index 0000000..edfb52d
@@ -0,0 +1,38 @@
+image boot.vfat {
+	vfat {
+		files = {
+			"Image",
+			"sun50i-a64-nanopi-a64.dtb",
+			"boot.scr"
+		}
+	}
+	size = 64M
+}
+
+image sdcard.img {
+	hdimage {
+	}
+
+	partition spl {
+		in-partition-table = "no"
+		image = "sunxi-spl.bin"
+		offset = 8192
+	}
+
+	partition u-boot {
+		in-partition-table = "no"
+		image = "u-boot.itb"
+		offset = 40K
+	}
+
+	partition boot {
+		partition-type = 0xC
+		bootable = "true"
+		image = "boot.vfat"
+	}
+
+	partition rootfs {
+		partition-type = 0x83
+		image = "rootfs.ext4"
+	}
+}
board/friendlyarm/nanopi-a64/linux_axp.fragment new file +3 -0
new file mode 100644
index 0000000..b19bc65
@@ -0,0 +1,3 @@
+CONFIG_SUNXI_RSB=y
+CONFIG_MFD_AXP20X_RSB=y
+CONFIG_REGULATOR_AXP20X=y
board/friendlyarm/nanopi-a64/patches/linux/linux-0001-arm64-allwinner-a64-add-NMI-R_INTC-controller-on-A64.patch new file +41 -0

41 lines not on this page · raw message

board/friendlyarm/nanopi-a64/patches/linux/linux-0002-arm64-allwinner-a64-add-DTSI-file-for-AXP803-PMIC.patch new file +176 -0

176 lines not on this page · raw message

board/friendlyarm/nanopi-a64/patches/linux/linux-0003-arm64-allwinner-a64-Add-initial-NanoPi-A64-support.patch new file +254 -0

254 lines not on this page · raw message

board/friendlyarm/nanopi-a64/readme.txt new file +37 -0
new file mode 100644
index 0000000..88c4e66
@@ -0,0 +1,37 @@
+Intro
+=====
+
+This default configuration will allow you to start experimenting with the
+buildroot environment for the Nanopi A64. With the current configuration
+it will bring-up the board, and allow access through the serial console.
+
+Nanopi A64 link:
+http://nanopi.io/nanopi-a64.html
+
+Wiki link:
+https://openedev.amarulasolutions.com/display/ODWIKI/FriendlyARM+Nanopi+A64
+
+This configuration uses U-Boot mainline and kernel mainline.
+
+How to build
+============
+
+    $ make friendlyarm_nanopi_a64_defconfig
+    $ make
+
+Note: you will need access to the internet to download the required
+sources.
+
+How to write the SD card
+========================
+
+Once the build process is finished you will have an image called "sdcard.img"
+in the output/images/ directory.
+
+Copy the bootable "sdcard.img" onto an SD card with "dd":
+
+  $ sudo dd if=output/images/sdcard.img of=/dev/sdX
+  $ sudo sync
+
+Insert the micro SDcard in your Nanopi A64 and power it up. The console
+is on the serial line, 115200 8N1.
configs/friendlyarm_nanopi_a64_defconfig new file +51 -0

51 lines not on this page · raw message

Signature · 1 line
1.9.1
author
#15 lore raw

PATCH v5 7/11 board: Add FriendlyARM Nanopi NEO2 support

In reply to Jagan Teki

Add initial support for FriendlyARM Nanopi NEO2 board with below features:
- U-Boot 2017.09
- Linux 4.13.7
- Default packages from buildroot

---
 .gitlab-ci.yml                             |  1 +
 DEVELOPERS                                 |  2 ++
 board/friendlyarm/nanopi-neo2/boot.cmd     |  6 ++++
 board/friendlyarm/nanopi-neo2/genimage.cfg | 38 ++++++++++++++++++++++++
 board/friendlyarm/nanopi-neo2/readme.txt   | 37 +++++++++++++++++++++++
 configs/friendlyarm_nanopi_neo2_defconfig  | 47 ++++++++++++++++++++++++++++++
 6 files changed, 131 insertions(+)
 create mode 100644 board/friendlyarm/nanopi-neo2/boot.cmd
 create mode 100644 board/friendlyarm/nanopi-neo2/genimage.cfg
 create mode 100644 board/friendlyarm/nanopi-neo2/readme.txt
 create mode 100644 configs/friendlyarm_nanopi_neo2_defconfig
.gitlab-ci.yml +1 -0
index 9e566de..f09c8da 100644
@@ -120,6 +120,7 @@ freescale_imx7dsabresd_defconfig: *defconfig
 freescale_mpc8315erdb_defconfig: *defconfig
 freescale_p1010rdb_pa_defconfig: *defconfig
 friendlyarm_nanopi_a64_defconfig: *defconfig
+friendlyarm_nanopi_neo2_defconfig: *defconfig
 galileo_defconfig: *defconfig
 gdb_bfin_bf512_defconfig: *defconfig
 grinn_chiliboard_defconfig: *defconfig
DEVELOPERS +2 -0
index cae3730..1832310 100644
@@ -729,10 +729,12 @@ N:	Jagan Teki <[email protected]>
 F:	board/bananapi/
 F:	board/engicam/
 F:	board/friendlyarm/nanopi-a64/
+F:	board/friendlyarm/nanopi-neo2/
 F:	board/pine64/
 F:	configs/bananapi_m1_defconfig
 F:	configs/bananapi_m64_defconfig
 F:	configs/friendlyarm_nanopi_a64_defconfig
+F:	configs/friendlyarm_nanopi_neo2_defconfig
 F:	configs/pine64_defconfig
 F:	configs/pine64_sopine_defconfig
 F:	configs/engicam_imx6qdl_icore_defconfig
board/friendlyarm/nanopi-neo2/boot.cmd new file +6 -0
new file mode 100644
index 0000000..9a39f4a
@@ -0,0 +1,6 @@
+setenv bootargs console=ttyS0,115200 earlyprintk root=/dev/mmcblk0p2 rootwait
+
+fatload mmc 0 $kernel_addr_r Image
+fatload mmc 0 $fdt_addr_r sun50i-h5-nanopi-neo2.dtb
+
+booti $kernel_addr_r - $fdt_addr_r
board/friendlyarm/nanopi-neo2/genimage.cfg new file +38 -0
new file mode 100644
index 0000000..a1156a4
@@ -0,0 +1,38 @@
+image boot.vfat {
+	vfat {
+		files = {
+			"Image",
+			"sun50i-h5-nanopi-neo2.dtb",
+			"boot.scr"
+		}
+	}
+	size = 64M
+}
+
+image sdcard.img {
+	hdimage {
+	}
+
+	partition spl {
+		in-partition-table = "no"
+		image = "sunxi-spl.bin"
+		offset = 8192
+	}
+
+	partition u-boot {
+		in-partition-table = "no"
+		image = "u-boot.itb"
+		offset = 40K
+	}
+
+	partition boot {
+		partition-type = 0xC
+		bootable = "true"
+		image = "boot.vfat"
+	}
+
+	partition rootfs {
+		partition-type = 0x83
+		image = "rootfs.ext4"
+	}
+}
board/friendlyarm/nanopi-neo2/readme.txt new file +37 -0
new file mode 100644
index 0000000..0f445e2
@@ -0,0 +1,37 @@
+Intro
+=====
+
+This default configuration will allow you to start experimenting with the
+buildroot environment for the Nanopi NEO2. With the current configuration
+it will bring-up the board, and allow access through the serial console.
+
+Nanopi NEO2 link:
+http://nanopi.io/nanopi-neo2.html
+
+Wiki link:
+https://openedev.amarulasolutions.com/display/ODWIKI/FriendlyARM+NanoPi+NEO2
+
+This configuration uses U-Boot mainline and kernel mainline.
+
+How to build
+============
+
+    $ make friendlyarm_nanopi_neo2_defconfig
+    $ make
+
+Note: you will need access to the internet to download the required
+sources.
+
+How to write the SD card
+========================
+
+Once the build process is finished you will have an image called "sdcard.img"
+in the output/images/ directory.
+
+Copy the bootable "sdcard.img" onto an SD card with "dd":
+
+  $ sudo dd if=output/images/sdcard.img of=/dev/sdX
+  $ sudo sync
+
+Insert the micro SDcard in your Nanopi NEO2 and power it up. The console
+is on the serial line, 115200 8N1.
configs/friendlyarm_nanopi_neo2_defconfig new file +47 -0

47 lines not on this page · raw message

Signature · 1 line
1.9.1
author
#16 lore raw

PATCH v5 8/11 board: Add Olimex A64-OLinuXino support

In reply to Jagan Teki

Add initial support for Olimex A64-OLinuXino board with below features:
- U-Boot 2017.09
- Linux 4.13.7
- Default packages from buildroot

Cc Tsvetan Usunov <[email protected]>
---
 .gitlab-ci.yml                                     |   1 +
 DEVELOPERS                                         |   2 +
 board/olimex/a64-olinuxino/boot.cmd                |   6 +
 board/olimex/a64-olinuxino/genimage.cfg            |  38 ++++
 board/olimex/a64-olinuxino/linux_axp.fragment      |   3 +
 ...nner-a64-add-NMI-R_INTC-controller-on-A64.patch |  41 ++++
 ...lwinner-a64-add-DTSI-file-for-AXP803-PMIC.patch | 176 +++++++++++++++
 ...nner-a64-Add-A64-OLinuXino-initial-suppor.patch | 244 +++++++++++++++++++++
 board/olimex/a64-olinuxino/readme.txt              |  37 ++++
 configs/olimex_a64_olinuxino_defconfig             |  51 +++++
 10 files changed, 599 insertions(+)
 create mode 100644 board/olimex/a64-olinuxino/boot.cmd
 create mode 100644 board/olimex/a64-olinuxino/genimage.cfg
 create mode 100644 board/olimex/a64-olinuxino/linux_axp.fragment
 create mode 100644 board/olimex/a64-olinuxino/patches/linux/linux-0001-arm64-allwinner-a64-add-NMI-R_INTC-controller-on-A64.patch
 create mode 100644 board/olimex/a64-olinuxino/patches/linux/linux-0002-arm64-allwinner-a64-add-DTSI-file-for-AXP803-PMIC.patch
 create mode 100644 board/olimex/a64-olinuxino/patches/linux/linux-0003-arm64-allwinner-a64-Add-A64-OLinuXino-initial-suppor.patch
 create mode 100644 board/olimex/a64-olinuxino/readme.txt
 create mode 100644 configs/olimex_a64_olinuxino_defconfig
.gitlab-ci.yml +1 -0
index f09c8da..8c6d2b3 100644
@@ -154,6 +154,7 @@ olimex_a20_olinuxino_lime2_defconfig: *defconfig
 olimex_a20_olinuxino_lime_defconfig: *defconfig
 olimex_a20_olinuxino_lime_mali_defconfig: *defconfig
 olimex_a20_olinuxino_micro_defconfig: *defconfig
+olimex_a64_olinuxino_defconfig: *defconfig
 olimex_imx233_olinuxino_defconfig: *defconfig
 openblocks_a6_defconfig: *defconfig
 orangepi_one_defconfig: *defconfig
DEVELOPERS +2 -0
index 1832310..1ae83f2 100644
@@ -730,11 +730,13 @@ F:	board/bananapi/
 F:	board/engicam/
 F:	board/friendlyarm/nanopi-a64/
 F:	board/friendlyarm/nanopi-neo2/
+F:	board/olimex/a64-olinuxino/
 F:	board/pine64/
 F:	configs/bananapi_m1_defconfig
 F:	configs/bananapi_m64_defconfig
 F:	configs/friendlyarm_nanopi_a64_defconfig
 F:	configs/friendlyarm_nanopi_neo2_defconfig
+F:	configs/olimex_a64_olinuxino_defconfig
 F:	configs/pine64_defconfig
 F:	configs/pine64_sopine_defconfig
 F:	configs/engicam_imx6qdl_icore_defconfig
board/olimex/a64-olinuxino/boot.cmd new file +6 -0
new file mode 100644
index 0000000..28ed6d9
@@ -0,0 +1,6 @@
+setenv bootargs console=ttyS0,115200 earlyprintk root=/dev/mmcblk0p2 rootwait
+
+fatload mmc 0 $kernel_addr_r Image
+fatload mmc 0 $fdt_addr_r sun50i-a64-olinuxino.dtb
+
+booti $kernel_addr_r - $fdt_addr_r
board/olimex/a64-olinuxino/genimage.cfg new file +38 -0
new file mode 100644
index 0000000..a365bfe
@@ -0,0 +1,38 @@
+image boot.vfat {
+	vfat {
+		files = {
+			"Image",
+			"sun50i-a64-olinuxino.dtb",
+			"boot.scr"
+		}
+	}
+	size = 64M
+}
+
+image sdcard.img {
+	hdimage {
+	}
+
+	partition spl {
+		in-partition-table = "no"
+		image = "sunxi-spl.bin"
+		offset = 8192
+	}
+
+	partition u-boot {
+		in-partition-table = "no"
+		image = "u-boot.itb"
+		offset = 40K
+	}
+
+	partition boot {
+		partition-type = 0xC
+		bootable = "true"
+		image = "boot.vfat"
+	}
+
+	partition rootfs {
+		partition-type = 0x83
+		image = "rootfs.ext4"
+	}
+}
board/olimex/a64-olinuxino/linux_axp.fragment new file +3 -0
new file mode 100644
index 0000000..b19bc65
@@ -0,0 +1,3 @@
+CONFIG_SUNXI_RSB=y
+CONFIG_MFD_AXP20X_RSB=y
+CONFIG_REGULATOR_AXP20X=y
board/olimex/a64-olinuxino/patches/linux/linux-0001-arm64-allwinner-a64-add-NMI-R_INTC-controller-on-A64.patch new file +41 -0

41 lines not on this page · raw message

board/olimex/a64-olinuxino/patches/linux/linux-0002-arm64-allwinner-a64-add-DTSI-file-for-AXP803-PMIC.patch new file +176 -0

176 lines not on this page · raw message

board/olimex/a64-olinuxino/patches/linux/linux-0003-arm64-allwinner-a64-Add-A64-OLinuXino-initial-suppor.patch new file +244 -0

244 lines not on this page · raw message

board/olimex/a64-olinuxino/readme.txt new file +37 -0
new file mode 100644
index 0000000..342bdc7
@@ -0,0 +1,37 @@
+Intro
+=====
+
+This default configuration will allow you to start experimenting with the
+buildroot environment for the A64-OLinuXino. With the current configuration
+it will bring-up the board, and allow access through the serial console.
+
+A64-OLinuXino link:
+https://www.olimex.com/Products/OLinuXino/A64/
+
+Wiki link:
+https://openedev.amarulasolutions.com/display/ODWIKI/Olimex+A64-Olinuxino
+
+This configuration uses U-Boot mainline and kernel mainline.
+
+How to build
+============
+
+    $ make olimex_a64_olinuxino_defconfig
+    $ make
+
+Note: you will need access to the internet to download the required
+sources.
+
+How to write the SD card
+========================
+
+Once the build process is finished you will have an image called "sdcard.img"
+in the output/images/ directory.
+
+Copy the bootable "sdcard.img" onto an SD card with "dd":
+
+  $ sudo dd if=output/images/sdcard.img of=/dev/sdX
+  $ sudo sync
+
+Insert the micro SDcard in your A64-OLinuXino and power it up. The console
+is on the serial line, 115200 8N1.
configs/olimex_a64_olinuxino_defconfig new file +51 -0

51 lines not on this page · raw message

Signature · 1 line
1.9.1
author
#17 lore raw

PATCH v5 9/11 board: Add Orangepi Win/Win Plus support

In reply to Jagan Teki

Add initial support for Orangepi Win/Win Plus board with below features:
- U-Boot 2017.09
- Linux 4.13.7
- Default packages from buildroot

---
 .gitlab-ci.yml                           |  1 +
 DEVELOPERS                               |  2 ++
 board/orangepi/orangepi-win/boot.cmd     |  6 ++++
 board/orangepi/orangepi-win/genimage.cfg | 38 ++++++++++++++++++++++++++
 board/orangepi/orangepi-win/readme.txt   | 37 +++++++++++++++++++++++++
 configs/orangepi_win_defconfig           | 47 ++++++++++++++++++++++++++++++++
 6 files changed, 131 insertions(+)
 create mode 100644 board/orangepi/orangepi-win/boot.cmd
 create mode 100644 board/orangepi/orangepi-win/genimage.cfg
 create mode 100644 board/orangepi/orangepi-win/readme.txt
 create mode 100644 configs/orangepi_win_defconfig
.gitlab-ci.yml +1 -0
index 8c6d2b3..8cf4ae2 100644
@@ -160,6 +160,7 @@ openblocks_a6_defconfig: *defconfig
 orangepi_one_defconfig: *defconfig
 orangepi_pc_defconfig: *defconfig
 orangepi_plus_defconfig: *defconfig
+orangepi_win_defconfig: *defconfig
 orangepi_zero_defconfig: *defconfig
 pandaboard_defconfig: *defconfig
 pc_x86_64_bios_defconfig: *defconfig
DEVELOPERS +2 -0
index 1ae83f2..123e444 100644
@@ -731,12 +731,14 @@ F:	board/engicam/
 F:	board/friendlyarm/nanopi-a64/
 F:	board/friendlyarm/nanopi-neo2/
 F:	board/olimex/a64-olinuxino/
+F:	board/orangepi/orangepi-win/
 F:	board/pine64/
 F:	configs/bananapi_m1_defconfig
 F:	configs/bananapi_m64_defconfig
 F:	configs/friendlyarm_nanopi_a64_defconfig
 F:	configs/friendlyarm_nanopi_neo2_defconfig
 F:	configs/olimex_a64_olinuxino_defconfig
+F:	configs/orangepi_win_defconfig
 F:	configs/pine64_defconfig
 F:	configs/pine64_sopine_defconfig
 F:	configs/engicam_imx6qdl_icore_defconfig
board/orangepi/orangepi-win/boot.cmd new file +6 -0
new file mode 100644
index 0000000..2ddb769
@@ -0,0 +1,6 @@
+setenv bootargs console=ttyS0,115200 earlyprintk root=/dev/mmcblk0p2 rootwait
+
+fatload mmc 0 $kernel_addr_r Image
+fatload mmc 0 $fdt_addr_r sun50i-a64-orangepi-win.dtb
+
+booti $kernel_addr_r - $fdt_addr_r
board/orangepi/orangepi-win/genimage.cfg new file +38 -0
new file mode 100644
index 0000000..36955d3
@@ -0,0 +1,38 @@
+image boot.vfat {
+	vfat {
+		files = {
+			"Image",
+			"sun50i-a64-orangepi-win.dtb",
+			"boot.scr"
+		}
+	}
+	size = 64M
+}
+
+image sdcard.img {
+	hdimage {
+	}
+
+	partition spl {
+		in-partition-table = "no"
+		image = "sunxi-spl.bin"
+		offset = 8192
+	}
+
+	partition u-boot {
+		in-partition-table = "no"
+		image = "u-boot.itb"
+		offset = 40K
+	}
+
+	partition boot {
+		partition-type = 0xC
+		bootable = "true"
+		image = "boot.vfat"
+	}
+
+	partition rootfs {
+		partition-type = 0x83
+		image = "rootfs.ext4"
+	}
+}
board/orangepi/orangepi-win/readme.txt new file +37 -0
new file mode 100644
index 0000000..93adddd
@@ -0,0 +1,37 @@
+Intro
+=====
+
+This default configuration will allow you to start experimenting with the
+buildroot environment for the Orangepi Win/Win Plus. With the current configuration
+it will bring-up the board, and allow access through the serial console.
+
+Orangepi Win/Win Plus link:
+http://www.orangepi.org/OrangePiWin_WinPlus/
+
+Wiki link:
+https://openedev.amarulasolutions.com/display/ODWIKI/Orangepi+Win
+
+This configuration uses U-Boot mainline and kernel mainline.
+
+How to build
+============
+
+    $ make orangepi_win_defconfig
+    $ make
+
+Note: you will need access to the internet to download the required
+sources.
+
+How to write the SD card
+========================
+
+Once the build process is finished you will have an image called "sdcard.img"
+in the output/images/ directory.
+
+Copy the bootable "sdcard.img" onto an SD card with "dd":
+
+  $ sudo dd if=output/images/sdcard.img of=/dev/sdX
+  $ sudo sync
+
+Insert the micro SDcard in your Orangepi Win/Win Plus and power it up. The console
+is on the serial line, 115200 8N1.
configs/orangepi_win_defconfig new file +47 -0

47 lines not on this page · raw message

Signature · 1 line
1.9.1
author
#18 lore raw

PATCH v5 10/11 board: Add Orangepi Prime support

In reply to Jagan Teki

Add initial support for Orangepi Prime board with below features:
- U-Boot 2017.09
- Linux 4.13.7
- Default packages from buildroot

---
 .gitlab-ci.yml                             |  1 +
 DEVELOPERS                                 |  2 ++
 board/orangepi/orangepi-prime/boot.cmd     |  6 ++++
 board/orangepi/orangepi-prime/genimage.cfg | 38 ++++++++++++++++++++++++
 board/orangepi/orangepi-prime/readme.txt   | 37 +++++++++++++++++++++++
 configs/orangepi_prime_defconfig           | 47 ++++++++++++++++++++++++++++++
 6 files changed, 131 insertions(+)
 create mode 100644 board/orangepi/orangepi-prime/boot.cmd
 create mode 100644 board/orangepi/orangepi-prime/genimage.cfg
 create mode 100644 board/orangepi/orangepi-prime/readme.txt
 create mode 100644 configs/orangepi_prime_defconfig
.gitlab-ci.yml +1 -0
index 8cf4ae2..ef4fa10 100644
@@ -160,6 +160,7 @@ openblocks_a6_defconfig: *defconfig
 orangepi_one_defconfig: *defconfig
 orangepi_pc_defconfig: *defconfig
 orangepi_plus_defconfig: *defconfig
+orangepi_prime_defconfig: *defconfig
 orangepi_win_defconfig: *defconfig
 orangepi_zero_defconfig: *defconfig
 pandaboard_defconfig: *defconfig
DEVELOPERS +2 -0
index 123e444..40b9fd7 100644
@@ -731,6 +731,7 @@ F:	board/engicam/
 F:	board/friendlyarm/nanopi-a64/
 F:	board/friendlyarm/nanopi-neo2/
 F:	board/olimex/a64-olinuxino/
+F:	board/orangepi/orangepi-prime/
 F:	board/orangepi/orangepi-win/
 F:	board/pine64/
 F:	configs/bananapi_m1_defconfig
@@ -738,6 +739,7 @@ F:	configs/bananapi_m64_defconfig
 F:	configs/friendlyarm_nanopi_a64_defconfig
 F:	configs/friendlyarm_nanopi_neo2_defconfig
 F:	configs/olimex_a64_olinuxino_defconfig
+F:	configs/orangepi_prime_defconfig
 F:	configs/orangepi_win_defconfig
 F:	configs/pine64_defconfig
 F:	configs/pine64_sopine_defconfig
board/orangepi/orangepi-prime/boot.cmd new file +6 -0
new file mode 100644
index 0000000..3488788
@@ -0,0 +1,6 @@
+setenv bootargs console=ttyS0,115200 earlyprintk root=/dev/mmcblk0p2 rootwait
+
+fatload mmc 0 $kernel_addr_r Image
+fatload mmc 0 $fdt_addr_r sun50i-h5-orangepi-prime.dtb
+
+booti $kernel_addr_r - $fdt_addr_r
board/orangepi/orangepi-prime/genimage.cfg new file +38 -0
new file mode 100644
index 0000000..b973b02
@@ -0,0 +1,38 @@
+image boot.vfat {
+	vfat {
+		files = {
+			"Image",
+			"sun50i-h5-orangepi-prime.dtb",
+			"boot.scr"
+		}
+	}
+	size = 64M
+}
+
+image sdcard.img {
+	hdimage {
+	}
+
+	partition spl {
+		in-partition-table = "no"
+		image = "sunxi-spl.bin"
+		offset = 8192
+	}
+
+	partition u-boot {
+		in-partition-table = "no"
+		image = "u-boot.itb"
+		offset = 40K
+	}
+
+	partition boot {
+		partition-type = 0xC
+		bootable = "true"
+		image = "boot.vfat"
+	}
+
+	partition rootfs {
+		partition-type = 0x83
+		image = "rootfs.ext4"
+	}
+}
board/orangepi/orangepi-prime/readme.txt new file +37 -0
new file mode 100644
index 0000000..5811884
@@ -0,0 +1,37 @@
+Intro
+=====
+
+This default configuration will allow you to start experimenting with the
+buildroot environment for the Orangepi Prime. With the current configuration
+it will bring-up the board, and allow access through the serial console.
+
+Orangepi Prime link:
+http://www.orangepi.org/OrangePiPrime/
+
+Wiki link:
+https://openedev.amarulasolutions.com/display/ODWIKI/Orangepi+Prime
+
+This configuration uses U-Boot mainline and kernel mainline.
+
+How to build
+============
+
+    $ make orangepi_prime_defconfig
+    $ make
+
+Note: you will need access to the internet to download the required
+sources.
+
+How to write the SD card
+========================
+
+Once the build process is finished you will have an image called "sdcard.img"
+in the output/images/ directory.
+
+Copy the bootable "sdcard.img" onto an SD card with "dd":
+
+  $ sudo dd if=output/images/sdcard.img of=/dev/sdX
+  $ sudo sync
+
+Insert the micro SDcard in your Orangepi Prime and power it up. The console
+is on the serial line, 115200 8N1.
configs/orangepi_prime_defconfig new file +47 -0

47 lines not on this page · raw message

Signature · 1 line
1.9.1
author
#19 lore raw

PATCH v5 11/11 board: Add Orangepi Zero Plus2 support

In reply to Jagan Teki

Add initial support for Orangepi Zero Plus2 board with below features:
- U-Boot 2017.09
- Linux 4.13.7
- Default packages from buildroot

---
 .gitlab-ci.yml                                  |  1 +
 DEVELOPERS                                      |  2 ++
 board/orangepi/orangepi-zero-plus2/boot.cmd     |  6 ++++
 board/orangepi/orangepi-zero-plus2/genimage.cfg | 38 ++++++++++++++++++++
 board/orangepi/orangepi-zero-plus2/readme.txt   | 37 +++++++++++++++++++
 configs/orangepi_zero_plus2_defconfig           | 47 +++++++++++++++++++++++++
 6 files changed, 131 insertions(+)
 create mode 100644 board/orangepi/orangepi-zero-plus2/boot.cmd
 create mode 100644 board/orangepi/orangepi-zero-plus2/genimage.cfg
 create mode 100644 board/orangepi/orangepi-zero-plus2/readme.txt
 create mode 100644 configs/orangepi_zero_plus2_defconfig
.gitlab-ci.yml +1 -0
index ef4fa10..630cab1 100644
@@ -163,6 +163,7 @@ orangepi_plus_defconfig: *defconfig
 orangepi_prime_defconfig: *defconfig
 orangepi_win_defconfig: *defconfig
 orangepi_zero_defconfig: *defconfig
+orangepi_zero_plus2_defconfig: *defconfig
 pandaboard_defconfig: *defconfig
 pc_x86_64_bios_defconfig: *defconfig
 pc_x86_64_efi_defconfig: *defconfig
DEVELOPERS +2 -0
index 40b9fd7..f683c25 100644
@@ -733,6 +733,7 @@ F:	board/friendlyarm/nanopi-neo2/
 F:	board/olimex/a64-olinuxino/
 F:	board/orangepi/orangepi-prime/
 F:	board/orangepi/orangepi-win/
+F:	board/orangepi/orangepi-zero-plus2/
 F:	board/pine64/
 F:	configs/bananapi_m1_defconfig
 F:	configs/bananapi_m64_defconfig
@@ -741,6 +742,7 @@ F:	configs/friendlyarm_nanopi_neo2_defconfig
 F:	configs/olimex_a64_olinuxino_defconfig
 F:	configs/orangepi_prime_defconfig
 F:	configs/orangepi_win_defconfig
+F:	configs/orangepi_zero_plus2_defconfig
 F:	configs/pine64_defconfig
 F:	configs/pine64_sopine_defconfig
 F:	configs/engicam_imx6qdl_icore_defconfig
board/orangepi/orangepi-zero-plus2/boot.cmd new file +6 -0
new file mode 100644
index 0000000..4772a9b
@@ -0,0 +1,6 @@
+setenv bootargs console=ttyS0,115200 earlyprintk root=/dev/mmcblk0p2 rootwait
+
+fatload mmc 0 $kernel_addr_r Image
+fatload mmc 0 $fdt_addr_r sun50i-h5-orangepi-zero-plus2.dtb
+
+booti $kernel_addr_r - $fdt_addr_r
board/orangepi/orangepi-zero-plus2/genimage.cfg new file +38 -0
new file mode 100644
index 0000000..0fe219e
@@ -0,0 +1,38 @@
+image boot.vfat {
+	vfat {
+		files = {
+			"Image",
+			"sun50i-h5-orangepi-zero-plus2.dtb",
+			"boot.scr"
+		}
+	}
+	size = 64M
+}
+
+image sdcard.img {
+	hdimage {
+	}
+
+	partition spl {
+		in-partition-table = "no"
+		image = "sunxi-spl.bin"
+		offset = 8192
+	}
+
+	partition u-boot {
+		in-partition-table = "no"
+		image = "u-boot.itb"
+		offset = 40K
+	}
+
+	partition boot {
+		partition-type = 0xC
+		bootable = "true"
+		image = "boot.vfat"
+	}
+
+	partition rootfs {
+		partition-type = 0x83
+		image = "rootfs.ext4"
+	}
+}
board/orangepi/orangepi-zero-plus2/readme.txt new file +37 -0
new file mode 100644
index 0000000..322ba0e
@@ -0,0 +1,37 @@
+Intro
+=====
+
+This default configuration will allow you to start experimenting with the
+buildroot environment for the Orangepi Zero Plus2. With the current configuration
+it will bring-up the board, and allow access through the serial console.
+
+Orangepi Zero Plus2 link:
+http://www.orangepi.org/OrangePiZeroPlus2/
+
+Wiki link:
+https://openedev.amarulasolutions.com/display/ODWIKI/Orangepi+Zero+Plus2
+
+This configuration uses U-Boot mainline and kernel mainline.
+
+How to build
+============
+
+    $ make orangepi_zero_plus2_defconfig
+    $ make
+
+Note: you will need access to the internet to download the required
+sources.
+
+How to write the SD card
+========================
+
+Once the build process is finished you will have an image called "sdcard.img"
+in the output/images/ directory.
+
+Copy the bootable "sdcard.img" onto an SD card with "dd":
+
+  $ sudo dd if=output/images/sdcard.img of=/dev/sdX
+  $ sudo sync
+
+Insert the micro SDcard in your Orangepi Zero Plus2 and power it up. The console
+is on the serial line, 115200 8N1.
configs/orangepi_zero_plus2_defconfig new file +47 -0

47 lines not on this page · raw message

Signature · 1 line
1.9.1
author
#20 lore raw

v5 cover board: Add Allwinner A64/H5 boards

In reply to Jagan Teki
Quoted 24 lines · Jagan Teki

This patchset fix wiki link and update dtb file for sopine board.
[1] was previous set.

All boards now use Mainline U-Boot, Linux and Nanaopi A64, A64-olinuxino used linux-next patches since 4.13.7 have not been merged.

Tested on rea hardware.

Changes for v5:
- Fixed wiki links
- Update dtb file for sopine
Changes for v4:
- Added "arm-trusted-firmware: Build FIP for BL33" patch
- Added "uboot: Add U-Boot-bundles-ATF support" patch
- Droped sunxi64-post-build.sh config and script file Changes for v3:
- Fixed Bananapi M1 comment on config file
- Add sunxi64-post-build.sh
- Add all sunxi64 boards
Changes for v2:
- Rebase on master

[1] http://buildroot-busybox.2317881.n4.nabble.com/PATCH-v4-00-11-board-Add-Allwinner-A64-H5-boards-td178509.html

Quoted 12 lines

Jagan Teki (11):
arm-trusted-firmware: Build FIP for BL33
uboot: Add U-Boot-bundles-ATF support
board: Add Bananapi M64 support
board: Add Pine64 support
board: Add SoPine support
board: Add FriendlyARM Nanopi A64 support
board: Add FriendlyARM Nanopi NEO2 support
board: Add Olimex A64-OLinuXino support
board: Add Orangepi Win/Win Plus support
board: Add Orangepi Prime support
board: Add Orangepi Zero Plus2 support

Any comments?

thanks!

Signature · 4 lines
Jagan Teki
Free Software Engineer | www.openedev.com
U-Boot, Linux | Upstream Maintainer
Hyderabad, India.
#21 lore raw

v5 cover board: Add Allwinner A64/H5 boards

Hello,

Quoted 13 lines · Jagan Teki
Quoted 4 lines

Jagan Teki (11):
arm-trusted-firmware: Build FIP for BL33
uboot: Add U-Boot-bundles-ATF support
board: Add Bananapi M64 support

Quoted 8 lines

board: Add Pine64 support
board: Add SoPine support
board: Add FriendlyARM Nanopi A64 support
board: Add FriendlyARM Nanopi NEO2 support
board: Add Olimex A64-OLinuXino support
board: Add Orangepi Win/Win Plus support
board: Add Orangepi Prime support
board: Add Orangepi Zero Plus2 support

Quoted 1 line

Any comments?

I intend to review this series (since I commented on the previous iterations), but haven't gotten to it yet.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
author
#22 lore raw

v5 cover board: Add Allwinner A64/H5 boards

Quoted 17 lines · Thomas Petazzoni

Hello,

Quoted 13 lines · Jagan Teki
Quoted 12 lines

Jagan Teki (11):
arm-trusted-firmware: Build FIP for BL33
uboot: Add U-Boot-bundles-ATF support
board: Add Bananapi M64 support
board: Add Pine64 support
board: Add SoPine support
board: Add FriendlyARM Nanopi A64 support
board: Add FriendlyARM Nanopi NEO2 support
board: Add Olimex A64-OLinuXino support
board: Add Orangepi Win/Win Plus support
board: Add Orangepi Prime support
board: Add Orangepi Zero Plus2 support

Quoted 4 lines
Quoted 1 line

Any comments?

I intend to review this series (since I commented on the previous iterations), but haven't gotten to it yet.

OK, thanks.

Signature · 4 lines
Jagan Teki
Free Software Engineer | www.openedev.com
U-Boot, Linux | Upstream Maintainer
Hyderabad, India.
#23 lore raw

v5 cover board: Add Allwinner A64/H5 boards

Wow I've been waiting for BR support for these builds for a long time now. Thanks a lot for this. I have a orangepi zero and nanopi neo2 I could test on later next week.

--
Sent from: http://buildroot-busybox.2317881.n4.nabble.com/

#24 lore raw

v5 cover board: Add Allwinner A64/H5 boards

In reply to Jagan Teki

Hi Thomas,

Quoted 19 lines · Jagan Teki
Quoted 17 lines · Thomas Petazzoni

Hello,

Quoted 13 lines · Jagan Teki
Quoted 12 lines

Jagan Teki (11):
arm-trusted-firmware: Build FIP for BL33
uboot: Add U-Boot-bundles-ATF support
board: Add Bananapi M64 support
board: Add Pine64 support
board: Add SoPine support
board: Add FriendlyARM Nanopi A64 support
board: Add FriendlyARM Nanopi NEO2 support
board: Add Olimex A64-OLinuXino support
board: Add Orangepi Win/Win Plus support
board: Add Orangepi Prime support
board: Add Orangepi Zero Plus2 support

Quoted 6 lines
Quoted 4 lines
Quoted 1 line

Any comments?

I intend to review this series (since I commented on the previous iterations), but haven't gotten to it yet.

OK, thanks.

Can this possible to merge?

thanks!

Signature · 4 lines
Jagan Teki
Senior Linux Kernel Engineer | Amarula Solutions
U-Boot, Linux | Upstream Maintainer
Hyderabad, India.
#25 lore raw

v5 cover board: Add Allwinner A64/H5 boards

Hello Jagan,

Quoted 6 lines · Jagan Teki
Quoted 4 lines
Quoted 2 lines

I intend to review this series (since I commented on the previous iterations), but haven't gotten to it yet.

OK, thanks.

Can this possible to merge?

Pinging over and over again is useless. All patches are recorded by patchwork, none of them will be lost.

If you want your patches to be reviewed faster, help shrinking the patchwork backlog by reviewing/testing patches submitted by others.

By pinging like you're doing, the only effect is to annoy the reviewers/maintainers.

Best regards,

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
#26 lore raw

v5 cover board: Add Allwinner A64/H5 boards

In reply to Jagan Teki

Hello,

Quoted 3 lines · Jagan Teki

Jagan Teki (11):
arm-trusted-firmware: Build FIP for BL33
uboot: Add U-Boot-bundles-ATF support

Since I was not super happy with this proposal to solve the ATF/U-Boot building problem for Allwinner A64/H5, I just submitted a different patch series (which re-uses some of your work, authorship preserved). Could you see what you think about my proposal ?

See:

http://lists.busybox.net/pipermail/buildroot/2017-December/208788.html

Quoted 9 lines

board: Add Bananapi M64 support
board: Add Pine64 support
board: Add SoPine support
board: Add FriendlyARM Nanopi A64 support
board: Add FriendlyARM Nanopi NEO2 support
board: Add Olimex A64-OLinuXino support
board: Add Orangepi Win/Win Plus support
board: Add Orangepi Prime support
board: Add Orangepi Zero Plus2 support

If my proposal gets merged, then it would be nice if you could rebase your defconfig patches on top of it. It's mainly a matter of adding a few more ATF options and tweaking U-Boot options.

Thanks a lot!

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
#27 lore raw

v5 cover board: Add Allwinner A64/H5 boards

Quoted 4 lines · Thomas Petazzoni

Hello,

On Wed, 1 Nov 2017 19:05:42 +0100, Jagan Teki wrote:

Quoted 8 lines
Quoted 3 lines

Jagan Teki (11):
arm-trusted-firmware: Build FIP for BL33
uboot: Add U-Boot-bundles-ATF support

Since I was not super happy with this proposal to solve the ATF/U-Boot building problem for Allwinner A64/H5, I just submitted a different patch series (which re-uses some of your work, authorship preserved). Could you see what you think about my proposal ?

Yes, this is what I proposed in previous versions[1], unfortunately ie not moving further. Happy that now it has better shape to move.

Quoted 15 lines

See:

http://lists.busybox.net/pipermail/buildroot/2017-December/208788.html

Quoted 9 lines

board: Add Bananapi M64 support
board: Add Pine64 support
board: Add SoPine support
board: Add FriendlyARM Nanopi A64 support
board: Add FriendlyARM Nanopi NEO2 support
board: Add Olimex A64-OLinuXino support
board: Add Orangepi Win/Win Plus support
board: Add Orangepi Prime support
board: Add Orangepi Zero Plus2 support

Quoted 3 lines

If my proposal gets merged, then it would be nice if you could rebase your defconfig patches on top of it. It's mainly a matter of adding a few more ATF options and tweaking U-Boot options.

Yes, will do.

[1] http://patchwork.ozlabs.org/cover/833068/

thanks!

Signature · 4 lines
Jagan Teki
Senior Linux Kernel Engineer | Amarula Solutions
U-Boot, Linux | Upstream Maintainer
Hyderabad, India.
#28 lore raw

v5 cover board: Add Allwinner A64/H5 boards

Hello,

Quoted 7 lines · Jagan Teki
Quoted 4 lines

Since I was not super happy with this proposal to solve the ATF/U-Boot building problem for Allwinner A64/H5, I just submitted a different patch series (which re-uses some of your work, authorship preserved). Could you see what you think about my proposal ?

Yes, this is what I proposed in previous versions[1], unfortunately ie not moving further. Happy that now it has better shape to move.

It is not trivial to solve this problem in a nice and pretty fashion, especially due to the ATF->U-Boot and U-Boot->ATF possible dependencies.

So my proposal is a proposal I find better, but I don't pretend it's the perfection either.

Quoted 5 lines
Quoted 3 lines

If my proposal gets merged, then it would be nice if you could rebase your defconfig patches on top of it. It's mainly a matter of adding a few more ATF options and tweaking U-Boot options.

Yes, will do.

Thanks!

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
#29 lore raw

v5 cover board: Add Allwinner A64/H5 boards

In reply to Jagan Teki

Hello Jagan,

Quoted 21 lines

All boards now use Mainline U-Boot, Linux and Nanaopi A64, A64-olinuxino used linux-next patches since 4.13.7 have not been merged.

Tested on rea hardware.

Changes for v5:
- Fixed wiki links
- Update dtb file for sopine
Changes for v4:
- Added "arm-trusted-firmware: Build FIP for BL33" patch
- Added "uboot: Add U-Boot-bundles-ATF support" patch
- Droped sunxi64-post-build.sh config and script file Changes for v3:
- Fixed Bananapi M1 comment on config file
- Add sunxi64-post-build.sh
- Add all sunxi64 boards
Changes for v2:
- Rebase on master

[1] http://buildroot-busybox.2317881.n4.nabble.com/PATCH-v4-00-11-board-Add-Allwinner-A64-H5-boards-td178509.html

Quoted 12 lines

Jagan Teki (11):
arm-trusted-firmware: Build FIP for BL33
uboot: Add U-Boot-bundles-ATF support
board: Add Bananapi M64 support
board: Add Pine64 support
board: Add SoPine support
board: Add FriendlyARM Nanopi A64 support
board: Add FriendlyARM Nanopi NEO2 support
board: Add Olimex A64-OLinuXino support
board: Add Orangepi Win/Win Plus support
board: Add Orangepi Prime support
board: Add Orangepi Zero Plus2 support

All the ATF changes has been submitted by Thomas. So it should be ok to submit support for all these boards. Do you plan to do so any time soon ? Let me know if you are busy with other tasks at the moment. Then I would re-submit a part of this patchset related to Orange Pi Zero Plus2 (keeping your authorship) and adding WiFi support on top.

Regards,
Sergey

#30 lore raw

v5 cover board: Add Allwinner A64/H5 boards

Quoted 36 lines · Sergey Matyukevich

Hello Jagan,

Quoted 21 lines

All boards now use Mainline U-Boot, Linux and Nanaopi A64, A64-olinuxino used linux-next patches since 4.13.7 have not been merged.

Tested on rea hardware.

Changes for v5:
- Fixed wiki links
- Update dtb file for sopine
Changes for v4:
- Added "arm-trusted-firmware: Build FIP for BL33" patch
- Added "uboot: Add U-Boot-bundles-ATF support" patch
- Droped sunxi64-post-build.sh config and script file Changes for v3:
- Fixed Bananapi M1 comment on config file
- Add sunxi64-post-build.sh
- Add all sunxi64 boards
Changes for v2:
- Rebase on master

[1] http://buildroot-busybox.2317881.n4.nabble.com/PATCH-v4-00-11-board-Add-Allwinner-A64-H5-boards-td178509.html

Quoted 12 lines

Jagan Teki (11):
arm-trusted-firmware: Build FIP for BL33
uboot: Add U-Boot-bundles-ATF support
board: Add Bananapi M64 support
board: Add Pine64 support
board: Add SoPine support
board: Add FriendlyARM Nanopi A64 support
board: Add FriendlyARM Nanopi NEO2 support
board: Add Olimex A64-OLinuXino support
board: Add Orangepi Win/Win Plus support
board: Add Orangepi Prime support
board: Add Orangepi Zero Plus2 support

Quoted 5 lines

All the ATF changes has been submitted by Thomas. So it should be ok to submit support for all these boards. Do you plan to do so any time soon ? Let me know if you are busy with other tasks at the moment. Then I would re-submit a part of this patchset related to Orange Pi Zero Plus2 (keeping your authorship) and adding WiFi support on top.

I'm in between with rebase and respective changes, will send it soon and copy you as well, thanks!