Skip to contentSkip to conversation

bfin: change default to bf532, internal toolchain !bf6xx

PATCH New Waldemar Brodkorb 2 participants 2 messages Jul 6, 2016 – Aug 27, 2016

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 bfin: change default to bf532, internal toolchain !bf6xx

The default Blackfin processor in Buildroot isn't supported by gcc 6.1.0, so use bf532 as default. Disable any bf6xx processors for internal toolchain users.

---
v1 -> v2:
- revert logic, disable internal toolchain for bf6xx suggested by Thomas Petazzoni

---
 arch/Config.in.bfin | 2 +-
 toolchain/Config.in | 4 ++++
 2 files changed, 5 insertions(+), 1 deletion(-)
arch/Config.in.bfin +1 -1
index 415fc89..9f7056a 100644
@@ -1,7 +1,7 @@
 choice
 	prompt "Target CPU"
 	depends on BR2_bfin
-	default BR2_bf609
+	default BR2_bf532
 	help
 	  Specify target CPU
 config BR2_bf606
toolchain/Config.in +4 -0
index a725556..b49588f 100644
@@ -39,6 +39,10 @@ choice
 config BR2_TOOLCHAIN_BUILDROOT
 	bool "Buildroot toolchain"
 	select BR2_TOOLCHAIN_HAS_SHADOW_PASSWORDS
+	depends on !BR2_bf606
+	depends on !BR2_bf607
+	depends on !BR2_bf608
+	depends on !BR2_bf609
 
 config BR2_TOOLCHAIN_EXTERNAL
 	bool "External toolchain"
Signature · 1 line
2.1.4
#1 lore raw

PATCH v2 1/1 bfin: change default to bf532, internal toolchain !bf6xx

Hello,

Quoted 5 lines · Waldemar Brodkorb

The default Blackfin processor in Buildroot isn't supported by gcc 6.1.0, so use bf532 as default. Disable any bf6xx processors for internal toolchain users.

Quoted 8 lines

---
v1 -> v2:
- revert logic, disable internal toolchain for bf6xx suggested by Thomas Petazzoni

---
 arch/Config.in.bfin | 2 +-
 toolchain/Config.in | 4 ++++
 2 files changed, 5 insertions(+), 1 deletion(-)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com