Skip to contentSkip to conversation

board/technologic/ts5x00: fix build with GCC 6.x

PATCH New Vivien Didelot 2 participants 10 messages Mar 5, 2018 – Mar 30, 2018

lore
Share & tools
lore
#0 lore raw

cover board/technologic/ts5x00: fix build with GCC 6.x

This patchset fixes the build for the ts5x00_defconfig defconfig with GCC 6.x. While at it, rename ts5x00 to ts5500 to avoid confusion and add myself as the maintainer in the DEVELOPERS file.

Vivien Didelot (3):
board/technologic/ts5x00: bump kernel to 4.14
board/technologic/ts5x00: rename to ts5500
DEVELOPERS: add myself as the ts5500 maintainer

 .gitlab-ci.yml                                                 |  2 +-
 DEVELOPERS                                                     |  4 ++++
 .../{ts5x00 => ts5500}/fs-overlay/boot/syslinux/syslinux.cfg   |  0
 .../{ts5x00/linux-3.17.config => ts5500/linux-4.14.config}     |  4 +---
 board/technologic/{ts5x00 => ts5500}/readme.txt                |  2 +-
 configs/{ts5x00_defconfig => ts5500_defconfig}                 | 10 +++++-----
 6 files changed, 12 insertions(+), 10 deletions(-)
 rename board/technologic/{ts5x00 => ts5500}/fs-overlay/boot/syslinux/syslinux.cfg (100%)
 rename board/technologic/{ts5x00/linux-3.17.config => ts5500/linux-4.14.config} (98%)
 rename board/technologic/{ts5x00 => ts5500}/readme.txt (98%)
 rename configs/{ts5x00_defconfig => ts5500_defconfig} (55%)
Signature · 1 line
2.16.2
#1 lore raw

PATCH 1/3 board/technologic/ts5x00: bump kernel to 4.14

Bump the 3.17 kernel used for the Technologic Systems TS-5500 platform to the latest LTS kernel 4.14.

This fixes the ts5x00_defconfig build with GCC 6.x.

The linux-3.17.config file has been renamed to linux-4.14.config to match the new kernel version, and its changes are the result of make linux-update-defconfig. However only comments are affected.

---
 board/technologic/ts5x00/{linux-3.17.config => linux-4.14.config} | 4 +---
 configs/ts5x00_defconfig                                          | 8 ++++----
 2 files changed, 5 insertions(+), 7 deletions(-)
 rename board/technologic/ts5x00/{linux-3.17.config => linux-4.14.config} (98%)
board/technologic/ts5x00/linux-4.14.config renamed from board/technologic/ts5x00/linux-3.17.config +1 -3
similarity index 98%
rename from board/technologic/ts5x00/linux-3.17.config
rename to board/technologic/ts5x00/linux-4.14.config
index 60cd8a0fe3..eb81596e25 100644
@@ -1,3 +1,4 @@
+# CONFIG_CROSS_MEMORY_ATTACH is not set
 CONFIG_PARTITION_ADVANCED=y
 # CONFIG_X86_EXTENDED_PLATFORM is not set
 CONFIG_MELAN=y
@@ -6,7 +7,6 @@ CONFIG_X86_REBOOTFIXUPS=y
 CONFIG_NOHIGHMEM=y
 # CONFIG_COMPACTION is not set
 # CONFIG_BOUNCE is not set
-# CONFIG_CROSS_MEMORY_ATTACH is not set
 # CONFIG_RELOCATABLE is not set
 # CONFIG_SUSPEND is not set
 # CONFIG_ACPI is not set
@@ -19,7 +19,6 @@ CONFIG_INET=y
 # CONFIG_INET_XFRM_MODE_TRANSPORT is not set
 # CONFIG_INET_XFRM_MODE_TUNNEL is not set
 # CONFIG_INET_XFRM_MODE_BEET is not set
-# CONFIG_INET_LRO is not set
 # CONFIG_INET_DIAG is not set
 # CONFIG_IPV6 is not set
 # CONFIG_WIRELESS is not set
@@ -76,7 +75,6 @@ CONFIG_DM9102=y
 CONFIG_PHYLIB=y
 CONFIG_DAVICOM_PHY=y
 # CONFIG_WLAN is not set
