Re: [PATCH] [RFC] lib: efi_loader: don't delete invalid handles

2022-09-07 Thread Heinrich Schuchardt
On 9/7/22 23:10, Simon Glass wrote: Hi Etienne, On Wed, 7 Sept 2022 at 02:20, Etienne Carriere wrote: Changes efi_delete_handle() to not free EFI handles that are not related to EFI objects. This change tries to resolved an issue seen since U-Boot v2022.07 in which EFI ExitBootService

Re: [PATCH] [RFC] lib: efi_loader: don't delete invalid handles

2022-09-07 Thread AKASHI Takahiro
On Wed, Sep 07, 2022 at 03:10:44PM -0600, Simon Glass wrote: > Hi Etienne, > > On Wed, 7 Sept 2022 at 02:20, Etienne Carriere > wrote: > > > > Changes efi_delete_handle() to not free EFI handles that are not related > > to EFI objects. > > > > This change tries to resolved an issue seen since

[PATCH 1/1] efi_selftest: supply EFI binary for ExitBootServices

2022-09-07 Thread Heinrich Schuchardt
Calling ExitBootServices() after executing 'connect -r' in the EFI shell has previously caused errors. Provide an EFI binary ebstest.efi that calls ExitBootServices() for testing. Signed-off-by: Heinrich Schuchardt --- I just need the binary currently for testing. Probably we will need

Re: [PATCH v9 10/15] FWU: Add support for the FWU Multi Bank Update feature

2022-09-07 Thread Takahiro Akashi
Hi Sughosh, On Fri, Aug 26, 2022 at 03:27:11PM +0530, Sughosh Ganu wrote: > The FWU Multi Bank Update feature supports updation of firmware images > to one of multiple sets(also called banks) of images. The firmware > images are clubbed together in banks, with the system booting images > from the

Re: [PATCH v3] spl: introduce SPL_XIP to config

2022-09-07 Thread Rick Chen
> From: Nikita Shubin > Sent: Friday, September 02, 2022 4:48 PM > To: u-boot@lists.denx.de > Cc: li...@yadro.com; Sean Anderson ; Rick Chen > ; Nikita Shubin ; Rick Jian-Zhi > Chen(陳建志) ; Leo Yu-Chi Liang(梁育齊) > ; Simon Glass ; Bin Meng > ; Ilias Apalodimas ; > Heinrich Schuchardt >

Re: [GIT PULL] please pull fsl-qoriq-2022-9-7

2022-09-07 Thread Peng Fan
On 9/8/2022 1:55 AM, Tom Rini wrote: On Wed, Sep 07, 2022 at 12:38:10PM +, Peng Fan wrote: Hi Tom, Please pull fsl-qoriq-2022-9-7 Sorry for the quick rush just after fsl-qoriq-2022-9-6: Pali's patch not in my patchwork, got missed. Sean's patch pending for sometime, I just fix

Re: [PATCH v4] tee: optee: rework TA bus scanning code

2022-09-07 Thread Ilias Apalodimas
Hi Simon, On Thu, 8 Sept 2022 at 00:11, Simon Glass wrote: > > Hi Ilias, > > On Tue, 6 Sept 2022 at 15:23, Ilias Apalodimas > wrote: > > > > Hi Simon, > > > > On Tue, Sep 06, 2022 at 03:18:28PM -0600, Simon Glass wrote: > > > Hi, > > > > > > On Tue, 6 Sept 2022 at 03:37, Ilias Apalodimas > > >

Re: [PATCH v3 6/6] boot: Call flush() before booting

2022-09-07 Thread Pali Rohár
On Wednesday 07 September 2022 15:10:54 Simon Glass wrote: > although I'm not sure why the load.c change is not in this patch too? Because I split boot and serial/load changes into separate patches as they are different logical things.

Re: [PATCH 1/3] binman: add sign option for binman

