Re: [PATCH 0/3] board: ti: k3-am65: covert last board to OF_UPSTREAM

2024-12-06 Thread Tom Rini
On Thu, 21 Nov 2024 15:17:48 -0600, Bryan Brattlof wrote: > This small series converts TI's AM65x reference board to use > CONFIG_OF_UPSTREAM and removes the unused device tree files from > arch/arm/dts. > > Because it's the last board using a AM65x without enabling OF_UPSTREAM > it allows us to

Re: [PATCH 0/3] PLL Sequencing update

2024-12-06 Thread Tom Rini
On Thu, 21 Nov 2024 17:32:50 +0530, Manorit Chawdhry wrote: > It has done a re-write of the full driver and the commits aren't split > to keep the bisectability intact. > > Boot Logs: > https://gist.github.com/manorit2001/1eaba109d722715a233244da693133d3 > > Applied to u-boot/next, thanks! -

Re: [PATCH V2] env: Switch the callback static list to Kconfig

2024-12-06 Thread Tom Rini
On Wed, 20 Nov 2024 17:01:35 +0100, Christoph Niedermaier wrote: > Switch the callback static list from the board configuration variable > CFG_ENV_CALLBACK_LIST_STATIC to Kconfig CONFIG_ENV_CALLBACK_LIST_STATIC. > > Applied to u-boot/next, thanks! -- Tom

Re: [PATCH] ram: k3-ddrss: drop debug() in timing-sensitive sequence

2024-12-06 Thread Tom Rini
On Fri, 15 Nov 2024 10:43:15 +0100, Théo Lebrun wrote: > Those debug() calls might be useful, but beware. They can cause the DDR > controller to hang if we do not run the sequence quickly enough. > > They usually are not an issue with upstream U-Boot and the default DDR > config, but they have be

Re: Applying patches to mainline (Was: Re: [PATCH v2 0/7] efi_loader: Add support for logging to a buffer)

2024-12-06 Thread Tom Rini
On Fri, Dec 06, 2024 at 04:43:47PM -0700, Simon Glass wrote: > Hi Tom, > > On Fri, 6 Dec 2024 at 13:12, Tom Rini wrote: > > > > On Fri, Dec 06, 2024 at 12:19:38PM -0700, Simon Glass wrote: > > > Hi Tom, > > > > > > On Wed, 4 Dec 2024 at 09:27, Tom Rini wrote: > > > > > > > > On Wed, Dec 04, 2024

Re: [PATCH 0/3] rpi: Tidy up booting

2024-12-06 Thread Tom Rini
On Fri, Dec 06, 2024 at 05:10:39PM -0700, Simon Glass wrote: > Hi Tom, > > On Fri, 6 Dec 2024 at 17:00, Tom Rini wrote: > > > > On Fri, Dec 06, 2024 at 04:56:31PM -0700, Simon Glass wrote: > > > Hi Tom, > > > > > > On Fri, 6 Dec 2024 at 16:52, Tom Rini wrote: > > > > > > > > On Fri, Dec 06, 2024

Re: [PATCH 0/3] rpi: Tidy up booting

2024-12-06 Thread Simon Glass
Hi Tom, On Fri, 6 Dec 2024 at 17:00, Tom Rini wrote: > > On Fri, Dec 06, 2024 at 04:56:31PM -0700, Simon Glass wrote: > > Hi Tom, > > > > On Fri, 6 Dec 2024 at 16:52, Tom Rini wrote: > > > > > > On Fri, Dec 06, 2024 at 04:41:37PM -0700, Simon Glass wrote: > > > > Hi Tom, > > > > > > > > On Fri,

Re: [PATCH 0/3] rpi: Tidy up booting

2024-12-06 Thread Tom Rini
On Fri, Dec 06, 2024 at 04:56:31PM -0700, Simon Glass wrote: > Hi Tom, > > On Fri, 6 Dec 2024 at 16:52, Tom Rini wrote: > > > > On Fri, Dec 06, 2024 at 04:41:37PM -0700, Simon Glass wrote: > > > Hi Tom, > > > > > > On Fri, 6 Dec 2024 at 12:41, Tom Rini wrote: > > > > > > > > On Fri, Dec 06, 2024

Re: [PATCH 0/3] rpi: Tidy up booting

2024-12-06 Thread Simon Glass
Hi Tom, On Fri, 6 Dec 2024 at 16:52, Tom Rini wrote: > > On Fri, Dec 06, 2024 at 04:41:37PM -0700, Simon Glass wrote: > > Hi Tom, > > > > On Fri, 6 Dec 2024 at 12:41, Tom Rini wrote: > > > > > > On Fri, Dec 06, 2024 at 12:17:49PM -0700, Simon Glass wrote: > > > > Hi Tom, > > > > > > > > On Fri,

Re: [PATCH 0/3] rpi: Tidy up booting

2024-12-06 Thread Tom Rini
On Fri, Dec 06, 2024 at 04:41:37PM -0700, Simon Glass wrote: > Hi Tom, > > On Fri, 6 Dec 2024 at 12:41, Tom Rini wrote: > > > > On Fri, Dec 06, 2024 at 12:17:49PM -0700, Simon Glass wrote: > > > Hi Tom, > > > > > > On Fri, 6 Dec 2024 at 07:08, Tom Rini wrote: > > > > > > > > On Fri, Dec 06, 2024

Re: [PATCH v2 3/8] sysinfo: Add sysinfo driver and data structure for smbios

2024-12-06 Thread Simon Glass
Hi Raymond, On Fri, 6 Dec 2024 at 08:54, Raymond Mao wrote: > > Hi Simon, > > On Fri, 6 Dec 2024 at 10:31, Simon Glass wrote: >> >> Hi Raymond, >> >> On Thu, 5 Dec 2024 at 10:28, Raymond Mao wrote: >> > >> > Hi Simon, >> > >> > On Mon, 28 Oct 2024 at 13:04, Simon Glass wrote: >> >> >> >> Hi Ra

