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 ...
|
dbc34323 | 09-Mar-2018 |
Alex Kiernan <alex.kiernan@gmail.com> |
tools: env: Implement atomic replace for filesystem
If the U-Boot environment is stored in a regular file and redundant operation isn't set, then write to a temporary file and perform an atomic rena
tools: env: Implement atomic replace for filesystem
If the U-Boot environment is stored in a regular file and redundant operation isn't set, then write to a temporary file and perform an atomic rename.
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
show more ...
|
899b5338 | 09-Mar-2018 |
Alex Kiernan <alex.kiernan@gmail.com> |
tools: env: Refactor write path of flash_io()
Extract write path of flash_io() into a separate function. This patch should be a functional no-op.
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com
tools: env: Refactor write path of flash_io()
Extract write path of flash_io() into a separate function. This patch should be a functional no-op.
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com> Reviewed-by: Stefano Babic <sbabic@denx.de>
show more ...
|