Skip to contentSkip to conversation

am33x-cm3: available only for ELF builds

PATCH New Thomas Petazzoni 2 participants 3 messages Aug 6, 2016 – Aug 7, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 am33x-cm3: available only for ELF builds

The am33x-cm3 build system does some objcopy based binary file manipulation that assumes the compiler for the platform generates ELF file. While it's true for most ARM platforms, and especially the AM335x based ones, it is no longer always true since we added support for Cortex-M. Therefore, this package needs to depend on BR2_BINFMT_ELF.

Fixes:

http://autobuild.buildroot.net/results/05f46ab28cbfc587e2e031bf38fb975447f8bab6/

---
 package/am33x-cm3/Config.in | 1 +
 1 file changed, 1 insertion(+)
package/am33x-cm3/Config.in +1 -0
index 060d0ef..d33dfaa 100644
@@ -1,6 +1,7 @@
 config BR2_PACKAGE_AM33X_CM3
 	bool "am33x-cm3"
 	depends on BR2_arm # only relevant for TI am335x
+	depends on BR2_BINFMT_ELF # assumes the compiler builds ELF file
 	help
 	  Cortex-M3 binary blob for suspend-resume on am335x
 
Signature · 1 line
2.7.4
#1 lore raw

PATCH 1/1 am33x-cm3: available only for ELF builds

Thomas, All,

On 2016-08-07 00:04 +0200, Thomas Petazzoni spake thusly:

Quoted 11 lines

The am33x-cm3 build system does some objcopy based binary file manipulation that assumes the compiler for the platform generates ELF file. While it's true for most ARM platforms, and especially the AM335x based ones, it is no longer always true since we added support for Cortex-M. Therefore, this package needs to depend on BR2_BINFMT_ELF.

Fixes:

http://autobuild.buildroot.net/results/05f46ab28cbfc587e2e031bf38fb975447f8bab6/

Regards,
Yann E. MORIN.

Quoted 23 lines
---
 package/am33x-cm3/Config.in | 1 +
 1 file changed, 1 insertion(+)
package/am33x-cm3/Config.in +1 -0
index 060d0ef..d33dfaa 100644
@@ -1,6 +1,7 @@
 config BR2_PACKAGE_AM33X_CM3
 	bool "am33x-cm3"
 	depends on BR2_arm # only relevant for TI am335x
+	depends on BR2_BINFMT_ELF # assumes the compiler builds ELF file
 	help
 	  Cortex-M3 binary blob for suspend-resume on am335x
 
Signature · 6 lines
2.7.4

_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
author Applied
#2 lore raw

PATCH 1/1 am33x-cm3: available only for ELF builds

In reply to Thomas Petazzoni

Hello,

Quoted 6 lines · Thomas Petazzoni

The am33x-cm3 build system does some objcopy based binary file manipulation that assumes the compiler for the platform generates ELF file. While it's true for most ARM platforms, and especially the AM335x based ones, it is no longer always true since we added support for Cortex-M. Therefore, this package needs to depend on BR2_BINFMT_ELF.

Quoted 8 lines

Fixes:

http://autobuild.buildroot.net/results/05f46ab28cbfc587e2e031bf38fb975447f8bab6/

---
 package/am33x-cm3/Config.in | 1 +
 1 file changed, 1 insertion(+)

Applied to master, thanks.

Thomas

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