lkml.org 
[lkml]   [2016]   [Jun]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] Implement the -a option to pad dtb aligned
From
Date
Hi Tim,

On 06/24/16 04:19, Tim Wang wrote:
> There is one condition that need cat the dtb files
> into one dtb.img which can support several boards
> use same SoC platform.
>
> And the original dtb file size is not aligned to any base.
> This may cause "Synchronous Abort" when load from a unligned
> address on some SoC machine, such as ARM.
>
> So this patch implement the -a <aligned number> option to
> pad zero at the end of dtb files and make the dtb size aligned
> to <aligned number>.
>
> Then, the aligned dtbs can cat together and load without "Synchronous
> Abort".
>
> Signed-off-by: Tim Wang <timwang@asrmicro.com>
> ---
> dtc.c | 9 ++++++++-
> dtc.h | 1 +
> flattree.c | 10 ++++++++++

[ ... ]

The MAINTAINERS file is not very helpful in this case.
You need to send dtc patches to the devicetree-compiler list

devicetree-compiler@vger.kernel.org

Subscription info is at

http://vger.kernel.org/vger-lists.html#devicetree-compiler

After changes are made by the dtc maintainer, we pull the new
version of dtc into the Linux tree.

-Frank

\
 
 \ /
  Last update: 2016-06-24 21:21    [W:0.043 / U:0.120 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site