All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/4] DEVELOPERS: Fix file order list maintained by me
@ 2018-09-03  8:26 Jagan Teki
  2018-09-03  8:26 ` [Buildroot] [PATCH 2/4] board: orangepi: Add Orangepi One Plus support Jagan Teki
                   ` (3 more replies)
  0 siblings, 4 replies; 12+ messages in thread
From: Jagan Teki @ 2018-09-03  8:26 UTC (permalink / raw)
  To: buildroot

Files list maintained by me in DEVELOPERS file is not
in proper order, fix it with ascending order.

Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
---
 DEVELOPERS | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/DEVELOPERS b/DEVELOPERS
index 03d9df0..a4c1297 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -901,9 +901,6 @@ F:	board/amarula/
 F:	board/asus/
 F:	board/bananapi/
 F:	board/engicam/
-F:	configs/amarula_a64_relic_defconfig
-F:	configs/amarula_vyasa_rk3288_defconfig
-F:	configs/asus_tinker_rk3288_defconfig
 F:	board/friendlyarm/nanopi-a64/
 F:	board/friendlyarm/nanopi-neo2/
 F:	board/olimex/a64-olinuxino/
@@ -912,8 +909,16 @@ F:	board/orangepi/orangepi-prime/
 F:	board/orangepi/orangepi-win/
 F:	board/orangepi/orangepi-zero-plus2/
 F:	board/pine64/
+F:	configs/amarula_a64_relic_defconfig
+F:	configs/amarula_vyasa_rk3288_defconfig
+F:	configs/asus_tinker_rk3288_defconfig
 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
+F:	configs/engicam_imx6ul_geam_defconfig
+F:	configs/engicam_imx6ul_isiot_defconfig
 F:	configs/friendlyarm_nanopi_a64_defconfig
 F:	configs/friendlyarm_nanopi_neo2_defconfig
 F:	configs/olimex_a64_olinuxino_defconfig
@@ -923,11 +928,6 @@ 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
-F:	configs/engicam_imx6qdl_icore_qt5_defconfig
-F:	configs/engicam_imx6qdl_icore_rqs_defconfig
-F:	configs/engicam_imx6ul_geam_defconfig
-F:	configs/engicam_imx6ul_isiot_defconfig
 
 N:	James Knight <james.knight@rockwellcollins.com>
 F:	package/atkmm/
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 12+ messages in thread

* [Buildroot] [PATCH 2/4] board: orangepi: Add Orangepi One Plus support
  2018-09-03  8:26 [Buildroot] [PATCH 1/4] DEVELOPERS: Fix file order list maintained by me Jagan Teki
@ 2018-09-03  8:26 ` Jagan Teki
  2018-09-03  8:26 ` [Buildroot] [PATCH 3/4] configs: bpi-m64: Use Mainline ARM ATF Jagan Teki
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 12+ messages in thread
From: Jagan Teki @ 2018-09-03  8:26 UTC (permalink / raw)
  To: buildroot

Add initial support for Orangepi One Plus board
with below features:
- U-Boot 2018.07
- Linux 4.18.0-rc3
- Default packages from buildroot

Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
---
 .gitlab-ci.yml                                 |  1 +
 DEVELOPERS                                     |  2 ++
 board/orangepi/orangepi-one-plus/extlinux.conf |  4 +++
 board/orangepi/orangepi-one-plus/genimage.cfg  | 33 +++++++++++++++++++
 board/orangepi/orangepi-one-plus/post-build.sh |  4 +++
 board/orangepi/orangepi-one-plus/readme.txt    | 37 ++++++++++++++++++++++
 configs/orangepi_one_plus_defconfig            | 44 ++++++++++++++++++++++++++
 7 files changed, 125 insertions(+)
 create mode 100644 board/orangepi/orangepi-one-plus/extlinux.conf
 create mode 100644 board/orangepi/orangepi-one-plus/genimage.cfg
 create mode 100755 board/orangepi/orangepi-one-plus/post-build.sh
 create mode 100644 board/orangepi/orangepi-one-plus/readme.txt
 create mode 100644 configs/orangepi_one_plus_defconfig

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 994e78c..a90577e 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -180,6 +180,7 @@ olimex_imx233_olinuxino_defconfig: *defconfig
 openblocks_a6_defconfig: *defconfig
 orangepi_lite_defconfig: *defconfig
 orangepi_one_defconfig: *defconfig