2022-09-07 Thread Simon Glass
Hi Ivan, On Tue, 6 Sept 2022 at 07:27, Ivan Mikhaylov wrote: > > On Thu, 2022-04-07 at 01:22 +0300, Alper Nebi Yasak wrote: > > On 06/04/2022 23:28, Ivan Mikhaylov wrote: > > > On Tue, 2022-04-05 at 21:54 +0300, Alper Nebi Yasak wrote: > > > > On 22/03/2022 00:43, Ivan Mikhaylov wrote: > > > > >

Re: [PATCH v3 1/6] sandbox: Add function os_flush()

2022-09-07 Thread Simon Glass
On Mon, 5 Sept 2022 at 03:31, Pali Rohár wrote: > > It flushes stdout. > > Signed-off-by: Pali Rohár > --- > arch/sandbox/cpu/os.c | 5 + > include/os.h | 8 > 2 files changed, 13 insertions(+) Reviewed-by: Simon Glass BTW this should report an error.

Re: [PATCH v3 4/6] serial: Implement serial_flush() function for console flush() fallback

2022-09-07 Thread Simon Glass
On Mon, 5 Sept 2022 at 03:31, Pali Rohár wrote: > > Like in all other console functions, implement also serial_flush() function > as a fallback int console flush() function. > > Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is > enabled. So when it is disabled then

Re: [PATCH] [RFC] lib: efi_loader: don't delete invalid handles

2022-09-07 Thread Simon Glass
Hi Etienne, On Wed, 7 Sept 2022 at 02:20, Etienne Carriere wrote: > > Changes efi_delete_handle() to not free EFI handles that are not related > to EFI objects. > > This change tries to resolved an issue seen since U-Boot v2022.07 > in which EFI ExitBootService attempts to release some EFI

Re: [PATCH v15 10/10] test: unit test for eficonfig

2022-09-07 Thread Simon Glass
Hi Masahisa, On Wed, 7 Sept 2022 at 00:13, Masahisa Kojima wrote: > > Hi Simon, > > On Wed, 7 Sept 2022 at 06:18, Simon Glass wrote: > > > > Hi, > > > > On Fri, 2 Sept 2022 at 08:22, Masahisa Kojima > > wrote: > > > > > > Provide a unit test for the eficonfig command. > > > > > >

Re: [PATCH v3 3/6] serial: Implement flush callback

2022-09-07 Thread Simon Glass
On Mon, 5 Sept 2022 at 03:31, Pali Rohár wrote: > > UART drivers have putc/puts functions which just put characters into HW > transmit queue and do not wait until all data are transmitted. > > Implement flush callback via serial driver's pending(false) callback which > waits until HW transmit all

Re: [PATCH v2] binman: bintool: remove btool_ prefix from btool names

2022-09-07 Thread Simon Glass
Hi Quentin, On Sat, 3 Sept 2022 at 11:45, Quentin Schulz wrote: > > Hi Simon, > > On September 3, 2022 7:01:14 PM GMT+02:00, Simon Glass > wrote: > >Hi Quentin, > > > >On Sat, 3 Sept 2022 at 02:48, Quentin Schulz wrote: > >> > >> Hi Simon, > >> > >> On September 2, 2022 10:00:18 PM GMT+02:00,

Re: [PATCH 03/17] net: ipv6: Add callbacks declarations to get access to IPv6 variables

2022-09-07 Thread Simon Glass
Hi Viacheslav, On Tue, 6 Sept 2022 at 09:10, Viacheslav Mitrofanov wrote: > > Set up callbacks for main IPv6 variables ip6add, serverip6, gatewayip6 > and set options to them in flag file. These variables are often set up by > users. > > Signed-off-by: Viacheslav Mitrofanov > --- >

Re: [PATCH v3 2/6] console: Implement flush() function

2022-09-07 Thread Simon Glass
Hi Pali, On Mon, 5 Sept 2022 at 03:31, Pali Rohár wrote: > > On certain places it is required to flush output print buffers to ensure > that text strings were sent to console or serial devices. For example when > printing message that U-Boot is going to boot kernel or when U-Boot is > going to

Re: [PATCH 02/17] net: ipv6: Add IPv6 build options

