[PATCH] fix devicetree alignment

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox


[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux