Skip to contentSkip to conversation

add support for Freescale .sb format to uboot

PATCH New Gary Coulbourne 4 participants 9 messages Dec 5, 2012 – Jul 29, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 add support for Freescale .sb format to uboot

This patch offers the option to build u-boot.sb

---
 boot/uboot/Config.in |    4 ++++
 boot/uboot/uboot.mk  |    3 +++
 2 files changed, 7 insertions(+)
boot/uboot/Config.in +4 -0
index d8458d9..9b7a3b0 100644
@@ -94,6 +94,10 @@ config BR2_TARGET_UBOOT_FORMAT_AIS
   It is required to load code/data on OMAP-L1 processors.
   u-boot.ais contains U-Boot with the SPL support.
 
+config BR2_TARGET_UBOOT_FORMAT_SB
+        depends on BR2_arm
+        bool "u-boot.sb"
+
 config BR2_TARGET_UBOOT_FORMAT_BIN
  bool "u-boot.bin"
 
boot/uboot/uboot.mk +3 -0
index 619f2e1..4a98583 100644
@@ -37,6 +37,9 @@ else ifeq ($(BR2_TARGET_UBOOT_FORMAT_NAND_BIN),y)
 UBOOT_BIN          = u-boot-nand.bin
 else ifeq ($(BR2_TARGET_UBOOT_FORMAT_IMG),y)
 UBOOT_BIN          = u-boot.img
+else ifeq ($(BR2_TARGET_UBOOT_FORMAT_SB),y)
+UBOOT_BIN          = u-boot.sb
+UBOOT_MAKE_TARGET  = $(UBOOT_BIN)
 else
 UBOOT_BIN          = u-boot.bin
 UBOOT_BIN_IFT      = $(UBOOT_BIN).ift

--
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20121205/9181a361/attachment.html>

#1 lore raw

PATCH 1/1 add support for Freescale .sb format to uboot

Dear Gary Coulbourne,

Quoted 1 line · Gary Coulbourne

This patch offers the option to build u-boot.sb

We had a patch sent in March this year adding support for u-boot.sb:

[Buildroot] [PATCH 2/2] u-boot: add support for u-boot.sb file format

It was more complete than this one, because it included the dependency on host-elftosb, which is needed to bring the elftosb tool built by Buildroot before U-Boot uses it to generate the .sb image.

Best regards,

Thomas

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 add support for Freescale .sb format to uboot

Moin,

Quoted 5 lines · On Wed, 5 Dec 2012 18:05:33 +0100 Thomas Petazzoni…

[Buildroot] [PATCH 2/2] u-boot: add support for u-boot.sb file format

It was more complete than this one, because it included the dependency on host-elftosb, which is needed to bring the elftosb tool built by Buildroot before U-Boot uses it to generate the .sb image.

Any reason why it has not gotten into the git repo?

Attila Kinali

Signature · 2 lines
There is no secret ingredient
         -- Po, Kung Fu Panda
#3 lore raw

PATCH 1/1 add support for Freescale .sb format to uboot

Quoted 7 lines
Quoted 7 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Attila" == Attila Kinali <[email protected]> writes:

[Buildroot] [PATCH 2/2] u-boot: add support for u-boot.sb file format

It was more complete than this one, because it included the dependency on host-elftosb, which is needed to bring the elftosb tool built by Buildroot before U-Boot uses it to generate the .sb image.

Attila> Any reason why it has not gotten into the git repo?

Not really. I don't have any imx hw here. Are you able to test it?

Signature · 1 line
Bye, Peter Korsgaard
#4 lore raw

PATCH 1/1 add support for Freescale .sb format to uboot

Dear Peter Korsgaard,

Quoted 5 lines · Peter Korsgaard
Quoted 5 lines
Quoted 5 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Attila" == Attila Kinali <[email protected]> writes:

[Buildroot] [PATCH 2/2] u-boot: add support for u-boot.sb file format

Quoted 8 lines
Quoted 4 lines
Quoted 4 lines

It was more complete than this one, because it included the dependency on host-elftosb, which is needed to bring the elftosb tool built by Buildroot before U-Boot uses it to generate the .sb image.

Attila> Any reason why it has not gotten into the git repo?

Not really. I don't have any imx hw here. Are you able to test it?

It was submitted in March by a guy from Armadeus, and they do use i.MX hardware a lot, so I guess that it works.

Thomas

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

PATCH 1/1 add support for Freescale .sb format to uboot

In reply to Peter Korsgaard
Quoted 11 lines · On Wed, 05 Dec 2012 09:46:50 -0800 Peter Korsgaard <[email protected]> wrote:
Quoted 7 lines
Quoted 7 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Attila" == Attila Kinali <[email protected]> writes:

[Buildroot] [PATCH 2/2] u-boot: add support for u-boot.sb file format

It was more complete than this one, because it included the dependency on host-elftosb, which is needed to bring the elftosb tool built by Buildroot before U-Boot uses it to generate the .sb image.

Attila> Any reason why it has not gotten into the git repo?

Not really. I don't have any imx hw here. Are you able to test it?

I have an i.mx23 EVK at work. So i guess i could test it.

Attila Kinali

Signature · 2 lines
There is no secret ingredient
         -- Po, Kung Fu Panda
#6 lore raw

PATCH 1/1 add support for Freescale .sb format to uboot

Quoted 3 lines
Quoted 3 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Attila" == Attila Kinali <[email protected]> writes:

Not really. I don't have any imx hw here. Are you able to test it?

Attila> I have an i.mx23 EVK at work. So i guess i could test it.

Great, thanks.

Signature · 1 line
Bye, Peter Korsgaard
#7 lore raw

PATCH 1/1 add support for Freescale .sb format to uboot

Quoted 7 lines · On Wed, 05 Dec 2012 13:20:11 -0800 Peter Korsgaard <[email protected]> wrote:
Quoted 3 lines
Quoted 3 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Attila" == Attila Kinali <[email protected]> writes:

Not really. I don't have any imx hw here. Are you able to test it?

Attila> I have an i.mx23 EVK at work. So i guess i could test it.

Great, thanks.

Sorry, i didnt have time to test it yet.
And unfortunately it doesn't look like i will have time for it until the end of the week. How it is between christmas and new year, i cannot tell. But i try to fit it in somehow.

Thanks for your patience and sorry for the delay

Attila Kinali

Signature · 4 lines
The trouble with you, Shev, is you don't say anything until you've saved
up a whole truckload of damned heavy brick arguments and then you dump
them all out and never look at the bleeding body mangled beneath the heap
		-- Tirin, The Dispossessed, U. Le Guin
#8 lore raw

PATCH 1/1 add support for Freescale .sb format to uboot

In reply to Gary Coulbourne

Dear Gary Coulbourne,

Quoted 6 lines · Gary Coulbourne

This patch offers the option to build u-boot.sb

---
 boot/uboot/Config.in |    4 ++++
 boot/uboot/uboot.mk  |    3 +++
 2 files changed, 7 insertions(+)

Applied, thanks. I had to add the host-elftosb dependency to make it work properly.

Thanks,

Thomas

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