2022-09-07 Thread Simon Glass
On Tue, 6 Sept 2022 at 09:10, Viacheslav Mitrofanov wrote: > > Add options to Makefile and Kconfig file to build IPv6 > > Signed-off-by: Viacheslav Mitrofanov > --- > net/Kconfig | 10 ++ > net/Makefile | 1 + > 2 files changed, 11 insertions(+) > Reviewed-by: Simon Glass

Re: [PATCH v3 5/6] serial: Call flush() before changing baudrate

2022-09-07 Thread Simon Glass
On Mon, 5 Sept 2022 at 03:31, Pali Rohár wrote: > > Changing baudrate is a sensitive operation. To ensure that U-Boot messages > printed before changing baudrate are not lost, call new U-Boot console > flush() function. > > Signed-off-by: Pali Rohár > --- > Changes in v3: > * Remove support from

Re: [PATCH v3 6/6] boot: Call flush() before booting

2022-09-07 Thread Simon Glass
On Mon, 5 Sept 2022 at 03:31, Pali Rohár wrote: > > In a lot of cases kernel resets UART HW. To ensure that U-Boot messages > printed before booting the kernel are not lost, call new U-Boot console > flush() function. > > Signed-off-by: Pali Rohár > --- > Changes in v3: > * Fix commit message >

Re: [PATCH 01/17] net: ipv6: Add IPv6 basic primitives

2022-09-07 Thread Simon Glass
Hi Viacheslav, On Tue, 6 Sept 2022 at 09:10, Viacheslav Mitrofanov wrote: > > This patch is a collection of basic primitives that are prerequisite for > further IPv6 implementation. > > There are structures definition such as IPv6 header, UDP header > (for TFTP), ICMPv6 header. There are

Re: [PATCH v4] tee: optee: rework TA bus scanning code

2022-09-07 Thread Simon Glass
Hi Ilias, On Tue, 6 Sept 2022 at 15:23, Ilias Apalodimas wrote: > > Hi Simon, > > On Tue, Sep 06, 2022 at 03:18:28PM -0600, Simon Glass wrote: > > Hi, > > > > On Tue, 6 Sept 2022 at 03:37, Ilias Apalodimas > > wrote: > > > > > > Late versions of OP-TEE support a pseudo bus. TAs that behave as

Re: [PATCH] cmd: bdinfo: Enable dumping lmb data when LMB is enabled

2022-09-07 Thread Simon Glass
On Wed, 7 Sept 2022 at 01:52, Michal Simek wrote: > > The commit 9996cea75f5a ("lmb/bdinfo: dump lmb info via bdinfo") added > support for dumping LMB information as the part of bdinfo. But code itself > should be called only when LMB is enabled. > > Signed-off-by: Michal Simek > --- > >

Re: [PATCH] pinctrl: fix buffer size for pinctrl_generic_set_state_prefix()

2022-09-07 Thread Simon Glass
On Wed, 7 Sept 2022 at 05:15, Pali Rohár wrote: > > On Wednesday 07 September 2022 12:11:42 John Keeping wrote: > > This buffer has the concatenated prefix and name written into it, so it > > must be large enough to cover both strings plus the terminating NUL. > > You are right. Not sure why I

Re: Please pull u-boot-dm

2022-09-07 Thread Tom Rini
On Wed, Sep 07, 2022 at 06:32:02AM -0600, Simon Glass wrote: > Hi Tom, > > The following changes since commit 4e10c1227aa879af809b3073bf917289f23e17d7: > > Merge branch '2022-08-31-assorted-fixes' (2022-08-31 19:32:31 -0400) > > are available in the Git repository at: > >

Re: [GIT PULL] please pull fsl-qoriq-2022-9-7

2022-09-07 Thread Tom Rini
On Wed, Sep 07, 2022 at 12:38:10PM +, Peng Fan wrote: > Hi Tom, > > Please pull fsl-qoriq-2022-9-7 > > Sorry for the quick rush just after fsl-qoriq-2022-9-6: > Pali's patch not in my patchwork, got missed. > Sean's patch pending for sometime, I just fix conflict when > apply Sean's

[PATCH] confis: stm32mp15: activate DM_REGULATOR_SCMI

