- Mar 01, 2025
-
-
https://source.denx.de/u-boot/custodians/u-boot-rockchipTom Rini authored
CI: https://source.denx.de/u-boot/custodians/u-boot-rockchip/-/pipelines/2489 - Fix SD-Card boot on rk3308-rock-s0 v1.1; - Fix crash on nanopi-r4s seconde usb port; - Disable undeeded PCI config for nanopi-r3s-rk3566 - Correct usage of IS_ENABLED()
-
- Feb 28, 2025
-
-
Tianling Shen authored
This board does not have any NVMe slot, so disable unneeded CONFIG_NVME_PCI option. Fixes: bf4a33e7 ("board: rockchip: add FriendlyElec NanoPi R3S") Signed-off-by:
Tianling Shen <cnsztl@gmail.com> Reviewed-by:
Quentin Schulz <quentin.schulz@cherry.de> Reviewed-by:
Kever Yang <kever.yang@rock-chips.com>
-
Justin Klaassen authored
The patch enables the second USB3.0 Type-A USB port on the NanoPi R4S board, which prevents a crash when initializing the usb system in U-Boot and allows both Type-A USB ports to be used for booting. => usb start starting USB... Bus usb@fe380000: USB EHCI 1.00 Bus usb@fe3c0000: "Synchronous Abort" handler, esr 0x96000010, far 0x0 Signed-off-by:
Justin Klaassen <justin@tidylabs.net> Reviewed-by:
Kever Yang <kever.yang@rock-chips.com>
-
Tom Rini authored
These two files were using IS_ENABLED() to test for CONFIG flags but omitted the CONFIG_ prefix and so did not work as expected. Signed-off-by:
Tom Rini <trini@konsulko.com> Reviewed-by:
Kever Yang <kever.yang@rock-chips.com>
-
Jonas Karlman authored
BootROM leave GPIO4_D6 configured as SDMMC_PWREN function and DW MMC driver set PWREN high in dwmci_init(). However, HW revision prior to v1.2 must pull GPIO4_D6 low to access sdmmc. For HW revision v1.2 the state of GPIO4_D6 has no impact. Upstream Linux commit 26c100232b09 "arm64: dts: rockchip: Fix sdmmc access on rk3308-rock-s0 v1.1 boards" fixed this issue by adding a vcc_sd regulator. Include the new vcc_sd regulator in SPL and enable required Kconfig options to set GPIO4_D6 low to fix reading sdmmc on v1.1 hw revision. Fixes: 25438c40 ("board: rockchip: Add Radxa ROCK S0") Signed-off-by:
Jonas Karlman <jonas@kwiboo.se> Reviewed-by:
Quentin Schulz <quentin.schulz@cherry.de> Reviewed-by:
Kever Yang <kever.yang@rock-chips.com>
-
- Feb 27, 2025
-
-
Tom Rini authored
This series from Raymond Mao <raymond.mao@linaro.org> fixes assorted problems with how dependencies were expressed in Kconfig for mbedtls and assorted algorithms. Link: https://lore.kernel.org/r/20250203220825.707590-1-raymond.mao@linaro.org
-
Raymond Mao authored
Refactor the entire kconfig page for mbedtls, adapt mbedtls makefile and default config file using 'XPL_', in order to have independent mbedtls kconfig options in U-Boot Proper, SPL, TPL and VPL. User can choose legacy or mbedtls libraries for them independently. Set mbedtls native hashing libraries as default when MBEDTLS_LIB, SPL_MBEDTLS_LIB, TPL_MBEDTLS_LIB or VPL_MBEDTLS_LIB is selected. If users prefer using U-Boot legacy hashing libraries, please select MBEDTLS_LIB_HASHING_ALT, SPL_MBEDTLS_LIB_HASHING_ALT, TPL_MBEDTLS_LIB_HASHING_ALT or VPL_MBEDTLS_LIB_HASHING_ALT for U-Boot Proper, SPL, TPL and VPL respectively. Moreover, rename a few kconfig options and update their descriptions to improve the consistency of terminology. Signed-off-by:
Raymond Mao <raymond.mao@linaro.org> Acked-by:
Ilias Apalodimas <ilias.apalodimas@linaro.org>
-
Raymond Mao authored
U-Boot requires to access x509_internal.h, mbedtls_sha256_context and mbedtls_sha1_context in the porting layer, and this requires to enable MBEDTLS_ALLOW_PRIVATE_ACCESS. Enable it to mscode and pkcs7_parser to fix a mbedtls internal building error when X509 is selected. Moreover, Move it to a separate file to avoid enabling it in multiple places. Signed-off-by:
Raymond Mao <raymond.mao@linaro.org> Acked-by:
Ilias Apalodimas <ilias.apalodimas@linaro.org>
-
Raymond Mao authored
Fixed the building failures when WGET_HTTPS,NET_LWIP and MBEDTLS_LIB are selected due to a few incorrect kconfig dependencies. Signed-off-by:
Raymond Mao <raymond.mao@linaro.org> Reviewed-by:
Ilias Apalodimas <ilias.apalodimas@linaro.org>
-
Daniel Schultz authored
There are some device-tree overlays with missing entries for the keyfile. Add them to sign all images in the U-Boot FIT image. Signed-off-by:
Daniel Schultz <d.schultz@phytec.de> Reviewed-by:
Wadim Egorov <w.egorov@phytec.de>
-
Daniel Schultz authored
There are some device-tree overlays with missing entries for the keyfile. Add them to sign all images in the U-Boot FIT image. Signed-off-by:
Daniel Schultz <d.schultz@phytec.de> Reviewed-by:
Wadim Egorov <w.egorov@phytec.de>
-
https://gitlab.denx.de/u-boot/custodians/u-boot-imxTom Rini authored
CI: https://source.denx.de/u-boot/custodians/u-boot-imx/-/pipelines/24872 - Fix bootstd booting on imx8mm_evk, imx8mq_evk, imx8mp_evk and imx93_evk
-
Fabio Estevam authored
Currently, booting via bootstd fails because the kernel cannot be retrieved. The reason for this is the lack of 'kernel_addr_r'. Pass 'kernel_addr_r' to fix booting via bootstd. Signed-off-by:
Fabio Estevam <festevam@denx.de> Reviewed-by:
Peng Fan <peng.fan@nxp.com>
-
Fabio Estevam authored
Currently, booting via bootstd fails because the kernel cannot be retrieved. The reason for this is the lack of 'kernel_addr_r'. Pass 'kernel_addr_r' to fix booting via bootstd. Signed-off-by:
Fabio Estevam <festevam@denx.de> Reviewed-by:
Peng Fan <peng.fan@nxp.com>
-
Peng Fan authored
Select BOOTSTD_FULL and BOOTSTD_BOOTCOMMAND Correct DEFAULT_FDT_FILE Correct env file for imx8mm_evk_fspi_defconfig Fixes: 364ba68e ("imx: imx8mm_evk: Switch to BOOTSTD") Reported-by:
Ludwig Nussel <ludwig.nussel@siemens.com> Signed-off-by:
Peng Fan <peng.fan@nxp.com>
-
Peng Fan authored
The CONFIG_DEFAULT_FDT_FILE should be imx8mq_evk.dtb for this board Fixes: 7050bd92 ("imx: imx8mq_evk: Switch to BOOTSTD") Reported-by:
Ludwig Nussel <ludwig.nussel@siemens.com> Signed-off-by:
Peng Fan <peng.fan@nxp.com>
-
- Feb 26, 2025
-
-
https://source.denx.de/u-boot/custodians/u-boot-snapdragonTom Rini authored
CI: https://source.denx.de/u-boot/custodians/u-boot-snapdragon/-/pipelines/24841 The clk_stub, regulator, and pinctrl fixes enable the sdcard on the RB5 dev board (and sm8250 devices broadly). clk_stub is only enabled in qcom_defconfig and the others are qcom specific so these shouldn't affect other platforms. Lastly, a small ufetch fix from Sam which gets color rendering correctly on U-Boots framebuffer video device.
-
Sam Day authored
Currently, the 8-bit escapes are being used, which aren't supported by vidconsole_escape_char. Since the current usage maps directly to the 3-bit equivalents anyway, let's use those instead. With this change, the fetch output looks as fetching in the vidconsole as it does over serial! Signed-off-by:
Sam Day <me@samcday.com> Tested-by:
Alexey Minnekhanov <alexeymin@postmarketos.org> Tested-by:
Ferass El Hafidi <funderscore@postmarketos.org>
-
Caleb Connolly authored
The pin count wasn't updated when the special pins were added, as a result it was never possible to configure the special pins on SM8250 boards. Fix the pin count and allow the special pins to be configured. This fixes sdcard support on the RB5. Fixes: 58fa5204 ("pinctr: qcom: sm8250: add special pins pins configuration data") Reviewed-by:
Neil Armstrong <neil.armstrong@linaro.org> Tested-by:
Amit Pundir <amit.pundir@linaro.org> Signed-off-by:
Caleb Connolly <caleb.connolly@linaro.org>
-
Caleb Connolly authored
Add the other LDOs that our rpmh driver can currently support. Some of these are used on the RB5 to power the sdcard. Reviewed-by:
Neil Armstrong <neil.armstrong@linaro.org> Tested-by:
Amit Pundir <amit.pundir@linaro.org> Signed-off-by:
Caleb Connolly <caleb.connolly@linaro.org>
-
Julius Lehmann authored
Add support for sm8150 clock controller to clk stub driver. Signed-off-by:
Julius Lehmann <lehmanju@devpi.de> Reviewed-by:
Neil Armstrong <neil.armstrong@linaro.org>
-
Caleb Connolly authored
Enable the stub clock driver for rpmcc Reviewed-by:
Neil Armstrong <neil.armstrong@linaro.org> Acked-by:
Ilias Apalodimas <ilias.apalodimas@linaro.org> Signed-off-by:
Caleb Connolly <caleb.connolly@linaro.org>
-
Caleb Connolly authored
Add a stub clock driver which can be used to bind clock controllers which aren't required for the platform to boot, but which are needed for U-Boot drivers to work. In addition, add a NOP parent driver to allow for binding the parent nodes of the clock. Initially this driver supports a Qualcomm platform where the MMC driver tries to fetch the RPM clock controller, which is not actually required for the device to work. Reviewed-by:
Neil Armstrong <neil.armstrong@linaro.org> Acked-by:
Ilias Apalodimas <ilias.apalodimas@linaro.org> Signed-off-by:
Caleb Connolly <caleb.connolly@linaro.org>
-
- Feb 24, 2025
-
-
Tom Rini authored
Signed-off-by:
Tom Rini <trini@konsulko.com>
-
Marek Vasut authored
For eMMC v4 and newer that is smaller than 2 GiB, the JEDEC JESD84-B51 section 6.2.4 Configure partitions indicates that EXT_CSD SEC_COUNT should not be used to determine device size, and instead device size should be calculated from C_SIZE and C_SIZE_MULT. This is not exactly accurate, the 2 GiB limit is not a hard line, there are eMMC devices which are smaller than 2 GiB and still require device size to be determined from EXT_CSD SEC_COUNT. The hard line is instead OCR HCS bit, which indicates whether the device is byte or sector addressed, the former applies to most devices below 2 GiB, and the later applies mostly to devices above 2 GiB. However, there are a couple of devices which are smaller than 2 GiB and still set the OCR HCS bit to indicate they are sector addressed, and therefore the size calculation for those devices should also use EXT_CSD SEC_COUNT . Use mmc->high_capacity flag to discern the devices instead of arbitrary 2 GiB lim...
-
Joao Marcos Costa authored
The length of buffers used to read inode tables, directory tables, and reading a file are calculated as: number of blocks * block size, and such plain multiplication is prone to overflowing (thus unsafe). Replace it by __builtin_mul_overflow, i.e. safe math. Signed-off-by:
Joao Marcos Costa <joaomarcos.costa@bootlin.com>
-
- Feb 22, 2025
-
-
https://source.denx.de/u-boot/custodians/u-boot-tegraTom Rini authored
Branch contains bringup of Acer Iconia Tab A500 (codename picasso), a Tegra 2 Android device with decent Linux kernel support. Ondevice tests and U-Boot test suit all passed.
-
- Feb 20, 2025
-
-
https://source.denx.de/u-boot/custodians/u-boot-efiTom Rini authored
CI: * https://source.denx.de/u-boot/custodians/u-boot-efi/-/pipelines/24709 UEFI: * create a parent device for all EFI block devices * move lmb_map_update_notify() to EFI * make efi_add_memory_map_pg() static * remove comparisons to string literals from runtime * ix potential deref-after-null Other: * avoid superfluous value check in lmb_map_update_notify() * support more efi protocols in uuid_guid_get_str()
-
https://source.denx.de/u-boot/custodians/u-boot-riscvTom Rini authored
CI: https://source.denx.de/u-boot/custodians/u-boot-riscv/-/pipelines/24692 - board: VisionFive 2: Update maintainer file - configs: starfive: Add LwIP network and wget command - configs: microchip: set DEFAULT_FDT_FILE
-
https://source.denx.de/u-boot/custodians/u-boot-rockchipTom Rini authored
CI: https://source.denx.de/u-boot/custodians/u-boot-rockchip/-/pipelines/24690 Please pull the fixes for rockchip platform: - Fix for rk3399 bob and kevin - Fix for sdram more than 4GB - Fix for dwc_eth on rk356x/rk3588 - Fix for sdmmc access on rk33080rock-s9
-
Heinrich Schuchardt authored
The function is only used in the efi_memory.c module. Reviewed-by:
Ilias Apalodimas <ilias.apalodimas@linaro.org> Signed-off-by:
Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
-
Heinrich Schuchardt authored
When building with qemu_arm64_defconfig with CONFIG_CC_OPTIMIZE_FOR_DEBUG=y and CONFIG_EFI_LOADER=n an error undefined reference to efi_add_memory_map_pg occurs. Move the EFI dependent part of lmb_map_update_notify() to the EFI sub-system. Reported-by:
Liya Huang <1425075683@qq.com> Acked-by:
Liya Huang <1425075683@qq.com> Signed-off-by:
Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
-
Heinrich Schuchardt authored
Instead of testing the value of parameter op at runtime use an enum to ensure that only valid values are used. Reviewed-by:
Ilias Apalodimas <ilias.apalodimas@linaro.org> Signed-off-by:
Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
-
Heinrich Schuchardt authored
Up to now root has been the parent device for all block devices created via calling ConnectController(). This does not work well together with the implementation of bootstd. Add a dummy parent device for all EFI block devices. With this change EFI block devices are also accessible via commands like 'cat', 'load', and 'ls'. => dm tree Class Seq Probed Driver Name ----------------------------------------------------------- efi 0 [ + ] EFI block driver `-- efi blk 3 [ + ] efi_blk `-- efi.efiblk#0 partition 0 [ + ] blk_partition `-- efi.efiblk#0:1 => ls efiloader 0:1 13 hello.txt 7 u-boot.txt 2 file(s), 0 dir(s) => cat efiloader 0:1 hello.txt Hello world! => efidebug dh 0000000018df1700 (efi.efiblk#0:1) /VenHw(dbca4c98-6cb0-694d-0872-819c650cb7b8)/HD(1,MBR,0xd1535d21...
-
Ilias Apalodimas authored
For EFI runtime services, we manage to preserve string literals by placing the .efi_runtime section just before .data and preserving it when marking the runtime memory by marking surrounding boottime code as runtime. This is ok for now but will break if we update any linker scripts and decouple .text and .runtime sections. So let's define the strings we used to compare in the appropriate section for runtime services Signed-off-by:
Ilias Apalodimas <ilias.apalodimas@linaro.org> Reviewed-by:
Mark Kettenis <kettenis@openbsd.org>
-
Maks Mishin authored
After having been compared to a NULL value at efi_disk.c:426, pointer 'part_info' is dereferenced at efi_disk.c:534. Signed-off-by:
Maks Mishin <maks.mishinFZ@gmail.com> Reviewed-by:
Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
-
Vincent Stehlé authored
Add more EFI protocols GUIDs to the translation table used by uuid_guid_get_str(). Signed-off-by:
Vincent Stehlé <vincent.stehle@arm.com> Cc: Tom Rini <trini@konsulko.com>
-
- Feb 19, 2025
-
-
E Shattow authored
Use LwIP network stack and enable wget HTTP command. The tftpput command is not currently supported by LwIP network stack so remove it. Signed-off-by:
E Shattow <e@freeshell.de> Reviewed-by:
Leo Yu-Chi Liang <ycliang@andestech.com>
-
Hal Feng authored
Update the maintainer file and mark jh7110 / visionfive2 related files with N: patterns. Signed-off-by:
Hal Feng <hal.feng@starfivetech.com> Reviewed-by:
Leo Yu-Chi Liang <ycliang@andestech.com>
-
Heinrich Schuchardt authored
Variable $fdtfile needs to be set for automatically loading a device-tree from the ESP or boot partition. * Set CONFIG_DEFAULT_FDT_FILE in the defconfig. * Add $fdtfile to the default environment. Signed-off-by:
Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by:
Leo Yu-Chi Liang <ycliang@andestech.com>
-