Re: Applying patches to mainline (Was: Re: [PATCH v2 0/7] efi_loader: Add support for logging to a buffer)

2024-12-06 Thread Simon Glass
Hi Tom, On Fri, 6 Dec 2024 at 13:12, Tom Rini wrote: > > On Fri, Dec 06, 2024 at 12:19:38PM -0700, Simon Glass wrote: > > Hi Tom, > > > > On Wed, 4 Dec 2024 at 09:27, Tom Rini wrote: > > > > > > On Wed, Dec 04, 2024 at 08:13:04AM -0700, Simon Glass wrote: > > > > Hi Tom, > > > > > > > > On Tue,

Re: [PATCH 0/3] rpi: Tidy up booting

2024-12-06 Thread Simon Glass
Hi Tom, On Fri, 6 Dec 2024 at 12:41, Tom Rini wrote: > > On Fri, Dec 06, 2024 at 12:17:49PM -0700, Simon Glass wrote: > > Hi Tom, > > > > On Fri, 6 Dec 2024 at 07:08, Tom Rini wrote: > > > > > > On Fri, Dec 06, 2024 at 06:11:10AM -0700, Simon Glass wrote: > > > > > > > This series allows rpi to

[PATCH V6 2/4] arm64: imx8mp: Read values from M24C32-D write-lockable page on DHCOM i.MX8MP

2024-12-06 Thread Christoph Niedermaier
The new i.MX8M Plus DHCOM rev.200 is populated with M24C32-D EEPROM that contains an additional write-lockable page called ID page, which is populated with a structure containing ethernet MAC addresses, DH item number and DH serial number. Because the write-lockable page is not present on rev.100

[PATCH v3 00/10] SMBIOS improvements