2022-09-07 Thread Patrick Delaunay
Activate the support of SCMI regulator to support the scmi_reg11, scmi_reg18 and scmi_usb33 regulators present in the scmi device tree of STMicroelectronics boards with stm32mp15-scmi.dtsi Fixes: 68d396bf ("ARM: dts: stm32: add SCMI version of STM32 boards (DK1/DK2/ED1/EV1)") Signed-off-by:

[PATCH 2/2] configs: mediatek: enable boot via extlinux

2022-09-07 Thread Julien STEPHAN
From: Alexandre Mergnat Enable FAT and SYSBOOT to use extlinux boot script Signed-off-by: Jerome Brunet Signed-off-by: Alexandre Mergnat Signed-off-by: Julien STEPHAN --- configs/mt8183_pumpkin_defconfig | 3 +++ configs/mt8516_pumpkin_defconfig | 6 ++ 2 files changed, 9 insertions(+)

[PATCH 1/2] configs: mediatek: define default variables

2022-09-07 Thread Julien STEPHAN
From: Jerome Brunet define some default addresses and variables to help distro boot Signed-off-by: Jerome Brunet Signed-off-by: Alexandre Mergnat Signed-off-by: Julien STEPHAN --- include/configs/mt8183.h | 5 + include/configs/mt8516.h | 5 + 2 files changed, 10 insertions(+) diff

Re: [PATCH] ARM: dts: stm32mp15: remove hwlocks from pinctrl

2022-09-07 Thread Patrick DELAUNAY
Hi, On 9/5/22 11:15, Etienne Carriere wrote: Removes hwlocks properties from stm32mp151 pinctrl node. These locks could be used for other purpose, depending on board and software configuration hence do not enforce their use to protect pinctrl devices. This patch is an alignment with Linux

Re: [PATCH] ARM: stm32: Switch DHSOM to FMC2 EBI driver

2022-09-07 Thread Patrick DELAUNAY
Hi, On 8/23/22 19:27, Marek Vasut wrote: Perform long overdue conversion of ad-hoc FMC2 EBI bus initialization to upstream FMC2 EBI driver. No functional change. Signed-off-by: Marek Vasut Cc: Patrice Chotard Cc: Patrick Delaunay --- .../dts/stm32mp15xx-dhcom-picoitx-u-boot.dtsi | 8 ---

Re: [PATCH v2] configs: stih410-b2260: Fix SYS_HZ_CLOCK value

2022-09-07 Thread Patrick DELAUNAY
Hi, On 8/25/22 09:14, Patrice Chotard wrote: SYS_HZ_CLOCK was wrongly set to 1GHz whereas it's set to 750MHz by default by bootrom. Signed-off-by: Patrice Chotard Reviewed-by: Grzegorz Szymaszek --- Changes in v2: - Replace 1MHz by 1GHz in commit description

Re: [PATCH v9 10/15] FWU: Add support for the FWU Multi Bank Update feature

2022-09-07 Thread Ilias Apalodimas
Hi Sughosh, Overall, I think the code is covering all the cases for A/B updates. Irrelevant to this patchset, but in the future I think we shopuld look into having efi_launch_capsules() call efi_update_capsule() would be cleaner. [...] I think you can get rid all of these > + >

Re: [PATCH] configs: stm32: Enable CONFIG_DM_REGULATOR for stm32f769-disco

2022-09-07 Thread Patrick DELAUNAY
Hi, On 8/24/22 15:44, Patrice Chotard wrote: Since commit 5bc6f8c2a97e("video: stm32: remove test on CONFIG_DM_REGULATOR") backlight was broken with the following message at boot: stm32-display-dsi dsi@40016c00: Warning: cannot get phy dsi supply stm32_display display-controller@40016800: panel

Re: [PATCH] ARM: dts: stm32: Fix display-timings settings for stm32f746-disco

2022-09-07 Thread Patrick DELAUNAY
Hi, On 8/24/22 15:42, Patrice Chotard wrote: Since commit ef4ce6df3289 "video: stm32: stm32_ltdc: fix data enable polarity" The panel display output wasn't functional anymore. Device tree display-timings de-active property value must be updated to 1. Signed-off-by: Patrice Chotard ---

