- Dec 11, 2019
-
-
Tom Rini authored
Today when parsing the .sizes files we get a warning about an invalid line in the file as it's blank. Solve this by checking that we have a non-blank line prior to processing. Cc: Simon Glass <sjg@chromium.org> Signed-off-by:
Tom Rini <trini@konsulko.com> Reviewed-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
Sometimes it is useful for external tools to use buildman to provide the toolchain information. Add an -a option which shows the value to use for the ARCH environment variable, and -A which does the same for CROSS_COMPILE Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
At present buildman looks at toolchains, then commits and then boards. Move the board processing up above the commit processing, since it relates to the toolchain code. This will make it easier to check the toolchains needed for a board without processing commits first. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
Now that this tool has a 'quiet' flag, use it. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
We don't really need buildman to print this every time it runs. Add a flag to run quietly, that buildman can use. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
- Dec 10, 2019
-
-
Cristian Ciocaltea authored
The parser responsible for the '[make-flags]' section in the '.buildman' settings file is currently not able to handle quoted strings, as given in the sample bellow: [make-flags] qemu_arm=HOSTCC="cc -isystem /add/include" HOSTLDFLAGS="-L/add/lib" This patch replaces the simple string splitter based on the <space> delimiter with a regex tokenizer that preserves spaces inside double quoted strings. Signed-off-by:
Cristian Ciocaltea <cristian.ciocaltea@gmail.com>
-
- Dec 06, 2019
-
-
AKASHI Takahiro authored
Imported from linux kernel v5.3: asn1.h without changes asn1_ber_bytecode.h without changes asn1_decoder.h without changes asn1_compiler.c without changes This host command will be used to create a ASN1 parser, for example, for pkcs7 messages or x509 certificates. More specifically, it will generate *byte code* which will be interpreted by asn1 decoder library. Signed-off-by:
AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by:
Heinrich Schuchardt <xypron.glpk@gmx.de>
-
- Dec 03, 2019
-
-
Thomas Hebb authored
Signed-off-by:
Thomas Hebb <tommyhebb@gmail.com>
-
- Dec 02, 2019
-
-
Simon Glass authored
Drop inclusion of crc.h in common.h and use the correct header directly instead. With this we can drop the conflicting definition in fw_env.h and rely on the crc.h header, which is already included. Signed-off-by:
Simon Glass <sjg@chromium.org> Reviewed-by:
Tom Rini <trini@konsulko.com>
-
Simon Glass authored
Some of these have a space before the bracket. Drop it to fix the style. Add some missing function comments while here. Note that u32 and u8 cannot be used here since crc.h is included on the host side. Signed-off-by:
Simon Glass <sjg@chromium.org> Reviewed-by:
Tom Rini <trini@konsulko.com>
-
- Nov 23, 2019
-
-
Tom Rini authored
Now that we have buildman telling genboards.cfg to use an output directory we need to ensure that it exists. Cc: Bin Meng <bmeng.cn@gmail.com> Cc: Simon Glass <sjg@chromium.org> Fixes: bc750bca ("tools: buildman: Honor output directory when generating boards.cfg") Signed-off-by:
Tom Rini <trini@konsulko.com> Reviewed-by:
Bin Meng <bmeng.cn@gmail.com>
-
Tom Rini authored
With the move to using Python 3 for real, we encounter two different issues. First, the file include/video_font_data.h includes at least one UTF-16 character. Given that it does not include any CONFIG symbols it is easiest to just ignore this file. Next, we encounter similar problems with some dts/dtsi files that come from Linux. In this case it's easiest to simply ignore all dts/dtsi files as there will not be CONFIG symbols for us to migrate in them. Cc: Masahiro Yamada <yamada.masahiro@socionext.com> Signed-off-by:
Tom Rini <trini@konsulko.com>
-
- Nov 20, 2019
-
-
Tom Rini authored
We have CONFIG_ENV_SIZE_IS_REDUND but don't really use it. We have one board where we can simply multiple CONFIG_ENV_SIZE by two for the same result. The other place where we could but were not previously using this is for where env_internal.h checks for if we should set ENV_IS_EMBEDDED. This seems like the most likely use, historically, of the variable, but it was not used. Add logic to check for this now. Cc: Wolfgang Denk <wd@denx.de> Cc: Joe Hershberger <joe.hershberger@ni.com> Signed-off-by:
Tom Rini <trini@konsulko.com> Reviewed-by:
Simon Glass <sjg@chromium.org> Acked-by:
Joe Hershberger <joe.hershberger@ni.com>
-
- Nov 17, 2019
-
-
Andy Yan authored
Usage: (1) tools/mkimage -n rk3308 -T rksd -d tpl/u-boot-tpl.bin idbloader.img (2) cat spl/u-boot-spl.bin >> idbloader.img (3) upgrade_tool wl 0x40 idbloader.img Note: When use ddr binary from rkbin as tpl, use it replace u-boot-tpl.bin in(1) Signed-off-by:
Andy Yan <andy.yan@rock-chips.com> Reviewed-by:
Kever Yang <kever.yang@rock-chips.com>
-
Kever Yang authored
Add the table entry for px30 socs. The px30 has 10K of sram available. Signed-off-by:
Kever Yang <kever.yang@rock-chips.com> Signed-off-by:
Heiko Stuebner <heiko.stuebner@theobroma-systems.com> Reviewed-by:
Kever Yang <kever.yang@rock-chips.com>
-
- Nov 14, 2019
-
-
Robert Beckett authored
fixes: 8ab452d5 When compiling list of cover letter cc addresses, using null as a separater, then encoding to utf-8 results in lots of "\x00" as separators. patman then doesnt understand that when it comes to repoting the list to send-email. Fix this by not encoding to utf-8, as done for the other patch files. Signed-off-by:
Robert Beckett <bob.beckett@collabora.com> Reviewed-by:
Simon Glass <sjg@chromium.org>
-
Anatolij Gustschin authored
s/Subprocress/Subprocess/ s/easiler/easier/ s/repositiory/repository/ s/rangem/range/ s/Retruns/Returns/ Signed-off-by:
Anatolij Gustschin <agust@denx.de> Reviewed-by:
Simon Glass <sjg@chromium.org>
-
- Nov 12, 2019
-
-
Tom Rini authored
Move this symbol to Kconfig. As part of this we can drop a UBI-specific symbol that was a stop-gap for not having this particular symbol in Kconfig. Signed-off-by:
Tom Rini <trini@konsulko.com>
-
- Nov 11, 2019
-
-
Simon Glass authored
A recent change adjusted the symbol calculation to work on x86 but broke it for Tegra. In fact this is because they have different needs. On x86 devices the code is linked to a ROM address and the end-at-4gb property is used for the image. In this case there is no need to add the base address of the image, since the base address is already built into the offset and image-pos properties. On other devices we must add the base address since the offsets start at zero. In addition the base address is currently added to the 'offset' and 'size' values. It should in fact only be added to 'image-pos', since 'offset' is relative to its parent and 'size' is not actually an address. This code should have been adjusted when support for 'image-pos' and 'size' was added, but it was not. To correct these problems: - move the code that handles adding the base address to section.py, which can check the end-at-4gb property and which property (offset/size/image-pos) is being read - add the base address only when needed (only for image-pos and not if the image uses end-at-4gb) - add a note to the documentation - add a separate test to cover x86 behaviour Fixes: 15c981cc (binman: Correct symbol calculation with non-zero image base) Signed-off-by:
Simon Glass <sjg@chromium.org> Tested-by:
Stephen Warren <swarren@nvidia.com>
-
- Nov 08, 2019
-
-
Tom Rini authored
This script was only used on the MX1ADS board (and possibly other MX1 platforms) to program the flash. As we no longer have any boards for that SoC, remove this tool. Fixes: e570aca9 ("mx1ads: remove board support") Signed-off-by:
Tom Rini <trini@konsulko.com>
-
- Nov 05, 2019
-
-
Peng Fan authored
some boards use ddr4, not lpddr4, so we need to check ddr4 firmware. Signed-off-by:
Peng Fan <peng.fan@nxp.com>
-
Peng Fan authored
The IVT offset is changed on i.MX8MN. Use ROM_VERSION to pass the v1 or v2 to mkimage. v1 is for iMX8MQ and iMX8MM v2 is for iMX8M Nano (iMX8MN) Signed-off-by:
Peng Fan <peng.fan@nxp.com>
-
Simon Glass authored
Update this tool to use Python 3 to meet the 2020 deadline. Unfortunately this introduces a test failure due to a problem in pylibfdt on Python 3. I will investigate. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
Drop the now-unused Python 2 code to keep code coverage at 100%. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
Some tests have crept in with Python 2 strings and constructs. Convert then. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
When preparing to possible expand or contract an entry we reset the size to the original value from the binman device-tree definition, which is often None. This causes binman to forget the original size of the entry. Remember this so that it can be used when needed. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
Build this swig module with Python 3. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
Convert this tool to Python 3 and make it use that, to meet the 2020 deadline. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
Convert this tool to Python 3 and make it use that, to meet the 2020 deadline. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
Convert this tool to Python 3 and make it use that, to meet the 2020 deadline. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
Update this test to use Python 3 to meet the 2020 deadline. Also make it executable while we are here. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
Update this test to use Python 3 to meet the 2020 deadline. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
Convert buildman to Python 3 and make it use that, to meet the 2020 deadline. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
Update this tool to use Python 3 to meet the 2020 deadline. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
At present patman test fail in some environments which don't use utf-8 as the default file encoding. Add this explicitly. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
At present all the 'command' methods return bytes. Most of the time we actually want strings, so change this. We still need to keep the internal representation as bytes since otherwise unicode strings might break over a read() boundary (e.g. 4KB), causing errors. But we can convert the end result to strings. Add a 'binary' parameter to cover the few cases where bytes are needed. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
Bring over the fdt from this commit: 430419c (origin/master) tests: fix some python warnings adding in the 'assumptions' series designed to reduce code size. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
- Nov 02, 2019
-
-
Simon Glass authored
This comment references the wrong FSP component. Fix it. Signed-off-by:
Simon Glass <sjg@chromium.org> Reviewed-by:
Bin Meng <bmeng.cn@gmail.com>
-
Simon Glass authored
This entry is used to hold an Intel FSP-T (Firmware Support Package Temp-RAM init) binary. Add support for this in binman. Signed-off-by:
Simon Glass <sjg@chromium.org> Reviewed-by:
Bin Meng <bmeng.cn@gmail.com>
-
Simon Glass authored
This entry is used to hold an Intel FSP-S (Firmware Support Package Silicon init) binary. Add support for this in binman. Signed-off-by:
Simon Glass <sjg@chromium.org> Reviewed-by:
Bin Meng <bmeng.cn@gmail.com>
-