-# CONFIG_INPUT_MOUSEDEV is not set
 # CONFIG_INPUT_KEYBOARD is not set
 # CONFIG_INPUT_MOUSE is not set
 # CONFIG_SERIO is not set
configs/ts5x00_defconfig +4 -4
index 531088661c..19259260b7 100644
@@ -2,8 +2,8 @@
 BR2_i386=y
 BR2_x86_i586=y
 
-# Linux headers same as kernel, a 3.17 series
-BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_17=y
+# Linux headers same as kernel, a 4.14 series
+BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_14=y
 
 # system
 BR2_TARGET_GENERIC_GETTY_PORT="ttyS1"
@@ -12,9 +12,9 @@ BR2_ROOTFS_OVERLAY="board/technologic/ts5x00/fs-overlay"
 # kernel
 BR2_LINUX_KERNEL=y
 BR2_LINUX_KERNEL_CUSTOM_VERSION=y
-BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="3.17.8"
+BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.14"
 BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
-BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/technologic/ts5x00/linux-3.17.config"
+BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/technologic/ts5x00/linux-4.14.config"
 BR2_LINUX_KERNEL_INSTALL_TARGET=y
 
 # rootfs
Signature · 1 line
2.16.2
#2 lore raw

PATCH 1/3 board/technologic/ts5x00: bump kernel to 4.14

Quoted 13 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Vivien" == Vivien Didelot <[email protected]> writes:

Bump the 3.17 kernel used for the Technologic Systems TS-5500 platform to the latest LTS kernel 4.14.

This fixes the ts5x00_defconfig build with GCC 6.x.

The linux-3.17.config file has been renamed to linux-4.14.config to match the new kernel version, and its changes are the result of make linux-update-defconfig. However only comments are affected.

configs/ts5x00_defconfig BR2_ROOTFS_OVERLAY="board/technologic/ts5x00/fs-overlay" · line 15

Quoted 2 lines
configs/ts5x00_defconfig +1 -1
-BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="3.17.8"
+BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.14"

Any specific reason you are not using the latest stable, E.G. 4.14.25?

Anyway, that can be fixed later if needed - Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard
#3 lore raw

PATCH 1/3 board/technologic/ts5x00: bump kernel to 4.14

In reply to Vivien Didelot
Quoted 5 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Vivien" == Vivien Didelot <[email protected]> writes:

Bump the 3.17 kernel used for the Technologic Systems TS-5500 platform to the latest LTS kernel 4.14.

Quoted 7 lines

This fixes the ts5x00_defconfig build with GCC 6.x.

The linux-3.17.config file has been renamed to linux-4.14.config to match the new kernel version, and its changes are the result of make linux-update-defconfig. However only comments are affected.

Committed to 2018.02.x, thanks.

Signature · 1 line
Bye, Peter Korsgaard
#4 lore raw

PATCH 2/3 board/technologic/ts5x00: rename to ts5500

In reply to Vivien Didelot

Rename the confusing and misleading ts5x00 directory to a real reference platform name, ts5500. The readme.txt file already states the support for both TS-5500 and TS-5400 platforms.

---
 .gitlab-ci.yml                                                        | 2 +-
 .../{ts5x00 => ts5500}/fs-overlay/boot/syslinux/syslinux.cfg          | 0
 board/technologic/{ts5x00 => ts5500}/linux-4.14.config                | 0
 board/technologic/{ts5x00 => ts5500}/readme.txt                       | 2 +-
 configs/{ts5x00_defconfig => ts5500_defconfig}                        | 4 ++--
 5 files changed, 4 insertions(+), 4 deletions(-)
 rename board/technologic/{ts5x00 => ts5500}/fs-overlay/boot/syslinux/syslinux.cfg (100%)
 rename board/technologic/{ts5x00 => ts5500}/linux-4.14.config (100%)
 rename board/technologic/{ts5x00 => ts5500}/readme.txt (98%)
 rename configs/{ts5x00_defconfig => ts5500_defconfig} (80%)
.gitlab-ci.yml +1 -1
index f76e53b565..be00bc56a4 100644
@@ -235,7 +235,7 @@ telit_evk_pro3_defconfig: *defconfig
 toradex_apalis_imx6_defconfig: *defconfig
 ts4800_defconfig: *defconfig
 ts4900_defconfig: *defconfig