Re: [PATCH 3/3] clk: stm32mp: handle ck_usbo_48m clock provided by USBPHYC

2022-09-07 Thread Patrick DELAUNAY
Hi, On 4/26/22 14:37, Patrick Delaunay wrote: Handle the input clock of RCC USB_PHY_48, provided by USBPHYC and named "ck_usbo_48m". Signed-off-by: Patrick Delaunay --- drivers/clk/clk_stm32mp1.c | 35 --- 1 file changed, 20 insertions(+), 15 deletions(-)

Re: [PATCH 2/3] phy: stm32-usbphyc: usbphyc is a clock provider of ck_usbo_48m clock

2022-09-07 Thread Patrick DELAUNAY
Hi, On 4/26/22 14:37, Patrick Delaunay wrote: ck_usbo_48m is generated by usbphyc PLL and used by OTG controller for Full-Speed use cases with dedicated Full-Speed transceiver. ck_usbo_48m is available as soon as the PLL is enabled. Signed-off-by: Patrick Delaunay ---

Re: [PATCH 1/3] phy: stm32-usbphyc: add counter of PLL consumer

2022-09-07 Thread Patrick DELAUNAY
Hi, On 4/26/22 14:37, Patrick Delaunay wrote: Add the counter of the PLL user n_pll_cons managed by the 2 functions stm32_usbphyc_pll_enable / stm32_usbphyc_pll_disable. This counter allow to remove the function stm32_usbphyc_is_init and it is a preliminary step for ck_usbo_48m introduction.

Re: [PATCH] board: stm32mp1: remove test on CONFIG_DM_REGULATOR

2022-09-07 Thread Patrick DELAUNAY
Hi, On 6/20/22 12:36, Patrick Delaunay wrote: The tests on CONFIG_DM_REGULATOR, added to avoid compilation issues, can now be removed, they are no more needed since the commit 16cc5ad0b439 ("power: regulator: add dummy helper"). Signed-off-by: Patrick Delaunay ---

Re: [PATCH] stm32mp: simplify the STM32MP15x package parsing code

2022-09-07 Thread Patrick DELAUNAY
Hi, On 6/20/22 09:50, Patrick Delaunay wrote: Simplify the package parsing code for STM32MP15X as package can be affected with get_cpu_package() result. Signed-off-by: Patrick Delaunay --- arch/arm/mach-stm32mp/stm32mp15x.c | 15 +++ 1 file changed, 3 insertions(+), 12

[GIT PULL] please pull fsl-qoriq-2022-9-7

2022-09-07 Thread Peng Fan
Hi Tom, Please pull fsl-qoriq-2022-9-7 Sorry for the quick rush just after fsl-qoriq-2022-9-6: Pali's patch not in my patchwork, got missed. Sean's patch pending for sometime, I just fix conflict when apply Sean's patch, so pick up. --- p1_p2_rdb_pc board

Please pull u-boot-dm

2022-09-07 Thread Simon Glass
Hi Tom, The following changes since commit 4e10c1227aa879af809b3073bf917289f23e17d7: Merge branch '2022-08-31-assorted-fixes' (2022-08-31 19:32:31 -0400) are available in the Git repository at: git://git.denx.de/u-boot-dm.git tags/dm-pull-7sep22 for you to fetch changes up to

Re: [PATCH v3 7/7] binman: bintool: bzip2: fix version function on non-Debian-based systems

2022-09-07 Thread Simon Glass
From: Quentin Schulz Upstream bzip2 1.0.x actually is stuck when running bzip2 -V and redirecting the output. This is fixed in Debian for about a decade already in https://git.launchpad.net/ubuntu/+source/bzip2/tree/debian/patches/20-legacy.patch?h=ubuntu/jammy and in bzip2 1.1.x (no release

Re: [PATCH] binman: btool: gzip: fix packer name so that binary can be found

