All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 0/2] juno: add support for Juno r2 and point to v4.6 mainline
@ 2016-06-09 10:40 Joao Pinto
  2016-06-09 10:40 ` [Buildroot] [PATCH 1/2] juno: Adding support for Juno r2 Joao Pinto
  2016-06-09 10:40 ` [Buildroot] [PATCH 2/2] configs/arm_juno: Point to 4.6 mainline kernel Joao Pinto
  0 siblings, 2 replies; 6+ messages in thread
From: Joao Pinto @ 2016-06-09 10:40 UTC (permalink / raw)
  To: buildroot

Add support for Juno r2 and change the kernel version to v4.6 mainline.

Joao Pinto (2):
  juno: Adding support for Juno r2
  configs/arm_juno: Point to 4.6 mainline kernel

 board/arm/juno/readme.txt  | 17 ++++++++++++++++-
 configs/arm_juno_defconfig |  9 ++++-----
 2 files changed, 20 insertions(+), 6 deletions(-)

-- 
1.8.1.5

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

* [Buildroot] [PATCH 1/2] juno: Adding support for Juno r2
  2016-06-09 10:40 [Buildroot] [PATCH 0/2] juno: add support for Juno r2 and point to v4.6 mainline Joao Pinto
@ 2016-06-09 10:40 ` Joao Pinto
  2016-06-09 20:03   ` Thomas Petazzoni
  2016-06-09 10:40 ` [Buildroot] [PATCH 2/2] configs/arm_juno: Point to 4.6 mainline kernel Joao Pinto
  1 sibling, 1 reply; 6+ messages in thread
From: Joao Pinto @ 2016-06-09 10:40 UTC (permalink / raw)
  To: buildroot

Add support for Juno r2.

Signed-off-by: Joao Pinto <jpinto@synopsys.com>
---
 board/arm/juno/readme.txt  | 17 ++++++++++++++++-
 configs/arm_juno_defconfig |  2 +-
 2 files changed, 17 insertions(+), 2 deletions(-)

diff --git a/board/arm/juno/readme.txt b/board/arm/juno/readme.txt
index 52fabf9..e1adb71 100644
--- a/board/arm/juno/readme.txt
+++ b/board/arm/juno/readme.txt
@@ -6,6 +6,7 @@ Intro
 These instructions apply to all models of the ARM Juno:
   - Juno r0 (does not support PCIe)
   - Juno r1 (supports PCIe)
+  - Juno r2 (Big Cluster with A72)
 
 Buildroot will generate the kernel image, device tree blob and a
 minimal root filesystem.
@@ -41,6 +42,7 @@ After building, you should obtain this tree:
     +-- rootfs.tar
     +-- juno.dtb (if Juno r0 is used)
     +-- juno-r1.dtb (if Juno r1 is used)
+    +-- juno-r2.dtb (if Juno r2 is used)
     +-- Image
 
 Preparing your rootfs
@@ -89,6 +91,19 @@ NOR3LOAD: 00000000               ;Image Load Address
 NOR3ENTRY: 00000000              ;Image Entry Point
 ......
 
+Configure *.dtb in the boot configuration for Juno r1
+=====================================================
+
+SITE1/HBI0262D/images.txt
+......
+NOR3UPDATE: AUTO                 ;Image Update:NONE/AUTO/FORCE
+NOR3ADDRESS: 0x02000000          ;Image Flash Address
+NOR3FILE: \SOFTWARE\juno-r2.dtb  ;Image File Name
+NOR3NAME: board.dtb              ;Specify target filename to preserve file extension
+NOR3LOAD: 00000000               ;Image Load Address
+NOR3ENTRY: 00000000              ;Image Entry Point
+......
+
 Installing kernel image and DTB
 ===============================
 
@@ -97,7 +112,7 @@ Installing kernel image and DTB
    A mass storage device should appear in your desktop.
 3. Open the software/ folder
 4. Copy the 'Image' file to software/
-5. Copy the 'juno-r1.dtb' (r1) or the 'juno.dtb' (r0) file to software/
+5. Copy the 'juno-r1.dtb' (r1), 'juno.dtb' (r0) or juno-r2.dtb (r2) file to software/
 6. Press the red button in the front pannel of ARM Juno
 
 At this time, the board will erase the Flash entry for each new item and
diff --git a/configs/arm_juno_defconfig b/configs/arm_juno_defconfig
index 87b6374..5ce882c 100644
--- a/configs/arm_juno_defconfig
+++ b/configs/arm_juno_defconfig
@@ -11,4 +11,4 @@ BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="linux-linaro-4.3-2015.11"
 BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
 BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/arm/juno/linux-juno-defconfig"
 BR2_LINUX_KERNEL_DTS_SUPPORT=y
-BR2_LINUX_KERNEL_INTREE_DTS_NAME="arm/juno arm/juno-r1"
+BR2_LINUX_KERNEL_INTREE_DTS_NAME="arm/juno arm/juno-r1 arm/juno-r2"
-- 
1.8.1.5

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

* [Buildroot] [PATCH 2/2] configs/arm_juno: Point to 4.6 mainline kernel
  2016-06-09 10:40 [Buildroot] [PATCH 0/2] juno: add support for Juno r2 and point to v4.6 mainline Joao Pinto
  2016-06-09 10:40 ` [Buildroot] [PATCH 1/2] juno: Adding support for Juno r2 Joao Pinto
