- Jul 07, 2023
-
-
sandbox can generate DT overlays, but they were not cleaned. Extend the explicit clean-files list accordingly. Fixes: 95300f20 ("pytest: add sandbox test for "extension" command") Signed-off-by:
Tobias Deiminger <tdmg@linutronix.de>
-
'make clean' did not descend into arch/$ARCH/dts for arc, m68k, nios2, sh, xtensa. Fix it by adding the missing archs to the explicit clean-dirs list. Signed-off-by:
Tobias Deiminger <tdmg@linutronix.de>
-
VPL artifacts like example vpl/u-boot-vpl are currently not removed by 'make clean'. We can clean them just as it's already done for SPL and TPL. Fixes: f86ca5ad ("Introduce Verifying Program Loader (VPL)") Signed-off-by:
Tobias Deiminger <tdmg@linutronix.de>
-
Tell git that auto-generated C sources are now exclusively expected under tools/generated/. Signed-off-by:
Tobias Deiminger <tdmg@linutronix.de>
-
On 'make clean', generated C files in tools/env/ and tools/boot/ are currently not removed, but they should. Auto-generation for shared sources was first introduced with ad80c4a3 ("kbuild, tools: generate wrapper C sources automatically by Makefile"). Cleanup later regressed (see Fixes:), because shared files were moved out of lib/ and common/, but 'clean-dirs := lib common' was not adjusted accordingly. Further, the generated tools/env/embedded.c became a sibling to project files, which prevents directory-wise cleanup at all. To solve it, we establishe tools/generated/ as the sole place for generated sources. Wrappers are now generated as tools/generated/<orig_dirname>/<orig_filename>, and 'make clean' can remove tools/generated/ as a whole (Linux Makefile.asm-generic headers are cleaned similarly). This way we don't have to maintain separate clean-files or clean-dirs entries for each single added or moved wrapper file. Fixes: 0649cd0d ("Move environment files from common/ to env/") Fixes: 19a91f24 ("Create a new boot/ directory") Signed-off-by:
Tobias Deiminger <tdmg@linutronix.de> [trini: Correct mkfwupdate case] Signed-off-by:
Tom Rini <trini@konsulko.com>
-
- Jul 06, 2023
-
-
https://source.denx.de/u-boot/custodians/u-boot-riscvTom Rini authored
- RISC-V CI OpenSBI version update - Andes ae350 board modification - Sync PolarFire SoC dts with Linux - Support building ubifs
-
Yu Chien Peter Lin authored
The 'booti' command is unable to boot Image.gz due to the absence of required environment variables 'kernel_comp_addr_r' and 'kernel_comp_size'. This commit adds these variables and reorganizes the memory layout to prevent any overlap between binaries and files. Signed-off-by:
Yu Chien Peter Lin <peterlin@andestech.com> Reviewed-by:
Leo Yu-Chi Liang <ycliang@andestech.com>
-
Yu Chien Peter Lin authored
On some AE350 boards, we need to explicitly initialize the priority registers to a non-zero value so the boot hart can instruct secondary harts to jump to OpenSBI. This patch also updates the information about PLICSW. Signed-off-by:
Yu Chien Peter Lin <peterlin@andestech.com> Reviewed-by:
Leo Yu-Chi Liang <ycliang@andestech.com>
-
Heinrich Schuchardt authored
Describe which numeric values can be used for as scratch options for OpenSBI. Signed-off-by:
Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by:
Leo Yu-Chi Liang <ycliang@andestech.com> Reviewed-by:
Anup Patel <anup@brainfault.org>
-
Hoegeun Kwon authored
There is a problem that the rates of PLL0 and PLL1 are set incorrectly because the postdiv1_mask value is incorrectly entered when setting the pll clk reg. Modify postdiv1's mask value to be put correctly. Signed-off-by:
Hoegeun Kwon <hoegeun.kwon@samsung.com> Reviewed-by:
Minkyu Kang <mk7.kang@samsung.com>
-
Bin Meng authored
Use the latest OpenSBI v1.2 release binaries for the RISC-V CI. Signed-off-by:
Bin Meng <bmeng@tinylab.org> Reviewed-by:
Leo Yu-Chi Liang <ycliang@andestech.com>
-
Conor Dooley authored
The dts sync from Linux leaves mac0/ethernet1 enabled on icicle, but U-Boot does not currently set a mac address for it. Expand on the code which currently sets the mac for mac1/ethernet0 to optionally set the mac address for the second ethernet. Reviewed-by:
Padmarao Begari <padmarao.begari@microchip.com> Tested-by:
Padmarao Begari <padmarao.begari@microchip.com> Signed-off-by:
Conor Dooley <conor.dooley@microchip.com>
-
Conor Dooley authored
The "notable" disappearances are: - the pac193x stanza - there's nothing in mainline linux w.r.t. bindings for this & what is going to appear in mainline linux is going to be incompatible with what is currently in U-Boot. - operating points - these operating points should not be set at the soc.dtsi level as they may not be possible depending on the design programmed to the FPGA - clock output names - there are defines for the clock indices, these should not be needed - the dt maintainers in linux NAKed using defines for IRQ numbers - the qspi nand, which is not part of the icicle's default configuration is removed. Reviewed-by:
Padmarao Begari <padmarao.begari@microchip.com> Tested-by:
Padmarao Begari <padmarao.begari@microchip.com> Signed-off-by:
Conor Dooley <conor.dooley@microchip.com> Reviewed-by:
Rick Chen <rick@andestech.com>
-
Conor Dooley authored
The original names picked for the DT doesn't match Linux's naming scheme and it was renamed there a while ago. Rename it in U-Boot to allow easily syncing dts between the two projects. Reviewed-by:
Rick Chen <rick@andestech.com> Reviewed-by:
Padmarao Begari <padmarao.begari@microchip.com> Signed-off-by:
Conor Dooley <conor.dooley@microchip.com>
-
Ben Dooks authored
If we're building non FU540/FU740 SoC drivers, then the sifive-prci.o is not needed. Only build this when CONFIG_CLK_SIFIVE_PRCI is selected. Signed-off-by:
Ben Dooks <ben.dooks@sifive.com> Reviewed-by:
Leo Yu-Chi Liang <ycliang@andestech.com>
-
Ben Dooks authored
These seem to be missing, and trying to build ubifs without them is causing errors due to these being missing. Signed-off-by:
Ben Dooks <ben.dooks@sifive.com> Reviewed-by:
Leo Yu-Chi Liang <ycliang@andestech.com>
-
Ben Dooks authored
Add implementations of the local_irq_{save,restore} macros so that <asm/atomic.h> can be used with riscv. Signed-off-by:
Ben Dooks <ben.dooks@sifive.com> Reviewed-by:
Leo Yu-Chi Liang <ycliang@andestech.com>
-
Ben Dooks authored
Add a link from <asm/atomic.h> to the generic one to allow things like ubifs to be built. This can be extended with riscv AMO ops at a later date. Signed-off-by:
Ben Dooks <ben.dooks@sifive.com> Reviewed-by:
Leo Yu-Chi Liang <ycliang@andestech.com>
-
Heinrich Schuchardt authored
OpenSBI already implements some extensions that are not ratified yet: * Debug Console Extension (DBCN) * System Suspend Extension (SUSP) * Collaborative Processor Performance Control Extension (CPPC) Allow the sbi command to display these. Provide the FID definitions of the Debug Console Extension. We can use that extension for an early debug console driver. Signed-off-by:
Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by:
Leo Yu-Chi Liang <ycliang@andestech.com>
- Jul 05, 2023
-
-
Tom Rini authored
Prepare v2023.07-rc6
-
- Jul 04, 2023
-
-
The regulator core can return different codes which are not considered a real error for this function. Return success in such cases. Signed-off-by:
Eugen Hristev <eugen.hristev@collabora.com> Reviewed-by:
Simon Glass <sjg@chromium.org> Reviewed-by:
Patrice Chotard <patrice.chotard@foss.st.com>
-
Simplify the subsystem by renaming `dev_pdata` to just `plat`. No functional change, just trivial renaming. Suggested-by:
Simon Glass <sjg@chromium.org> Signed-off-by:
Eugen Hristev <eugen.hristev@collabora.com> Reviewed-by:
Simon Glass <sjg@chromium.org> Reviewed-by:
Patrice Chotard <patrice.chotard@foss.st.com>
-
Some devices share a regulator supply, when the first one will request regulator disable, the second device will have it's supply cut off before graciously shutting down. Hence there will be timeouts and other failed operations. Implement a reference counter mechanism similar with what is done in Linux, to keep track of enable and disable requests, and only disable the regulator when the last of the consumers has requested shutdown. Signed-off-by:
Eugen Hristev <eugen.hristev@collabora.com> Reviewed-by:
Simon Glass <sjg@chromium.org> Reviewed-by:
Patrice Chotard <patrice.chotard@foss.st.com>
- Jul 03, 2023
-
-
Tom Rini authored
Signed-off-by:
Tom Rini <trini@konsulko.com>
-
Currently, spl_end points to the __bss_end address, which is an external RAM address instead of the end of the SPL text section in the internal RAM. This causes boot failures on imx6-colibri, for example: ``` Trying to boot from MMC1 SPL: Image overlaps SPL resetting ... ``` Fix this problem by assigning spl_end to _image_binary_end, as this symbol properly represents the end of the SPL text section. From u-boot-spl.map: .end *(.__end) 0x00000000009121a4 _image_binary_end = . Fixes: 77aed22b ("spl: spl_legacy: Add extra address checks") Reported-by:
Francesco Dolcini <francesco.dolcini@toradex.com> Signed-off-by:
Fabio Estevam <festevam@denx.de> Tested-by:
Tom Rini <trini@konsulko.com> Reviewed-by:
Marek Vasut <marex@denx.de> Tested-by: Marek Vasut <marex@denx.de> # DH i.MX6Q DHCOM PDK2
-
Pass _image_binary_end to make a standard way to indicate the end of the text section in SPL. The motivation for this is to have a uniform way to handle the SPL boundary checks. Signed-off-by:
Fabio Estevam <festevam@denx.de> Reviewed-by:
Marek Vasut <marex@denx.de>
-
Pass _image_binary_end to make a standard way to indicate the end of the text section in SPL. The motivation for this is to have a uniform way to handle the SPL boundary checks. Signed-off-by:
Fabio Estevam <festevam@denx.de> Reviewed-by:
Marek Vasut <marex@denx.de>
-
Fix two occurrences where 'signing' is misspelled. Signed-off-by:
Fabio Estevam <festevam@denx.de> Reviewed-by:
Tim Harvey <tharvey@gateworks.com>
-
Use of CONFIG_SPL_FIT_SIGNATURE=y cause CONFIG_LEGACY_IMAGE_FORMAT=n as default, this prevent boot scripts in legacy image format from working and was an unintended change in the listed fixes commits: Wrong image format for "source" command Add CONFIG_LEGACY_IMAGE_FORMAT=y to defconfig for affected boards to restore support for boot scripts in legacy image format. Fixes: 3bf8e408 ("board: rockchip: add Radxa ROCK5B Rk3588 board") Fixes: cf777572 ("rockchip: rockpro64: Use SDMA to boost eMMC performance") Fixes: 6e2b8344 ("rockchip: rock-pi-4: Use SDMA to boost eMMC performance") Fixes: 1bf49d5a ("rockchip: rk3566-radxa-cm3-io: Update defconfig") Fixes: 703c170b ("rockchip: rk3568-evb: Update defconfig") Fixes: 68000f75 ("rockchip: rk3568-rock-3a: Update defconfig") Fixes: 6fb02589 ("rockchip: rk3588-evb: Update defconfig") Signed-off-by:
Jonas Karlman <jonas@kwiboo.se>
-
GPIOD_ACTIVE_LOW is not enough to configure a GPIO as an output, we need GPIOD_IS_OUT as well. Fixes: b252d79b ("usb: dwc3: Add support to reset usb ULPI phy") Signed-off-by:
Peter Korsgaard <peter@korsgaard.com>
-
- Jul 01, 2023
-
-
https://source.denx.de/u-boot/custodians/u-boot-efiTom Rini authored
Pull request efi-2023-07-rc6 Documentation: * man-pages for the loads and saves commands UEFI: * fix implementation of allow_unaligned() for armv7 and arm11
-
Rename current assembler implementation of allow_unaligned() to arm11_arch_cp15_allow_unaligned() and add it into arm11.h header, then add C wrapper of allow_unaligned(). This fixes misbehavior when linking U-Boot, where the CPU specific allow_unaligned() implementation was ignored and instead the __weak allow_unaligned() implementation from lib/efi_loader/efi_setup.c was used, which led to "data abort" just before booting Linux via tftp, in efi_dp_from_file() -> path_to_uefi() -> utf16_put() . The problem is triggerd by c7c0ca37 ("efi_loader: fix efi_dp_from_file()") . Adding the wrapper fixes the problem. Fixes: d47a7746 ("arm: arm11: allow unaligned memory access") Signed-off-by:
Marek Vasut <marex@denx.de>
-
Rename current assembler implementation of allow_unaligned() to v7_arch_cp15_allow_unaligned() and add it into armv7.h header, then add C wrapper of allow_unaligned(). This fixes misbehavior when linking U-Boot on ARMv7a i.MX6Q, where the CPU specific allow_unaligned() implementation was ignored and instead the __weak allow_unaligned() implementation from lib/efi_loader/efi_setup.c was used, which led to "data abort" just before booting Linux via tftp, in efi_dp_from_file() -> path_to_uefi() -> utf16_put() . The problem is triggerd by c7c0ca37 ("efi_loader: fix efi_dp_from_file()") . Adding the wrapper fixes the problem. Fixes: 78f90aae ("arm: armv7: allow unaligned memory access") Signed-off-by:
Marek Vasut <marex@denx.de>
-
Heinrich Schuchardt authored
%s/loady/loadb/ Signed-off-by:
Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by:
Simon Glass <sjg@chromium.org>
-
Heinrich Schuchardt authored
Provide a man-page for the saves command. Signed-off-by:
Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by:
Simon Glass <sjg@chromium.org>
-
Heinrich Schuchardt authored
Provide a man-page for the loads command. Signed-off-by:
Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
-
- Jun 29, 2023
-
-
board_mmc_get_env_part() is not called as the default implementation of mmc_get_env_part() is used. Fix this problem by directly calling mmc_get_env_part() instead. Signed-off-by:
Eduard Strehlau <eduard@lionizers.com> Signed-off-by:
Fabio Estevam <festevam@denx.de>
-
Tom Rini authored
Currently the PowerPC build job in Azure will hit the maximum time limit for a build and stop. Looking at the job, the easiest path to reducing it is to move Keymile vendor boards to their own job and exclude them from the PowerPC one (and while at this, the ls102 job). Signed-off-by:
Tom Rini <trini@konsulko.com> Reviewed-by:
Heiko Schocher <hs@denx.de>
-