All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/6] Add support for the Technologic Systems TS7500 ARM SBCs
@ 2011-03-30 14:07 UDel V2G Team
  2011-03-30 14:07 ` [PATCH 2/6] Allows the use of the angstrom distribution with ARM cores that do not support THUMB_INTERWORK instructions UDel V2G Team
                   ` (6 more replies)
  0 siblings, 7 replies; 20+ messages in thread
From: UDel V2G Team @ 2011-03-30 14:07 UTC (permalink / raw)
  To: openembedded-devel

* Includes conf/machine/ts75xx.conf and conf/machine/include/tune-fa526.inc
  files needed for building OE packages w/ EABI and *NO* thumb support

Signed-off-by: UDel V2G Team <v2g.udel@gmail.com>
---
 conf/machine/include/tune-fa526.inc |   22 ++++++++++++++++++++++
 conf/machine/ts75xx.conf            |   22 ++++++++++++++++++++++
 2 files changed, 44 insertions(+), 0 deletions(-)
 create mode 100755 conf/machine/include/tune-fa526.inc
 create mode 100755 conf/machine/ts75xx.conf

diff --git a/conf/machine/include/tune-fa526.inc b/conf/machine/include/tune-fa526.inc
new file mode 100755
index 0000000..a5c5008
--- /dev/null
+++ b/conf/machine/include/tune-fa526.inc
@@ -0,0 +1,22 @@
+# 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
+#
+# 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"
diff --git a/conf/machine/ts75xx.conf b/conf/machine/ts75xx.conf
new file mode 100755
index 0000000..d76548d
--- /dev/null
+++ b/conf/machine/ts75xx.conf
@@ -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
-- 
1.7.3.4




^ permalink raw reply related	[flat|nested] 20+ messages in thread
* Re: [PATCH 1/6] Add support for the Technologic Systems TS7500 ARM SBCs
@ 2011-03-30 16:40 R.T. McGee
  2011-03-30 17:42 ` Koen Kooi
  0 siblings, 1 reply; 20+ messages in thread
From: R.T. McGee @ 2011-03-30 16:40 UTC (permalink / raw)
  To: openembedded-devel

Its true, the FA526 is not a ARM920T but it's a bit different from other
standard ARMv4 types.

Comments about the FA526 and ARM920T similarity are based on work like this:
http://openocd.sourcearchive.com/lines/0.3.1/fa526_8c-source.html
This are not from the perspective of the instruction set, but it more or
less talking about hardware features.

In the upcoming versions of GCC there will be a mtune option for the FA526,
because it is different enough
from a old standard armv4 and there and some code optimizations for the
pipeline, cache  etc.
http://gcc.gnu.org/ml/gcc-patches/2010-11/msg02208/gcc-4.6-svn-20101116-faraday-cpu.patch

Just to recap for others, the TS-7500 has a Cavium CNS2132 (aka Star Semi
STR8132) SoC which contains a FA526 core.

Thanks,
RT


> From: Marcin Juszkiewicz <marcin <at> juszkiewicz.com.pl>
> Subject: Re: [oe] [PATCH 1/6] Add support for the Technologic Systems
> TS7500 ARM SBCs
> Date: 2011-03-30 14:43:36 GMT
>
> Dnia 2011-03-30, śro o godzinie 10:07 -0400, UDel V2G Team pisze:
> > +++ b/conf/machine/include/tune-fa526.inc
>
> > +# This core basically resembles a ARM920T but has NO thumb
> > interworking support
> > +# which makes it not fully EABI compliant
>
> This is not arm920t core. Vendor says "The cores are based on the ARMv4(tm)
> instruction set and AMBA(tm) 2.0 AHB bus architecture." There is no
> information on which core they based.
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel <at> lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>


^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2011-04-02  8:55 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-30 14:07 [PATCH 1/6] Add support for the Technologic Systems TS7500 ARM SBCs UDel V2G Team
2011-03-30 14:07 ` [PATCH 2/6] Allows the use of the angstrom distribution with ARM cores that do not support THUMB_INTERWORK instructions UDel V2G Team
2011-03-30 15:04   ` Koen Kooi
2011-03-31 20:57   ` Khem Raj
2011-03-30 14:07 ` [PATCH 3/6] Add kernel support for the Technologic Systems TS7500 ARM SBCs UDel V2G Team
2011-03-30 14:45   ` Marcin Juszkiewicz
2011-04-02  8:53   ` Petr Štetiar
2011-03-30 14:07 ` [PATCH 4/6] Add recipes for building TS75xx userspace utilities UDel V2G Team
2011-03-30 14:40   ` Marcin Juszkiewicz
2011-03-30 16:55     ` Sachin Kamboj
2011-04-02  8:40       ` Petr Štetiar
2011-03-30 14:07 ` [PATCH 5/6] Added images for the TS7500 ARM SBCs UDel V2G Team
2011-03-30 14:33   ` Marcin Juszkiewicz
2011-03-30 14:07 ` [PATCH 6/6] Adds custom defconfigs for Technologic Systems " UDel V2G Team
2011-03-31 21:00   ` Khem Raj
2011-03-30 14:43 ` [PATCH 1/6] Add support for the " Marcin Juszkiewicz
2011-03-31 20:48 ` Khem Raj
  -- strict thread matches above, loose matches on Subject: below --
2011-03-30 16:40 R.T. McGee
2011-03-30 17:42 ` Koen Kooi
2011-03-31  9:19   ` Phil Blundell

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.