Skip to contentSkip to conversation

armv5tej support in xenomai

PATCH In review Romain Naour 2 participants 7 messages Dec 28, 2013 2 messages not in the archive

lore
Share & tools
lore
#0 lore raw

cover armv5tej support in xenomai

Hi Gilles,

Can confirm that the armv5tej architecture is supported by xenomai ?

There are currently some compilation errors like this one on buildroot's autobuilder:
http://autobuild.buildroot.net/results/e3b/e3b534dafb6dd7d788b0c3629ccc0b25702790f0/build-end.log

This error is fixed by the following path.

Best regards,
Romain Naour

Romain Naour (1):
arm: enable armv5tej support

 include/asm-arm/features.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
Signature · 1 line
1.8.1.4
#1 lore raw

PATCH 1/1 arm: enable armv5tej support

armv5tej are not detected in include/asm-arm/features.h

---
 include/asm-arm/features.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
include/asm-arm/features.h +2 -1
index b83ac2c..45aaf2c 100644
@@ -57,7 +57,8 @@
 #endif /* armv4 */
 
 #if defined(__ARM_ARCH_5__) || defined(__ARM_ARCH_5T__) \
-	|| defined(__ARM_ARCH_5E__) || defined(__ARM_ARCH_5TE__)
+	|| defined(__ARM_ARCH_5E__) || defined(__ARM_ARCH_5TE__) \
+	|| defined(__ARM_ARCH_5TEJ__)
 #define __LINUX_ARM_ARCH__ 5
 #endif /* armv5 */
 
Signature · 1 line
1.8.1.4
#3 lore raw

Re: [Xenomai] [PATCH 1/1] arm: enable armv5tej support

Quoted 8 lines · Gilles Chanteperdrix
Quoted 3 lines · Romain Naour

armv5tej are not detected in include/asm-arm/features.h

Merged, thanks. Will the above URL stay valid?

Yes, it's an url of buildroot's build results.
Buildroot's developers commit each bug fix with the url of build failure in reference.

Best regards,
Romain Naour

#4 lore raw
In reply to Romain Naour
Quoted 8 lines · Romain Naour

Hi Gilles,

Can confirm that the armv5tej architecture is supported by xenomai ?

There are currently some compilation errors like this one on buildroot's autobuilder:
http://autobuild.buildroot.net/results/e3b/e3b534dafb6dd7d788b0c3629ccc0b25702790f0/build-end.log

This error is fixed by the following path.

This fixes xenomai build issue, yes, but I have no idea how xenomai behaves with programs using the jazelle instruction set.

Does gcc generate jazelle instructions now?

Signature · 1 line
                                                                Gilles.

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

#7 lore raw
Quoted 13 lines · Gilles Chanteperdrix
Quoted 12 lines · Romain Naour
Quoted 11 lines · Gilles Chanteperdrix
Quoted 8 lines · Romain Naour

Hi Gilles,

Can confirm that the armv5tej architecture is supported by xenomai ?

There are currently some compilation errors like this one on buildroot's autobuilder:
http://autobuild.buildroot.net/results/e3b/e3b534dafb6dd7d788b0c3629ccc0b25702790f0/build-end.log

This error is fixed by the following path.

This fixes xenomai build issue, yes, but I have no idea how xenomai behaves with programs using the jazelle instruction set.

Quoted 10 lines
Quoted 5 lines

I don't know either.

Quoted 2 lines

Does gcc generate jazelle instructions now?

I don't think so.
I don't know much about jazelle instructions set.

My point being, unless I am mistaken, the J in arm5TEJ means "jazelle". So, what is the point of generating a compiler for this architecture if you do not use the corresponding instructions?

Jazelle instructions seems to be only used by a JVM, not by gcc. So, in the current case, the cpu jazelle support is useless without a JVM.

Best regards,
Romain Naour

#8 lore raw
In reply to Romain Naour
Quoted 9 lines · Romain Naour

Hi Gilles,

Can confirm that the armv5tej architecture is supported by xenomai ?

There are currently some compilation errors like this one on buildroot's autobuilder:
http://autobuild.buildroot.net/results/e3b/e3b534dafb6dd7d788b0c3629ccc0b25702790f0/build-end.log

This error is fixed by the following path.

Quoted 9 lines

Best regards,
Romain Naour

Romain Naour (1):
arm: enable armv5tej support

 include/asm-arm/features.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

BTW:
- you are not using xenomai latest version, which is 2.6.3
- to disable installing documentation for the xenomai package, you should pass --disable-doc-install, as ./configure --help would show you.

Signature · 1 line
                                                                Gilles.