mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* Compressed DTB - builtin DTB
@ 2016-10-13 10:32 Daniel Krüger
  2016-10-14  9:52 ` Sascha Hauer
  0 siblings, 1 reply; 4+ messages in thread
From: Daniel Krüger @ 2016-10-13 10:32 UTC (permalink / raw)
  To: barebox

Hello,

I'm currently porting our board support to device tree. Currently, I 
don't use multi-PBL, but include the device tree via CONFIG_BUILTIN_DTB. 
This works, but the DTB seems to be included twice in the image: once as 
plain DTB and once as compressed DTB. I think this isn't intended this way.

Extract from System.map:
87e82b80 R __dtb_imx35_systec_hmi_start
87e82b80 R __dtb_start
87e8501c R __dtb_imx35_systec_hmi_end
87e85020 R __dtb_z_imx35_systec_hmi_start
87e85ad0 R __dtb_z_imx35_systec_hmi_end
87e85b00 B __bss_start
87e85b00 R __dtb_end

Just using the compressed DTB would be really good. Because it makes the 
image much smaller. However, how should that be done? The extract code 
might be simple. But I don't have an idea how to let the linker select 
the right version.

Thanks for any kind of support,
   Daniel

-- 

SYS TEC electronic GmbH
Am Windrad 2
08468 Heinsdorfergrund

Telefon : +49 (0) 3765 38600-0
Fax     : +49 (0) 3765 38600-4100
Email   : daniel.krueger@systec-electronic.com
Website : http://www.systec-electronic.com

Managing Directors  :
   Dipl.-Phys. Siegmar Schmidt, Dipl. Ing. (FH) Armin von Collrepp
Commercial registry : Amtsgericht Chemnitz, HRB 28082
USt.-Id Nr.         : DE150534010


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

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

end of thread, other threads:[~2016-10-24  5:52 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-10-13 10:32 Compressed DTB - builtin DTB Daniel Krüger
2016-10-14  9:52 ` Sascha Hauer
2016-10-21  8:16   ` Daniel Krüger
2016-10-24  5:51     ` Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox