Skip to contentSkip to conversation

bfin: default to bf532, disable bf6xx for internal toolchain

PATCH Superseded Waldemar Brodkorb 2 participants 2 messages Jul 6, 2016

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 bfin: default to bf532, disable bf6xx for internal toolchain

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.

---
 arch/Config.in.bfin | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
arch/Config.in.bfin +5 -1
index 415fc89..9ffdb94 100644
@@ -1,17 +1,21 @@
 choice
 	prompt "Target CPU"
 	depends on BR2_bfin
-	default BR2_bf609
+	default BR2_bf532
 	help
 	  Specify target CPU
 config BR2_bf606
 	bool "bf606"
+	depends on BR2_TOOLCHAIN_EXTERNAL
 config BR2_bf607
 	bool "bf607"
+	depends on BR2_TOOLCHAIN_EXTERNAL
 config BR2_bf608
 	bool "bf608"
+	depends on BR2_TOOLCHAIN_EXTERNAL
 config BR2_bf609
 	bool "bf609"
+	depends on BR2_TOOLCHAIN_EXTERNAL
 config BR2_bf512
 	bool "bf512"
 config BR2_bf514
Signature · 1 line
2.1.4
#1 lore raw

PATCH 1/1 bfin: default to bf532, disable bf6xx for internal toolchain

Hello,

Quoted 14 lines · Waldemar Brodkorb
arch/Config.in.bfin +1 -1
index 415fc89..9ffdb94 100644
@@ -1,17 +1,21 @@
 choice
 	prompt "Target CPU"
 	depends on BR2_bfin
-	default BR2_bf609
+	default BR2_bf532
 	help
 	  Specify target CPU
 config BR2_bf606
 	bool "bf606"

arch/Config.in.bfin line 18

Quoted 10 lines
arch/Config.in.bfin +4 -0
+	depends on BR2_TOOLCHAIN_EXTERNAL
 config BR2_bf607
 	bool "bf607"
+	depends on BR2_TOOLCHAIN_EXTERNAL
 config BR2_bf608
 	bool "bf608"
+	depends on BR2_TOOLCHAIN_EXTERNAL
 config BR2_bf609
 	bool "bf609"
+	depends on BR2_TOOLCHAIN_EXTERNAL

No, we want the dependency the other way around. Since the user selects first the Target Architecture, and then the toolchain, it is a lot more logical to not show the internal toolchain backend when the selected Blackfin core is not supported by the internal backend.

Thomas

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