All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] kmake: include DTB section into u-boot.bin if CONFIG_OF_EMBED enabled
@ 2014-07-06 23:21 Alexey Ignatov
  2014-07-08  1:39 ` [U-Boot] " Tom Rini
  0 siblings, 1 reply; 2+ messages in thread
From: Alexey Ignatov @ 2014-07-06 23:21 UTC (permalink / raw)
  To: u-boot

Fixes a bug when objcopy doesn't put .dtb.init.rodata section to resulting
u-boot.bin, so u-boot was unable to find embedded DTB.
---
 arch/arm/config.mk | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/arch/arm/config.mk b/arch/arm/config.mk
index 66ecc2e..5fa1825 100644
--- a/arch/arm/config.mk
+++ b/arch/arm/config.mk
@@ -116,6 +116,10 @@ else
 OBJCOPYFLAGS += -j .text -j .rodata -j .hash -j .data -j .got.plt -j .u_boot_list -j .rel.dyn
 endif
 
+ifdef CONFIG_OF_EMBED
+OBJCOPYFLAGS += -j .dtb.init.rodata
+endif
+
 ifneq ($(CONFIG_IMX_CONFIG),)
 ifdef CONFIG_SPL
 ifndef CONFIG_SPL_BUILD
-- 
1.8.5.3

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [U-Boot] kmake: include DTB section into u-boot.bin if CONFIG_OF_EMBED enabled
  2014-07-06 23:21 [U-Boot] [PATCH] kmake: include DTB section into u-boot.bin if CONFIG_OF_EMBED enabled Alexey Ignatov
@ 2014-07-08  1:39 ` Tom Rini
  0 siblings, 0 replies; 2+ messages in thread
From: Tom Rini @ 2014-07-08  1:39 UTC (permalink / raw)
  To: u-boot

On Mon, Jul 07, 2014 at 03:21:44AM +0400, Alexey Ignatov wrote:

> Fixes a bug when objcopy doesn't put .dtb.init.rodata section to resulting
> u-boot.bin, so u-boot was unable to find embedded DTB.

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20140707/30f1de8d/attachment.pgp>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-07-08  1:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-07-06 23:21 [U-Boot] [PATCH] kmake: include DTB section into u-boot.bin if CONFIG_OF_EMBED enabled Alexey Ignatov
2014-07-08  1:39 ` [U-Boot] " Tom Rini

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.