diff --git a/.azure-pipelines.yml b/.azure-pipelines.yml index 7a3eb78a5ea2a4fc76258e07a0fbee0e578a7610..a6279427e1389d7aeb6494df7461136b1bb516c8 100644 --- a/.azure-pipelines.yml +++ b/.azure-pipelines.yml @@ -458,7 +458,7 @@ jobs: cat << "EOF" >> build.sh if [[ "${BUILDMAN}" != "" ]]; then ret=0; - tools/buildman/buildman -o /tmp -P -W ${BUILDMAN} ${OVERRIDE} || ret=$?; + tools/buildman/buildman -o /tmp -P -E -W ${BUILDMAN} ${OVERRIDE} || ret=$?; if [[ $ret -ne 0 ]]; then tools/buildman/buildman -o /tmp -seP ${BUILDMAN}; exit $ret; diff --git a/MAINTAINERS b/MAINTAINERS index 6d8c46741009a44407711987dfa33333467715ee..b82b7adbeb29eec287f1854fb8a3e33543562661 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -893,6 +893,7 @@ F: arch/nds32/ NETWORK M: Joe Hershberger <joe.hershberger@ni.com> +M: Ramon Fried <rfried.dev@gmail.com> S: Maintained T: git https://gitlab.denx.de/u-boot/custodians/u-boot-net.git F: drivers/net/ diff --git a/arch/arm/cpu/armv8/fwcall.c b/arch/arm/cpu/armv8/fwcall.c index b29bc30fc253dd415aba3d3858a94f336e379bab..16914dc1eed6cd56c5213288b70f55d30e24fa8c 100644 --- a/arch/arm/cpu/armv8/fwcall.c +++ b/arch/arm/cpu/armv8/fwcall.c @@ -7,7 +7,6 @@ #include <asm-offsets.h> #include <config.h> -#include <version.h> #include <asm/cache.h> #include <asm/macro.h> #include <asm/psci.h> diff --git a/common/Kconfig.boot b/common/Kconfig.boot index 4525a12ab4753eb25c07ac53bf3df14b0014c628..5eaabdfc27f70a0b15ffaec9e455546ed8124071 100644 --- a/common/Kconfig.boot +++ b/common/Kconfig.boot @@ -140,6 +140,12 @@ config FIT_IMAGE_POST_PROCESS injected into the FIT creation (i.e. the blobs would have been pre- processed before being added to the FIT image). +config FIT_PRINT + bool "Support FIT printing" + default y + help + Support printing the content of the fitImage in a verbose manner. + if SPL config SPL_FIT diff --git a/common/image-fit.c b/common/image-fit.c index 8660c3fd819a03bc7caa50eca7dcb46cfbfe71d3..33210ef3c03400dfaab1b9ea9bbb31e26c9e5c9c 100644 --- a/common/image-fit.c +++ b/common/image-fit.c @@ -162,7 +162,7 @@ int fit_get_subimage_count(const void *fit, int images_noffset) return count; } -#if !defined(CONFIG_SPL_BUILD) || defined(CONFIG_SPL_FIT_PRINT) +#if CONFIG_IS_ENABLED(FIT_PRINT) || CONFIG_IS_ENABLED(SPL_FIT_PRINT) /** * fit_image_print_data() - prints out the hash node details * @fit: pointer to the FIT format image header @@ -570,7 +570,7 @@ void fit_image_print(const void *fit, int image_noffset, const char *p) #else void fit_print_contents(const void *fit) { } void fit_image_print(const void *fit, int image_noffset, const char *p) { } -#endif /* !defined(CONFIG_SPL_BUILD) || defined(CONFIG_SPL_FIT_PRINT) */ +#endif /* CONFIG_IS_ENABLED(FIR_PRINT) || CONFIG_IS_ENABLED(SPL_FIT_PRINT) */ /** * fit_get_desc - get node description property diff --git a/disk/part_dos.c b/disk/part_dos.c index f431925745c1c568890c8e48fa22a51c169f6b23..60addc6e00d43f473c91cbad5d289bae768f6f3a 100644 --- a/disk/part_dos.c +++ b/disk/part_dos.c @@ -423,6 +423,9 @@ int write_mbr_partitions(struct blk_desc *dev, ext_part_sect = next_ebr; } + /* Update the partition table entries*/ + part_init(dev_desc); + return 0; } @@ -499,6 +502,9 @@ int write_mbr_sector(struct blk_desc *dev_desc, void *buf) return 1; } + /* Update the partition table entries*/ + part_init(dev_desc); + return 0; } diff --git a/fs/fs.c b/fs/fs.c index 68a15553cc95366777f8c63bd209d15ac6d5e0e4..0c8f577a798a18186612fe84c571542324a0c491 100644 --- a/fs/fs.c +++ b/fs/fs.c @@ -710,8 +710,10 @@ int do_load(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[], if (argc > 7) return CMD_RET_USAGE; - if (fs_set_blk_dev(argv[1], (argc >= 3) ? argv[2] : NULL, fstype)) + if (fs_set_blk_dev(argv[1], (argc >= 3) ? argv[2] : NULL, fstype)) { + log_err("Can't set block device\n"); return 1; + } if (argc >= 4) { addr = simple_strtoul(argv[3], &ep, 16); diff --git a/test/py/conftest.py b/test/py/conftest.py index dc92c0be32ee0929ab7b6c49db96beb93ca6b88f..9bfd9263455f33a50173cf6c7a30f7b5c73d0b27 100644 --- a/test/py/conftest.py +++ b/test/py/conftest.py @@ -554,7 +554,10 @@ def pytest_runtest_protocol(item, nextitem): """ log.get_and_reset_warning() + ihook = item.ihook + ihook.pytest_runtest_logstart(nodeid=item.nodeid, location=item.location) reports = runtestprotocol(item, nextitem=nextitem) + ihook.pytest_runtest_logfinish(nodeid=item.nodeid, location=item.location) was_warning = log.get_and_reset_warning() # In pytest 3, runtestprotocol() may not call pytest_runtest_setup() if @@ -623,4 +626,4 @@ def pytest_runtest_protocol(item, nextitem): if failure_cleanup: console.cleanup_spawn() - return reports + return True diff --git a/tools/fit_check_sign.c b/tools/fit_check_sign.c index 9375d5cf72de95505da6ee607fd97bba21d261af..5573842d2517f029a77d80ab129d1c12f098d4c1 100644 --- a/tools/fit_check_sign.c +++ b/tools/fit_check_sign.c @@ -25,9 +25,10 @@ void usage(char *cmdname) { - fprintf(stderr, "Usage: %s -f fit file -k key file\n" + fprintf(stderr, "Usage: %s -f fit file -k key file -c config name\n" " -f ==> set fit file which should be checked'\n" - " -k ==> set key file which contains the key'\n", + " -k ==> set key file which contains the key'\n" + " -c ==> set the configuration name'\n", cmdname); exit(EXIT_FAILURE); }