-ts5x00_defconfig: *defconfig
+ts5500_defconfig: *defconfig
 ts7680_defconfig: *defconfig
 wandboard_defconfig: *defconfig
 warp7_defconfig: *defconfig
board/technologic/ts5500/fs-overlay/boot/syslinux/syslinux.cfg renamed from board/technologic/ts5x00/fs-overlay/boot/syslinux/syslinux.cfg +0 -0
similarity index 100%
rename from board/technologic/ts5x00/fs-overlay/boot/syslinux/syslinux.cfg
rename to board/technologic/ts5500/fs-overlay/boot/syslinux/syslinux.cfg
board/technologic/ts5500/linux-4.14.config renamed from board/technologic/ts5x00/linux-4.14.config +0 -0
similarity index 100%
rename from board/technologic/ts5x00/linux-4.14.config
rename to board/technologic/ts5500/linux-4.14.config
board/technologic/ts5500/readme.txt renamed from board/technologic/ts5x00/readme.txt +1 -1
similarity index 98%
rename from board/technologic/ts5x00/readme.txt
rename to board/technologic/ts5500/readme.txt
index 1e50682980..1e73ab3ea1 100644
@@ -13,7 +13,7 @@ and additional sysfs attributes under /sys/devices/platform/).
 
 To build the default configuration you only have to:
 
-    $ make ts5x00_defconfig
+    $ make ts5500_defconfig
     $ make
 
 You will need a Compact Flash card of sufficient size and the first or only
configs/ts5500_defconfig renamed from configs/ts5x00_defconfig +2 -2
similarity index 80%
rename from configs/ts5x00_defconfig
rename to configs/ts5500_defconfig
index 19259260b7..871c02e95f 100644
@@ -7,14 +7,14 @@ BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_14=y
 
 # system
 BR2_TARGET_GENERIC_GETTY_PORT="ttyS1"
-BR2_ROOTFS_OVERLAY="board/technologic/ts5x00/fs-overlay"
+BR2_ROOTFS_OVERLAY="board/technologic/ts5500/fs-overlay"
 
 # kernel
 BR2_LINUX_KERNEL=y
 BR2_LINUX_KERNEL_CUSTOM_VERSION=y
 BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.14"
 BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
-BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/technologic/ts5x00/linux-4.14.config"
+BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/technologic/ts5500/linux-4.14.config"
 BR2_LINUX_KERNEL_INSTALL_TARGET=y
 
 # rootfs
Signature · 1 line
2.16.2
#5 lore raw

PATCH 2/3 board/technologic/ts5x00: rename to ts5500

Quoted 7 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Vivien" == Vivien Didelot <[email protected]> writes:

Rename the confusing and misleading ts5x00 directory to a real reference platform name, ts5500. The readme.txt file already states the support for both TS-5500 and TS-5400 platforms.

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard
#6 lore raw

PATCH 2/3 board/technologic/ts5x00: rename to ts5500

In reply to Vivien Didelot
Quoted 7 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Vivien" == Vivien Didelot <[email protected]> writes:

Rename the confusing and misleading ts5x00 directory to a real reference platform name, ts5500. The readme.txt file already states the support for both TS-5500 and TS-5400 platforms.

Committed to 2018.02.x, thanks.

Signature · 1 line
Bye, Peter Korsgaard
#7 lore raw

PATCH 3/3 DEVELOPERS: add myself as the ts5500 maintainer

In reply to Vivien Didelot

Add a new entry for myself listing the TS-5500 board directory and defconfig file.

---
 DEVELOPERS | 4 ++++
 1 file changed, 4 insertions(+)
DEVELOPERS +4 -0
index 41e1b54d99..3feb6c88e7 100644
@@ -1821,6 +1821,10 @@ F:	package/pixz/
 N:	Vinicius Tinti <[email protected]>
 F:	package/python-thrift/
 
+N:	Vivien Didelot <[email protected]>
+F:	board/technologic/ts5500/
+F:	configs/ts5500_defconfig
+
 N:	Volkov Viacheslav <[email protected]>
 F:	package/v4l2grab/
 F:	package/zbar/
Signature · 1 line
2.16.2
#8 lore raw

PATCH 3/3 DEVELOPERS: add myself as the ts5500 maintainer

Quoted 6 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Vivien" == Vivien Didelot <[email protected]> writes:

Add a new entry for myself listing the TS-5500 board directory and defconfig file.

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard