u-boot/tools
Simon Glass ae94c3d4ee u_boot_pylib: Ensure subprocess is closed down
It isn't clear why we need to have two different paths for closing down
the pipe. Unify them and use the Python to avoid this warning:

  subprocess.py:1127: ResourceWarning: subprocess 83531 is still running

Note that this code appears to originally have come from [1] and was
committed into the ChromeOS chromiumos/platform/crosutils repo in the
bin/cros_image_to_target.py file. The addition of the extra code path
came later, so that is chosen for the fixes tag.

[1] https://codereview.chromium.org/3391008

Signed-off-by: Simon Glass <sjg@chromium.org>
Fixes: a10fd93cbc patman: Make command methods return a CommandResult
2023-11-02 22:38:01 -04:00
..
binman binman: openssl: x509: ti_secure_rom: Add support for bootcore_opts 2023-11-02 22:38:01 -04:00
buildman buildman: Include symbols in the read-only data section 2023-11-02 22:38:01 -04:00
docker Merge branch 'next' 2023-10-02 10:55:44 -04:00
dtoc Revert "binman: Add a temporary hack for duplicate phandles" 2023-08-28 15:59:22 -04:00
env Adjust gitignore for tools/generated/ 2023-07-07 16:25:56 -04:00
gdb
kermit
libfdt
logos STM32 MCU: 2023-10-04 10:49:30 -04:00
omap
patman buildman: Support upstream branch name containing / 2023-11-02 22:38:01 -04:00
scripts
u_boot_pylib u_boot_pylib: Ensure subprocess is closed down 2023-11-02 22:38:01 -04:00
.gitignore Adjust gitignore for tools/generated/ 2023-07-07 16:25:56 -04:00
aisimage.c tools: imagetool: Extend print_header() by params argument 2023-04-13 11:34:47 +02:00
aisimage.h
asn1_compiler.c WS cleanup: remove trailing white space 2021-09-30 08:08:56 -04:00
atmel_pmecc_params.c
atmelimage.c tools: imagetool: Extend print_header() by params argument 2023-04-13 11:34:47 +02:00
bmp_logo.c
default_image.c crc32: Drop duplicates crc header includes 2023-08-08 17:41:52 -04:00
dumpimage.c tools: mkimage/dumpimage: Allow to use -l with -T 2022-02-28 10:33:11 -05:00
dumpimage.h
eficapsule.h tools: mkeficapsule: Add support to print capsule headers 2023-10-13 14:01:42 -06:00
efivar.py tools: efivar.py unused variable 2021-01-13 02:38:00 +01:00
endian-swap.py tools: add script for byte endianness swapping 2020-06-29 22:36:35 +02:00
envcrc.c env: Rework ENV_IS_EMBEDDED and related logic slightly 2022-12-22 10:31:47 -05:00
expo.py expo: Tidy up the expo.py tool and usage 2023-08-25 13:54:33 -04:00
fdt_add_pubkey.c tools: avoid implicit fallthrough in fdt_add_pubkey 2023-04-06 19:10:08 -04:00
fdt_host.h tools: Improve comments in signing functions 2022-01-26 08:50:43 -07:00
fdtgrep.c tools: fdtgrep: Fix handle leak 2022-12-08 09:29:02 -05:00
file2include.c
fit_check_sign.c fit_check_sign: Update help to mention the key is in a dtb 2022-01-26 08:50:42 -07:00
fit_common.c tools: imagetool: Extend print_header() by params argument 2023-04-13 11:34:47 +02:00
fit_common.h tools: imagetool: Extend print_header() by params argument 2023-04-13 11:34:47 +02:00
fit_image.c tools: ensure zeroed padding in external FIT images 2023-10-11 13:22:32 -04:00
fit_info.c
gen_eth_addr.c
gen_ethaddr_crc.c
getline.c
getline.h
gpheader.h
gpimage-common.c
gpimage.c tools: imagetool: Extend print_header() by params argument 2023-04-13 11:34:47 +02:00
ifdtool.c doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
ifdtool.h
ifwitool.c ifwitool: Fix member access 2023-01-27 12:51:26 -05:00
image-host.c tools: image-host: print error messages to stderr 2023-08-30 11:47:43 -04:00
image-sig-host.c rsa: adds rsa3072 algorithm 2022-01-28 17:58:41 -05:00
imagetool.c tools: imagetool: Extend print_header() by params argument 2023-04-13 11:34:47 +02:00
imagetool.h tools: imagetool: Extend print_header() by params argument 2023-04-13 11:34:47 +02:00
img2srec.c
imx8image.c tools: imagetool: Extend print_header() by params argument 2023-04-13 11:34:47 +02:00
imx8m_image.sh tools: imx8m_image: Support ddr3 firmware 2021-10-21 13:59:26 +02:00
imx8mimage.c tools: imagetool: Extend print_header() by params argument 2023-04-13 11:34:47 +02:00
imx_cntr_image.sh
imximage.c tools: imagetool: Extend print_header() by params argument 2023-04-13 11:34:47 +02:00
iot2050-sign-fw.sh tools: iot2050-sign-fw.sh: Make localization of tools dir more robust 2023-10-09 15:24:31 -04:00
jtagconsole
Kconfig tools: Add mkfwumdata tool for FWU metadata image 2023-06-09 13:52:40 -04:00
key2dtsi.py tools: Add script for converting public key into device tree include 2023-03-29 11:58:26 -04:00
kwbimage.c tools: kwbimage: Add support for SATA images with non-512 byte block size 2023-04-13 11:34:47 +02:00
kwbimage.h tools: kwbimage: Add support for dumping extended and binary v0 headers 2022-02-17 14:17:07 +01:00
kwboot.c tools: kwboot: Add support for parsing SATA images with non-512 block size 2023-04-13 11:34:47 +02:00
lpc32xximage.c tools: imagetool: Extend print_header() by params argument 2023-04-13 11:34:47 +02:00
Makefile tools: mkimage: Add StarFive SPL image support 2023-09-20 21:05:14 +08:00
microcode-tool
microcode-tool.py
mips-relocs.c linker_lists: Rename sections to remove . prefix 2022-06-23 12:58:18 -04:00
mkeficapsule.c tools: mkeficapsule: Add support to print capsule headers 2023-10-13 14:01:42 -06:00
mkenvimage.c tools: mkenvimage: Drop duplicate crc header include 2022-11-23 13:06:12 -05:00
mkexynosspl.c
mkfwumdata.c tools: Add mkfwumdata tool for FWU metadata image 2023-06-09 13:52:40 -04:00
mkimage.c Revert "mkimage: update man page and -h output" 2023-10-11 15:32:39 -04:00
mkimage.h mkimage: Use PATH_MAX for path length 2023-06-23 14:38:16 -04:00
mksunxiboot.c tools: mksunxiboot: Use sunxi_image header directly 2021-10-25 14:49:58 +01:00
mtk_image.c tools: mtk_image: use uint32_t for ghf header magic and version 2023-08-03 09:40:50 -04:00
mtk_image.h tools: mtk_image: use uint32_t for ghf header magic and version 2023-08-03 09:40:50 -04:00
mtk_nand_headers.c tools: mtk_image: add support for nand headers used by newer chips 2022-09-23 15:09:16 -04:00
mtk_nand_headers.h tools: mtk_image: add support for nand headers used by newer chips 2022-09-23 15:09:16 -04:00
mxsboot.c
mxsimage.c tools: imagetool: Extend print_header() by params argument 2023-04-13 11:34:47 +02:00
mxsimage.h
ncb.c
netconsole tools/netconsole: Add support for socat 2021-12-02 08:34:01 +02:00
omapimage.c tools: imagetool: Extend print_header() by params argument 2023-04-13 11:34:47 +02:00
omapimage.h
os_support.c
os_support.h
pbl_crc32.c
pbl_crc32.h
pblimage.c tools: imagetool: Extend print_header() by params argument 2023-04-13 11:34:47 +02:00
pblimage.h tools: pblimage: fix image header verification function 2022-02-28 12:01:02 +05:30
prelink-riscv.c tools: prelink-riscv: Unmap the ELF image when done 2023-04-20 20:45:08 +08:00
prelink-riscv.inc tools: prelink-riscv: Cosmetic style fixes 2023-04-20 20:45:08 +08:00
printinitialenv.c u-boot-initial-env: rework make target 2022-12-08 09:29:02 -05:00
proftool.c trace: Fix alignment logic in flyrecord header 2023-09-23 09:00:37 -06:00
qconfig.py qconfig: Rename the database file 2023-10-04 09:25:22 -06:00
relocate-rela.c tools: relocate-rela: Add M68K support 2023-09-06 13:28:29 +02:00
renesas_spkgimage.c tools: spkgimage: correct printf specifier 2023-07-05 16:14:54 -04:00
renesas_spkgimage.h tools: spkgimage: add Renesas SPKG format 2023-05-13 04:01:30 +02:00
rkcommon.c tools: imagetool: Extend print_header() by params argument 2023-04-13 11:34:47 +02:00
rkcommon.h tools: imagetool: Extend print_header() by params argument 2023-04-13 11:34:47 +02:00
rkimage.c
rkmux.py
rksd.c
rkspi.c
rmboard.py patman: Move library functions into a library directory 2023-03-08 11:40:49 -08:00
sfspl.c tools: mkimage: fix sfspl_image_extract_subimage() 2023-10-30 15:32:49 -04:00
socfpgaimage.c tools: imagetool: Extend print_header() by params argument 2023-04-13 11:34:47 +02:00
spl_size_limit.c
stm32image.c tools: imagetool: Extend print_header() by params argument 2023-04-13 11:34:47 +02:00
sunxi-spl-image-builder.c
sunxi_egon.c tools: imagetool: Extend print_header() by params argument 2023-04-13 11:34:47 +02:00
sunxi_toc0.c tools: imagetool: Extend print_header() by params argument 2023-04-13 11:34:47 +02:00
termios_linux.h tools: termios_linux.h: Fix compilation on non-glibc systems 2022-09-13 06:38:08 +02:00
ublimage.c tools: imagetool: Extend print_header() by params argument 2023-04-13 11:34:47 +02:00
ublimage.h
update_octeon_header.c mips: octeon: tools: Add update_octeon_header tool 2020-11-30 18:32:09 +01:00
vybridimage.c tools: imagetool: Extend print_header() by params argument 2023-04-13 11:34:47 +02:00
zynqimage.c tools: imagetool: Extend print_header() by params argument 2023-04-13 11:34:47 +02:00
zynqmp_pm_cfg_obj_convert.py tools/zynqmp_pm_cfg_obj_convert.py: fix build with Vivado 2021.x 2022-02-15 12:41:00 +01:00
zynqmp_psu_init_minimize.sh arm64: zynqmp: Switch to amd.com emails 2023-07-21 09:00:38 +02:00
zynqmpbif.c
zynqmpimage.c arm64: zynqmp: Switch to amd.com emails 2023-07-21 09:00:38 +02:00
zynqmpimage.h arm64: zynqmp: Switch to amd.com emails 2023-07-21 09:00:38 +02:00