@ 2016-06-09 10:40 ` Joao Pinto
  2016-06-09 20:07   ` Thomas Petazzoni
  1 sibling, 1 reply; 6+ messages in thread
From: Joao Pinto @ 2016-06-09 10:40 UTC (permalink / raw)
  To: buildroot

Change the kernel version to v4.6 mainline.

Signed-off-by: Joao Pinto <jpinto@synopsys.com>
---
 configs/arm_juno_defconfig | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/configs/arm_juno_defconfig b/configs/arm_juno_defconfig
index 5ce882c..153060a 100644
--- a/configs/arm_juno_defconfig
+++ b/configs/arm_juno_defconfig
@@ -1,13 +1,12 @@
 BR2_aarch64=y
 BR2_KERNEL_HEADERS_VERSION=y
-BR2_DEFAULT_KERNEL_VERSION="4.2.2"
-BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_2=y
+BR2_DEFAULT_KERNEL_VERSION="4.6"
 BR2_TARGET_GENERIC_HOSTNAME="juno-buildroot"
 BR2_TARGET_GENERIC_ISSUE="Welcome to SNPS Juno by Buildroot"
 BR2_LINUX_KERNEL=y
 BR2_LINUX_KERNEL_CUSTOM_GIT=y
-BR2_LINUX_KERNEL_CUSTOM_REPO_URL="http://git.linaro.org/kernel/linux-linaro-tracking.git"
-BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="linux-linaro-4.3-2015.11"
+BR2_LINUX_KERNEL_CUSTOM_REPO_URL="https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git"
+BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="v4.6"
 BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
 BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/arm/juno/linux-juno-defconfig"
 BR2_LINUX_KERNEL_DTS_SUPPORT=y
-- 
1.8.1.5

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

* [Buildroot] [PATCH 1/2] juno: Adding support for Juno r2
  2016-06-09 10:40 ` [Buildroot] [PATCH 1/2] juno: Adding support for Juno r2 Joao Pinto
@ 2016-06-09 20:03   ` Thomas Petazzoni
  2016-06-13 16:55     ` Joao Pinto
  0 siblings, 1 reply; 6+ messages in thread
From: Thomas Petazzoni @ 2016-06-09 20:03 UTC (permalink / raw)
  To: buildroot

Hello,

The title should have been:

	configs/arm_juno: add support for Juno r2

On Thu,  9 Jun 2016 11:40:30 +0100, Joao Pinto wrote:
> Add support for Juno r2.

This part is not needed, as it only repeats the commit title with no
other additional information.

>  Preparing your rootfs
> @@ -89,6 +91,19 @@ NOR3LOAD: 00000000               ;Image Load Address
>  NOR3ENTRY: 00000000              ;Image Entry Point
>  ......
>  
> +Configure *.dtb in the boot configuration for Juno r1

I guess you meant r2 here.

Applied with those issues fixed.

Thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

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

* [Buildroot] [PATCH 2/2] configs/arm_juno: Point to 4.6 mainline kernel
  2016-06-09 10:40 ` [Buildroot] [PATCH 2/2] configs/arm_juno: Point to 4.6 mainline kernel Joao Pinto
@ 2016-06-09 20:07   ` Thomas Petazzoni
  0 siblings, 0 replies; 6+ messages in thread
From: Thomas Petazzoni @ 2016-06-09 20:07 UTC (permalink / raw)
  To: buildroot

Hello,

On Thu,  9 Jun 2016 11:40:31 +0100, Joao Pinto wrote:

> diff --git a/configs/arm_juno_defconfig b/configs/arm_juno_defconfig
> index 5ce882c..153060a 100644
> --- a/configs/arm_juno_defconfig
> +++ b/configs/arm_juno_defconfig
> @@ -1,13 +1,12 @@
>  BR2_aarch64=y
>  BR2_KERNEL_HEADERS_VERSION=y
> -BR2_DEFAULT_KERNEL_VERSION="4.2.2"
> -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_2=y
> +BR2_DEFAULT_KERNEL_VERSION="4.6"

No, you should have kept using
BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_X_Y, since this tells Buildroot
to use the kernel sources specified below for the kernel headers used
to build the toolchain.

>  BR2_TARGET_GENERIC_HOSTNAME="juno-buildroot"
>  BR2_TARGET_GENERIC_ISSUE="Welcome to SNPS Juno by Buildroot"
>  BR2_LINUX_KERNEL=y
>  BR2_LINUX_KERNEL_CUSTOM_GIT=y
> -BR2_LINUX_KERNEL_CUSTOM_REPO_URL="http://git.linaro.org/kernel/linux-linaro-tracking.git"
> -BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="linux-linaro-4.3-2015.11"
> +BR2_LINUX_KERNEL_CUSTOM_REPO_URL="https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git"
> +BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="v4.6"

I've already applied, but when using such an official release, using
the tarball would be much more download efficient.

Applied with the kernel headers change. Thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

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

* [Buildroot] [PATCH 1/2] juno: Adding support for Juno r2
  2016-06-09 20:03   ` Thomas Petazzoni
@ 2016-06-13 16:55     ` Joao Pinto
  0 siblings, 0 replies; 6+ messages in thread
From: Joao Pinto @ 2016-06-13 16:55 UTC (permalink / raw)
  To: buildroot

Thanks Thomas.

-----Original Message-----
From: Thomas Petazzoni [mailto:thomas.petazzoni at free-electrons.com] 
Sent: Thursday, June 09, 2016 9:04 PM
To: Joao Pinto <Joao.Pinto@synopsys.com>
Cc: buildroot at buildroot.org; Liviu.Dudau at arm.com; CARLOS.PALMINHA at synopsys.com
Subject: Re: [Buildroot] [PATCH 1/2] juno: Adding support for Juno r2

Hello,

The title should have been:

	configs/arm_juno: add support for Juno r2

On Thu,  9 Jun 2016 11:40:30 +0100, Joao Pinto wrote:
> Add support for Juno r2.

This part is not needed, as it only repeats the commit title with no other additional information.

>  Preparing your rootfs
> @@ -89,6 +91,19 @@ NOR3LOAD: 00000000               ;Image Load Address
>  NOR3ENTRY: 00000000              ;Image Entry Point
>  ......
>  
> +Configure *.dtb in the boot configuration for Juno r1

I guess you meant r2 here.

Applied with those issues fixed.

Thanks!

Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering http://free-electrons.com

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

end of thread, other threads:[~2016-06-13 16:55 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-06-09 10:40 [Buildroot] [PATCH 0/2] juno: add support for Juno r2 and point to v4.6 mainline Joao Pinto
2016-06-09 10:40 ` [Buildroot] [PATCH 1/2] juno: Adding support for Juno r2 Joao Pinto
2016-06-09 20:03   ` Thomas Petazzoni
2016-06-13 16:55     ` Joao Pinto
2016-06-09 10:40 ` [Buildroot] [PATCH 2/2] configs/arm_juno: Point to 4.6 mainline kernel Joao Pinto
2016-06-09 20:07   ` 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.