Skip to contentSkip to conversation

Add support for the Cortex-A8 processor

PATCH New Laine Walker-Avina 2 participants 4 messages Nov 17, 2009 – Nov 18, 2009 1 message not in the archive

lore
Share & tools
lore

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

#1 lore raw

PATCH 1/1 Add support for the Cortex-A8 processor

These patches add support for the Cortex-A8 processor used in the Beagleboard among others.

---
Laine Walker-Avina
Firmware Engineer
PASCO scientific
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Add-support-for-the-Cortex-A8-ARM-target.patch
Type: text/x-patch
Size: 1542 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20091117/1e97c0b4/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-GCC-Add-4.4.2-as-the-active-4.4.x-version.patch
Type: text/x-patch
Size: 7491 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20091117/1e97c0b4/attachment-0003.bin>

#2 lore raw

PATCH 1/1 Add support for the Cortex-A8 processor

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Laine" == Laine Walker-Avina <[email protected]> writes:

Laine> These patches add support for the Cortex-A8 processor used in the Laine> Beagleboard among others.

Thanks, see below for a few comments.

Laine> ---
Laine> Laine Walker-Avina
Laine> Firmware Engineer
Laine> PASCO scientific

Laine> From e317f275af94696ba680524120147e5618ccf213 Mon Sep 17 00:00:00 2001 Laine> From: Laine Walker-Avina <[email protected]>
Laine> Date: Thu, 29 Oct 2009 10:30:50 -0700
Laine> Subject: [PATCH] Add support for the Cortex-A8 ARM target

Laine> +config BR2_cortex_a8
Laine> + bool "Cortex-A8"

 Laine>  config BR2_sa110
 Laine>  	bool "sa110"
 Laine>  config BR2_sa1100
 Laine> @@ -112,6 +114,7 @@ config BR2_ARM_TYPE
 Laine>  	default ARM_SA1100	if BR2_sa1100
 Laine>  	default ARM_XSCALE	if BR2_xscale
 Laine>  	default ARM_IWMMXT	if BR2_iwmmxt

Laine> + default ARM_CORTEXA8 if BR2_cortex_a8

Laine> choice
Laine> prompt "Target ABI"
Laine> @@ -591,6 +594,7 @@ config BR2_GCC_TARGET_TUNE

 Laine>  	default arm1136jf-s	if BR2_arm1136jf_s
 Laine>  	default arm1176jz-s	if BR2_arm1176jz_s
 Laine>  	default arm1176jzf-s	if BR2_arm1176jzf_s

Laine> + default cortex-a8 if BR2_cortex_a8

Indentation seems wrong, otherwise it's fine. From what gcc version is cortex A8 supported? We should probably make it depend on that minimal version as the build otherwise breaks?

Laine> default strongarm110 if BR2_sa110

Laine> From 709c9a9140b377112a6721155e2a70bbaa893121 Mon Sep 17 00:00:00 2001 Laine> From: Laine Walker-Avina <[email protected]>
Laine> Date: Thu, 5 Nov 2009 14:27:45 -0800
Laine> Subject: [PATCH] GCC: Add 4.4.2 as the active 4.4.x version

We already have 4.4.2 support in BR.

Signature · 1 line
Bye, Peter Korsgaard
#3 lore raw

PATCH 1/1 Add support for the Cortex-A8 processor

Quoted 37 lines · Peter Korsgaard
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Laine" == Laine Walker-Avina <[email protected]> writes:

?Laine> These patches add support for the Cortex-A8 processor used in the ?Laine> Beagleboard among others.

Thanks, see below for a few comments.

?Laine> ---
?Laine> Laine Walker-Avina
?Laine> Firmware Engineer
?Laine> PASCO scientific

?Laine> From e317f275af94696ba680524120147e5618ccf213 Mon Sep 17 00:00:00 2001 ?Laine> From: Laine Walker-Avina <[email protected]>
?Laine> Date: Thu, 29 Oct 2009 10:30:50 -0700
?Laine> Subject: [PATCH] Add support for the Cortex-A8 ARM target

?Laine> +config BR2_cortex_a8
?Laine> + ? ? ? bool "Cortex-A8"
?Laine> ?config BR2_sa110
?Laine> ? ? ? ? bool "sa110"
?Laine> ?config BR2_sa1100
?Laine> @@ -112,6 +114,7 @@ config BR2_ARM_TYPE ?Laine> ? ? ? ? default ARM_SA1100 ? ? ?if BR2_sa1100 ?Laine> ? ? ? ? default ARM_XSCALE ? ? ?if BR2_xscale ?Laine> ? ? ? ? default ARM_IWMMXT ? ? ?if BR2_iwmmxt ?Laine> + ? ? ? default ARM_CORTEXA8 if BR2_cortex_a8

?Laine> ?choice
?Laine> ? ? ? ? prompt "Target ABI"
?Laine> @@ -591,6 +594,7 @@ config BR2_GCC_TARGET_TUNE ?Laine> ? ? ? ? default arm1136jf-s ? ? if BR2_arm1136jf_s ?Laine> ? ? ? ? default arm1176jz-s ? ? if BR2_arm1176jz_s ?Laine> ? ? ? ? default arm1176jzf-s ? ?if BR2_arm1176jzf_s ?Laine> + ? ? ? default cortex-a8 ? ? ? ? ? ? ? if BR2_cortex_a8

Quoted 3 lines

Indentation seems wrong, otherwise it's fine. From what gcc version is cortex A8 supported? We should probably make it depend on that minimal version as the build otherwise breaks?

Gcc 4.4.1 added support for armv7-a, but there was a bug for c++ exceptions that made libstdc++ non-PIC which was fixed in 4.4.2. So 4.4.2 and later would probably be a good bet.

Quoted 9 lines

?Laine> ? ? ? ? default strongarm110 ? ?if BR2_sa110

?Laine> From 709c9a9140b377112a6721155e2a70bbaa893121 Mon Sep 17 00:00:00 2001 ?Laine> From: Laine Walker-Avina <[email protected]>
?Laine> Date: Thu, 5 Nov 2009 14:27:45 -0800
?Laine> Subject: [PATCH] GCC: Add 4.4.2 as the active 4.4.x version

We already have 4.4.2 support in BR.

Good to know.

Quoted 4 lines

--
Bye, Peter Korsgaard

#4 lore raw

PATCH 1/1 Add support for the Cortex-A8 processor

In reply to Laine Walker-Avina
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Laine" == Laine Walker-Avina <[email protected]> writes:

Laine> These patches add support for the Cortex-A8 processor used in the Laine> Beagleboard among others.

Patch 1 applied with minor tweaks - Thanks!

Signature · 1 line
Bye, Peter Korsgaard