- Feb 29, 2024
-
-
Add arch custom function to get bloblist from boot arguments. Check whether boot arguments aligns with the register conventions defined in FW Handoff spec v0.9. Signed-off-by:
Raymond Mao <raymond.mao@linaro.org>
-
Save boot arguments x[0-3] into an array for handover of bloblist from previous boot stage. Signed-off-by:
Raymond Mao <raymond.mao@linaro.org> Suggested-by:
Ard Biesheuvel <ardb@kernel.org> Reviewed-by:
Ilias Apalodimas <ilias.apalodimas@linaro.org>
-
Save boot arguments r[0-3] into an array for handover of bloblist from previous boot stage. Signed-off-by:
Raymond Mao <raymond.mao@linaro.org> Suggested-by:
Ard Biesheuvel <ardb@kernel.org> Reviewed-by:
Ilias Apalodimas <ilias.apalodimas@linaro.org>
-
The current bloblist pointer and size can be retrieved from global data, so we don't need to pass them from the function arguments. This change also help to remove all external access of gd->bloblist outside of bloblist module. Signed-off-by:
Raymond Mao <raymond.mao@linaro.org> Reviewed-by:
Ilias Apalodimas <ilias.apalodimas@linaro.org>
-
Instead of expecting the bloblist total size to be the same as the pre-allocated buffer size, practically we are more interested in whether the pre-allocated buffer size is bigger than the bloblist total size. Signed-off-by:
Raymond Mao <raymond.mao@linaro.org> Reviewed-by:
Ilias Apalodimas <ilias.apalodimas@linaro.org>
-
Add bloblist_check_reg_conv() to check whether the bloblist is compliant to the register conventions defined in Firmware Handoff specification. This API can be used for all Arm platforms. Signed-off-by:
Raymond Mao <raymond.mao@linaro.org>
-
- Feb 03, 2024
-
-
https://source.denx.de/u-boot/custodians/u-boot-efiTom Rini authored
Pull request smbios-2024-04-rc2 * In smbios command - write 'Not Specified' for missing strings - show correct table size for SMBIOS2.1 entry point - adjust formatting of handle numbers - add missing colon after UUID * In generated SMBIOS table - avoid introducing 'Unknown' string for missing properties - provide RISC-V vendor ID in the type 4 structure - provide the correct chassis handle in structure type 2 * Rename Structure Table Maximum Size field in SMBIOS 3 entry point
-
- Feb 02, 2024
-
-
Heinrich Schuchardt authored
In the SMBIOS 3 entry point the Structure Table Maximum Size field was incorrectly named max_struct_size. A Maximum Structure Size field only exists in the SMBIOS 2.1 entry point and has a different meaning. Call the Structure Table Length field table_maximum_size. Signed-off-by:
Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
-
Heinrich Schuchardt authored
Only the SMBIOS 2.1 entry point has a field for the maximum structure size. As we have switched to an SMBIOS 3 entry point remove the superfluous calculation. Signed-off-by:
Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
-
Heinrich Schuchardt authored
The SMBIOS table size for SMBIOS2.1 entry points is in field 'Structure Table Length' (offset 0x16) and not in field 'Maximum Structure Size' (offset 0x08). Rename the receiving variable max_struct_size to table_maximum_size to avoid future confusion. Signed-off-by:
Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
-
Heinrich Schuchardt authored
The chassis handle field in the type 2 structure must point to the handle of the type 3 structure. Signed-off-by:
Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Acked-by:
Ilias Apalodimas <ilias.apalodimas@linaro.org>
-
Heinrich Schuchardt authored
For RISC-V CPUs the SMBIOS Processor ID field contains the Machine Vendor ID from CSR mvendorid. Signed-off-by:
Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
-
Heinrich Schuchardt authored
The SMBIOS specification describes: "If a string field references no string, a null (0) is placed in that string field." Accordingly we should avoid writing a string "Unknown" to the SMBIOS table. dmidecode displays 'Not Specified' if the string number is 0. Commit 00a871d3 ("smbios: empty strings in smbios_add_string()") correctly identified that strings may not have length 0 as two consecutive NULs indentify the end of the string list. But the suggested solution did not match the intent of the SMBIOS specification. Fixes: 00a871d3 ("smbios: empty strings in smbios_add_string()") Signed-off-by:
Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by:
Ilias Apalodimas <ilias.apalodimas@linaro.org>
-
When no string is present in a table, next_ptr points to the same location as eos. When calculating the string table length, we would only reserve one \0. By spec a SMBIOS table has to end with two \0\0 when no strings a present. Signed-off-by:
Matthias Brugger <mbrugger@suse.com> Reviewed-by:
Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
-
Heinrich Schuchardt authored
A missing string value is indicated by a string index of 0. In this case print 'Not Specified' like the Linux dmidecode command does. Signed-off-by:
Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
-
Heinrich Schuchardt authored
For consistent formatting add a colon ':' after the UUID label. Signed-off-by:
Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by:
Ilias Apalodimas <ilias.apalodimas@linaro.org>
-
Heinrich Schuchardt authored
Handles are u16 numbers. Consistently use '0x%04x' to print them. Signed-off-by:
Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
-
Heinrich Schuchardt authored
Add description for parameter sysinfo_id of function get_str_from_dt(). Fixes: 07c9e683 ("smbios: Allow a few values to come from sysinfo") Signed-off-by:
Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by:
Ilias Apalodimas <ilias.apalodimas@linaro.org>
-
Heinrich Schuchardt authored
As a matter of programming style use logical or to combine two boolean results. Signed-off-by:
Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
-
- Feb 01, 2024
-
-
Tom Rini authored
Merge tag 'u-boot-amlogic-fixes-20240201' of https://source.denx.de/u-boot/custodians/u-boot-amlogic - stop printing board model twice after sysinfo update
-
https://source.denx.de/u-boot/custodians/u-boot-watchdogTom Rini authored
- add andes atcwdt200 support (Randolph)
-
It adds the ATCWDT200 support for Andes AE350 platform. It also enables wdt command support. Signed-off-by:
CL Wang <cl634@andestech.com> Signed-off-by:
Randolph <randolph@andestech.com> Reviewed-by:
Leo Yu-Chi Liang <ycliang@andestech.com>
-
This patch adds an implementation of the Andes watchdog ATCWDT200 driver. Signed-off-by:
CL Wang <cl634@andestech.com> Signed-off-by:
Randolph <randolph@andestech.com> Reviewed-by:
Leo Yu-Chi Liang <ycliang@andestech.com>
-
- Jan 31, 2024
-
-
https://source.denx.de/u-boot/custodians/u-boot-at91Tom Rini authored
First set of u-boot-at91 features for the 2024.04 cycle: This set includes some DT alignments and solves a compile issue for custom nand defconfigs.
-
https://source.denx.de/u-boot/custodians/u-boot-riscvTom Rini authored
* Add RISC-V falcon mode documentation * Add Clang build support * Add cmd to detect Debug Trigger Extension support * Add PWM setting for Unmatched board * Add Milk-V Duo board support * Add new device node and enable new config option for VisionFive2 board * Add second virtio device for RISC-V QEMU
-
Nam Cao authored
Add the axp15060 regulator device. OpenSBI uses this device to perform board reset and shutdown. Signed-off-by:
Nam Cao <namcao@linutronix.de> Reviewed-by:
Leo Yu-Chi Liang <ycliang@andestech.com>
-
Nam Cao authored
JH7110 has a power management unit controller node. Add this node. This device is used by OpenSBI during board reset/shutdown. Signed-off-by:
Nam Cao <namcao@linutronix.de> Reviewed-by:
Leo Yu-Chi Liang <ycliang@andestech.com>
-
Lukasz Tekieli authored
Configure the pad drive strength register for both PHYs. The values correspond to what can be found in the Linux DTS for VisionFive2 v1.3b. Pad drive strength configuration is required for the phy0 to work correctly with 100Mbit links. Signed-off-by:
Lukasz Tekieli <tekieli.lukasz@gmail.com> Reviewed-by:
Leo Yu-Chi Liang <ycliang@andestech.com>
-
Lukasz Tekieli authored
This ports the pad drive strength register configuration which can be already found in the Linux driver for this PHY. Signed-off-by:
Lukasz Tekieli <tekieli.lukasz@gmail.com> Reviewed-by:
Leo Yu-Chi Liang <ycliang@andestech.com>
-
Kongyang Liu authored
Add document for Milk-V Duo board which based on Sophgo's CV1800B SoC. Signed-off-by:
Kongyang Liu <seashell11234455@gmail.com> Reviewed-by:
Leo Yu-Chi Liang <ycliang@andestech.com>
-
Kongyang Liu authored
Add support for Sophgo's Milk-V Duo board, only minimal device tree and serial console are enabled, and it can boot via vendor first stage bootloader. Signed-off-by:
Kongyang Liu <seashell11234455@gmail.com> Reviewed-by:
Leo Yu-Chi Liang <ycliang@andestech.com>
-
Kongyang Liu authored
Import device tree from Linux kernel to add basic support for CPU, PLIC, UART and Timer. The name cv1800b in the filename represent the chip used on Milk-V Duo board. Signed-off-by:
Kongyang Liu <seashell11234455@gmail.com> Reviewed-by:
Leo Yu-Chi Liang <ycliang@andestech.com>
-
Aurelien Jarno authored
The VisionFive 2 board supports saving the u-boot environment settings are saved to on-board SPI flash. However the defconfig enables both ENV_IS_NOWHERE and ENV_IS_IN_SPI_FLASH, preventing the "saveenv" command to work. Fix that by disabling ENV_IS_NOWHERE. Fixes: 7d79bed0 ("configs: starfive: Enable environment in SPI flash support") Reported-by:
E Shattow <lucent@gmail.com> Signed-off-by:
Aurelien Jarno <aurelien@aurel32.net> Reviewed-by:
Leo Yu-Chi Liang <ycliang@andestech.com>
-
kleines Filmröllchen authored
The -ffixed-gp option of GCC has an exact equivalent of -ffixed-x3 in Clang. Signed-off-by:
kleines Filmröllchen <filmroellchen@serenityos.org> Reviewed-by:
Tom Rini <trini@konsulko.com>
-
Heinrich Schuchardt authored
Detect and show if the SBI implements the Debug Trigger Extension. Signed-off-by:
Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by:
Leo Yu-Chi Liang <ycliang@andestech.com>
-
Vincent Chen authored
LEDs and multiple fans can be controlled by SPL. This patch ensures that all fans have been enabled in the SPL stage. In addition, the LED's color will be set to yellow. Signed-off-by:
Vincent Chen <vincent.chen@sifive.com> Co-developed-by:
Nylon Chen <nylon.chen@sifive.com> Signed-off-by:
Nylon Chen <nylon.chen@sifive.com> Co-developed-by:
Zong Li <zong.li@sifve.com> Signed-off-by:
Zong Li <zong.li@sifve.com> Reviewed-by:
Leo Yu-Chi Liang <ycliang@andestech.com>
-
Aurelien Jarno authored
QEMU RISC-V supports multiple virtio devices, but only tries to boot to the first one. Enable support for a second virtio device, that is useful for instance to boot on a disk image + an installer. Ideally that should be made dynamic, but that's a first step. Signed-off-by:
Aurelien Jarno <aurelien@aurel32.net> Reviewed-by:
Leo Yu-Chi Liang <ycliang@andestech.com>
-
Aurelien Jarno authored
The difference between the StarFive VisionFive 2 1.2A and 1.3B boards is handled dynamically by looking at the PCB version in the EEPROM in order to have a single u-boot version for both versions of the board. While the "model" property is correctly handled, the "compatible" one is always the the one of version 1.3b. This patch add support for dynamically configuring that property. Fixes: 9b7060bd ("riscv: dts: jh7110: Combine the board device tree files of 1.2A and 1.3B") Signed-off-by:
Aurelien Jarno <aurelien@aurel32.net> Reviewed-by:
Leo Yu-Chi Liang <ycliang@andestech.com>
-
Randolph authored
Add the address to which the FDT blob is to be moved. Signed-off-by:
Randolph <randolph@andestech.com> Reviewed-by:
Leo Yu-Chi Liang <ycliang@andestech.com>
-
Randolph authored
In Falcon Boot mode, the fdt blob should be move to the RAM from kernel BSS section. To avoid being cleared by BSS initialisation. SPL_PAYLOAD_ARGS_ADDR is the address where SPL copies. Signed-off-by:
Randolph <randolph@andestech.com> Reviewed-by:
Leo Yu-Chi Liang <ycliang@andestech.com>
-