8f1da50c | 01-Jun-2018 |
Simon Glass <sjg@chromium.org> |
binman: Refactor much of the image code into 'section'
We want to support multiple sections within a single image. To do this, move most of the Image class implementation into a new Section class. A
binman: Refactor much of the image code into 'section'
We want to support multiple sections within a single image. To do this, move most of the Image class implementation into a new Section class. An Image contains only a single Section, but at some point we will support a new 'section' entry, thus allowing Sections within Sections.
Use the name 'bsection' for the module so we can use 'section' for the etype module.
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
dd57c13b | 01-Jun-2018 |
Simon Glass <sjg@chromium.org> |
binman: Allow unit addresses for binaries
Allow the same binary to appear multiple times in an image by using the device-tree unit-address feature (u-boot@0, u-boot@1).
Signed-off-by: Simon Glass <
binman: Allow unit addresses for binaries
Allow the same binary to appear multiple times in an image by using the device-tree unit-address feature (u-boot@0, u-boot@1).
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
48ae4124 | 30-May-2018 |
Alex Kiernan <alex.kiernan@gmail.com> |
buildman: Add support for environment delta in summary
When summarising the builds, add the -U option to emit delta lines for the default environment built into U-Boot at each commit.
Signed-off-by
buildman: Add support for environment delta in summary
When summarising the builds, add the -U option to emit delta lines for the default environment built into U-Boot at each commit.
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org>
show more ...
|
0ddc510e | 30-May-2018 |
Alex Kiernan <alex.kiernan@gmail.com> |
buildman: Extract environment as part of each build
As we're building the boards, extract the default U-Boot environment to uboot.env so we can interrogate it later.
Signed-off-by: Alex Kiernan <al
buildman: Extract environment as part of each build
As we're building the boards, extract the default U-Boot environment to uboot.env so we can interrogate it later.
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org>
show more ...
|
6915dcf3 | 13-Apr-2018 |
Alexander Graf <agraf@suse.de> |
tools: zynqmpimage: Add bif support
The officially described way to generate boot.bin files for ZynqMP is to describe the contents of the target binary using a file of the "bif" format. This file t
tools: zynqmpimage: Add bif support
The officially described way to generate boot.bin files for ZynqMP is to describe the contents of the target binary using a file of the "bif" format. This file then links to other files that all get packed into a bootable image.
This patch adds support to read such a .bif file and generate a respective ZynqMP boot.bin file that can include the normal image and pmu files, but also supports image partitions now. This makes it a handy replacement for the proprietary "bootgen" utility that is currently used to generate boot.bin files with FSBL.
Signed-off-by: Alexander Graf <agraf@suse.de> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
show more ...
|
e384cdf8 | 13-Apr-2018 |
Alexander Graf <agraf@suse.de> |
tools: zynqmpimage: Move defines to header
We will add support for ZynqMP bif input files later, so let's move all structure definitions into a header file that can be used by that one as well.
Sig
tools: zynqmpimage: Move defines to header
We will add support for ZynqMP bif input files later, so let's move all structure definitions into a header file that can be used by that one as well.
Signed-off-by: Alexander Graf <agraf@suse.de> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
show more ...
|
cece78fa | 15-Apr-2018 |
Marek Vasut <marex@denx.de> |
tools: socfpga: Add SFP image V1 support
Add support for the SoCFPGA header v1 , which is used on Arria 10. Thus far the mkimage-socfpga image only supported header format v0 used on Cyclone V and A
tools: socfpga: Add SFP image V1 support
Add support for the SoCFPGA header v1 , which is used on Arria 10. Thus far the mkimage-socfpga image only supported header format v0 used on Cyclone V and Arria V, but is not supported on Arria 10. The layout of the v0 and v1 header is similar, yet there are a few differences, see the patch body for details.
Signed-off-by: Marek Vasut <marex@denx.de> Cc: Dinh Nguyen <dinguyen@kernel.org> Cc: Chin Liang See <chin.liang.see@intel.com>
show more ...
|
8c84287a | 22-Apr-2018 |
Alex Kiernan <alex.kiernan@gmail.com> |
tools: mkimage: Check for datafile when type is script
If generating a script image and no datafile has been passed in, mkimage dies with SIGSEGV:
#0 __strchr_sse2 () at ../sysdeps/x86_64/multia
tools: mkimage: Check for datafile when type is script
If generating a script image and no datafile has been passed in, mkimage dies with SIGSEGV:
#0 __strchr_sse2 () at ../sysdeps/x86_64/multiarch/../strchr.S:32 #1 0x0000000000403818 in main at tools/mkimage.c:503
Add explicit test for datafile to fix this.
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
show more ...
|
c3b115f4 | 20-Apr-2018 |
Alexander Dahl <ada@thorsis.com> |
tools: mkenvimage: Fix possible segfault on stdin input
The size of 'filebuf' was not increased as more and more bytes are read from stdin, but 'filebuf' was always reallocated to the same fix size.
tools: mkenvimage: Fix possible segfault on stdin input
The size of 'filebuf' was not increased as more and more bytes are read from stdin, but 'filebuf' was always reallocated to the same fix size. This works as long as only less bytes than the initial buffer size come in, for more input this will segfault. (It actually does, I tested that.) So for each loop cycle the buffer size has to be increased by the number of bytes we want to read.
Signed-off-by: Alexander Dahl <ada@thorsis.com>
show more ...
|