Add support for the Technologic Systems TS7500 ARM SBCs
PATCH 1/1 Add support for the Technologic Systems TS7500 ARM SBCs
From: Sachin Kamboj <[email protected]>
* Includes conf/machine/ts75xx.conf and conf/machine/include/tune-fa526.inc files needed for building OE packages w/ EABI and *NO* thumb support
* Adds recipes for building TS75xx userspace utilities:
canctl, dioctl, dmxctl, jed2vme, sdctl, ts7500ctl, spiflashctl and xuartctl
* Adds a custom kernel with all the patches for the Cavium FA 526 core
* Added a busybox defconfig for building a version of busybox that will be very similar to the shipped version
* Added two images - one for building the initrd image and the other for building the rootfs image.
--- conf/distro/include/angstrom.inc | 2 +- conf/machine/include/tune-fa526.inc | 23 + conf/machine/ts75xx.conf | 22 + files/device_table-ts75xx.txt | 66 + recipes/busybox/busybox-1.13.2/ts75xx/defconfig | 986 + recipes/busybox/busybox-1.18.3/ts75xx/defconfig | 986 + recipes/images/ts75xx-initrd-image.bb | 89 + recipes/images/ts75xx-rootfs-image.bb | 206 + .../ts75xx/cavium-userspace-irq-2.6.35.patch | 181 + recipes/linux/linux-ts75xx-2.6.35/ts75xx/defconfig | 1603 + .../linux/linux-ts75xx-2.6.35/ts75xx/defconfig.bak | 1521 + .../ts75xx/ts7500-2.6.35.11.patch |85527 ++++++++++++++++++++ .../ts75xx/unionfs-2.5.8_for_2.6.35.11.patch |11286 +++ recipes/linux/linux-ts75xx_2.6.35.bb | 141 + recipes/nbd/files/nbd.h | 102 + recipes/nbd/nbd_2.8.7.bb.changed | 31 + recipes/ts7500/canctl_0.0.1.bb | 29 + recipes/ts7500/dioctl_0.0.1.bb | 53 + recipes/ts7500/dmxctl_0.0.1.bb | 23 + recipes/ts7500/files/group | 22 + recipes/ts7500/files/linuxrc-fastboot | 156 + recipes/ts7500/files/linuxrc-nandmount | 148 + recipes/ts7500/files/linuxrc-sdmount | 136 + recipes/ts7500/files/linuxrc-sdroot | 179 + recipes/ts7500/files/linuxrc-sdroot-readonly | 188 + recipes/ts7500/files/linuxrc-usbroot | 163 + recipes/ts7500/files/passwd | 9 + recipes/ts7500/files/ts-utils.patch | 68 + recipes/ts7500/files/ts7500.subr | 633 + recipes/ts7500/spictl_0.0.1.bb | 26 + recipes/ts7500/ts-initrd_0.0.1.bb | 46 + recipes/ts7500/ts-utils_0.0.1.bb | 60 + recipes/ts7500/ts7500_0.0.1.bb | 7 + 33 files changed, 104717 insertions(+), 1 deletions(-) create mode 100755 conf/machine/include/tune-fa526.inc create mode 100755 conf/machine/ts75xx.conf create mode 100644 files/device_table-ts75xx.txt create mode 100644 recipes/busybox/busybox-1.13.2/ts75xx/defconfig create mode 100644 recipes/busybox/busybox-1.18.3/ts75xx/defconfig create mode 100644 recipes/images/ts75xx-initrd-image.bb create mode 100644 recipes/images/ts75xx-rootfs-image.bb create mode 100644 recipes/linux/linux-ts75xx-2.6.35/ts75xx/cavium-userspace-irq-2.6.35.patch create mode 100644 recipes/linux/linux-ts75xx-2.6.35/ts75xx/defconfig create mode 100644 recipes/linux/linux-ts75xx-2.6.35/ts75xx/defconfig.bak create mode 100644 recipes/linux/linux-ts75xx-2.6.35/ts75xx/ts7500-2.6.35.11.patch create mode 100644 recipes/linux/linux-ts75xx-2.6.35/ts75xx/unionfs-2.5.8_for_2.6.35.11.patch create mode 100644 recipes/linux/linux-ts75xx_2.6.35.bb create mode 100644 recipes/nbd/files/nbd.h create mode 100644 recipes/nbd/nbd_2.8.7.bb.changed create mode 100644 recipes/ts7500/canctl_0.0.1.bb create mode 100644 recipes/ts7500/dioctl_0.0.1.bb create mode 100644 recipes/ts7500/dmxctl_0.0.1.bb create mode 100644 recipes/ts7500/files/group create mode 100644 recipes/ts7500/files/linuxrc-fastboot create mode 100644 recipes/ts7500/files/linuxrc-nandmount create mode 100644 recipes/ts7500/files/linuxrc-sdmount create mode 100644 recipes/ts7500/files/linuxrc-sdroot create mode 100644 recipes/ts7500/files/linuxrc-sdroot-readonly create mode 100644 recipes/ts7500/files/linuxrc-usbroot create mode 100644 recipes/ts7500/files/passwd create mode 100644 recipes/ts7500/files/ts-utils.patch create mode 100644 recipes/ts7500/files/ts7500.subr create mode 100644 recipes/ts7500/spictl_0.0.1.bb create mode 100644 recipes/ts7500/ts-initrd_0.0.1.bb create mode 100644 recipes/ts7500/ts-utils_0.0.1.bb create mode 100644 recipes/ts7500/ts7500_0.0.1.bb
conf/distro/include/angstrom.inc +1 -1
@@ -54,7 +54,7 @@ ARM_INSTRUCTION_SET = "${ANGSTROM_ARM_INSTRUCTION_SET}" # but requires more instructions (140% for 70% smaller code) so may be # slower. -THUMB_INTERWORK = "yes" +THUMB_INTERWORK ?= "yes" # "yes" "no" # Whether to compile with code to allow interworking between the two # instruction sets. This allows thumb code to be executed on a primarily
conf/machine/include/tune-fa526.inc new file +23 -0
@@ -0,0 +1,23 @@ +# This tune file is for the Faraday FA526 core is used in +# ARM processors like the Semi STR8132/ Cavium CNS2132, which is +# in the Technologic Systems TS-7500 board in addition to some +# NAS boxes out there. +# +# This core basically resembles a ARM920T but has NO thumb interworking support +# which makes it not fully EABI compliant +# (http://www.mail-archive.com/openocd-development <at> lists.berlios.de/msg05856.html) +# +# Hence, we need to diable all thumb instructions here +# Also be sure to disable all thumb flags/features/includes in the distros + +FEED_ARCH = "armv4" +BASE_PACKAGE_ARCH = "armv4" + +# Ideally we want the following CFLAGS for our architecture. +# Angstorm will automtically add the thumb flags, so don't include them here +# TARGET_CC_ARCH += "-march=armv4 -mno-thumb-interwork -mno-thumb -mfloat-abi=soft" +TARGET_CC_ARCH += "-march=armv4 -mfloat-abi=soft" + +PACKAGE_EXTRA_ARCHS += "armv4" +LDFLAGS += "-Xlinker --fix-v4bx -Xassembler --fix-v4bx" +THUMB_INTERWORK = "no"
conf/machine/ts75xx.conf new file +22 -0
@@ -0,0 +1,22 @@ +#@TYPE: Machine +#@Name: Technologic Systems TS-75xx SBC +#@DESCRIPTION: Machine configuration for Technologic Systems TS-75xx SBC + +TARGET_ARCH = "arm" + +MACHINE_FEATURES = "kernel26 ext2 usbhost" + +# This requires cavium fa526 patch set to function +# See the linux-ts75xx directory for the patches +PREFERRED_PROVIDER_virtual/kernel = "linux-ts75xx" +PREFERRED_VERSION_linux = "2.6.35" + +SERIAL_CONSOLE = "115200 ttyS0" +USE_VT = "0" + +# Uses the traditional TS-7500 bootloader process +# See the ts75xx-initrd-image.bb recipe for building +# an initrd script that only uses EABI userspace utilities +CMDLINE = "root=/dev/ram0 init=/linuxrc console=/dev/ttyS0,115200 lpj=958464" + +require conf/machine/include/tune-fa526.inc
files/device_table-ts75xx.txt new file +66 -0
66 lines not on this page · raw message
recipes/busybox/busybox-1.13.2/ts75xx/defconfig new file +986 -0
986 lines not on this page · raw message
recipes/busybox/busybox-1.18.3/ts75xx/defconfig new file +986 -0
986 lines not on this page · raw message
recipes/images/ts75xx-initrd-image.bb new file +89 -0
89 lines not on this page · raw message
recipes/images/ts75xx-rootfs-image.bb new file +206 -0
206 lines not on this page · raw message
recipes/linux/linux-ts75xx-2.6.35/ts75xx/cavium-userspace-irq-2.6.35.patch new file +181 -0
181 lines not on this page · raw message
recipes/linux/linux-ts75xx-2.6.35/ts75xx/defconfig new file +1603 -0
433 lines not on this page · raw message
recipes/linux/linux-ts75xx-2.6.35/ts75xx/defconfig.bak new file +1521 -0
1,521 lines not on this page · raw message
recipes/linux/linux-ts75xx-2.6.35/ts75xx/ts7500-2.6.35.11.patch new file +85527 -0
85,527 lines not on this page · raw message
recipes/linux/linux-ts75xx-2.6.35/ts75xx/unionfs-2.5.8_for_2.6.35.11.patch new file +11286 -0
11,286 lines not on this page · raw message
recipes/linux/linux-ts75xx_2.6.35.bb new file +141 -0
141 lines not on this page · raw message
recipes/nbd/files/nbd.h new file +102 -0
102 lines not on this page · raw message
recipes/nbd/nbd_2.8.7.bb.changed new file +31 -0
Lines of this file are not shown. View the raw message.
recipes/ts7500/canctl_0.0.1.bb new file +29 -0
Lines of this file are not shown. View the raw message.
recipes/ts7500/dioctl_0.0.1.bb new file +53 -0
53 lines not on this page · raw message
recipes/ts7500/dmxctl_0.0.1.bb new file +23 -0
Lines of this file are not shown. View the raw message.
recipes/ts7500/files/linuxrc-fastboot new file +156 -0
156 lines not on this page · raw message
recipes/ts7500/files/linuxrc-nandmount new file +148 -0
148 lines not on this page · raw message
recipes/ts7500/files/linuxrc-sdmount new file +136 -0
136 lines not on this page · raw message
recipes/ts7500/files/linuxrc-sdroot new file +179 -0
179 lines not on this page · raw message
recipes/ts7500/files/linuxrc-sdroot-readonly new file +188 -0
188 lines not on this page · raw message
recipes/ts7500/files/linuxrc-usbroot new file +163 -0
163 lines not on this page · raw message
recipes/ts7500/files/ts-utils.patch new file +68 -0
68 lines not on this page · raw message
recipes/ts7500/files/ts7500.subr new file +633 -0
633 lines not on this page · raw message
recipes/ts7500/spictl_0.0.1.bb new file +26 -0
Lines of this file are not shown. View the raw message.
recipes/ts7500/ts-initrd_0.0.1.bb new file +46 -0
46 lines not on this page · raw message
recipes/ts7500/ts-utils_0.0.1.bb new file +60 -0
60 lines not on this page · raw message
recipes/ts7500/ts7500_0.0.1.bb new file +7 -0
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
Signature · 1 line
1.7.3.4
Part of the diff is not shown here. View the raw message.
UDel V2G Team <[email protected]> [2011-03-29 17:46:39]:
Quoted 11 lines
From: Sachin Kamboj <[email protected]>
* Includes
conf/machine/ts75xx.confand conf/machine/include/tune-fa526.inc files needed for building OE packages w/ EABI and *NO* thumb support
* Adds recipes for building TS75xx userspace utilities:
canctl, dioctl, dmxctl, jed2vme, sdctl, ts7500ctl, spiflashctl and xuartctl
* Adds a custom kernel with all the patches for the Cavium FA 526 core
* Added a busybox defconfig for building a version of busybox that will be very similar to the shipped version
* Added two images - one for building the initrd image and the other for building the rootfs image.
Hi,
first of all thank you for your contribution. Please can you split your huge patchset to the logical parts and send it as the patch series? ie. one patch which adds ts75xx machine, one which adds kernel etc. It should be easy with git rebase. It's really hard to make any comments and/or read it. Thanks.
-- ynezz