All of lore.kernel.org
 help / color / mirror / Atom feed
* 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; 6+ 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] 6+ messages in thread

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

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 30-03-11 18:40, R.T. McGee wrote:
> 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.

So it's more like a ARM920?

> 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFNk2twMkyGM64RGpERAu6YAKC02zPo1mZcM8MOiys2fNrxdFPu3gCgoNay
H6ZSLNVdA4kadZYqvWAqoeA=
=b62T
-----END PGP SIGNATURE-----




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

* Re: [PATCH 1/6] Add support for the Technologic Systems TS7500 ARM SBCs
  2011-03-30 17:42 ` Koen Kooi
@ 2011-03-31  9:19   ` Phil Blundell
  0 siblings, 0 replies; 6+ messages in thread
From: Phil Blundell @ 2011-03-31  9:19 UTC (permalink / raw)
  To: openembedded-devel

On Wed, 2011-03-30 at 19:42 +0200, Koen Kooi wrote:
> On 30-03-11 18:40, R.T. McGee wrote:
> > 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.
> 
> So it's more like a ARM920?

It's sort of like an ARM920 might perhaps be if such a thing existed,
yeah, but even then it probably wouldn't be an exact equivalent.  The
original description of "resembles ARM920T without Thumb" sounds like
it's about as good as it's going to get in terms of drawing an analogy
between the ARM cores and the Faraday ones.

p.





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

* Re: [PATCH 1/6] Add support for the Technologic Systems TS7500 ARM SBCs
  2011-03-30 14:07 UDel V2G Team
  2011-03-30 14:43 ` Marcin Juszkiewicz
@ 2011-03-31 20:48 ` Khem Raj
  1 sibling, 0 replies; 6+ messages in thread
From: Khem Raj @ 2011-03-31 20:48 UTC (permalink / raw)
  To: openembedded-devel

On Wed, Mar 30, 2011 at 7:07 AM, UDel V2G Team <v2g.udel@gmail.com> wrote:
> * 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"

-mfloat-abi=soft is probably not needed since thats the toolchain default.

> +TARGET_CC_ARCH += "-march=armv4 -mfloat-abi=soft"
> +
> +PACKAGE_EXTRA_ARCHS += "armv4"
> +LDFLAGS += "-Xlinker --fix-v4bx -Xassembler --fix-v4bx"

those should also be default when toolchain is build for armv4
where do u need to specify that in LDFLAGS

> +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
>
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>



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

* Re: [PATCH 1/6] Add support for the Technologic Systems TS7500 ARM SBCs
  2011-03-30 14:07 UDel V2G Team
@ 2011-03-30 14:43 ` Marcin Juszkiewicz
  2011-03-31 20:48 ` Khem Raj
  1 sibling, 0 replies; 6+ messages in thread
From: Marcin Juszkiewicz @ 2011-03-30 14:43 UTC (permalink / raw)
  To: openembedded-devel

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™
instruction set and AMBA™ 2.0 AHB bus architecture." There is no
information on which core they based.




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

* [PATCH 1/6] Add support for the Technologic Systems TS7500 ARM SBCs
@ 2011-03-30 14:07 UDel V2G Team
  2011-03-30 14:43 ` Marcin Juszkiewicz
  2011-03-31 20:48 ` Khem Raj
  0 siblings, 2 replies; 6+ 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] 6+ messages in thread

end of thread, other threads:[~2011-03-31 20:51 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-03-30 16:40 [PATCH 1/6] Add support for the Technologic Systems TS7500 ARM SBCs R.T. McGee
2011-03-30 17:42 ` Koen Kooi
2011-03-31  9:19   ` Phil Blundell
  -- strict thread matches above, loose matches on Subject: below --
2011-03-30 14:07 UDel V2G Team
2011-03-30 14:43 ` Marcin Juszkiewicz
2011-03-31 20:48 ` Khem Raj

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.