[U-Boot] [PATCH 29/31] binman: Correct fmap output on x86
Simon Glass
sjg at chromium.org
Tue Oct 2 11:20:29 UTC 2018
On 14 September 2018 at 03:57, Simon Glass <sjg at chromium.org> wrote:
> Normally x86 platforms use the end-at-4gb option. This currently produces
> an FMAP with positions which have a large offset. The use of end-at-4gb is
> a useful convenience within binman, but we don't really want to export
> a map with these offsets.
>
> Fix this by subtracting the 'skip at start' parameter.
>
> Also put the code which convers names to fmap format, for clarity.
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---
>
> tools/binman/bsection.py | 18 +++++++--
> tools/binman/entry.py | 3 +-
> tools/binman/etype/fmap.py | 11 +++--
> tools/binman/etype/u_boot_with_ucode_ptr.py | 12 +++---
> tools/binman/fmap_util.py | 6 ++-
> tools/binman/ftest.py | 45 +++++++++++++++++++++
> tools/binman/test/94_fmap_x86.dts | 20 +++++++++
> tools/binman/test/95_fmap_x86_section.dts | 22 ++++++++++
> 8 files changed, 121 insertions(+), 16 deletions(-)
> create mode 100644 tools/binman/test/94_fmap_x86.dts
> create mode 100644 tools/binman/test/95_fmap_x86_section.dts
Applied to u-boot-dm, and now in mainline.
More information about the U-Boot
mailing list