* [Buildroot] [PATCH 1/2] toolchain-external: update ARMeb musl dependency
@ 2016-07-28 13:39 Thomas Petazzoni
2016-07-28 13:39 ` [Buildroot] [PATCH 2/2] toolchain-external: musl toolchain on ARM is for MMU-systems only Thomas Petazzoni
` (2 more replies)
0 siblings, 3 replies; 6+ messages in thread
From: Thomas Petazzoni @ 2016-07-28 13:39 UTC (permalink / raw)
To: buildroot
ARM big-endian is different from ARMv4/5/6 and ARMv7. Big-endian on
ARMv4/5/6 is BE-32 while big-endian on ARMv7 is BE-8, which are not
compatible.
Therefore, the musl big endian toolchain that is built for ARMv4
cannot work for ARMv7, it can only work for ARMv4/5/6.
This commit updates the musl toolchain dependency accordingly.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
toolchain/toolchain-external/Config.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/toolchain/toolchain-external/Config.in b/toolchain/toolchain-external/Config.in
index 5edde24..ee07ddb 100644
--- a/toolchain/toolchain-external/Config.in
+++ b/toolchain/toolchain-external/Config.in
@@ -588,7 +588,7 @@ config BR2_TOOLCHAIN_EXTERNAL_MUSL_CROSS
bool "Musl 1.1.12 toolchain"
depends on (BR2_arm && BR2_ARM_EABI) || \
(BR2_arm && BR2_ARM_EABIHF && !BR2_ARM_CPU_ARMV4) || \
- (BR2_armeb && BR2_ARM_EABI) || BR2_i386 || \
+ (BR2_armeb && BR2_ARM_EABI && !BR2_ARM_CPU_ARMV7A) || BR2_i386 || \
(BR2_mips && !BR2_SOFT_FLOAT) || \
BR2_mipsel || (BR2_powerpc && BR2_powerpc_CLASSIC) || \
BR2_sh4 || BR2_sh4eb || \
--
2.7.4
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [Buildroot] [PATCH 2/2] toolchain-external: musl toolchain on ARM is for MMU-systems only
2016-07-28 13:39 [Buildroot] [PATCH 1/2] toolchain-external: update ARMeb musl dependency Thomas Petazzoni
@ 2016-07-28 13:39 ` Thomas Petazzoni
2016-07-28 17:09 ` Matthew Weber
2016-07-28 20:15 ` Peter Korsgaard
2016-07-28 17:10 ` [Buildroot] [PATCH 1/2] toolchain-external: update ARMeb musl dependency Matthew Weber
2016-07-28 20:15 ` Peter Korsgaard
2 siblings, 2 replies; 6+ messages in thread
From: Thomas Petazzoni @ 2016-07-28 13:39 UTC (permalink / raw)
To: buildroot
Now that we have introduced the support for ARM no-MMU in Buildroot,
we need to update the dependencies of the musl external toolchain. It
supports only MMU-capable ARM cores, so it must depend on BR2_USE_MMU,
at least for the ARM platforms.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
toolchain/toolchain-external/Config.in | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/toolchain/toolchain-external/Config.in b/toolchain/toolchain-external/Config.in
index ee07ddb..f54fbee 100644
--- a/toolchain/toolchain-external/Config.in
+++ b/toolchain/toolchain-external/Config.in
@@ -586,10 +586,10 @@ config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_AARCH64
config BR2_TOOLCHAIN_EXTERNAL_MUSL_CROSS
bool "Musl 1.1.12 toolchain"
- depends on (BR2_arm && BR2_ARM_EABI) || \
- (BR2_arm && BR2_ARM_EABIHF && !BR2_ARM_CPU_ARMV4) || \
- (BR2_armeb && BR2_ARM_EABI && !BR2_ARM_CPU_ARMV7A) || BR2_i386 || \
- (BR2_mips && !BR2_SOFT_FLOAT) || \
+ depends on (BR2_arm && BR2_ARM_EABI && BR2_USE_MMU) || \
+ (BR2_arm && BR2_ARM_EABIHF && !BR2_ARM_CPU_ARMV4 && BR2_USE_MMU) || \
+ (BR2_armeb && BR2_ARM_EABI && !BR2_ARM_CPU_ARMV7A && BR2_USE_MMU) || \
+ BR2_i386 || (BR2_mips && !BR2_SOFT_FLOAT) || \
BR2_mipsel || (BR2_powerpc && BR2_powerpc_CLASSIC) || \
BR2_sh4 || BR2_sh4eb || \
BR2_x86_64
--
2.7.4
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [Buildroot] [PATCH 2/2] toolchain-external: musl toolchain on ARM is for MMU-systems only
2016-07-28 13:39 ` [Buildroot] [PATCH 2/2] toolchain-external: musl toolchain on ARM is for MMU-systems only Thomas Petazzoni
@ 2016-07-28 17:09 ` Matthew Weber
2016-07-28 20:15 ` Peter Korsgaard
1 sibling, 0 replies; 6+ messages in thread
From: Matthew Weber @ 2016-07-28 17:09 UTC (permalink / raw)
To: buildroot
On Thu, Jul 28, 2016 at 8:39 AM, Thomas Petazzoni
<thomas.petazzoni@free-electrons.com> wrote:
> Now that we have introduced the support for ARM no-MMU in Buildroot,
> we need to update the dependencies of the musl external toolchain. It
> supports only MMU-capable ARM cores, so it must depend on BR2_USE_MMU,
> at least for the ARM platforms.
>
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
> ---
> toolchain/toolchain-external/Config.in | 8 ++++----
> 1 file changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/toolchain/toolchain-external/Config.in b/toolchain/toolchain-external/Config.in
> index ee07ddb..f54fbee 100644
> --- a/toolchain/toolchain-external/Config.in
> +++ b/toolchain/toolchain-external/Config.in
> @@ -586,10 +586,10 @@ config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_AARCH64
>
> config BR2_TOOLCHAIN_EXTERNAL_MUSL_CROSS
> bool "Musl 1.1.12 toolchain"
> - depends on (BR2_arm && BR2_ARM_EABI) || \
> - (BR2_arm && BR2_ARM_EABIHF && !BR2_ARM_CPU_ARMV4) || \
> - (BR2_armeb && BR2_ARM_EABI && !BR2_ARM_CPU_ARMV7A) || BR2_i386 || \
> - (BR2_mips && !BR2_SOFT_FLOAT) || \
> + depends on (BR2_arm && BR2_ARM_EABI && BR2_USE_MMU) || \
> + (BR2_arm && BR2_ARM_EABIHF && !BR2_ARM_CPU_ARMV4 && BR2_USE_MMU) || \
> + (BR2_armeb && BR2_ARM_EABI && !BR2_ARM_CPU_ARMV7A && BR2_USE_MMU) || \
> + BR2_i386 || (BR2_mips && !BR2_SOFT_FLOAT) || \
Reviewed-by: Matt Weber <matthew.weber@rockwellcollins.com>
> BR2_mipsel || (BR2_powerpc && BR2_powerpc_CLASSIC) || \
> BR2_sh4 || BR2_sh4eb || \
> BR2_x86_64
> --
> 2.7.4
>
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
--
Matthew L Weber / Pr Software Engineer
Airborne Information Systems / Security Systems and Software / Secure Platforms
MS 131-100, C Ave NE, Cedar Rapids, IA, 52498, USA
www.rockwellcollins.com
Note: Any Export License Required Information and License Restricted
Third Party Intellectual Property (TPIP) content must be encrypted and
sent to matthew.weber at corp.rockwellcollins.com.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Buildroot] [PATCH 1/2] toolchain-external: update ARMeb musl dependency
2016-07-28 13:39 [Buildroot] [PATCH 1/2] toolchain-external: update ARMeb musl dependency Thomas Petazzoni
2016-07-28 13:39 ` [Buildroot] [PATCH 2/2] toolchain-external: musl toolchain on ARM is for MMU-systems only Thomas Petazzoni
@ 2016-07-28 17:10 ` Matthew Weber
2016-07-28 20:15 ` Peter Korsgaard
2 siblings, 0 replies; 6+ messages in thread
From: Matthew Weber @ 2016-07-28 17:10 UTC (permalink / raw)
To: buildroot
On Thu, Jul 28, 2016 at 8:39 AM, Thomas Petazzoni
<thomas.petazzoni@free-electrons.com> wrote:
> ARM big-endian is different from ARMv4/5/6 and ARMv7. Big-endian on
> ARMv4/5/6 is BE-32 while big-endian on ARMv7 is BE-8, which are not
> compatible.
>
> Therefore, the musl big endian toolchain that is built for ARMv4
> cannot work for ARMv7, it can only work for ARMv4/5/6.
>
> This commit updates the musl toolchain dependency accordingly.
>
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
> ---
> toolchain/toolchain-external/Config.in | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/toolchain/toolchain-external/Config.in b/toolchain/toolchain-external/Config.in
> index 5edde24..ee07ddb 100644
> --- a/toolchain/toolchain-external/Config.in
> +++ b/toolchain/toolchain-external/Config.in
> @@ -588,7 +588,7 @@ config BR2_TOOLCHAIN_EXTERNAL_MUSL_CROSS
> bool "Musl 1.1.12 toolchain"
> depends on (BR2_arm && BR2_ARM_EABI) || \
> (BR2_arm && BR2_ARM_EABIHF && !BR2_ARM_CPU_ARMV4) || \
> - (BR2_armeb && BR2_ARM_EABI) || BR2_i386 || \
> + (BR2_armeb && BR2_ARM_EABI && !BR2_ARM_CPU_ARMV7A) || BR2_i386 || \
Reviewed-by: Matt Weber <matthew.weber@rockwellcollins.com>
> (BR2_mips && !BR2_SOFT_FLOAT) || \
> BR2_mipsel || (BR2_powerpc && BR2_powerpc_CLASSIC) || \
> BR2_sh4 || BR2_sh4eb || \
> --
> 2.7.4
>
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
--
Matthew L Weber / Pr Software Engineer
Airborne Information Systems / Security Systems and Software / Secure Platforms
MS 131-100, C Ave NE, Cedar Rapids, IA, 52498, USA
www.rockwellcollins.com
Note: Any Export License Required Information and License Restricted
Third Party Intellectual Property (TPIP) content must be encrypted and
sent to matthew.weber at corp.rockwellcollins.com.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Buildroot] [PATCH 1/2] toolchain-external: update ARMeb musl dependency
2016-07-28 13:39 [Buildroot] [PATCH 1/2] toolchain-external: update ARMeb musl dependency Thomas Petazzoni
2016-07-28 13:39 ` [Buildroot] [PATCH 2/2] toolchain-external: musl toolchain on ARM is for MMU-systems only Thomas Petazzoni
2016-07-28 17:10 ` [Buildroot] [PATCH 1/2] toolchain-external: update ARMeb musl dependency Matthew Weber
@ 2016-07-28 20:15 ` Peter Korsgaard
2 siblings, 0 replies; 6+ messages in thread
From: Peter Korsgaard @ 2016-07-28 20:15 UTC (permalink / raw)
To: buildroot
>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:
> ARM big-endian is different from ARMv4/5/6 and ARMv7. Big-endian on
> ARMv4/5/6 is BE-32 while big-endian on ARMv7 is BE-8, which are not
> compatible.
> Therefore, the musl big endian toolchain that is built for ARMv4
> cannot work for ARMv7, it can only work for ARMv4/5/6.
> This commit updates the musl toolchain dependency accordingly.
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Committed, thanks.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Buildroot] [PATCH 2/2] toolchain-external: musl toolchain on ARM is for MMU-systems only
2016-07-28 13:39 ` [Buildroot] [PATCH 2/2] toolchain-external: musl toolchain on ARM is for MMU-systems only Thomas Petazzoni
2016-07-28 17:09 ` Matthew Weber
@ 2016-07-28 20:15 ` Peter Korsgaard
1 sibling, 0 replies; 6+ messages in thread
From: Peter Korsgaard @ 2016-07-28 20:15 UTC (permalink / raw)
To: buildroot
>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:
> Now that we have introduced the support for ARM no-MMU in Buildroot,
> we need to update the dependencies of the musl external toolchain. It
> supports only MMU-capable ARM cores, so it must depend on BR2_USE_MMU,
> at least for the ARM platforms.
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Committed, thanks.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2016-07-28 20:15 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-07-28 13:39 [Buildroot] [PATCH 1/2] toolchain-external: update ARMeb musl dependency Thomas Petazzoni
2016-07-28 13:39 ` [Buildroot] [PATCH 2/2] toolchain-external: musl toolchain on ARM is for MMU-systems only Thomas Petazzoni
2016-07-28 17:09 ` Matthew Weber
2016-07-28 20:15 ` Peter Korsgaard
2016-07-28 17:10 ` [Buildroot] [PATCH 1/2] toolchain-external: update ARMeb musl dependency Matthew Weber
2016-07-28 20:15 ` Peter Korsgaard
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.