Skip to contentSkip to conversation

elf2flt: Allow enabling elf2flt support for blackfin

PATCH New Axel Lin 2 participants 3 messages Sep 4, 2013 – Sep 5, 2013

lore
Share & tools
lore

Axel Lin

author
#0 lore raw

PATCH 1/1 elf2flt: Allow enabling elf2flt support for blackfin

This allows using toolchain-buildroot to build BFLT executable for blackfin.

---
build with elf2flt disabled:
# BR2_PACKAGE_HOST_ELF2FLT is not set

$ file output/target/bin/busybox
output/target/bin/busybox: ELF 32-bit LSB executable, Analog Devices Blackfin, version 1 (SYSV), statically linked, not stripped

build with elf2flt enabled:
BR2_PACKAGE_HOST_ELF2FLT=y

$ file output/target/bin/busybox 
output/target/bin/busybox: BFLT executable - version 4 ram
 package/elf2flt/Config.in.host | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
package/elf2flt/Config.in.host +1 -1
index 31a6c7f..dad48d8 100644
@@ -1,6 +1,6 @@
 config BR2_PACKAGE_HOST_ELF2FLT
 	bool "Enable elf2flt support?"
-	depends on BR2_arm || BR2_sh || BR2_sparc
+	depends on BR2_arm || BR2_bfin || BR2_sh || BR2_sparc
 	help
 	  uCLinux uses a Binary Flat format commonly known as BFLT. It
 	  is a relatively simple and lightweight executable format
Signature · 1 line
1.8.1.2
#1 lore raw

PATCH 1/1 elf2flt: Allow enabling elf2flt support for blackfin

Dear Axel Lin,

Quoted 4 lines · Axel Lin

This allows using toolchain-buildroot to build BFLT executable for blackfin.

Signature · 4 lines
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
#2 lore raw

PATCH 1/1 elf2flt: Allow enabling elf2flt support for blackfin

In reply to Axel Lin

Dear Axel Lin,

Quoted 3 lines · Axel Lin

This allows using toolchain-buildroot to build BFLT executable for blackfin.

This is already taken care of by Gustavo's patch
http://patchwork.ozlabs.org/patch/272715/ that also bumps elf2flt to a newer version.

Thomas

Signature · 4 lines
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com