Skip to contentSkip to conversation

configs: add defconfig for TS-5x00 SBCs

PATCH Superseded Vivien Didelot 2 participants 4 messages Jul 7, 2014 – Jul 8, 2014

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 configs: add defconfig for TS-5x00 SBCs

This patch adds support for the TS-5x00 serie of Technologic Systems x86-based Single Board Computers, featuring an AMD Elan520 processor.

http://wiki.embeddedarm.com/wiki/#AMD

---
 .../ts5x00/fs-overlay/boot/syslinux/syslinux.cfg   |   9 ++
 board/ts/ts5x00/linux-3.14.config                  | 113 ++++++++++++++++++++
 .../linux/linux-001-add-support-for-ts5400.patch   | 117 +++++++++++++++++++++
 board/ts/ts5x00/readme.txt                         |  51 +++++++++
 configs/ts5x00_defconfig                           |  13 +++
 5 files changed, 303 insertions(+)
 create mode 100644 board/ts/ts5x00/fs-overlay/boot/syslinux/syslinux.cfg
 create mode 100644 board/ts/ts5x00/linux-3.14.config
 create mode 100644 board/ts/ts5x00/patches/linux/linux-001-add-support-for-ts5400.patch
 create mode 100644 board/ts/ts5x00/readme.txt
 create mode 100644 configs/ts5x00_defconfig
board/ts/ts5x00/fs-overlay/boot/syslinux/syslinux.cfg new file +9 -0
new file mode 100644
index 0000000..64f8187
@@ -0,0 +1,9 @@
+SERIAL 1 115200
+CONSOLE 0
+
+DEFAULT linux
+
+LABEL linux
+  SAY Now booting the kernel from SYSLINUX...
+  LINUX /boot/bzImage
+  APPEND console=ttyS1,115200n8 root=/dev/sda1 rootfstype=ext4 rw
board/ts/ts5x00/linux-3.14.config new file +113 -0

113 lines not on this page · raw message

board/ts/ts5x00/patches/linux/linux-001-add-support-for-ts5400.patch new file +117 -0

117 lines not on this page · raw message

board/ts/ts5x00/readme.txt new file +51 -0

51 lines not on this page · raw message

configs/ts5x00_defconfig new file +13 -0
new file mode 100644
index 0000000..e446435
@@ -0,0 +1,13 @@
+BR2_KERNEL_HEADERS_3_14=y
+BR2_TARGET_GENERIC_GETTY_PORT="ttyS1"
+BR2_ROOTFS_OVERLAY="board/ts/ts5x00/fs-overlay"
+BR2_LINUX_KERNEL=y
+BR2_LINUX_KERNEL_SAME_AS_HEADERS=y
+BR2_LINUX_KERNEL_PATCH="board/ts/ts5x00/patches/linux/"
+BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
+BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/ts/ts5x00/linux-3.14.config"
+BR2_LINUX_KERNEL_INSTALL_TARGET=y
+BR2_TARGET_ROOTFS_EXT2=y
+BR2_TARGET_ROOTFS_EXT2_4=y
+BR2_TARGET_SYSLINUX=y
+BR2_TARGET_SYSLINUX_MBR=y
Signature · 1 line
1.9.1
#1 lore raw

PATCH v2 1/1 configs: add defconfig for TS-5x00 SBCs

Quoted 25 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

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

This patch adds support for the TS-5x00 serie of Technologic Systems x86-based Single Board Computers, featuring an AMD Elan520 processor.

http://wiki.embeddedarm.com/wiki/#AMD

---
 .../ts5x00/fs-overlay/boot/syslinux/syslinux.cfg   |   9 ++
 board/ts/ts5x00/linux-3.14.config                  | 113 ++++++++++++++++++++
 .../linux/linux-001-add-support-for-ts5400.patch   | 117 +++++++++++++++++++++
 board/ts/ts5x00/readme.txt                         |  51 +++++++++
 configs/ts5x00_defconfig                           |  13 +++
 5 files changed, 303 insertions(+)
 create mode 100644 board/ts/ts5x00/fs-overlay/boot/syslinux/syslinux.cfg
 create mode 100644 board/ts/ts5x00/linux-3.14.config
 create mode 100644 board/ts/ts5x00/patches/linux/linux-001-add-support-for-ts5400.patch
 create mode 100644 board/ts/ts5x00/readme.txt
 create mode 100644 configs/ts5x00_defconfig

