Skip to contentSkip to conversation

configs/freescale_mpc8315erdb: lock down binutils version

PATCH New Gustavo Zacarias 2 participants 4 messages May 5, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/3 configs/freescale_mpc8315erdb: lock down binutils version

The used U-Boot version (2014.04) isn't too happy with newer (>= 2.25) binutils versions, so keep it locked down until the config is updated for a newer version.
U-Boot 2016.03 in fact does work for mpc8315erdb - however it doesn't yet support SPL which is necessary for NAND boot and would be a massive defconfig revamp switching to NOR.

---
 configs/freescale_mpc8315erdb_defconfig | 2 ++
 1 file changed, 2 insertions(+)
configs/freescale_mpc8315erdb_defconfig +2 -0
index 457736e..b931471 100644
@@ -28,6 +28,8 @@ BR2_TARGET_GENERIC_GETTY=y
 BR2_TARGET_GENERIC_GETTY_PORT="ttyS0"
 
 # Bootloader
+# Lock down binutils to <2.25 to avoid U-Boot build failure
+BR2_BINUTILS_VERSION_2_24_X=y
 BR2_TARGET_UBOOT=y
 BR2_TARGET_UBOOT_BOARDNAME="MPC8315ERDB_NAND"
 BR2_TARGET_UBOOT_CUSTOM_VERSION=y
Signature · 1 line
2.7.3
#1 lore raw

PATCH 2/3 configs/freescale_p1010rdb_pa: lock down binutils version

The used U-Boot version (2014.01) isn't too happy with newer (>= 2.25) binutils versions, so keep it locked down until the config is updated for a newer version.

---
 configs/freescale_p1010rdb_pa_defconfig | 2 ++
 1 file changed, 2 insertions(+)
configs/freescale_p1010rdb_pa_defconfig +2 -0
index 93096de..7f48248 100644
@@ -27,6 +27,8 @@ BR2_TARGET_GENERIC_GETTY=y
 BR2_TARGET_GENERIC_GETTY_PORT="ttyS0"
 
 # Bootloader
+# Lock down binutils to <2.25 to avoid U-Boot build failure
+BR2_BINUTILS_VERSION_2_24_X=y
 BR2_TARGET_UBOOT=y
 BR2_TARGET_UBOOT_BOARDNAME="P1010RDB-PA_NOR"
 BR2_TARGET_UBOOT_CUSTOM_VERSION=y
Signature · 1 line
2.7.3
#2 lore raw

PATCH 3/3 configs/freescale_mpc8315erdb: bump to kernel 4.5.3

In reply to Gustavo Zacarias
---
 .../freescale/mpc8315erdb/{linux-4.2.config => linux-4.5.config}  | 0
 configs/freescale_mpc8315erdb_defconfig                           | 8 ++++----
 2 files changed, 4 insertions(+), 4 deletions(-)
 rename board/freescale/mpc8315erdb/{linux-4.2.config => linux-4.5.config} (100%)
board/freescale/mpc8315erdb/linux-4.5.config renamed from board/freescale/mpc8315erdb/linux-4.2.config +0 -0
similarity index 100%
rename from board/freescale/mpc8315erdb/linux-4.2.config
rename to board/freescale/mpc8315erdb/linux-4.5.config
configs/freescale_mpc8315erdb_defconfig +4 -4
index b931471..628aaad 100644
@@ -10,15 +10,15 @@ BR2_TARGET_ROOTFS_JFFS2_CUSTOM_PAGESIZE=0x200
 BR2_TARGET_ROOTFS_JFFS2_CUSTOM_EBSIZE=0x4000
 BR2_TARGET_ROOTFS_JFFS2_NOCLEANMARKER=y
 
-# Linux headers same as kernel, a 4.2 series
-BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_2=y
+# Linux headers same as kernel, a 4.5 series
+BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_5=y
 
 # Kernel
 BR2_LINUX_KERNEL=y
 BR2_LINUX_KERNEL_CUSTOM_VERSION=y
-BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.2.5"
+BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.5.3"
 BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
-BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/freescale/mpc8315erdb/linux-4.2.config"
+BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/freescale/mpc8315erdb/linux-4.5.config"
 BR2_LINUX_KERNEL_UIMAGE=y
 BR2_LINUX_KERNEL_DTS_SUPPORT=y
 BR2_LINUX_KERNEL_INTREE_DTS_NAME="mpc8315erdb"
Signature · 1 line
2.7.3
#3 lore raw

PATCH 1/3 configs/freescale_mpc8315erdb: lock down binutils version

In reply to Gustavo Zacarias

Hello,

Quoted 11 lines · Gustavo Zacarias

The used U-Boot version (2014.04) isn't too happy with newer (>= 2.25) binutils versions, so keep it locked down until the config is updated for a newer version.
U-Boot 2016.03 in fact does work for mpc8315erdb - however it doesn't yet support SPL which is necessary for NAND boot and would be a massive defconfig revamp switching to NOR.

---
 configs/freescale_mpc8315erdb_defconfig | 2 ++
 1 file changed, 2 insertions(+)

All three applied, thanks!

Thomas

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