Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1430882

Re: [PATCH] Implement the -a option to pad dtb aligned

From Frank Rowand <frowand.list@gmail.com>
Newsgroups linux.kernel
Subject Re: [PATCH] Implement the -a option to pad dtb aligned
Date 2016-06-24 20:50 +0200
Message-ID <rNEkV-3p5-3@gated-at.bofh.it> (permalink)
References <rNxt8-7os-43@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH] Implement the -a option to pad dtb aligned Tim Wang <timwang@asrmicro.com> - 2016-06-24 13:30 +0200
  Re: [PATCH] Implement the -a option to pad dtb aligned Frank Rowand <frowand.list@gmail.com> - 2016-06-24 20:50 +0200

csiph-web