+orangepi_one_plus_defconfig: *defconfig
 orangepi_pc2_defconfig: *defconfig
 orangepi_pc_defconfig: *defconfig
 orangepi_pc_plus_defconfig: *defconfig
diff --git a/DEVELOPERS b/DEVELOPERS
index a4c1297..cb8ed90 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -904,6 +904,7 @@ F:	board/engicam/
 F:	board/friendlyarm/nanopi-a64/
 F:	board/friendlyarm/nanopi-neo2/
 F:	board/olimex/a64-olinuxino/
+F:	board/orangepi/orangepi-one-plus
 F:	board/orangepi/orangepi-pc2/
 F:	board/orangepi/orangepi-prime/
 F:	board/orangepi/orangepi-win/
@@ -922,6 +923,7 @@ F:	configs/engicam_imx6ul_isiot_defconfig
 F:	configs/friendlyarm_nanopi_a64_defconfig
 F:	configs/friendlyarm_nanopi_neo2_defconfig
 F:	configs/olimex_a64_olinuxino_defconfig
+F:	configs/orangepi_one_plus_defconfig
 F:	configs/orangepi_pc2_defconfig
 F:	configs/orangepi_prime_defconfig
 F:	configs/orangepi_win_defconfig
diff --git a/board/orangepi/orangepi-one-plus/extlinux.conf b/board/orangepi/orangepi-one-plus/extlinux.conf
new file mode 100644
index 0000000..eae3284
--- /dev/null
+++ b/board/orangepi/orangepi-one-plus/extlinux.conf
@@ -0,0 +1,4 @@
+label linux-4.18.0-rc3
+  kernel /Image
+  devicetree /sun50i-h6-orangepi-one-plus.dtb
+  append console=ttyS0,115200 earlyprintk root=/dev/mmcblk0p2 rootwait
diff --git a/board/orangepi/orangepi-one-plus/genimage.cfg b/board/orangepi/orangepi-one-plus/genimage.cfg
new file mode 100644
index 0000000..ebb07e8
--- /dev/null
+++ b/board/orangepi/orangepi-one-plus/genimage.cfg
@@ -0,0 +1,33 @@
+image boot.vfat {
+	vfat {
+		files = {
+			"Image",
+			"sun50i-h6-orangepi-one-plus.dtb",
+			"extlinux"
+		}
+	}
+	size = 64M
+}
+
+image sdcard.img {
+	hdimage {
+	}
+
+	partition u-boot {
+		in-partition-table = "no"
+		image = "u-boot-sunxi-with-spl.bin"
+		offset = 8192
+		size = 1040384 # 1MB - 8192
+	}
+
+	partition boot {
+		partition-type = 0xC
+		bootable = "true"
+		image = "boot.vfat"
+	}
+
+	partition rootfs {
+		partition-type = 0x83
+		image = "rootfs.ext4"
+	}
+}
diff --git a/board/orangepi/orangepi-one-plus/post-build.sh b/board/orangepi/orangepi-one-plus/post-build.sh
new file mode 100755
index 0000000..ec20fca
--- /dev/null
+++ b/board/orangepi/orangepi-one-plus/post-build.sh
@@ -0,0 +1,4 @@
+#!/bin/sh
+BOARD_DIR="$(dirname $0)"
+
+install -m 0644 -D $BOARD_DIR/extlinux.conf $BINARIES_DIR/extlinux/extlinux.conf
diff --git a/board/orangepi/orangepi-one-plus/readme.txt b/board/orangepi/orangepi-one-plus/readme.txt
new file mode 100644
index 0000000..87f6de8
--- /dev/null
+++ b/board/orangepi/orangepi-one-plus/readme.txt
@@ -0,0 +1,37 @@
+Intro
+=====
+
+This default configuration will allow you to start experimenting with the
+buildroot environment for the Orangepi One Plus. With the current configuration
+it will bring-up the board, and allow access through the serial console.
+
+Orangepi One Plus link:
+http://www.orangepi.org/OrangePiOneplus/
+
+Wiki link:
+https://openedev.amarulasolutions.com/display/ODWIKI/Orangepi+One+Plus
+
+This configuration uses U-Boot mainline and kernel mainline.
+
+How to build
+============
+
+    $ make orangepi_one_plus_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 One Plus and power it up. The console
+is on the serial line, 115200 8N1.
diff --git a/configs/orangepi_one_plus_defconfig b/configs/orangepi_one_plus_defconfig
new file mode 100644
index 0000000..4f2a55e
--- /dev/null
+++ b/configs/orangepi_one_plus_defconfig
@@ -0,0 +1,44 @@
+BR2_aarch64=y
+BR2_cortex_a53=y
+BR2_ARM_FPU_VFPV4=y
+
+# Linux headers same as kernel, a 4.17 series
+BR2_KERNEL_HEADERS_4_17=y
+
+# 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/ARM-software/arm-trusted-firmware.git"
+BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="sun50i_h6"
+BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_REPO_VERSION="cffb00342897ed73a2bb9fc7a1860102bd927f2e"
+BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL31=y
+
+# Bootloader
+BR2_TARGET_UBOOT=y
+BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y
+BR2_TARGET_UBOOT_CUSTOM_TARBALL=y
+BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="$(call github,amarula,u-boot-amarula,wip-sun-h6)/u-boot-amarula_wip-sun-h6.tar.gz"
+BR2_TARGET_UBOOT_BOARD_DEFCONFIG="orangepi_one_plus"
+BR2_TARGET_UBOOT_NEEDS_DTC=y
+BR2_TARGET_UBOOT_NEEDS_ATF_BL31=y
+BR2_TARGET_UBOOT_SPL=y
+BR2_TARGET_UBOOT_SPL_NAME="u-boot-sunxi-with-spl.bin"
+
+# Kernel
+BR2_LINUX_KERNEL=y
+BR2_LINUX_KERNEL_CUSTOM_TARBALL=y
+BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,amarula,linux-amarula,wip-sun-h6)/linux-amarula_wip-sun-h6.tar.gz"
+BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y
+BR2_LINUX_KERNEL_DTS_SUPPORT=y
+BR2_LINUX_KERNEL_INTREE_DTS_NAME="allwinner/sun50i-h6-orangepi-one-plus"
+
+# Filesystem
+BR2_TARGET_GENERIC_ISSUE="Welcome to Orangepi One+"
+BR2_TARGET_ROOTFS_EXT2=y
+BR2_TARGET_ROOTFS_EXT2_4=y
+BR2_PACKAGE_HOST_DOSFSTOOLS=y
+BR2_PACKAGE_HOST_GENIMAGE=y
+BR2_PACKAGE_HOST_MTOOLS=y
+BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh"
+BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/orangepi/orangepi-one-plus/genimage.cfg"
+BR2_ROOTFS_POST_BUILD_SCRIPT="board/orangepi/orangepi-one-plus/post-build.sh"
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 12+ messages in thread

* [Buildroot] [PATCH 3/4] configs: bpi-m64: Use Mainline ARM ATF
  2018-09-03  8:26 [Buildroot] [PATCH 1/4] DEVELOPERS: Fix file order list maintained by me Jagan Teki
  2018-09-03  8:26 ` [Buildroot] [PATCH 2/4] board: orangepi: Add Orangepi One Plus support Jagan Teki
@ 2018-09-03  8:26 ` Jagan Teki
  2018-09-03  9:06   ` Andre Przywara
  2018-09-03  8:26 ` [Buildroot] [PATCH 4/4] configs: bpi-m64: bump linux, uboot Jagan Teki
  2018-09-05 21:46 ` [Buildroot] [PATCH 1/4] DEVELOPERS: Fix file order list maintained by me Thomas Petazzoni
  3 siblings, 1 reply; 12+ messages in thread
From: Jagan Teki @ 2018-09-03  8:26 UTC (permalink / raw)
  To: buildroot

Use Mainline ARM ATF for bananapi-m64 board instead
Andre's github.

Cc: Andre Przywara <andre.przywara@arm.com>
Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
---
 configs/bananapi_m64_defconfig | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/configs/bananapi_m64_defconfig b/configs/bananapi_m64_defconfig
index 7d1ed18..db39903 100644
--- a/configs/bananapi_m64_defconfig
+++ b/configs/bananapi_m64_defconfig
@@ -8,9 +8,9 @@ BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_14=y
 # 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_CUSTOM_REPO_URL="https://github.com/ARM-software/arm-trusted-firmware.git"
+BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="sun50i_a64"
+BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_REPO_VERSION="cffb00342897ed73a2bb9fc7a1860102bd927f2e"
 BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL31=y
 
 # Bootloader
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 12+ messages in thread

* [Buildroot] [PATCH 4/4] configs: bpi-m64: bump linux, uboot
  2018-09-03  8:26 [Buildroot] [PATCH 1/4] DEVELOPERS: Fix file order list maintained by me Jagan Teki
  2018-09-03  8:26 ` [Buildroot] [PATCH 2/4] board: orangepi: Add Orangepi One Plus support Jagan Teki
  2018-09-03  8:26 ` [Buildroot] [PATCH 3/4] configs: bpi-m64: Use Mainline ARM ATF Jagan Teki
@ 2018-09-03  8:26 ` Jagan Teki
  2018-09-03 14:43   ` Luca Ceresoli
  2018-09-05 21:46 ` [Buildroot] [PATCH 1/4] DEVELOPERS: Fix file order list maintained by me Thomas Petazzoni
  3 siblings, 1 reply; 12+ messages in thread
From: Jagan Teki @ 2018-09-03  8:26 UTC (permalink / raw)
  To: buildroot

- Uboot to 2017.15
- Linux to 4.17

Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
---
 configs/bananapi_m64_defconfig | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/configs/bananapi_m64_defconfig b/configs/bananapi_m64_defconfig
index db39903..b071230 100644
--- a/configs/bananapi_m64_defconfig
+++ b/configs/bananapi_m64_defconfig
@@ -2,8 +2,8 @@ BR2_aarch64=y
 BR2_cortex_a53=y
 BR2_ARM_FPU_VFPV4=y
 
-# Linux headers same as kernel, a 4.14 series
-BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_14=y
+# Linux headers same as kernel, a 4.17 series
+BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_17=y
 
 # Firmware
 BR2_TARGET_ARM_TRUSTED_FIRMWARE=y
@@ -17,7 +17,7 @@ BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL31=y
 BR2_TARGET_UBOOT=y
 BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y
 BR2_TARGET_UBOOT_CUSTOM_VERSION=y
-BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2017.11"
+BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2017.15"
 BR2_TARGET_UBOOT_BOARD_DEFCONFIG="bananapi_m64"
 BR2_TARGET_UBOOT_NEEDS_DTC=y
 BR2_TARGET_UBOOT_NEEDS_ATF_BL31=y
@@ -31,7 +31,7 @@ BR2_TARGET_UBOOT_BOOT_SCRIPT_SOURCE="board/bananapi/bananapi-m64/boot.cmd"
 # Kernel
 BR2_LINUX_KERNEL=y
 BR2_LINUX_KERNEL_CUSTOM_VERSION=y
-BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.14"
+BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.17"
 BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y
 BR2_LINUX_KERNEL_DTS_SUPPORT=y
 BR2_LINUX_KERNEL_INTREE_DTS_NAME="allwinner/sun50i-a64-bananapi-m64"
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 12+ messages in thread

* [Buildroot] [PATCH 3/4] configs: bpi-m64: Use Mainline ARM ATF
  2018-09-03  8:26 ` [Buildroot] [PATCH 3/4] configs: bpi-m64: Use Mainline ARM ATF Jagan Teki
@ 2018-09-03  9:06   ` Andre Przywara
  2018-09-03 10:37     ` Jagan Teki
  2018-09-05 21:48     ` Thomas Petazzoni
  0 siblings, 2 replies; 12+ messages in thread
From: Andre Przywara @ 2018-09-03  9:06 UTC (permalink / raw)
  To: buildroot

Hi,

On 03/09/18 09:26, Jagan Teki wrote:
> Use Mainline ARM ATF for bananapi-m64 board instead
> Andre's github.

Have you tested it? The mainline ATF is not feature-complete yet, so in
comparison to the old port you are missing the PMIC setup. This breaks
power off and, more importantly, Ethernet support in U-Boot. I have some
code to introduce proper (even better) PMIC support, just didn't come
around to clean it up and post it.
Meanwhile I would suggest to stick to the old port - actually this was
the reason I didn't advertise this more widely yet.

Cheers,
Andre.

> 
> Cc: Andre Przywara <andre.przywara@arm.com>
> Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
> ---
>  configs/bananapi_m64_defconfig | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/configs/bananapi_m64_defconfig b/configs/bananapi_m64_defconfig
> index 7d1ed18..db39903 100644
> --- a/configs/bananapi_m64_defconfig
> +++ b/configs/bananapi_m64_defconfig
> @@ -8,9 +8,9 @@ BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_14=y
>  # 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_CUSTOM_REPO_URL="https://github.com/ARM-software/arm-trusted-firmware.git"
> +BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="sun50i_a64"
> +BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_REPO_VERSION="cffb00342897ed73a2bb9fc7a1860102bd927f2e"
>  BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL31=y
>  
>  # Bootloader
> 

^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Buildroot] [PATCH 3/4] configs: bpi-m64: Use Mainline ARM ATF
  2018-09-03  9:06   ` Andre Przywara
@ 2018-09-03 10:37     ` Jagan Teki
  2018-09-05 21:48     ` Thomas Petazzoni
  1 sibling, 0 replies; 12+ messages in thread
From: Jagan Teki @ 2018-09-03 10:37 UTC (permalink / raw)
  To: buildroot

On Mon, Sep 3, 2018 at 2:36 PM, Andre Przywara <andre.przywara@arm.com> wrote:
> Hi,
>
> On 03/09/18 09:26, Jagan Teki wrote:
>> Use Mainline ARM ATF for bananapi-m64 board instead
>> Andre's github.
>
> Have you tested it? The mainline ATF is not feature-complete yet, so in
> comparison to the old port you are missing the PMIC setup. This breaks
> power off and, more importantly, Ethernet support in U-Boot. I have some
> code to introduce proper (even better) PMIC support, just didn't come
> around to clean it up and post it.
> Meanwhile I would suggest to stick to the old port - actually this was
> the reason I didn't advertise this more widely yet.

I did the basic sanity, look fine. but anyway will drop based on your inputs.

Jagan.

^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Buildroot] [PATCH 4/4] configs: bpi-m64: bump linux, uboot
  2018-09-03  8:26 ` [Buildroot] [PATCH 4/4] configs: bpi-m64: bump linux, uboot Jagan Teki
@ 2018-09-03 14:43   ` Luca Ceresoli
  2018-09-04  8:21     ` Thomas Petazzoni
  0 siblings, 1 reply; 12+ messages in thread
From: Luca Ceresoli @ 2018-09-03 14:43 UTC (permalink / raw)
  To: buildroot

Hi Jagan,

