From: "Daniel Krüger" <daniel.krueger@systec-electronic.com>
To: barebox@lists.infradead.org
Subject: Compressed DTB - builtin DTB
Date: Thu, 13 Oct 2016 12:32:31 +0200	[thread overview]
Message-ID: <03214122-b05b-fc45-1e32-ad2832ca36d3@systec-electronic.com> (raw)
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
next             reply	other threads:[~2016-10-13 10:32 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-13 10:32 Daniel Krüger [this message]
2016-10-14  9:52 ` Sascha Hauer
2016-10-21  8:16   ` Daniel Krüger
2016-10-24  5:51     ` Sascha Hauer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox
  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):
  git send-email \
    --in-reply-to=03214122-b05b-fc45-1e32-ad2832ca36d3@systec-electronic.com \
    --to=daniel.krueger@systec-electronic.com \
    --cc=barebox@lists.infradead.org \
    /path/to/YOUR_REPLY
  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
  Be sure your reply has a Subject: header at the top and a blank line
  before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox