juno: add support for Juno r2 and point to v4.6 mainline
cover juno: add support for Juno r2 and point to v4.6 mainline
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(-)
Signature · 1 line
1.8.1.5
PATCH 1/2 juno: Adding support for Juno r2
Add support for Juno r2.
--- board/arm/juno/readme.txt | 17 ++++++++++++++++- configs/arm_juno_defconfig | 2 +- 2 files changed, 17 insertions(+), 2 deletions(-)
board/arm/juno/readme.txt +16 -1
@@ -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
configs/arm_juno_defconfig +1 -1
@@ -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"
Signature · 1 line
1.8.1.5
PATCH 1/2 juno: Adding support for Juno r2
Hello,
The title should have been:
configs/arm_juno: add support for Juno r2
Quoted 1 line · Joao Pinto
Add support for Juno r2.
This part is not needed, as it only repeats the commit title with no other additional information.
board/arm/juno/readme.txt NOR3LOAD: 00000000 ;Image Load Address · line 94
Quoted 6 lines
Preparing your rootfs
board/arm/juno/readme.txt +1
-0@@ -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
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com
PATCH 1/2 juno: Adding support for Juno r2
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 <[email protected]>
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
Quoted 1 line · Joao Pinto
Add support for Juno r2.
This part is not needed, as it only repeats the commit title with no other additional information.
board/arm/juno/readme.txt NOR3LOAD: 00000000 ;Image Load Address · line 94
Quoted 6 lines
Preparing your rootfs
board/arm/juno/readme.txt +1
-0@@ -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
PATCH 2/2 configs/arm_juno: Point to 4.6 mainline kernel
In reply to Joao PintoChange the kernel version to v4.6 mainline.
--- configs/arm_juno_defconfig | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-)
configs/arm_juno_defconfig +3 -4
@@ -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
Signature · 1 line
1.8.1.5
PATCH 2/2 configs/arm_juno: Point to 4.6 mainline kernel
Hello,
configs/arm_juno_defconfig line 3
Quoted 10 lines · Joao Pinto
configs/arm_juno_defconfig +1
-2@@ -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.
configs/arm_juno_defconfig line 9
Quoted 8 lines
configs/arm_juno_defconfig +2
-2BR2_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
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com