On 03/09/2018 10:26, Jagan Teki wrote:
> - Uboot to 2017.15
> - Linux to 4.17
> 
> Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
> ---
>  configs/bananapi_m64_defconfig | 8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)
> 
> diff --git a/configs/bananapi_m64_defconfig b/configs/bananapi_m64_defconfig
> index db39903..b071230 100644
> --- a/configs/bananapi_m64_defconfig
> +++ b/configs/bananapi_m64_defconfig
> @@ -2,8 +2,8 @@ BR2_aarch64=y
>  BR2_cortex_a53=y
>  BR2_ARM_FPU_VFPV4=y
>  
> -# Linux headers same as kernel, a 4.14 series
> -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_14=y
> +# Linux headers same as kernel, a 4.17 series
> +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_17=y
>  
>  # Firmware
>  BR2_TARGET_ARM_TRUSTED_FIRMWARE=y
> @@ -17,7 +17,7 @@ BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL31=y
>  BR2_TARGET_UBOOT=y
>  BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y
>  BR2_TARGET_UBOOT_CUSTOM_VERSION=y
> -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2017.11"
> +BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2017.15"

I don't think version 2017.15 really exists. I tested, just in case, and
got a 404.

Also, out of personal taste, I would put the whole defconfig name in the
patch subject, to be more grep-friendly:

- [PATCH 4/4] configs: bpi-m64: bump linux, uboot
+ [PATCH 4/4] configs: bananapi_m64: bump linux, uboot

Regards,
-- 
Luca

^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Buildroot] [PATCH 4/4] configs: bpi-m64: bump linux, uboot
  2018-09-03 14:43   ` Luca Ceresoli
@ 2018-09-04  8:21     ` Thomas Petazzoni
  0 siblings, 0 replies; 12+ messages in thread
From: Thomas Petazzoni @ 2018-09-04  8:21 UTC (permalink / raw)
  To: buildroot

Hello,

On Mon, 3 Sep 2018 16:43:30 +0200, Luca Ceresoli wrote:

> - [PATCH 4/4] configs: bpi-m64: bump linux, uboot
> + [PATCH 4/4] configs: bananapi_m64: bump linux, uboot

Nitpicking: I even prefer:

	configs/banapi_m64:

which we use more commonly in Buildroot.

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Buildroot] [PATCH 1/4] DEVELOPERS: Fix file order list maintained by me
  2018-09-03  8:26 [Buildroot] [PATCH 1/4] DEVELOPERS: Fix file order list maintained by me Jagan Teki
                   ` (2 preceding siblings ...)
  2018-09-03  8:26 ` [Buildroot] [PATCH 4/4] configs: bpi-m64: bump linux, uboot Jagan Teki
@ 2018-09-05 21:46 ` Thomas Petazzoni
  2018-09-06 15:48   ` Jagan Teki
  3 siblings, 1 reply; 12+ messages in thread
From: Thomas Petazzoni @ 2018-09-05 21:46 UTC (permalink / raw)
  To: buildroot

Hello Jagan,

On Mon,  3 Sep 2018 10:26:09 +0200, Jagan Teki wrote:

> -F:	configs/amarula_a64_relic_defconfig

The support for this board is not merged yet. If you send patches that
depend on other patches, you should send them all in a patch series.

But in this case, you should have rather based this patch series on
master or next, and not on your branch that contains some unrelated
work such as the Amarula A64 Relic board support.

Anyway, I've fixed this up, and applied to master. Thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Buildroot] [PATCH 3/4] configs: bpi-m64: Use Mainline ARM ATF
  2018-09-03  9:06   ` Andre Przywara
  2018-09-03 10:37     ` Jagan Teki