+++ b/board/ts/ts5x00/patches/linux/linux-001-add-support-for-ts5400.patch

board/ts/ts5x00/patches/linux/linux-001-add-support-for-ts5400.patch new file +2 -0
@@ -0,0 +1,117 @@
+From 510acd057785ff52bfdfed6360a44a42f44e078f Mon Sep 17 00:00:00 2001
+From: Vivien Didelot <[email protected]>

board/ts/ts5x00/patches/linux/linux-001-add-support-for-ts5400.patch line 12

Quoted 10 lines
board/ts/ts5x00/patches/linux/linux-001-add-support-for-ts5400.patch new file +10 -0
+Date: Mon, 7 Jul 2014 15:56:11 -0400
+Subject: [PATCH] x86: (ts5500) add board support for TS-5400
+
+This patch extends the TS-5500 board support to identify the compatible
+TS-5400 Single Board Computer (ID 0x40).
+
+It also adds a new "name" sysfs attribute for more human readable
+identification, actually printing "TS-5500" or "TS-5400".
+
+Signed-off-by: Vivien Didelot <[email protected]>

Has this been sent upstream? I don't see it in linux-next.

board/ts/ts5x00/readme.txt line 5

Quoted 7 lines
board/ts/ts5x00/readme.txt new file +6 -0
+++ b/board/ts/ts5x00/readme.txt
@@ -0,0 +1,51 @@
+Technologic Systems TS-5x00 SBCs
+================================
+
+This document explains how to set up a basic Buildroot system for the 
+Technologic Systems TS-5x00 serie of x86-based Single Board Computers.

I've stripped a bunch of trailing spaces here.

configs/ts5x00_defconfig line 1

Quoted 3 lines
configs/ts5x00_defconfig new file +2 -0
+++ b/configs/ts5x00_defconfig
@@ -0,0 +1,13 @@
+BR2_KERNEL_HEADERS_3_14=y

And added explicit

BR2_i386=y
BR2_x86_i586=y

even though they are the current default values, for documentation / if we ever change the defaults.

Committed with these minor changes, thanks.

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

PATCH v2 1/1 configs: add defconfig for TS-5x00 SBCs

Hi Peter,

Quoted 4 lines
Quoted 2 lines

+Signed-off-by: Vivien Didelot
<[email protected]>

Has this been sent upstream? I don't see it in linux-next.

Not yet, I'm actually writing an RFC to discuss about the driver naming ("ts5500" vs. "ts5x00"). Should I remove it in the meantime?

Quoted 4 lines
Quoted 2 lines

+Technologic Systems TS-5x00 serie of x86-based Single Board Computers.

I've stripped a bunch of trailing spaces here.

True, I'm using :set fo+=w in vim for .txt files, but I understand this might be unwanted under source control.

Quoted 7 lines

And added explicit

BR2_i386=y
BR2_x86_i586=y

even though they are the current default values, for documentation / if we ever change the defaults.

It's better like this, indeed.

Quoted 1 line

Committed with these minor changes, thanks.

Thanks!

#3 lore raw

PATCH v2 1/1 configs: add defconfig for TS-5x00 SBCs

Quoted 10 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

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

Hi Peter,

Quoted 4 lines
Quoted 2 lines

+Signed-off-by: Vivien Didelot
<[email protected]>

Has this been sent upstream? I don't see it in linux-next.

Not yet, I'm actually writing an RFC to discuss about the driver naming ("ts5500" vs. "ts5x00"). Should I remove it in the meantime?

No, it's ok - Lets wait until you get feedback from upstream.

Quoted 3 lines
Quoted 1 line

Committed with these minor changes, thanks.

Thanks!

You're welcome, thanks for contributing!

Signature · 1 line
Bye, Peter Korsgaard