2022-09-07 Thread Simon Glass
Hi Quentin, Am 01.09.2022 um 16:34 schrieb Quentin Schulz: > Hi Stefan, > > On 9/1/22 08:12, Stefan Herbrechtsmeier wrote: >> Hi Quentin, >> >> Am 31.08.2022 um 19:44 schrieb Simon Glass: >>> On Wed, 31 Aug 2022 at 09:55, Quentin Schulz >>> wrote: From: Quentin Schulz The

Re: [PATCH v3 1/7] binman: bintool: move version check implementation into bintool class

2022-09-07 Thread Simon Glass
From: Quentin Schulz Version checking has nothing specific to compression/decompression tools so let's move it to the Bintool class. Signed-off-by: Quentin Schulz Reviewed-by: Simon Glass --- v3: - removed superfluous version_regex assignment in BintoolPacker, - added Rb, - kept original

Re: [PATCH v3 2/7] binman: btool: lz4: use Bintool.version

2022-09-07 Thread Simon Glass
From: Quentin Schulz Bintool.version already contains everything required to get the version out of lz4 binary so let's not override it with its own implementation. Signed-off-by: Quentin Schulz Reviewed-by: Simon Glass --- v3: - added Rb, added in v2 tools/binman/btool/lz4.py | 14

Re: [PATCH v3 3/7] binman: btool: mkimage: use Bintool.version

2022-09-07 Thread Simon Glass
From: Quentin Schulz Bintool.version already contains everything required to get the version out of mkimage binary so let's not override it with its own implementation. Signed-off-by: Quentin Schulz Reviewed-by: Simon Glass --- v3: - added Rb, - removed version positional parameter for

Re: [PATCH v3 5/7] binman: btool: fiptool: use Bintool.version

2022-09-07 Thread Simon Glass
From: Quentin Schulz Bintool.version can now be passed the binary argument to return the version text, so there's no need to override it in fiptool anymore. Signed-off-by: Quentin Schulz Reviewed-by: Simon Glass --- v3: - added Rb, added in v2 tools/binman/btool/fiptool.py | 11

Re: [PATCH v3 6/7] binman: btool: futility: use Bintool.version

2022-09-07 Thread Simon Glass
From: Quentin Schulz Bintool.version can now be passed the binary argument to return the version text, so there's no need to override it in futility anymore. Signed-off-by: Quentin Schulz Reviewed-by: Simon Glass --- v3: - added Rb, added in v2 tools/binman/btool/futility.py | 13

Re: [PATCH v3 4/7] binman: bintool: parametrize args to pass to binary for returning version

2022-09-07 Thread Simon Glass
On Thu, 1 Sept 2022 at 09:52, Quentin Schulz wrote: > > From: Quentin Schulz > > The code to check the version is very similar between binaries, the most > likely only needed variables are the regex to find the version (already > supported) and the args to pass to the binary so that it prints

[PATCH] ARM: dts: stm32mp: alignment with v6.0-rc3

2022-09-07 Thread Patrick Delaunay
Device tree alignment with Linux kernel v6.0-rc3: - ARM: dts: stm32: add support for USB2514B onboard hub on stm32mp15xx-dkx - ARM: dts: stm32: Add alternate pinmux for RCC pin - ARM: dts: stm32: Add alternate pinmux for DCMI pins - ARM: dts: stm32: Add alternate pinmux for SPI2 pins - ARM: dts:

Re: [PATCH] pinctrl: fix buffer size for pinctrl_generic_set_state_prefix()

2022-09-07 Thread Pali Rohár
On Wednesday 07 September 2022 12:11:42 John Keeping wrote: > This buffer has the concatenated prefix and name written into it, so it > must be large enough to cover both strings plus the terminating NUL. You are right. Not sure why I put there sizeof("pins") (maybe old version when name was only

[PATCH] pinctrl: fix buffer size for pinctrl_generic_set_state_prefix()

2022-09-07 Thread John Keeping
This buffer has the concatenated prefix and name written into it, so it must be large enough to cover both strings plus the terminating NUL. Fixes: 92c4a95ec7 ("pinctrl: Add new function pinctrl_generic_set_state_prefix()") Signed-off-by: John Keeping --- drivers/pinctrl/pinctrl-generic.c | 2

Re: [PATCHv2 2/2] i2c: stm32f7: do not set the STOP condition on error

2022-09-07 Thread Alain Volmat
Hi, I confirm that a fix is necessary regarding this setting of the stop condition. As a matter of fact, the controller is already sending the stop condition in case of NACK so there is no need to send the stop condition. However, this fix is not enough since the nack could be detected few lines

[PATCH v2 29/45] dm: core: Drop ofnode_is_available()

2022-09-07 Thread Simon Glass
This function is also available as ofnode_is_enabled(), so use that instead. Signed-off-by: Simon Glass --- (no changes since v1) arch/arm/mach-tegra/xusb-padctl-common.c | 2 +- arch/riscv/lib/andes_plic.c | 2 +- arch/riscv/lib/smp.c | 2 +-

[PATCH v2] video: dw_mipi_dsi: fix [hv]sync active vs back porch

2022-09-07 Thread John Keeping
The wrong fields are pulled out of the timings here so the values programmed into the DSI_VID_HSA_LINES/DSI_VID_HBP_LINES and DSI_VID_VSA_LINES/DSI_VID_VBP_LINES registers are swapped. Use the right fields so that the correct values are programmed. Fixes: d4f7ea83fc ("video: add MIPI DSI host

Re: [PATCH v9 06/15] FWU: Add helper functions for accessing FWU metadata

2022-09-07 Thread Sughosh Ganu
hi Ilias, On Wed, 7 Sept 2022 at 11:29, Ilias Apalodimas wrote: > > On Fri, Aug 26, 2022 at 03:27:07PM +0530, Sughosh Ganu wrote: > > Add weak functions for getting the update index value and dfu > > alternate number needed for FWU Multi Bank update > > functionality. > > > > The current

Re: [PATCH v9 02/15] FWU: Add FWU metadata structure and driver for accessing metadata

2022-09-07 Thread Sughosh Ganu
hi Ilias, On Wed, 7 Sept 2022 at 12:15, Ilias Apalodimas wrote: > > Hi Sughosh, > > On Fri, Aug 26, 2022 at 03:27:03PM +0530, Sughosh Ganu wrote: > > In the FWU Multi Bank Update feature, the information about the > > updatable images is stored as part of the metadata, which is stored on > > a

Re: [PATCH RFC] Makefile: Rename u-boot-spl.kwb to u-boot-with-spl.kwb

2022-09-07 Thread Pali Rohár
On Wednesday 17 August 2022 23:00:43 Pali Rohár wrote: > On Wednesday 17 August 2022 12:05:20 Stefan Roese wrote: > > On 17.08.22 11:59, Pali Rohár wrote: > > > File name with pattern u-boot-spl* is used on all places except in kwb > > > image for binary with SPL-only code. Combined binary with

Re: [PATCH 2/2] Makefile: Build final mpc85xx non-SPL image in standard file u-boot.bin

2022-09-07 Thread Pali Rohár
+ Peng Fan On Sunday 21 August 2022 08:17:29 Tom Rini wrote: > On Wed, Aug 17, 2022 at 04:44:39PM -0600, Simon Glass wrote: > > Hi, > > > > On Wed, 17 Aug 2022 at 15:07, Pali Rohár wrote: > > > > > > On Wednesday 03 August 2022 13:28:01 Pali Rohár wrote: > > > > On Monday 01 August 2022

Re: [PATCH 1/2] Makefile: Fix dependency for u-boot-with-dtb.bin

2022-09-07 Thread Pali Rohár
+ Peng Fan On Monday 01 August 2022 17:42:19 Pali Rohár wrote: > Makefile uses binman to produce u-boot-with-dtb.bin target. As its input it > takes DTB file and u-boot binary without DTB, which is stored in file > u-boot-nodtb.bin. So fix target dependency. > > Signed-off-by: Pali Rohár > ---

Re: [PATCH v2 4/4] test: cmd: add test for temperature command

2022-09-07 Thread Robert Marko
On Tue, Sep 6, 2022 at 11:18 PM Simon Glass wrote: > > Hi Robert, > H > On Tue, 6 Sept 2022 at 04:50, Robert Marko wrote: > > > > On Sat, Sep 3, 2022 at 3:54 AM Tom Rini wrote: > > > > > > On Fri, Aug 12, 2022 at 08:15:50PM +0200, Robert Marko wrote: > > > > > > > Add simple test for the

[PATCH] [RFC] lib: efi_loader: don't delete invalid handles

2022-09-07 Thread Etienne Carriere
Changes efi_delete_handle() to not free EFI handles that are not related to EFI objects. This change tries to resolved an issue seen since U-Boot v2022.07 in which EFI ExitBootService attempts to release some EFI handles twice. The issue was seen booting a EFI shell that invokes 'connect -r'

[PATCH] cmd: bdinfo: Enable dumping lmb data when LMB is enabled

2022-09-07 Thread Michal Simek
The commit 9996cea75f5a ("lmb/bdinfo: dump lmb info via bdinfo") added support for dumping LMB information as the part of bdinfo. But code itself should be called only when LMB is enabled. Signed-off-by: Michal Simek --- cmd/bdinfo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

Re: [PATCH v9 02/15] FWU: Add FWU metadata structure and driver for accessing metadata

2022-09-07 Thread Ilias Apalodimas
Hi Sughosh, On Fri, Aug 26, 2022 at 03:27:03PM +0530, Sughosh Ganu wrote: > In the FWU Multi Bank Update feature, the information about the > updatable images is stored as part of the metadata, which is stored on > a dedicated partition. Add the metadata structure, and a driver model > uclass

Re: [PATCH 4/4] stm32mp: stm32prog: correctly handle OTP when SMC is not supported

2022-09-07 Thread Patrice CHOTARD
Hi Patrick On 9/6/22 18:53, Patrick Delaunay wrote: > As the SMC is only supported in SP-MIN for STM32MP15x, the associated > partition should be absent when the TA NVMEM is not available in OPT-TEE > in STM32MP13x. > > Signed-off-by: Patrick Delaunay > --- > >

Re: [PATCH 3/4] stm32mp: stm32prog: solve warning for 64bits compilation

2022-09-07 Thread Patrice CHOTARD
Hi Patrick On 9/6/22 18:53, Patrick Delaunay wrote: > Solve many compilation warning when stm32prog is activated on the aarch64. > > Signed-off-by: Patrick Delaunay > --- > > .../mach-stm32mp/cmd_stm32prog/cmd_stm32prog.c | 14 +++--- >

Re: [PATCH 2/4] stm32mp: stm32prog: change default flashlayout location to CONFIG_SYS_LOAD_ADDR

2022-09-07 Thread Patrice CHOTARD
Hi Patrick On 9/6/22 18:53, Patrick Delaunay wrote: > Change the defaut flashlayout location, hardcoded at STM32_DDR_BASE, > to CONFIG_SYS_LOAD_ADDR to avoid issue on board with reserved memory > at STM32_DDR_BASE. > > This patch changes the command behavior for STM32MP13 and STM32MP15 >

Re: [PATCH 1/4] stm32mp: stm32prog: support empty flashlayout

2022-09-07 Thread Patrice CHOTARD
Hi Patrick On 9/6/22 18:53, Patrick Delaunay wrote: > When the STM32CubeProgrammer sent a empty flashlayout.tsv > file, the command stm32prog correctly parse the file > but data->dev_nb = 0 and the stm32prog_devices_init > operations should be skipped. > > Signed-off-by: Patrick Delaunay > ---

Re: [PATCH v15 10/10] test: unit test for eficonfig

2022-09-07 Thread Masahisa Kojima
Hi Simon, On Wed, 7 Sept 2022 at 06:18, Simon Glass wrote: > > Hi, > > On Fri, 2 Sept 2022 at 08:22, Masahisa Kojima > wrote: > > > > Provide a unit test for the eficonfig command. > > > > Signed-off-by: Masahisa Kojima > > Acked-by: Ilias Apalodimas > > --- > > No update since v15 > > > >