mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] fix devicetree alignment
@ 2012-11-01 11:49 Sascha Hauer
  2012-11-01 11:49 ` [PATCH 1/2] bootm: Add a define for the additional devicetree size Sascha Hauer
  2012-11-01 11:49 ` [PATCH 2/2] bootm: Do not cross 1MiB sections for the devicetree Sascha Hauer
  0 siblings, 2 replies; 3+ messages in thread
From: Sascha Hauer @ 2012-11-01 11:49 UTC (permalink / raw)
  To: barebox

The following fixes a nasty problem with passing devicetrees to
the (ARM-) Kernel. In short, we are not allowed to cross 1MiB
boundaries with the devicetree. This can happen sometimes since
we allocate space for the devicetree using memalign(). I think
this is rather a kernel bug since this restriction is not documented
anywhere. Anyway, working around it in barebox is easy enough.

Sascha

----------------------------------------------------------------
Sascha Hauer (2):
      bootm: Add a define for the additional devicetree size
      bootm: Do not cross 1MiB sections for the devicetree

 commands/bootm.c |   19 +++++++++++++++++--
 1 file changed, 17 insertions(+), 2 deletions(-)

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

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

end of thread, other threads:[~2012-11-01 11:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-11-01 11:49 [PATCH] fix devicetree alignment Sascha Hauer
2012-11-01 11:49 ` [PATCH 1/2] bootm: Add a define for the additional devicetree size Sascha Hauer
2012-11-01 11:49 ` [PATCH 2/2] bootm: Do not cross 1MiB sections for the devicetree Sascha Hauer

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