[U-Boot] [PATCH v2 07/50] binman: Allow sections to have an offset

Bin Meng bmeng.cn at gmail.com
Wed May 1 12:13:30 UTC 2019


On Fri, Apr 26, 2019 at 11:59 AM Simon Glass <sjg at chromium.org> wrote:
>
> At present sections are always placed automatically. Even if an 'offset'
> property is provided it is ignored. Update the logic to support an offset
> for sections.
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---
>
> Changes in v2:
> - Fix map output when section offset is not set (make it 0)
> - Add a test for sections with offsets
>
>  tools/binman/README                       |  7 +++++
>  tools/binman/bsection.py                  |  9 +++---
>  tools/binman/etype/section.py             |  3 +-
>  tools/binman/ftest.py                     | 18 ++++++++++++
>  tools/binman/test/101_sections_offset.dts | 35 +++++++++++++++++++++++
>  5 files changed, 67 insertions(+), 5 deletions(-)
>  create mode 100644 tools/binman/test/101_sections_offset.dts
>

Reviewed-by: Bin Meng <bmeng.cn at gmail.com>


More information about the U-Boot mailing list