- Feb 10, 2025
-
-
Weijie Gao authored
This patch add support to read register base address by name if provided. Also devfdt_get_addr_* is changed to dev_read_addr_* to support DT live tree. Signed-off-by:
Weijie Gao <weijie.gao@mediatek.com>
-
Weijie Gao authored
The reg-names in mt7988.dtsi have no _base suffix. Remove the suffix will also make it match upstream linux format. Fixes: 8c2cb748 (pinctrl: mediatek: mt7988: rename reg-names to upstream linux format) Signed-off-by:
Weijie Gao <weijie.gao@mediatek.com>
-
Tom Rini authored
Without setting the shell flag to exit immediately when a command exists with a non-zero status we can have the situation where the htmldocs target fails with an error but the job will succeed due to infodocs passing and being the last build target. Signed-off-by:
Tom Rini <trini@konsulko.com>
-
https://source.denx.de/u-boot/custodians/u-boot-samsungTom Rini authored
- e850-96 platform updates
-
- Feb 07, 2025
-
-
Tom Rini authored
Heinrich Schuchardt <heinrich.schuchardt@canonical.com> says: The setexpr.s command allows to concatenate two strings. According to the description in doc/usage/cmd/setexpr.rst the parameters value1 and value2 can be either direct values or pointers to a memory location holding the values. Unfortunately `setexpr.s <value1> + <value2>` fails if any of the values is a direct value. $? is set to false. * Add support for direct values in setexpr.s. * Correct the unit test for "setexpr.s fred 0". * Add a new unit test for "setexpr.s fred '1' + '3'" giving '13'. * Remove invalid memory leak tests Link: https://lore.kernel.org/r/20250203151029.60265-1-heinrich.schuchardt@canonical.com
-
Heinrich Schuchardt authored
The setexpr.s command allows to concatenate two strings. According to the description in doc/usage/cmd/setexpr.rst the parameters value1 and value2 can be either direct values or pointers to a memory location holding the values. Unfortunately `setexpr.s <value1> + <value2>` fails if any of the values is a direct value. $? is set to false. * Add support for direct values in setexpr.s. * Correct the unit test for "setexpr.s fred 0". * Add a new unit test for "setexpr.s fred '1' + '3'" giving '13'. Signed-off-by:
Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
-
Heinrich Schuchardt authored
env_set() frees the previous value after allocating the new value. As the free() may merge memory chunks the available memory is not expected to stay constant. Signed-off-by:
Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
-
Heinrich Schuchardt authored
env_set() frees the previous value after allocating the new value. As the free() may merge memory chunks the available memory is not expected to stay constant. Signed-off-by:
Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
-
Heinrich Schuchardt authored
Assign variable buf in the sub-test where it is used. Signed-off-by:
Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
-
Tom Rini authored
Heiko Schocher <hs@denx.de> says: In linux we have the option to create the name of a led optionally through the following properties: - function - color - function-enumerator This series adds support for parsing this properties if there is no label property. Link: https://lore.kernel.org/r/20250128135246.74838-1-hs@denx.de [trini: Document name parameter in led.h]
-
Heiko Schocher authored
in linux we have the option to create the name of a led optionally through the following properties: - function - color - function-enumerator This patch adds support for parsing this properties if there is no label property. The led name is created in led_post_bind() and we need some storage place for it. Currently this patch prevents to use malloc() instead it stores the name in new member : char name[LED_MAX_NAME_SIZE]; of struct led_uc_plat. While at it append led tests for the new feature. Signed-off-by:
Heiko Schocher <hs@denx.de> Reviewed-by:
Tom Rini <trini@konsulko.com>
-
Heiko Schocher authored
remove file doc/device-tree-bindings/leds/common.txt as we have this now already in dts/upstream/include/dt-bindings/leds/common.h which is imported from linux. Signed-off-by:
Heiko Schocher <hs@denx.de> Reviewed-by:
Tom Rini <trini@konsulko.com>
-
- Feb 06, 2025
-
-
https://source.denx.de/u-boot/custodians/u-boot-microblazeTom Rini authored
AMD/Xilinx changes for v2025.04-rc2 fpga: - Cleanup help - Show xilinx only options on Xilinx devices ospi-versal: - Fix alignment issue - Fix cadence_qspi_flash_reset() prototype zynqmp: - Define usb_pgood_delay - Fix bootseq number versal: - Fix mini_ospi configuration versal2: - Enable OPTEE xilinx: - Enable some flashes - Clean up SYS_MALLOC_F_LEN Kconfig - Some binman fixes - DT updates - Enable mkfwumdata compilation - Enable meminfo command - Switch to LWIP and enable HTTPS
-
- Feb 05, 2025
-
-
Aashvij Shenai authored
AM62x BOOTM_LEN is too small to contain OS images. Removing this sets the size to a default 0x4000000 (for all arm64 devices). It is unnecessary to specifically call the default size for the other configs. Signed-off-by:
Kamlesh Gurudasani <kamlesh@ti.com> Signed-off-by:
Aashvij Shenai <a-shenai@ti.com>
-
Liya Huang authored
Kconfig should not display the STATIC_MACH_TYPE option when SUPPORT_PASSING_ATAGS is not selected. For example, when using most platforms with menuconfig, it shows the STATIC_MACH_TYPE option causing confusion. As we know, this should not occur when SUPPORT_PASSING_ATAGS is not selected [trini: Reword commit message] Signed-off-by:
Liya Huang <1425075683@qq.com>
-
Liya Huang authored
ARMv7-M architecture uses NVIC instead of GIC. NVIC is an interrupt controller specially designed for ARM Cortex-M series processors. Signed-off-by:
Liya Huang <1425075683@qq.com>
-
-
Benjamin Szőke authored
In U-Boot, most of mmc releated commands uses decimal value in arguments, like "mmc dev ${bootseq}" or "bootargs=root=/dev/mmcblk${bootseq}p2". In order to improve compatibilities, export "bootseq" number to environment variable in decimal format instead of hex. Signed-off-by:
Benjamin Szőke <egyszeregy@freemail.hu> Link: https://lore.kernel.org/r/20250204205617.1238-1-egyszeregy@freemail.hu Signed-off-by:
Michal Simek <michal.simek@amd.com>
-
Michal Simek authored
U-Boot can run out of EL3, NS-EL2 and NS-EL1. Currently default configuration is NS-EL2 with TF-A but when TF-A is not passed and configured images can still boot just fine. That's why support this configuration and describe it via binman. Signed-off-by:
Michal Simek <michal.simek@amd.com> Link: https://lore.kernel.org/r/9b3dad80138e97005df3d033b4611c9d7e05a177.1738659214.git.michal.simek@amd.com
-
Michal Simek authored
CONFIG_XILINX_OF_BOARD_DTB_ADDR holds DTB address which U-Boot is checking. Currently address in binman match default value but macro can be used directly. Also sync node name (s/hash-1/hash/) and sync location to have the same order load/hash/image. All binman DTSes are compiled that's why also guard CONFIG_XILINX_OF_BOARD_DTB_ADDR which depends on OF_BOARD || OF_SEPARATE which is a problem for mini configurations which are using OF_EMBED. Signed-off-by:
Michal Simek <michal.simek@amd.com> Link: https://lore.kernel.org/r/a22c9671b965b222bfd419f5bfaee012929f3d88.1738659214.git.michal.simek@amd.com
-
Michal Simek authored
There is incorrect loading address listed for TEE. CONFIG_BL32_LOAD_ADDR should be used. Also there is missing hash for this entry which is present for other nodes. Signed-off-by:
Michal Simek <michal.simek@amd.com> Link: https://lore.kernel.org/r/4e7e3a7110acc050ea7c06ac661e5b5be46e8602.1738659214.git.michal.simek@amd.com
-
Michal Simek authored
do_fpga_loads() is not called from anywhere else that's why make it static. Reviewed-by:
Alexander Dahl <ada@thorsis.com> Signed-off-by:
Michal Simek <michal.simek@amd.com> Link: https://lore.kernel.org/r/cbe93e4eb33752aaddc943b15fd04731d4f75b68.1738574893.git.michal.simek@amd.com
-
Padmarao Begari authored
The mini u-boot is hanging because of an initial stack pointer address is used at half of the memory, when mini u-boot is called reloc_fdt() function and doing memcpy() for the fdt before relocation, and there is no sufficient memory for the stack pointer. To fix, set an initial stack pointer address to near the top of memory. The new stack pointer address is assigned before calling the relocate of u-boot based on the stack relocate calculation and this new stack pointer is used while executing u-boot from the relocated memory. Signed-off-by:
Padmarao Begari <padmarao.begari@amd.com> Link: https://lore.kernel.org/r/20250203090409.844403-1-padmarao.begari@amd.com Signed-off-by:
Michal Simek <michal.simek@amd.com>
-
Michal Simek authored
Enable lwip and https on our platforms to be able to use it in a boot. Acked-by:
Ilias Apalodimas <ilias.apalodimas@linaro.org> Signed-off-by:
Michal Simek <michal.simek@amd.com> Link: https://lore.kernel.org/r/cb05adaf0758c2c4f1361f8665169897493638e7.1738164681.git.michal.simek@amd.com
-
Michal Simek authored
Enable meminfo command to be able to see where things are mapped. Signed-off-by:
Michal Simek <michal.simek@amd.com> Link: https://lore.kernel.org/r/b7f9f5e18e16a945277d4b8cfde5a7f057e77676.1737976295.git.michal.simek@amd.com
-
Michal Simek authored
Build mkfwumdata tool by default for building ab mdata structure. Signed-off-by:
Michal Simek <michal.simek@amd.com> Link: https://lore.kernel.org/r/6d82c9a2db30e12ea17fa125c68a555d7f070851.1737723845.git.michal.simek@amd.com
-
Ibai Erkiaga authored
Adding new symbol for the fpga loadb command which is exclusive to Xilinx. Default value is y for backward compatibility. Clarify the type of file used for fpga programming commands Signed-off-by:
Ibai Erkiaga <ibai.erkiaga-elorza@amd.com> Link: https://lore.kernel.org/r/20250121130138.1999916-6-ibai.erkiaga-elorza@amd.com Signed-off-by:
Michal Simek <michal.simek@amd.com>
-
Ibai Erkiaga authored
Ensure all Xilinx exclusive fpga commands have a KConfig symbol and dependency to FPGA_XILINX listed. Remove (Xilinx only) text from the help command. Signed-off-by:
Ibai Erkiaga <ibai.erkiaga-elorza@amd.com> Link: https://lore.kernel.org/r/20250121130138.1999916-5-ibai.erkiaga-elorza@amd.com Signed-off-by:
Michal Simek <michal.simek@amd.com>
-
Ibai Erkiaga authored
Resort the fpga commands both in the Kconfig and in the source code to list Signed-off-by:
Ibai Erkiaga <ibai.erkiaga-elorza@amd.com> Link: https://lore.kernel.org/r/20250121130138.1999916-4-ibai.erkiaga-elorza@amd.com Signed-off-by:
Michal Simek <michal.simek@amd.com>
-
Ibai Erkiaga authored
Current usage information for loads command is too verbose and long for a command usage prompt. This flag simplifies the text for readability purposes. Signed-off-by:
Ibai Erkiaga <ibai.erkiaga-elorza@amd.com> Link: https://lore.kernel.org/r/20250121130138.1999916-3-ibai.erkiaga-elorza@amd.com Signed-off-by:
Michal Simek <michal.simek@amd.com>
-
Ibai Erkiaga authored
The current implementation generates some alignment issues as well as some overlapping when all the fpga command options are enabled. The fix is intended to improve readability of the usage info. Signed-off-by:
Ibai Erkiaga <ibai.erkiaga-elorza@amd.com> Acked-by:
Alexander Dahl <ada@thorsis.com> Link: https://lore.kernel.org/r/20250121130138.1999916-2-ibai.erkiaga-elorza@amd.com Signed-off-by:
Michal Simek <michal.simek@amd.com>
-
Alexander Dahl authored
Fixes annoying warnings of the following type when built with W=1 (for each file including fpga.h): CC drivers/fpga/fpga.o In file included from /mnt/data/adahl/src/u-boot/include/xilinx.h:7, from /mnt/data/adahl/src/u-boot/drivers/fpga/fpga.c:10: /mnt/data/adahl/src/u-boot/include/fpga.h:61:1: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] 61 | const fpga_desc *const fpga_get_desc(int devnum); | ^~~~~ /mnt/data/adahl/src/u-boot/include/fpga.h:81:1: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] 81 | const fpga_desc *const fpga_validate(int devnum, const void *buf, | ^~~~~ /mnt/data/adahl/src/u-boot/drivers/fpga/fpga.c:36:1: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] 36 | const fpga_desc *const fpga_get_desc(int devnum) | ^~~~~ /mnt/data/adahl/src/u-boot/drivers/fpga/fpga.c:53:1: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] 53 | const fpga_desc *const fpga_validate(int devnum, const void *buf, | ^~~~~ Do some type and cast cleanup on that fpga_desc type while at it. Link: https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wignored-qualifiers Signed-off-by:
Alexander Dahl <ada@thorsis.com> Link: https://lore.kernel.org/r/20250121162213.1477506-1-ada@thorsis.com Signed-off-by:
Michal Simek <michal.simek@amd.com>
-
Michal Simek authored
Add ethernet aliases to CC (Carrier card) description to create a connection which is used by fdt_fixup_ethernet() for updating local-mac-address in DT. On Kria SOM MAC address is read from i2c eeprom at start and based on it environment variables are created. Without creating aliases U-Boot is not able to inject local-mac-address DT property and OS won't get the same MAC address unless another i2c read is happening in OS. Also aliases are using string not phandle that's why full path has to be provided but that shouldn't be a big issue because location of ethernet controller is fixed. Signed-off-by:
Michal Simek <michal.simek@amd.com> Link: https://lore.kernel.org/r/6d360e71a0530d201578e27a6997dbd472772e39.1737466907.git.michal.simek@amd.com
-
Prasad Kummari authored
Output images are generated via Binman only if SPL is enabled, as there is no consumer for them otherwise. An #ifdef check ensures that when SPL is enabled, Binman generates the U-Boot ITB. If SPL is disabled, ITB generation is skipped since the ITB format is supported only by SPL. Without SPL, generating such an image is unnecessary, as it would not be used The second reason is that when a DTB is passed, the current logic cannot handle it without an additional step in U-Boot to parse an appended FIT image and enable board-specific code to select the correct DTB config. The MULTI_DTB_FIT configuration should be used if support for multiple DTBs is required, but SPL is not being used. Signed-off-by:
Prasad Kummari <prasad.kummari@amd.com> Signed-off-by:
Michal Simek <michal.simek@amd.com> Link: https://lore.kernel.org/r/7cba738ae36dacf7d1b0cfbaf13e0c9b3a0df225.1737462296.git.michal.simek@amd.com
-
Michal Simek authored
The commit e0568924 ("Kconfig: Change SYS_MALLOC_F_LEN default to 0x2000") already setup default values from board Kconfigs that's why no reason to duplicate it again. Fixes: e0568924 ("Kconfig: Change SYS_MALLOC_F_LEN default to 0x2000") Signed-off-by:
Michal Simek <michal.simek@amd.com> Link: https://lore.kernel.org/r/c3edd75b7a19d5cc205c9d5c37c2d86189ca3de6.1737380025.git.michal.simek@amd.com
-
Prasad Kummari authored
Add usb_pgood_delay to ensure proper detection of USB devices. Increase the USB power good delay on the SOM boards, as this is required for certain USB sticks otherwise, they may not be detected. Signed-off-by:
Prasad Kummari <prasad.kummari@amd.com> Link: https://lore.kernel.org/r/20250107122915.1378284-1-prasad.kummari@amd.com Signed-off-by:
Michal Simek <michal.simek@amd.com>
-
Venkatesh Yadav Abbarapu authored
Add missing prototype to fix the sparse warning, warning: no previous prototype for 'cadence_qspi_flash_reset' [-Wmissing-prototypes]. Fixes: 6d234a79 ("cadence_qspi: Refactor the flash reset functionality") Signed-off-by:
Venkatesh Yadav Abbarapu <venkatesh.abbarapu@amd.com> Link: https://lore.kernel.org/r/20250122135334.1201562-1-venkatesh.abbarapu@amd.com Signed-off-by:
Michal Simek <michal.simek@amd.com>
-
Padmarao Begari authored
If the least significant bit of the address is set to one when using the DDR protocol for data transfer then the results are indeterminate for few flash devices. To fix this the least significant bit of the address is set to zero. Signed-off-by:
Padmarao Begari <padmarao.begari@amd.com> Link: https://lore.kernel.org/r/20250106095120.800753-1-padmarao.begari@amd.com Signed-off-by:
Michal Simek <michal.simek@amd.com>
-
Venkatesh Yadav Abbarapu authored
Enable the command OPTEE which runs the basic 'hello world ta'. Signed-off-by:
Venkatesh Yadav Abbarapu <venkatesh.abbarapu@amd.com> Link: https://lore.kernel.org/r/20250117064556.673369-1-venkatesh.abbarapu@amd.com Signed-off-by:
Michal Simek <michal.simek@amd.com>
-
Venkatesh Yadav Abbarapu authored
Added support for Infineon Octal flash components on the Versal and Versal Net platforms. Signed-off-by:
Tejas Bhumkar <tejas.arvind.bhumkar@amd.com> Signed-off-by:
Venkatesh Yadav Abbarapu <venkatesh.abbarapu@amd.com> Link: https://lore.kernel.org/r/20250116051857.346921-1-venkatesh.abbarapu@amd.com Signed-off-by:
Michal Simek <michal.simek@amd.com>
-