2024-12-06 Thread Raymond Mao
Motivations for changes: Current SMBIOS library and command-line tool is not fully matching with the requirements: 1. Missing support for other mandatory types (#7, #9, #16, #17, #19). 2. Only a few platforms support SMBIOS node from the device tree. 3. Values of some fields are hardcoded in the li

[PATCH V6 4/4] board: dhelectronics: Sync env variable dh_som_serial_number with SN

2024-12-06 Thread Christoph Niedermaier
The env variable "SN" is used to store the serial number on DH electronics SoMs. New SoMs will use the variable "dh_som_serial_number". To ensure compatibility, these env variables are synchronized. This is achieved using callback functions. Signed-off-by: Christoph Niedermaier Reviewed-by: Marek

[PATCH V6 3/4] lib: hashtable: Prevent recursive calling of callback functions

2024-12-06 Thread Christoph Niedermaier
In case there are two variables which each implement env callback that performs env_set() on the other variable, the callbacks will call each other recursively until the stack runs out. Prevent such a recursion from happening. Example which triggers this behavior: static int on_foo(...) { env_set(

[PATCH V6 1/4] arm64: dts: imx8mp: Add aliases for the access to the EEPROM ID page node

2024-12-06 Thread Christoph Niedermaier
The new i.MX8M Plus DHCOM rev.200 is populated with M24C32-D EEPROM that contains an additional write-lockable page called ID page. Add aliases eeprom0wl and eeprom1wl for the access to the EEPROM ID page node. Signed-off-by: Christoph Niedermaier Reviewed-by: Marek Vasut --- Cc: "NXP i.MX U-Boo

[PATCH V6 0/4] arm64: imx8mp: Read values from M24C32-D write-lockable page on DHCOM i.MX8MP

2024-12-06 Thread Christoph Niedermaier
The new i.MX8M Plus DHCOM rev.200 is populated with M24C32-D EEPROM that contains an additional write-lockable page called ID page, which is populated with a structure containing ethernet MAC addresses, DH item number and DH serial number. This patch series prepare the device tree of the DHCOM i.M

[PATCH v3 10/10] configs: Enable sysinfo for QEMU Arm64

2024-12-06 Thread Raymond Mao
Enable sysinfo smbios by default for arm64. When SYSINFO_SMBIOS is enabled, disable QFW_SMBIOS. Signed-off-by: Raymond Mao Reviewed-by: Simon Glass --- Changes in v2 - None. Changes in v3 - add CONFIG_GENERATE_SMBIOS_TABLE_VERBOSE configs/qemu_arm64_defconfig | 3 +++ drivers/misc/Kconfig

[PATCH v3 09/10] cmd: update smbios cmd

2024-12-06 Thread Raymond Mao
Update the cmd according to the changes of the smbios library: 1. Refactor smbios cmd print functions to match the content defined by the specification. 2. Add new print functions for Type 3, 4 and 7. 3. Remove the fallback string "Not specified" from smbios_get_string, as the spec requires a

[PATCH v3 08/10] armv8: Add generic smbios information into the device tree

2024-12-06 Thread Raymond Mao
Add common smbios information that can be used by all armv8 platforms and set it as default for qemu-arm64. >From now smbios library can load values from here for those fields doesn't exist in the sysinfo driver. To run this with QEMU arm64, we need to dump the generated DTB from QEMU first, merge

[PATCH v3 07/10] armv8: Add arch-specific sysinfo platform driver

2024-12-06 Thread Raymond Mao
Add sysinfo platform driver for all armv8 platforms to retrieve hardware information on processor and cache. Signed-off-by: Raymond Mao Reviewed-by: Simon Glass --- Changes in v2 - Combine with #8(v1) patch. - Remove the handling of the common strings and values. Changes in v3 - None. arch/arm

[PATCH v3 06/10] smbios: add detailed smbios information

2024-12-06 Thread Raymond Mao
Add detailed SMBIOS information as following: 1. Missing fields in Type #3 and #4 2. Type #7 Add support to dynamic length of contained object handles and elements. As SMBIOS is a fundamental feature which is enabled for all boards, in order to avoid increasing rom size, all detailed SMBIOS infor

[PATCH v3 05/10] smbios: Refactor smbios library

2024-12-06 Thread Raymond Mao
Current smbios library does not fully match to the specification. It hardcodes values instead of exposing values from the device. It does not reserve the space to support dynamic length for contained object handles or elements and misses the handling of a few of fields. The refactoring of this pat

[PATCH v3 04/10] sysinfo: Add sysinfo driver and data structure for smbios

2024-12-06 Thread Raymond Mao
Add sysinfo driver to retrieve smbios information (Type 4 and 7). So that the smbios library can use it for getting values from the hardware platform instead of device tree. Signed-off-by: Raymond Mao --- Changes in v2 - Move the changes to smbios.c instead of creating new file. - Move the headfi

[PATCH v3 02/10] sysinfo: Add sysinfo API for accessing data area

2024-12-06 Thread Raymond Mao
Add interface for sysinfo to access a data area from the platform. This is useful to save/read a memory region of platform-specific data. Signed-off-by: Raymond Mao --- Changes in v2 - None. Changes in v3 - Use void pointer to avoid casting. drivers/sysinfo/sysinfo-uclass.c | 20 +++

[PATCH v3 03/10] test/dm: add sandbox test for sysinfo_get_data

2024-12-06 Thread Raymond Mao
Adding sysinfo_get_data into sandbox ut test dm_test_sysinfo. Signed-off-by: Raymond Mao --- Changes in v3 - Initial patch. drivers/sysinfo/sandbox.c | 19 +++ drivers/sysinfo/sandbox.h | 1 + test/dm/sysinfo.c | 6 ++ 3 files changed, 26 insertions(+) diff --git

[PATCH v3 01/10] smbios: Refactor the smbios headfile

2024-12-06 Thread Raymond Mao
Move the smbios field definitions to a separated simple headfile, which is a prerequisite to be included by dts files. Add new definitions for cache information. This patch also includes a few of code optimizations in smbios. Signed-off-by: Raymond Mao --- Changes in v2 - Initial patch. Changes i

Re: [PATCH v2 0/8] led: update LED boot/activity to new property implementation

2024-12-06 Thread Tom Rini
On Sun, 10 Nov 2024 12:50:19 +0100, Christian Marangi wrote: > This series is split in 2 part. > > While adapting the LED boot and activity code to the new property > accepted by Rob in dt-schema repository, a big BUG was discovered. > > The reason wasn't clear at start and took me some days to

[PATCH] configs: mvebu_espressobin_ultra-88f3720_defconfig: enable full bootflow functionality

2024-12-06 Thread bschnei
From: Ben Schneider This appliance has multiple devices from which it can boot. Enable full bootflow functionality so users can choose a non-default boot device. Signed-off-by: Ben Schneider --- configs/mvebu_espressobin_ultra-88f3720_defconfig | 1 + 1 file changed, 1 insertion(+) diff --gi

Re: Applying patches to mainline (Was: Re: [PATCH v2 0/7] efi_loader: Add support for logging to a buffer)

2024-12-06 Thread Tom Rini
On Fri, Dec 06, 2024 at 12:19:38PM -0700, Simon Glass wrote: > Hi Tom, > > On Wed, 4 Dec 2024 at 09:27, Tom Rini wrote: > > > > On Wed, Dec 04, 2024 at 08:13:04AM -0700, Simon Glass wrote: > > > Hi Tom, > > > > > > On Tue, 3 Dec 2024 at 18:29, Tom Rini wrote: > > > > > > > > On Mon, Dec 02, 2024

Re: [PATCH 0/2] efi_loader: efi_setup: Add efi_start_obj_list() and use it to set PXE IP address

2024-12-06 Thread Tom Rini
On Fri, Dec 06, 2024 at 02:30:31PM -0300, Adriano Cordova wrote: > The command bootefi calls efi_init_obj_list to do the efi set up > before launching an .efi payload, but efi_init_obj_list is called > only once. There are some initializations which depend on the > environment and should be done e

Re: [PATCH 2/3] fdt: Allow expanding the devicetree during relocation

2024-12-06 Thread Tom Rini
On Fri, Dec 06, 2024 at 12:18:07PM -0700, Simon Glass wrote: > Hi Tom, > > On Fri, 6 Dec 2024 at 07:13, Tom Rini wrote: > > > > On Fri, Dec 06, 2024 at 06:11:12AM -0700, Simon Glass wrote: > > > > [snip] > > > A comment in that function says that we assume there is space after the > > > existing

Re: [PATCH 0/3] rpi: Tidy up booting

2024-12-06 Thread Tom Rini
On Fri, Dec 06, 2024 at 12:17:49PM -0700, Simon Glass wrote: > Hi Tom, > > On Fri, 6 Dec 2024 at 07:08, Tom Rini wrote: > > > > On Fri, Dec 06, 2024 at 06:11:10AM -0700, Simon Glass wrote: > > > > > This series allows rpi to boot a compressed Ubuntu kernel with ~100MB > > > ramdisk, by expanding

Re: [PATCH 0/3] rpi: Tidy up booting

2024-12-06 Thread Simon Glass
Hi Tom, On Fri, 6 Dec 2024 at 07:08, Tom Rini wrote: > > On Fri, Dec 06, 2024 at 06:11:10AM -0700, Simon Glass wrote: > > > This series allows rpi to boot a compressed Ubuntu kernel with ~100MB > > ramdisk, by expanding the available space. > > > > It also tidies up some strange behaviour with th

Re: [PATCH v4 2/3] tools: binman: add 'fit, encrypt' property to pass keys directory to mkimage

2024-12-06 Thread Simon Glass
On Mon, 25 Nov 2024 at 10:47, Paul HENRYS wrote: > > mkimage can be used for both signing the FIT or encrypt its content and the > option '-k' can be used to pass a directory where both signing and encryption > keys can be retrieved. Adding 'fit,encrypt' property to the 'fit' node, leads > to > t

Re: [PATCH v2 7/7] Makefile: Drop SPL_FIT_GENERATOR support

2024-12-06 Thread Simon Glass
On Fri, 1 Nov 2024 at 03:18, Michal Simek wrote: > > From: Marek Vasut > > The SPL_FIT_GENERATOR is long superseded by binman, drop SPL_FIT_GENERATOR > support as there are no more users. > > Signed-off-by: Marek Vasut > Reviewed-by: Peter Robinson > Reviewed-by: Simon Glass > Signed-off-by: M

Re: [PATCH v4 3/3] tools: binman: Add tests for FIT with data encrypted by mkimage

2024-12-06 Thread Simon Glass
On Mon, 25 Nov 2024 at 10:47, Paul HENRYS wrote: > > Test the property 'fit,encrypt' to encrypt FIT data. > > Signed-off-by: Paul HENRYS > --- > Changes for v4: > - Update the tests to use 'fit,encrypt' > > tools/binman/ftest.py | 45 +++ > tools/binman/test/

Re: [PATCH v4 1/3] aes: Allow to store randomly generated IV in the FIT

2024-12-06 Thread Simon Glass
On Mon, 25 Nov 2024 at 10:47, Paul HENRYS wrote: > > When the initialisation vector is randomly generated, its value shall be > stored in the FIT together with the encrypted data. The changes allow to > store the IV in the FIT also in the case where the key is not stored in > the DTB but retrieved

Re: [PATCH v2 5/7] arm64: zynqmp: Generate u-boot.itb and QSPI image via binman

2024-12-06 Thread Simon Glass
On Fri, 1 Nov 2024 at 03:18, Michal Simek wrote: > > u-boot.itb has been generated via mkimage_fit_atf.sh but it is on the way > out that's why convert it's description to binman. > Compare to script binman description is not able to configure BL31 and BL32 > load/entry addresses which should be d

Re: [PATCH v2 2/7] common: binman: Calling initr_binman() when BINMAN_FDT

2024-12-06 Thread Simon Glass
On Fri, 1 Nov 2024 at 03:18, Michal Simek wrote: > > Calling empty function when BINMAN_FDT is adding +64B for nothing which is > not helping on size sensitive configurations as Xilinx mini configurations. > > Signed-off-by: Michal Simek > --- > > Changes in v2: > - new patch > > From my perspect

Re: [PATCH v2 6/7] arm64: zynqmp: Remove mkimage fit script

2024-12-06 Thread Simon Glass
On Fri, 1 Nov 2024 at 03:18, Michal Simek wrote: > > Platform has been switched to binman that's why there is no need for this > script and also Kconfig symbols. > > Signed-off-by: Michal Simek > --- > > Changes in v2: > - new patch > > arch/arm/mach-zynqmp/mkimage_fit_atf.sh | 240 -

Re: [PATCH v2 4/7] arm64: zynqmp: Add binman description for SOM

2024-12-06 Thread Simon Glass
On Fri, 1 Nov 2024 at 03:18, Michal Simek wrote: > > There is necessary to do some steps to compose boot images. These steps > were in scripts in layers for a while. That's why introduce description via > binman to simplify wiring and remove all scripting around. > This should make sure that every

Re: [PATCH v2 3/7] arm64: zynqmp: Describe empty binman node

2024-12-06 Thread Simon Glass
On Fri, 1 Nov 2024 at 03:18, Michal Simek wrote: > > For enabling binman by default there is a need to have at least empty node > present that's why create -u-boot.dtsi with empty node to cover all ZynqMP > platforms. > > Signed-off-by: Michal Simek > --- > > Changes in v2: > - new patch > > arc

Re: [PATCH 0/5] sandbox: repair compile and run-time for OF_EMBED case

2024-12-06 Thread Simon Glass
Hi Evgeny, On Mon, 2 Dec 2024 at 06:46, Evgeny Bachinin wrote: > > This patch-set repairs ability to use sandbox with CONFIG_OF_EMBED=y. > > For now, to use OF_EMBED, the following must be done > 1) sandbox64_defconfig should have: > ``` > -CONFIG_OF_LIVE=y > +CONFIG_OF_EMBED=y > ``` > >

Re: Applying patches to mainline (Was: Re: [PATCH v2 0/7] efi_loader: Add support for logging to a buffer)

2024-12-06 Thread Simon Glass
Hi Tom, On Wed, 4 Dec 2024 at 09:27, Tom Rini wrote: > > On Wed, Dec 04, 2024 at 08:13:04AM -0700, Simon Glass wrote: > > Hi Tom, > > > > On Tue, 3 Dec 2024 at 18:29, Tom Rini wrote: > > > > > > On Mon, Dec 02, 2024 at 05:21:05PM -0700, Simon Glass wrote: > > > > > > > From my side I'd like to c

Re: [PATCH 2/3] fdt: Allow expanding the devicetree during relocation

2024-12-06 Thread Simon Glass
Hi Tom, On Fri, 6 Dec 2024 at 07:13, Tom Rini wrote: > > On Fri, Dec 06, 2024 at 06:11:12AM -0700, Simon Glass wrote: > > [snip] > > A comment in that function says that we assume there is space after the > > existing fdt to use for padding, with the padding size set to > > CONFIG_SYS_FDT_PAD > >

Re: [PATCH v2 1/7] binman: Add option for pointing to separate description

2024-12-06 Thread Simon Glass
Hi Michal, On Fri, 1 Nov 2024 at 03:18, Michal Simek wrote: > > Adding binman node with target images description can be unwanted feature > but as of today there is no way to disable it. > Also on size constrained systems it is not useful to add binman description > to DTB. > Introduce BINMAN_DTB

Re: [RFC PATCH] zynqmp: Add binman description for SOM

2024-12-06 Thread Simon Glass
Hi Michal, On Mon, 4 Nov 2024 at 01:32, Michal Simek wrote: > > Hi Simon, > > On 11/2/24 17:28, Simon Glass wrote: > > Hi Michal, > > > > On Fri, 1 Nov 2024 at 14:52, Tom Rini wrote: > >> > >> On Fri, Nov 01, 2024 at 02:09:38PM +0100, Michal Simek wrote: > >>> Hi Simon, > >>> > >>> On 11/1/24 09

Re: [PATCH v2 1/1] tools: binman: etype: Allow to replace 'NAME' in node names

2024-12-06 Thread Simon Glass
Hi Paul, On Mon, 25 Nov 2024 at 10:54, Paul HENRYS wrote: > > This change allows to replace both 'SEQ' and 'NAME' keywords by respectively a > sequence number and the name of the FDT to provide more flexibility in the > node > name for the device trees included in the FIT. > > Signed-off-by: Pau

Re: [PATCH 1/2] tools: u_boot_pylib: Allow to append input directories to indir

2024-12-06 Thread Simon Glass
On Mon, 25 Nov 2024 at 11:17, Paul HENRYS wrote: > > append_input_dirs() can be used to append a list of input directories to indir > global list. > > Signed-off-by: Paul HENRYS > --- > tools/u_boot_pylib/tools.py | 16 > 1 file changed, 16 insertions(+) Reviewed-by: Simon Glas

Re: [PATCH 2/2] tools: binman: etype: fit: Append DTB directory to the list of input directories

2024-12-06 Thread Simon Glass
Hi Paul, On Mon, 25 Nov 2024 at 11:17, Paul HENRYS wrote: > > When specifying a directory containing DTBs with 'fit,fdt-list-dir', it can be > handy not to have to also specify this directory to the input directories of > binman with '-I' option and use the method tools.append_input_dirs() append

Re: [PATCH v3 0/5] Add OPP_LOW support for J7200

2024-12-06 Thread Tom Rini
On Tue, 19 Nov 2024 06:02:54 +0530, Aniket Limaye wrote: > This series adds OPP_LOW spec data in k3_avs driver and enables a config > option to select the OPP_LOW performance point. > > J7200 SOC supports OPP_LOW and OPP_NOM as two Operating Performance > Points as per (7.5 Operating Performance

Re: [PATCH 0/5] Enable AVS support for AM68, AM69 and J784S4

2024-12-06 Thread Tom Rini
On Mon, 18 Nov 2024 16:27:09 +0530, Neha Malcom Francis wrote: > This series adds AVS support for AM68 SK, AM69 SK and J784S4 EVM. > > Boot logs: > https://gist.github.com/nehamalcom/db5dbf98357ebac46f648c24ad1a17e2 > > Neha Malcom Francis (4): > arm: dts: k3-j784s4-r5: Add VTM node to R5 stag

Re: [PATCH] arm: dts: k3-am68: Enable OSPI boot

2024-12-06 Thread Tom Rini
On Tue, 19 Nov 2024 15:17:23 +0530, Udit Kumar wrote: > Enable OSPI node to allow OSPI boot on AM68 > > Applied to u-boot/next, thanks! -- Tom

Re: [PATCH] dm: gpio: Return error when pull up/down is requested but set_flags ops is not implmentated

2024-12-06 Thread Tom Rini
On Mon, 21 Oct 2024 17:04:51 +0200, Zixun LI wrote: > Currently in _dm_gpio_set_flags() when set_flags ops is not implemented > direction_output()/_input() is used, but pull up/down is not supported by > these ops. > > Applied to u-boot/next, thanks! -- Tom

Re: [PATCH] board: phytec: common: Introduce CONFIG_PHYTEC_K3_DDR_PATCH

2024-12-06 Thread Tom Rini
On Tue, 12 Nov 2024 12:40:23 -0800, Garrett Giordano wrote: > Introduce CONFIG_PHYTEC_K3_DDR_PATCH to make DDR timing patch code > optional for PHYTEC K3 boards. This allows better control over which > boards receive DDR timing patches, rather than compiling the code for > all boards with K3_DDRSS

Re: [PATCH] button: gpio: handle broken controller

2024-12-06 Thread Tom Rini
On Wed, 13 Nov 2024 05:59:24 +0100, Caleb Connolly wrote: > Avoid crashing U-Boot when the GPIO controller for a button is disabled > or failed to probe. We also need to check the priv data for each button > since even if a button fails to probe it will still be polled by the > core code. > > A

Re: [PATCH] eeprom: at24: add ST M24256E Additional Write lockable page support

2024-12-06 Thread Tom Rini
On Fri, 08 Nov 2024 19:52:26 +0100, Marek Vasut wrote: > The ST M24256E behaves as a regular M24C256, except for the E variant > which uses up another I2C address for Additional Write lockable page. > This page is 64 Bytes long and can contain additional data. Add entry > for it, so users can desc

Re: [PATCH 1/3] aspeed: Fix Kconfig logic on "DM_REGULATOR" and ASPEED_AST2500

2024-12-06 Thread Tom Rini
On Fri, 15 Nov 2024 10:53:57 -0600, Tom Rini wrote: > It is not the case that we can only pick ASPEED_AST2500 if DM_REGULATOR > is enabled, but rather choosing ASPEED_AST2500 means we must select > DM_REGULATOR. > > Applied to u-boot/next, thanks! -- Tom

Re: [PATCH v2 2/2] efi_loader: efi_net: let efi_net_set_dp properly update the device path

2024-12-06 Thread Tom Rini
On Fri, Dec 06, 2024 at 02:18:35PM -0300, Adriano Cordova wrote: > This commit fixes an use after free introduced in Commit e55a4acb54 > (" efi_loader: net: set EFI bootdevice device path to HTTP when loaded > from wget"). The logic in efi_net_set_dp is reworked so that when the > function is invo

Re: [PATCH v2 0/8] led: update LED boot/activity to new property implementation

2024-12-06 Thread Tom Rini
On Fri, Dec 06, 2024 at 06:30:00PM +0100, Christian Marangi wrote: > On Fri, Nov 22, 2024 at 08:41:13PM -0600, Tom Rini wrote: > > On Wed, Nov 13, 2024 at 09:24:59PM +0100, Christian Marangi wrote: > > > On Wed, Nov 13, 2024 at 12:00:59PM -0600, Tom Rini wrote: > > > > On Sun, Nov 10, 2024 at 12:50

Re: [PATCH v4 2/8] ram: k3-ddrss: Add k3_ddrss_ddr_bank_base_size_calc() to solve 'calculations restricted to 32 bits' issue

2024-12-06 Thread Bryan Brattlof
On December 6, 2024 thus sayeth Wadim Egorov: > Am 24.10.24 um 18:19 schrieb Bryan Brattlof: > > On October 24, 2024 thus sayeth Neha Malcom Francis: > > > Hi Bryan > > > > > > On 23/10/24 20:09, Bryan Brattlof wrote: > > > > On October 21, 2024 thus sayeth Santhosh Kumar K: > > > > > As R5 is a

Re: [PATCH 2/2] efi_loader: efi_net: let efi_net_set_dp properly update the device path

2024-12-06 Thread Adriano Córdova
El vie, 6 dic 2024 a las 11:59, Heinrich Schuchardt () escribió: > On 12/6/24 13:27, Adriano Cordova wrote: > > This commit fixes an use after free introduced in Commit e55a4acb54 > > (" efi_loader: net: set EFI bootdevice device path to HTTP when loaded > > from wget"). The logic in efi_net_set_d

[PATCH 2/2] efi_loader: efi_net: Add efi_net_start() to efi_net.c

2024-12-06 Thread Adriano Cordova
This gets called each time a payload is to get executed by bootefi. For now this only updates the PXE IP address. Signed-off-by: Adriano Cordova --- include/efi_loader.h | 1 + lib/efi_loader/efi_net.c | 31 --- lib/efi_loader/efi_setup.c | 3 +++ 3 files ch

[PATCH 1/2] efi_loader: efi_setup: Add efi_start_obj_list() to efi_setup.c

2024-12-06 Thread Adriano Cordova
The command bootefi calls efi_init_obj_list to do the efi set up before launching an .efi payload, but efi_init_obj_list is called only once. There are some initializations which depend on the environment and should be done each time a payload gets launched and not only once and can now be done in

[PATCH 0/2] efi_loader: efi_setup: Add efi_start_obj_list() and use it to set PXE IP address

2024-12-06 Thread Adriano Cordova
The command bootefi calls efi_init_obj_list to do the efi set up before launching an .efi payload, but efi_init_obj_list is called only once. There are some initializations which depend on the environment and should be done each time a payload gets launched and not only once and can now be done in

Re: [PATCH v2 0/8] led: update LED boot/activity to new property implementation

2024-12-06 Thread Christian Marangi
On Fri, Nov 22, 2024 at 08:41:13PM -0600, Tom Rini wrote: > On Wed, Nov 13, 2024 at 09:24:59PM +0100, Christian Marangi wrote: > > On Wed, Nov 13, 2024 at 12:00:59PM -0600, Tom Rini wrote: > > > On Sun, Nov 10, 2024 at 12:50:19PM +0100, Christian Marangi wrote: > > > > > > > This series is split i

[PATCH v2 2/2] efi_loader: efi_net: let efi_net_set_dp properly update the device path

2024-12-06 Thread Adriano Cordova
This commit fixes an use after free introduced in Commit e55a4acb54 (" efi_loader: net: set EFI bootdevice device path to HTTP when loaded from wget"). The logic in efi_net_set_dp is reworked so that when the function is invoked it not only changes the value of the static variable net_dp (this is h

[PATCH v2 1/2] efi_loader: Expose efi_reinstall_protocol_interface in efi_loader.h

2024-12-06 Thread Adriano Cordova
This is done so that the device path protocol interface of the network device can be changed internally by u-boot when a new bootfile gets downloaded. Signed-off-by: Adriano Cordova Reviewed-by: Heinrich Schuchardt Reviewed-by: Ilias Apalodimas --- Changes in v2: added commit message include/

[PATCH v2 0/2] efi_loader: efi_net: Fix net_dp handling

2024-12-06 Thread Adriano Cordova
Fixes commit e55a4acb54e8 ("efi_loader: net: set EFI bootdevice device path to HTTP when loaded from wget") which generates an use after free, but first it is necessary to expose efi_reinstall_protocol_interfaces in efi_loader.h, which is done in a separated patch. Adriano Cordova (2): efi_loa

Re: [PATCH] trace: add support for "trace clear"

2024-12-06 Thread Tom Rini
On Fri, Dec 06, 2024 at 11:29:16AM +0100, Jerome Forissier wrote: > Implement a "trace clear" command to delete the currently accumulated > trace data. This comes handy when someone needs to trace a particular > command. For example: > > => trace clear; dhcp; trace pause > => trace stats >

Re: [PATCH v2 1/4] board/qualcomm: introduce phone config

2024-12-06 Thread Julius Lehmann
On 04.10.24 14:46, Caleb Connolly wrote: Phones don't have keyboards! Introduce a phone-specific config fragment and associated environment file to make U-Boot more useful on these devices. This allows for navigating via the buttons and enabling various USB gadget modes or displaying info about U

Re: [PATCH v1 1/2] gpio: add PMIC_GPIO Kconfig option

2024-12-06 Thread Tom Rini
On Fri, Dec 06, 2024 at 05:40:49PM +0200, Svyatoslav Ryhel wrote: > Add more generic Kconfig option to be enabled by the PMIC drivers > which do not have dedicated GPIO node and use same phandle to refer > to both core driver and GPIO child. > > Signed-off-by: Svyatoslav Ryhel > --- > drivers/g

Re: [PATCH 1/6] Revert "spi: zynq_qspi: Add parallel memories support in QSPI driver"

2024-12-06 Thread Tom Rini
On Fri, Dec 06, 2024 at 09:46:08AM +, Abbarapu, Venkatesh wrote: > > > > -Original Message- > > From: Jon Humphreys > > Sent: Friday, December 6, 2024 10:04 AM > > To: Abbarapu, Venkatesh ; Marek Vasut > > ; Simek, Michal ; u- > > b...@lists.denx.de; Tom Rini > > Cc: Andre Przywara

Re: [PATCH v2 3/8] sysinfo: Add sysinfo driver and data structure for smbios

2024-12-06 Thread Raymond Mao
Hi Simon, On Fri, 6 Dec 2024 at 10:31, Simon Glass wrote: > Hi Raymond, > > On Thu, 5 Dec 2024 at 10:28, Raymond Mao wrote: > > > > Hi Simon, > > > > On Mon, 28 Oct 2024 at 13:04, Simon Glass wrote: > >> > >> Hi Raymond, > >> > >> On Tue, 22 Oct 2024 at 22:06, Raymond Mao > wrote: > >> > > >>

[PATCH v1 2/2] gpio: fix request of PMIC GPIO child

2024-12-06 Thread Svyatoslav Ryhel
If correct PMIC child was found it should be requested as well. Signed-off-by: Svyatoslav Ryhel --- drivers/gpio/gpio-uclass.c | 8 1 file changed, 8 insertions(+) diff --git a/drivers/gpio/gpio-uclass.c b/drivers/gpio/gpio-uclass.c index e776906fe73..e6c00c48722 100644 --- a/drivers/g

[PATCH v1 0/2] GPIO: improve and fix pmic gpios behavior

2024-12-06 Thread Svyatoslav Ryhel
First patch makes support of PMIC GPIO children with no dedicated GPIO node simpler (just add select PMIC_GPIO to PMIC GPIO driver) Second fixes getting device if correct one was found among PMIC children. Svyatoslav Ryhel (2): gpio: add PMIC_GPIO Kconfig option gpio: fix request of PMIC GPIO

[PATCH v1 1/2] gpio: add PMIC_GPIO Kconfig option

2024-12-06 Thread Svyatoslav Ryhel
Add more generic Kconfig option to be enabled by the PMIC drivers which do not have dedicated GPIO node and use same phandle to refer to both core driver and GPIO child. Signed-off-by: Svyatoslav Ryhel --- drivers/gpio/Kconfig | 8 drivers/gpio/gpio-uclass.c | 2 +- 2 files change

Re: [PATCH v2 1/2] tools: dtoc: Allow passing optional input directories

2024-12-06 Thread Simon Glass
On Mon, 25 Nov 2024 at 10:51, Paul HENRYS wrote: > > An optional list of input directories can be passed to EnsureCompiled() which > allows to pass a list of directories where input files can be searched. > > Signed-off-by: Paul HENRYS > --- > Changes for v2: > - Use 'None' instead of a list as a

Re: [PATCH v2 2/2] tools: binman: Pass a list of input directory to EnsureCompiled()

2024-12-06 Thread Simon Glass
On Mon, 25 Nov 2024 at 10:51, Paul HENRYS wrote: > > Input directories can be passed to binman using the '-I' option and those > input directories are now also passed to 'dtc' when run by binman. > > Signed-off-by: Paul HENRYS > --- > Changes for v2: > - No change > > tools/binman/control.py | 9

Re: [PATCH 1/5] sandbox: fix bloblist_finish() linker error if BLOBLIST=n

2024-12-06 Thread Simon Glass
On Mon, 2 Dec 2024 at 06:46, Evgeny Bachinin wrote: > > Having CONFIG_OF_EMBED=y && CONFIG_BLOBLIST=n leads to the link > error: > ``` > ld: /tmp/ccwtRVty.ltrans0.ltrans.o: in function `state_uninit': > arch/sandbox/cpu/state.c:508: undefined reference to `bloblist_finish' > ``` > > Fixes: 1c52fcc

Re: [PATCH 5/5] sandbox: set retval early in board_fdt_blob_setup()

2024-12-06 Thread Simon Glass
Hi Evgeny, On Mon, 2 Dec 2024 at 06:46, Evgeny Bachinin wrote: > > Bug: > nobody sets 'ret' to non-error value inside board_fdt_blob_setup() > in case, when gd->fdt_blob has been initialized before calling the > board_fdt_blob_setup() (say, due to CONFIG_OF_EMBED=y) > > Reproduced with CONFIG_OF_

Re: [PATCH 4/5] test: sandbox: fix link error with do_ut_bootm if BLOBLIST=n

2024-12-06 Thread Simon Glass
Hi Evgeny, On Mon, 2 Dec 2024 at 06:46, Evgeny Bachinin wrote: > > Having CONFIG_OF_EMBED=y && CONFIG_BLOBLIST=n leads to the link > error: > ``` > ld: /tmp/ccwtRVty.ltrans28.ltrans.o:(.data.rel+0x4e8): undefined \ > reference to `do_ut_bootm' Are you

Re: [PATCH 3/5] test: sandbox: fix link error with do_ut_bloblist if BLOBLIST=n

2024-12-06 Thread Simon Glass
On Mon, 2 Dec 2024 at 06:46, Evgeny Bachinin wrote: > > Having CONFIG_OF_EMBED=y && CONFIG_BLOBLIST=n leads to the link > error: > ``` > ld: /tmp/ccwtRVty.ltrans28.ltrans.o:(.data.rel+0x4b0): undefined \ > reference to `do_ut_bloblist' > ``` > > Fixes: 6ea5

Re: [PATCH 2/5] test: sandbox: fix invalid_use_of_IF_ENABLED_INT if BLOBLIST=n

2024-12-06 Thread Simon Glass
On Mon, 2 Dec 2024 at 06:46, Evgeny Bachinin wrote: > > Having CONFIG_OF_EMBED=y && CONFIG_BLOBLIST=n leads to the link > error: > ``` > ld: /tmp/ccRVty.ltrans40.ltrans.o: in function `lib_test_is_enabled': > test/lib/kconfig.c:24: undefined reference to \ >

Re: [PATCH v2 3/8] sysinfo: Add sysinfo driver and data structure for smbios

2024-12-06 Thread Simon Glass
Hi Raymond, On Thu, 5 Dec 2024 at 10:28, Raymond Mao wrote: > > Hi Simon, > > On Mon, 28 Oct 2024 at 13:04, Simon Glass wrote: >> >> Hi Raymond, >> >> On Tue, 22 Oct 2024 at 22:06, Raymond Mao wrote: >> > >> > Add sysinfo driver to retrieve smbios information (Type 4 and 7). >> > So that the sm

Re: [PATCH v2 2/5] lib: sha256: add feature sha256_hmac

2024-12-06 Thread Raymond Mao
Hi Philippe, On Fri, 6 Dec 2024 at 08:11, Philippe REYNES wrote: > Hi Raymond, > Le 05/12/2024 à 18:11, Raymond Mao a écrit : > > > > *This Mail comes from Outside of SoftAtHome: *Do not answer, click links > or open attachments unless you recognize the sender and know the content is > safe. > H

Re: [PATCH v1 1/1] driver: clk: tegra: init basic clocks on probe

2024-12-06 Thread Tom Rini
On Fri, Dec 06, 2024 at 05:09:19PM +0200, Svyatoslav Ryhel wrote: > пт, 6 груд. 2024 р. о 16:20 Tom Rini пише: > > > > On Fri, Dec 06, 2024 at 08:01:15AM +0200, Svyatoslav Ryhel wrote: > > > > > In case DM drivers probe earlier than board clock setup is done > > > init of basic clocks should be do

Re: [PATCH v1 1/1] driver: clk: tegra: init basic clocks on probe

2024-12-06 Thread Svyatoslav Ryhel
пт, 6 груд. 2024 р. о 16:20 Tom Rini пише: > > On Fri, Dec 06, 2024 at 08:01:15AM +0200, Svyatoslav Ryhel wrote: > > > In case DM drivers probe earlier than board clock setup is done > > init of basic clocks should be done in CAR driver probe as well. > > Add it to avoid possible clock related pro

Re: [PATCH 2/2] efi_loader: efi_net: let efi_net_set_dp properly update the device path

2024-12-06 Thread Heinrich Schuchardt
On 12/6/24 13:27, Adriano Cordova wrote: This commit fixes an use after free introduced in Commit e55a4acb54 (" efi_loader: net: set EFI bootdevice device path to HTTP when loaded from wget"). The logic in efi_net_set_dp is reworked so that when the function is invoked it not only changes the val

Re: [PATCH 1/2] efi_loader: Expose efi_reinstall_protocol_interface in efi_loader.h

2024-12-06 Thread Ilias Apalodimas
On Fri, 6 Dec 2024 at 14:27, Adriano Cordova wrote: > > Signed-off-by: Adriano Cordova > --- > include/efi_loader.h | 5 + > lib/efi_loader/efi_boottime.c | 2 +- > 2 files changed, 6 insertions(+), 1 deletion(-) > > diff --git a/include/efi_loader.h b/include/efi_loader.h > index 9

Re: [PATCH 1/1] net: disable MBEDTLS in SPL

2024-12-06 Thread Jerome Forissier
On 12/6/24 12:37, Heinrich Schuchardt wrote: > Building SPL fails with MBEDTLS enabled. > Currently we don't need it there. > > Signed-off-by: Heinrich Schuchardt > --- > include/u-boot/md5.h | 6 -- > include/u-boot/sha1.h | 5 +++-- > include/u-boot/sha256.h| 5 +++-- >

Re: [PATCH] mbedtls: remove MBEDTLS_HAVE_TIME

2024-12-06 Thread Ilias Apalodimas
Hi Jerome, On Fri, 6 Dec 2024 at 16:33, Jerome Forissier wrote: > > > > On 12/6/24 11:56, Ilias Apalodimas wrote: > > When MbedTLS TLS features were added MBEDTLS_HAVE_TIME was defined as part > > of enabling https:// support. However that pointed to the wrong function > > which could crash if it

Re: [PATCH v2 05/13] power-domain: Add refcounting

2024-12-06 Thread Miquel Raynal
Hello Simon, On 05/12/2024 at 10:56:44 -07, Simon Glass wrote: > Hi Miquel, > > On Thu, 5 Dec 2024 at 06:54, Miquel Raynal wrote: >> >> It is very surprising that such an uclass, specifically designed to >> handle resources that may be shared by different devices, is not keeping >> the count of

Re: [PATCH 1/2] efi_loader: Expose efi_reinstall_protocol_interface in efi_loader.h

2024-12-06 Thread Heinrich Schuchardt
On 12/6/24 13:27, Adriano Cordova wrote: It is preferable to have a commit message explaining why this change is made. Signed-off-by: Adriano Cordova Otherwise Reviewed-by: Heinrich Schuchardt --- include/efi_loader.h | 5 + lib/efi_loader/efi_boottime.c | 2 +- 2 files

Re: [PATCH] mbedtls: remove MBEDTLS_HAVE_TIME

2024-12-06 Thread Jerome Forissier
On 12/6/24 11:56, Ilias Apalodimas wrote: > When MbedTLS TLS features were added MBEDTLS_HAVE_TIME was defined as part > of enabling https:// support. However that pointed to the wrong function > which could crash if it received a NULL pointer. > > Looking closer that function is not really nee

Re: [PATCH v1 1/1] driver: clk: tegra: init basic clocks on probe

2024-12-06 Thread Tom Rini
On Fri, Dec 06, 2024 at 08:01:15AM +0200, Svyatoslav Ryhel wrote: > In case DM drivers probe earlier than board clock setup is done > init of basic clocks should be done in CAR driver probe as well. > Add it to avoid possible clock related problems. > > Signed-off-by: Svyatoslav Ryhel > --- > d

Re: [PATCH 0/3] rpi: Tidy up booting

2024-12-06 Thread Tom Rini
On Fri, Dec 06, 2024 at 06:11:10AM -0700, Simon Glass wrote: > This series allows rpi to boot a compressed Ubuntu kernel with ~100MB > ramdisk, by expanding the available space. > > It also tidies up some strange behaviour with the provided FDT, where a > separate pointer is maintained to it, eve

  1   2   >