* [STABLE][PATCH v3] linux-libc-headers 2.6.23: add newer ARM hwcap flags
@ 2010-04-14 18:46 Marcin Juszkiewicz
2010-04-15 7:04 ` Koen Kooi
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Marcin Juszkiewicz @ 2010-04-14 18:46 UTC (permalink / raw)
To: openembedded-devel
From: Marcin Juszkiewicz <marcin@buglabs.net>
OpenJDK uses HWCAP_THUMBEE which is not present in 2.6.23 headers.
Signed-off-by: Marcin Juszkiewicz <marcin@juszkiewicz.com.pl>
---
.../arm-hwcap-add-new-entries.patch | 21 ++++++++++++++++++++
| 5 ++-
2 files changed, 24 insertions(+), 2 deletions(-)
create mode 100644 recipes/linux-libc-headers/linux-libc-headers-2.6.23/arm-hwcap-add-new-entries.patch
diff --git a/recipes/linux-libc-headers/linux-libc-headers-2.6.23/arm-hwcap-add-new-entries.patch b/recipes/linux-libc-headers/linux-libc-headers-2.6.23/arm-hwcap-add-new-entries.patch
new file mode 100644
index 0000000..934db51
--- /dev/null
+++ b/recipes/linux-libc-headers/linux-libc-headers-2.6.23/arm-hwcap-add-new-entries.patch
@@ -0,0 +1,21 @@
+---
+ include/asm-arm/hwcap.h | 4 ++++
+ 1 file changed, 4 insertions(+)
+
+--- linux-2.6.23.orig/include/asm-arm/hwcap.h
++++ linux-2.6.23/include/asm-arm/hwcap.h
+@@ -13,10 +13,14 @@
+ #define HWCAP_VFP 64
+ #define HWCAP_EDSP 128
+ #define HWCAP_JAVA 256
+ #define HWCAP_IWMMXT 512
+ #define HWCAP_CRUNCH 1024
++#define HWCAP_THUMBEE 2048
++#define HWCAP_NEON 4096
++#define HWCAP_VFPv3 8192
++#define HWCAP_VFPv3D16 16384
+
+ #if defined(__KERNEL__) && !defined(__ASSEMBLY__)
+ /*
+ * This yields a mask that user programs can use to figure out what
+ * instruction set this cpu supports.
--git a/recipes/linux-libc-headers/linux-libc-headers_2.6.23.bb b/recipes/linux-libc-headers/linux-libc-headers_2.6.23.bb
index 95152f1..b4766bc 100644
--- a/recipes/linux-libc-headers/linux-libc-headers_2.6.23.bb
+++ b/recipes/linux-libc-headers/linux-libc-headers_2.6.23.bb
@@ -2,11 +2,12 @@ require linux-libc-headers.inc
INHIBIT_DEFAULT_DEPS = "1"
DEPENDS += "unifdef-native"
-PR = "r4"
+PR = "r6"
SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-${PV}.tar.bz2 \
file://procinfo.h \
- file://unifdef.patch;patch=1"
+ file://unifdef.patch;patch=1 \
+ file://arm-hwcap-add-new-entries.patch;patch=1"
S = "${WORKDIR}/linux-${PV}"
--
1.7.0.4
^ permalink raw reply related [flat|nested] 4+ messages in thread* Re: [STABLE][PATCH v3] linux-libc-headers 2.6.23: add newer ARM hwcap flags
2010-04-14 18:46 [STABLE][PATCH v3] linux-libc-headers 2.6.23: add newer ARM hwcap flags Marcin Juszkiewicz
@ 2010-04-15 7:04 ` Koen Kooi
2010-04-15 7:35 ` Marco Cavallini
2010-04-15 12:17 ` Philip Balister
2 siblings, 0 replies; 4+ messages in thread
From: Koen Kooi @ 2010-04-15 7:04 UTC (permalink / raw)
To: openembedded-devel
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 14-04-10 20:46, Marcin Juszkiewicz wrote:
> From: Marcin Juszkiewicz <marcin@buglabs.net>
>
> OpenJDK uses HWCAP_THUMBEE which is not present in 2.6.23 headers.
Acked-by: Koen Kooi <koen@openembedded.org>
>
> Signed-off-by: Marcin Juszkiewicz <marcin@juszkiewicz.com.pl>
> ---
> .../arm-hwcap-add-new-entries.patch | 21 ++++++++++++++++++++
> .../linux-libc-headers_2.6.23.bb | 5 ++-
> 2 files changed, 24 insertions(+), 2 deletions(-)
> create mode 100644 recipes/linux-libc-headers/linux-libc-headers-2.6.23/arm-hwcap-add-new-entries.patch
>
> diff --git a/recipes/linux-libc-headers/linux-libc-headers-2.6.23/arm-hwcap-add-new-entries.patch b/recipes/linux-libc-headers/linux-libc-headers-2.6.23/arm-hwcap-add-new-entries.patch
> new file mode 100644
> index 0000000..934db51
> --- /dev/null
> +++ b/recipes/linux-libc-headers/linux-libc-headers-2.6.23/arm-hwcap-add-new-entries.patch
> @@ -0,0 +1,21 @@
> +---
> + include/asm-arm/hwcap.h | 4 ++++
> + 1 file changed, 4 insertions(+)
> +
> +--- linux-2.6.23.orig/include/asm-arm/hwcap.h
> ++++ linux-2.6.23/include/asm-arm/hwcap.h
> +@@ -13,10 +13,14 @@
> + #define HWCAP_VFP 64
> + #define HWCAP_EDSP 128
> + #define HWCAP_JAVA 256
> + #define HWCAP_IWMMXT 512
> + #define HWCAP_CRUNCH 1024
> ++#define HWCAP_THUMBEE 2048
> ++#define HWCAP_NEON 4096
> ++#define HWCAP_VFPv3 8192
> ++#define HWCAP_VFPv3D16 16384
> +
> + #if defined(__KERNEL__) && !defined(__ASSEMBLY__)
> + /*
> + * This yields a mask that user programs can use to figure out what
> + * instruction set this cpu supports.
> diff --git a/recipes/linux-libc-headers/linux-libc-headers_2.6.23.bb b/recipes/linux-libc-headers/linux-libc-headers_2.6.23.bb
> index 95152f1..b4766bc 100644
> --- a/recipes/linux-libc-headers/linux-libc-headers_2.6.23.bb
> +++ b/recipes/linux-libc-headers/linux-libc-headers_2.6.23.bb
> @@ -2,11 +2,12 @@ require linux-libc-headers.inc
>
> INHIBIT_DEFAULT_DEPS = "1"
> DEPENDS += "unifdef-native"
> -PR = "r4"
> +PR = "r6"
>
> SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-${PV}.tar.bz2 \
> file://procinfo.h \
> - file://unifdef.patch;patch=1"
> + file://unifdef.patch;patch=1 \
> + file://arm-hwcap-add-new-entries.patch;patch=1"
>
> S = "${WORKDIR}/linux-${PV}"
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
iD8DBQFLxrppMkyGM64RGpERAsaaAJ93gZArcrMiufcUSGDNmYAmKWUVXACaA4VX
TeeiM7IQ0DL3xrZhM7F9qXA=
=RKq6
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: [STABLE][PATCH v3] linux-libc-headers 2.6.23: add newer ARM hwcap flags
2010-04-14 18:46 [STABLE][PATCH v3] linux-libc-headers 2.6.23: add newer ARM hwcap flags Marcin Juszkiewicz
2010-04-15 7:04 ` Koen Kooi
@ 2010-04-15 7:35 ` Marco Cavallini
2010-04-15 12:17 ` Philip Balister
2 siblings, 0 replies; 4+ messages in thread
From: Marco Cavallini @ 2010-04-15 7:35 UTC (permalink / raw)
To: openembedded-devel
Marcin Juszkiewicz ha scritto, Il 14/04/2010 20:46:
> From: Marcin Juszkiewicz <marcin@buglabs.net>
>
> OpenJDK uses HWCAP_THUMBEE which is not present in 2.6.23 headers.
>
> Signed-off-by: Marcin Juszkiewicz <marcin@juszkiewicz.com.pl>
> ---
> .../arm-hwcap-add-new-entries.patch | 21 ++++++++++++++++++++
> .../linux-libc-headers_2.6.23.bb | 5 ++-
> 2 files changed, 24 insertions(+), 2 deletions(-)
> create mode 100644 recipes/linux-libc-headers/linux-libc-headers-2.6.23/arm-hwcap-add-new-entries.patch
>
> diff --git a/recipes/linux-libc-headers/linux-libc-headers-2.6.23/arm-hwcap-add-new-entries.patch b/recipes/linux-libc-headers/linux-libc-headers-2.6.23/arm-hwcap-add-new-entries.patch
> new file mode 100644
> index 0000000..934db51
> --- /dev/null
> +++ b/recipes/linux-libc-headers/linux-libc-headers-2.6.23/arm-hwcap-add-new-entries.patch
> @@ -0,0 +1,21 @@
> +---
> + include/asm-arm/hwcap.h | 4 ++++
> + 1 file changed, 4 insertions(+)
> +
> +--- linux-2.6.23.orig/include/asm-arm/hwcap.h
> ++++ linux-2.6.23/include/asm-arm/hwcap.h
> +@@ -13,10 +13,14 @@
> + #define HWCAP_VFP 64
> + #define HWCAP_EDSP 128
> + #define HWCAP_JAVA 256
> + #define HWCAP_IWMMXT 512
> + #define HWCAP_CRUNCH 1024
> ++#define HWCAP_THUMBEE 2048
> ++#define HWCAP_NEON 4096
> ++#define HWCAP_VFPv3 8192
> ++#define HWCAP_VFPv3D16 16384
> +
> + #if defined(__KERNEL__) && !defined(__ASSEMBLY__)
> + /*
> + * This yields a mask that user programs can use to figure out what
> + * instruction set this cpu supports.
> diff --git a/recipes/linux-libc-headers/linux-libc-headers_2.6.23.bb b/recipes/linux-libc-headers/linux-libc-headers_2.6.23.bb
> index 95152f1..b4766bc 100644
> --- a/recipes/linux-libc-headers/linux-libc-headers_2.6.23.bb
> +++ b/recipes/linux-libc-headers/linux-libc-headers_2.6.23.bb
> @@ -2,11 +2,12 @@ require linux-libc-headers.inc
>
> INHIBIT_DEFAULT_DEPS = "1"
> DEPENDS += "unifdef-native"
> -PR = "r4"
> +PR = "r6"
>
> SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-${PV}.tar.bz2 \
> file://procinfo.h \
> - file://unifdef.patch;patch=1"
> + file://unifdef.patch;patch=1 \
> + file://arm-hwcap-add-new-entries.patch;patch=1"
>
> S = "${WORKDIR}/linux-${PV}"
>
Acked-by: Marco Cavallini <m.cavallini@koansoftware.com>
Cordiali Saluti / Kindest Regards / mit freundlichen Grüssen
--
Marco Cavallini | KOAN sas | Bergamo - Italia
embedded and real-time software engineering
Atmel third party certified consultant
Phone:+39-035-255.235 - Fax:+39-178-22.39.748
http://www.KoanSoftware.com
http://www.KaeilOS.com
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: [STABLE][PATCH v3] linux-libc-headers 2.6.23: add newer ARM hwcap flags
2010-04-14 18:46 [STABLE][PATCH v3] linux-libc-headers 2.6.23: add newer ARM hwcap flags Marcin Juszkiewicz
2010-04-15 7:04 ` Koen Kooi
2010-04-15 7:35 ` Marco Cavallini
@ 2010-04-15 12:17 ` Philip Balister
2 siblings, 0 replies; 4+ messages in thread
From: Philip Balister @ 2010-04-15 12:17 UTC (permalink / raw)
To: openembedded-devel
Acked-by: Philip Balister <philip@balister.org>
On 04/14/2010 02:46 PM, Marcin Juszkiewicz wrote:
> From: Marcin Juszkiewicz<marcin@buglabs.net>
>
> OpenJDK uses HWCAP_THUMBEE which is not present in 2.6.23 headers.
>
> Signed-off-by: Marcin Juszkiewicz<marcin@juszkiewicz.com.pl>
> ---
> .../arm-hwcap-add-new-entries.patch | 21 ++++++++++++++++++++
> .../linux-libc-headers_2.6.23.bb | 5 ++-
> 2 files changed, 24 insertions(+), 2 deletions(-)
> create mode 100644 recipes/linux-libc-headers/linux-libc-headers-2.6.23/arm-hwcap-add-new-entries.patch
>
> diff --git a/recipes/linux-libc-headers/linux-libc-headers-2.6.23/arm-hwcap-add-new-entries.patch b/recipes/linux-libc-headers/linux-libc-headers-2.6.23/arm-hwcap-add-new-entries.patch
> new file mode 100644
> index 0000000..934db51
> --- /dev/null
> +++ b/recipes/linux-libc-headers/linux-libc-headers-2.6.23/arm-hwcap-add-new-entries.patch
> @@ -0,0 +1,21 @@
> +---
> + include/asm-arm/hwcap.h | 4 ++++
> + 1 file changed, 4 insertions(+)
> +
> +--- linux-2.6.23.orig/include/asm-arm/hwcap.h
> ++++ linux-2.6.23/include/asm-arm/hwcap.h
> +@@ -13,10 +13,14 @@
> + #define HWCAP_VFP 64
> + #define HWCAP_EDSP 128
> + #define HWCAP_JAVA 256
> + #define HWCAP_IWMMXT 512
> + #define HWCAP_CRUNCH 1024
> ++#define HWCAP_THUMBEE 2048
> ++#define HWCAP_NEON 4096
> ++#define HWCAP_VFPv3 8192
> ++#define HWCAP_VFPv3D16 16384
> +
> + #if defined(__KERNEL__)&& !defined(__ASSEMBLY__)
> + /*
> + * This yields a mask that user programs can use to figure out what
> + * instruction set this cpu supports.
> diff --git a/recipes/linux-libc-headers/linux-libc-headers_2.6.23.bb b/recipes/linux-libc-headers/linux-libc-headers_2.6.23.bb
> index 95152f1..b4766bc 100644
> --- a/recipes/linux-libc-headers/linux-libc-headers_2.6.23.bb
> +++ b/recipes/linux-libc-headers/linux-libc-headers_2.6.23.bb
> @@ -2,11 +2,12 @@ require linux-libc-headers.inc
>
> INHIBIT_DEFAULT_DEPS = "1"
> DEPENDS += "unifdef-native"
> -PR = "r4"
> +PR = "r6"
>
> SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-${PV}.tar.bz2 \
> file://procinfo.h \
> - file://unifdef.patch;patch=1"
> + file://unifdef.patch;patch=1 \
> + file://arm-hwcap-add-new-entries.patch;patch=1"
>
> S = "${WORKDIR}/linux-${PV}"
>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2010-04-15 12:21 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-04-14 18:46 [STABLE][PATCH v3] linux-libc-headers 2.6.23: add newer ARM hwcap flags Marcin Juszkiewicz
2010-04-15 7:04 ` Koen Kooi
2010-04-15 7:35 ` Marco Cavallini
2010-04-15 12:17 ` Philip Balister
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.