@ 2018-09-05 21:48     ` Thomas Petazzoni
  1 sibling, 0 replies; 12+ messages in thread
From: Thomas Petazzoni @ 2018-09-05 21:48 UTC (permalink / raw)
  To: buildroot

Hello,

On Mon, 3 Sep 2018 10:06:40 +0100, Andre Przywara wrote:
> Hi,
> 
> On 03/09/18 09:26, Jagan Teki wrote:
> > Use Mainline ARM ATF for bananapi-m64 board instead
> > Andre's github.  
> 
> Have you tested it? The mainline ATF is not feature-complete yet, so in
> comparison to the old port you are missing the PMIC setup. This breaks
> power off and, more importantly, Ethernet support in U-Boot. I have some
> code to introduce proper (even better) PMIC support, just didn't come
> around to clean it up and post it.
> Meanwhile I would suggest to stick to the old port - actually this was
> the reason I didn't advertise this more widely yet.

So I guess this comment also applied to the Orangepi One Plus patch
(PATCH 2/4) in this series, since it also uses mainline ATF:

+# 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/ARM-software/arm-trusted-firmware.git"
+BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="sun50i_h6"
+BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_REPO_VERSION="cffb00342897ed73a2bb9fc7a1860102bd927f2e"
+BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL31=y

I've marked patches 2 to 4 in this series as Changes Requested.

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Buildroot] [PATCH 1/4] DEVELOPERS: Fix file order list maintained by me
  2018-09-05 21:46 ` [Buildroot] [PATCH 1/4] DEVELOPERS: Fix file order list maintained by me Thomas Petazzoni
@ 2018-09-06 15:48   ` Jagan Teki
  2018-09-06 15:51     ` Thomas Petazzoni
  0 siblings, 1 reply; 12+ messages in thread
From: Jagan Teki @ 2018-09-06 15:48 UTC (permalink / raw)
  To: buildroot

On Thu, Sep 6, 2018 at 3:16 AM, Thomas Petazzoni
<thomas.petazzoni@bootlin.com> wrote:
> Hello Jagan,
>
> On Mon,  3 Sep 2018 10:26:09 +0200, Jagan Teki wrote:
>
>> -F:   configs/amarula_a64_relic_defconfig
>
> The support for this board is not merged yet. If you send patches that
> depend on other patches, you should send them all in a patch series.
>
> But in this case, you should have rather based this patch series on
> master or next, and not on your branch that contains some unrelated
> work such as the Amarula A64 Relic board support.

Sorry, I thought this board is mainlined. any further comments on this board?

>
> Anyway, I've fixed this up, and applied to master. Thanks!

Thanks.

^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Buildroot] [PATCH 1/4] DEVELOPERS: Fix file order list maintained by me
  2018-09-06 15:48   ` Jagan Teki
@ 2018-09-06 15:51     ` Thomas Petazzoni
  0 siblings, 0 replies; 12+ messages in thread
From: Thomas Petazzoni @ 2018-09-06 15:51 UTC (permalink / raw)
  To: buildroot

Hello,

On Thu, 6 Sep 2018 21:18:30 +0530, Jagan Teki wrote:

> Sorry, I thought this board is mainlined. any further comments on this board?

Not at this point, it needs to be reviewed, just like the other 260
patches we have in our backlog :-/

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2018-09-06 15:51 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-09-03  8:26 [Buildroot] [PATCH 1/4] DEVELOPERS: Fix file order list maintained by me Jagan Teki
2018-09-03  8:26 ` [Buildroot] [PATCH 2/4] board: orangepi: Add Orangepi One Plus support Jagan Teki
2018-09-03  8:26 ` [Buildroot] [PATCH 3/4] configs: bpi-m64: Use Mainline ARM ATF Jagan Teki
2018-09-03  9:06   ` Andre Przywara
2018-09-03 10:37     ` Jagan Teki
2018-09-05 21:48     ` Thomas Petazzoni
2018-09-03  8:26 ` [Buildroot] [PATCH 4/4] configs: bpi-m64: bump linux, uboot Jagan Teki
2018-09-03 14:43   ` Luca Ceresoli
2018-09-04  8:21     ` Thomas Petazzoni
2018-09-05 21:46 ` [Buildroot] [PATCH 1/4] DEVELOPERS: Fix file order list maintained by me Thomas Petazzoni
2018-09-06 15:48   ` Jagan Teki
2018-09-06 15:51     ` Thomas Petazzoni

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.