summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Masahisa Kojima [Fri, 19 Jan 2024 00:45:44 +0000 (09:45 +0900)]
[PATCH 1/2] efi_loader: avoid pointer access after calling efi_delete_handle
efi_delete_handle() calls efi_purge_handle(), then it finally
frees the EFI handle.
Both diskobj and handle variables in efi_disk_remove() have
the same pointer, we can not access diskobj->dp after calling
efi_delete_handle().
This commit saves the struct efi_device_path pointer before
calling efi_delete_handle(). This commit also fixes the
missing free for volume member in struct efi_disk_obj.
This commit also removes the container_of() calls, and
adds the TODO comment of missing efi_close_protocol() call
for the parent EFI_BLOCK_IO_PROTOCOL.
Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org>
Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Gbp-Pq: Topic riscv64
Gbp-Pq: Name efi_loader-avoid-pointer-access-after-calling-efi_de.patch
Vagrant Cascadian [Wed, 17 Aug 2022 02:00:04 +0000 (19:00 -0700)]
[PATCH] Makefile: Use relative paths for debugging symbols.
The KBUILD_CFLAGS and KBUILD_AFLAGS variables are adjusted to use
-ffile-prefix-map and --debug-prefix-map, respectively, to use
relative paths for occurrences of __FILE__ and debug paths.
This enables reproducible builds regardless of the absolute path to
the build directory:
https://reproducible-builds.org/docs/build-path/
Series-to: u-boot
Signed-off-by: Vagrant Cascadian <vagrant@reproducible-builds.org>
Gbp-Pq: Name Makefile-Use-relative-paths-for-debugging-symbols.patch
Luca Boccassi [Fri, 19 Apr 2024 18:32:03 +0000 (11:32 -0700)]
enable support for secure boot on qemu arm64/amd64
Secure boot is now supported upstream in EFI mode. It is disabled
by default, and can be enabled by loading keys from the console:
https://u-boot.readthedocs.io/en/latest/develop/uefi/uefi.html#configuring-uefi-secure-boot
Gbp-Pq: Topic qemu
Gbp-Pq: Name efi-secure-boot.patch
Vagrant Cascadian [Fri, 19 Apr 2024 18:32:03 +0000 (11:32 -0700)]
rockchip-inno-usb
Downloaded from:
https://patchwork.ozlabs.org/project/uboot/patch/
20210406151059.
1187379-1-icenowy@aosc.io
Downloaded from:
https://patchwork.ozlabs.org/project/uboot/patch/
20210406151059.
1187379-1-icenowy@aosc.io
From: Icenowy Zheng <icenowy@aosc.io>
To: Simon Glass <sjg@chromium.org>, Kever Yang <kever.yang@rock-chips.com>,
Frank Wang <frank.wang@rock-chips.com>,
Jagan Teki <jagan@amarulasolutions.com>
Cc: u-boot@lists.denx.de,
Icenowy Zheng <icenowy@aosc.io>
Subject: [PATCH] phy: rockchip: inno-usb2: fix hang when multiple controllers
exit
Date: Tue, 6 Apr 2021 23:10:59 +0800
Message-Id: <
20210406151059.
1187379-1-icenowy@aosc.io>
The OHCI and EHCI controllers are both bound to the same PHY. They will
both do init and power_on operations when the controller is brought up
and both do power_off and exit when the controller is stopped. However,
the PHY uclass of U-Boot is not as sane as we thought -- they won't
maintain a status mark for PHYs, and thus the functions of the PHYs
could be called for multiple times. Calling init/power_on for multiple
times have no severe problems, however calling power_off/exit for
multiple times have a problem -- the first exit call will stop the PHY
clock, and power_off/exit calls after it still trying to write to PHY
registers. The write operation to PHY registers will fail because clock
is already stopped.
Adapt the count mechanism from phy-sun4i-usb to both init/exit and
power_on/power_off functions to phy-rockchip-inno-usb2 to fix this
problem. With this stopping USB controllers (manually or before booting
a kernel) will work.
Signed-off-by: Icenowy Zheng <icenowy@aosc.io>
Fixes: ac97a9ece14e ("phy: rockchip: Add Rockchip USB2PHY driver")
Tested-by: Peter Robinson <pbrobinson@gmail.com>
Gbp-Pq: Topic rockchip
Gbp-Pq: Name rockchip-inno-usb.patch
Vagrant Cascadian [Fri, 19 Apr 2024 18:32:03 +0000 (11:32 -0700)]
disable-fit-image-tests
Disable FIT image tests.
FIT images were made more robust in light of CVE-2021-27097 and
CVE-2021-27138, but test-imagetools.sh was not updated to reflect
those changes.
Reported upstream: https://lists.denx.de/pipermail/u-boot/2021-March/443460.html
Gbp-Pq: Name disable-fit-image-tests
Dongjin Kim [Sat, 28 Oct 2017 04:22:27 +0000 (00:22 -0400)]
[PATCH] arm: config: fix default console only to specify the device
This reverts commit
767edf0f6b3eaa0303f3fd6afdc14ddce0aca70c and restores
commit
232ed3ca534708527a9515c7c41bc3542949525c.
Debian's flash-kernel expect the console variable to just contain the device,
because it will set the bootargs to "console=${console}". So revert adding
"console=" to the console parameter, but also adjust the shipped bootscripts
for exynos boards to cope with it.
Bug-Debian: https://bugs.debian.org/920116
Signed-off-by: Benjamin Drung <bdrung@debian.org>
Gbp-Pq: Topic exynos
Gbp-Pq: Name 0001-arm-config-fix-default-console-only-to-specify-the-d.patch
Vagrant Cascadian [Fri, 19 Apr 2024 18:32:03 +0000 (11:32 -0700)]
test-imagetools-test-fixes
This patch allows testing in an alternate directory and also detects
failures to execute commands, treating that as a failure.
Gbp-Pq: Name test-imagetools-test-fixes
Ian Campbell [Fri, 19 Apr 2024 18:32:03 +0000 (11:32 -0700)]
Add spl/arndale-spl.bin rule
Gbp-Pq: Topic arndale
Gbp-Pq: Name board-spl-rule.diff
Philippe Coval [Sat, 6 Jan 2024 10:06:41 +0000 (11:06 +0100)]
[PATCH] arm: sunxi: Reduce inrush current on Olimex A20-OLinuXino_MICRO configs
This change fix reboot, both configurations
were tested on my Olimex A20 Micro Rev E with debian-12.
This issue was also present and fixed on A20 Lime2 (in
8311e84b18),
quoting Olliver Schinagl:
The lime2 features a too large capacitor on the LDO3 output, which
causes the PMIC to shutdown when enabling power. To be able to still
boot up however, we must gradually enable power on LDO3 for this board.
We do this by enabling both the inrush quirk and the maximum slope the
AXP209 supports.
Link: https://bugs.debian.org/1060752
Series-to: u-boot@lists.denx.de
Series-links: 1:187331
Series-version: 2
Cc: Olliver Schinagl <oliver@schinagl.nl>
Cc: Priit Laes <plaes@plaes.org>
Cc: Maxime Ripard <maxime.ripard@bootlin.com>
Signed-off-by: Philippe Coval <rzr@users.sf.net>
Series-changes: 2
- Add qirk to eMMC configuration of same machine
Forwarded: http://patchwork.ozlabs.org/project/uboot/list/?series=394499
Bug-Debian: https://bugs.debian.org/
1060752
Applied-Upstream: https://source.denx.de/u-boot/u-boot/-/commit/
c93a6fc8f5313b2aa7081d53c3061c7c1b94afca#
v2024.04-rc3-48-gc93a6fc8f5
Signed-off-by: Philippe Coval <rzr@users.sf.net>
Gbp-Pq: Topic allwinner
Gbp-Pq: Name 0001-arm-sunxi-Reduce-inrush-current-on-Olimex-A20-OLinuX.patch
Vagrant Cascadian [Fri, 19 Apr 2024 18:32:03 +0000 (11:32 -0700)]
u-boot (2024.01+dfsg-5) unstable; urgency=medium
* Upload to unstable.
[dgit import unpatched u-boot 2024.01+dfsg-5]
Vagrant Cascadian [Fri, 19 Apr 2024 18:32:03 +0000 (11:32 -0700)]
Import u-boot_2024.01+dfsg-5.debian.tar.xz
[dgit import tarball u-boot 2024.01+dfsg-5 u-boot_2024.01+dfsg-5.debian.tar.xz]
Vagrant Cascadian [Wed, 10 Jan 2024 21:34:04 +0000 (13:34 -0800)]
Import u-boot_2024.01+dfsg.orig.tar.xz
[dgit import orig u-boot_2024.01+dfsg.orig.tar.xz]