Re: [PATCH 01/11] imx: implement get_effective_memsize

2022-11-08 Thread Pali Rohár
On Wednesday 09 November 2022 09:48:53 Peng Fan wrote: > On 11/8/2022 4:03 PM, Pali Rohár wrote: > > On Tuesday 08 November 2022 07:56:59 Peng Fan wrote: > > > > Subject: Re: [PATCH 01/11] imx: implement get_effective_memsize > > > > > > > > On Tuesday 08 November 2022 09:38:01 Peng Fan wrote: >

Re: [PATCH 1/2] arm: mediatek: add mt8195 SOC support

2022-11-08 Thread Macpaul Lin
On 11/9/22 10:07, Chunfeng Yun (云春峰) wrote: On Tue, 2022-11-08 at 11:21 +0800, Macpaul Lin wrote: From: Fabien Parent The MediaTek MT8195 is a ARM64-based SoC with a quad-core Cortex-A73 and a quad-core Cortex-A53. It is including UART, SPI, USB3.0 device and hosts, SD and MMC cards, UFS,

Re: [PATCH 1/2] arm: mediatek: add mt8195 SOC support

2022-11-08 Thread Macpaul Lin
On 11/8/22 15:57, Pali Rohár wrote: Hello! I'm not mediatek maintainer and if this patch series is not something important for me which should I review then please do not send me lot of these emails... As I would have time to review stuff which are important. I'm so sorry for bothering you

Re: [PATCH v4 2/3] rockpi4: board: Add firmware image information for capsule updates

2022-11-08 Thread Sughosh Ganu
On Wed, 9 Nov 2022 at 10:52, AKASHI Takahiro wrote: > > On Tue, Nov 08, 2022 at 12:53:27PM +0530, Sughosh Ganu wrote: > > Add information that will be needed for enabling the UEFI capsule > > update feature on the RockPi4 boards. With the feature enabled, it > > would be possible to update the

Re: [PATCH v4 2/3] rockpi4: board: Add firmware image information for capsule updates

2022-11-08 Thread AKASHI Takahiro
On Tue, Nov 08, 2022 at 12:53:27PM +0530, Sughosh Ganu wrote: > Add information that will be needed for enabling the UEFI capsule > update feature on the RockPi4 boards. With the feature enabled, it > would be possible to update the idbloader and u-boot.itb images on the > RockPi4B and RockPi4C

[PATCH v7 5/5] eficonfig: add "Show Signature Database" menu entry

2022-11-08 Thread Masahisa Kojima
This commit adds the menu-driven interface to show the signature list content. Signed-off-by: Masahisa Kojima --- Changes in v7: - remove delete signature list feature user can clear the signature database with signed null key - rename function name to avoid confusion - update commit message

[PATCH v7 4/5] eficonfig: add UEFI Secure Boot Key enrollment interface

2022-11-08 Thread Masahisa Kojima
This commit adds the menu-driven UEFI Secure Boot Key enrollment interface. User can enroll PK, KEK, db and dbx by selecting file. Only the signed EFI Signature List(s) with an authenticated header, typically '.auth' file, is accepted. To clear the PK, KEK, db and dbx, user needs to enroll the

[PATCH v7 3/5] eficonfig: refactor change boot order implementation

2022-11-08 Thread Masahisa Kojima
All the eficonfig menus other than "Change Boot Order" use 'eficonfig_entry' structure for each menu entry. This commit refactors change boot order implementation to use 'eficonfig_entry' structure same as other menus to have consistent menu handling. This commit also simplifies the data->active

[PATCH v7 2/5] eficonfig: expose append entry function

2022-11-08 Thread Masahisa Kojima
Following commits are adding support for UEFI variable management via the eficonfig menu. Those functions needs to use append_entry() and append_quit_entry() to construct the menu, so move them out of their static declarations. Signed-off-by: Masahisa Kojima Reviewed-by: Ilias Apalodimas ---

[PATCH v7 1/5] eficonfig: refactor file selection handling

2022-11-08 Thread Masahisa Kojima
eficonfig_select_file_handler() is commonly used to select the file. eficonfig_display_select_file_option() adds an additional menu to clear the selected file. eficonfig_display_select_file_option() is not always necessary for the file selection process, so it must be outside of

[PATCH v7 0/5] eficonfig: add UEFI Secure Boot key maintenance interface

2022-11-08 Thread Masahisa Kojima
This series adds the UEFI Secure Boot key maintenance interface to the eficonfig command. User can enroll PK, KEK, db and dbx. Source code can be cloned with: $ git clone https://git.linaro.org/people/masahisa.kojima/u-boot.git -b kojima/eficonfig_sbkey_v7 [Major Changes] - only accept .auth

Re: [PATCH v6 0/5] eficonfig: add UEFI Secure Boot key maintenance interface

2022-11-08 Thread Masahisa Kojima
Hi, I intended to send v7, but I'm mistaken to send an older version. Please ignore this series, I will send v7 soon. Sorry for the spam. Regards, Masahisa Kojima On Wed, 9 Nov 2022 at 12:27, Masahisa Kojima wrote: > > This series adds the UEFI Secure Boot key maintenance interface > to the

[PATCH v6 4/5] eficonfig: add UEFI Secure Boot Key enrollment interface

2022-11-08 Thread Masahisa Kojima
This commit adds the menu-driven UEFI Secure Boot Key enrollment interface. User can enroll the PK, KEK, db and dbx by selecting EFI Signature Lists file. After the PK is enrolled, UEFI Secure Boot is enabled and EFI Signature Lists file must be signed by KEK or PK. Signed-off-by: Masahisa Kojima

[PATCH v6 3/5] eficonfig: refactor change boot order implementation

2022-11-08 Thread Masahisa Kojima
This commit refactors change boot order implementation to use 'eficonfig_entry' structure. Signed-off-by: Masahisa Kojima --- No update since v5 Changes in v5: - remove direct access mode newly created in v4 cmd/eficonfig.c | 129 +--- 1 file

[PATCH v6 2/5] eficonfig: expose append entry function

2022-11-08 Thread Masahisa Kojima
This commit exposes the eficonfig menu entry append function. Signed-off-by: Masahisa Kojima --- No change since v2 newly created in v2 cmd/eficonfig.c | 32 +--- include/efi_config.h | 5 + 2 files changed, 22 insertions(+), 15 deletions(-) diff --git

[PATCH v6 0/5] eficonfig: add UEFI Secure Boot key maintenance interface

2022-11-08 Thread Masahisa Kojima
This series adds the UEFI Secure Boot key maintenance interface to the eficonfig command. User can enroll and delete the PK, KEK, db and dbx. Source code can be cloned with: $ git clone https://git.linaro.org/people/masahisa.kojima/u-boot.git -b kojima/eficonfig_sbkey_v6 Masahisa Kojima (5):

[PATCH v6 1/5] eficonfig: refactor eficonfig_select_file_handler()

2022-11-08 Thread Masahisa Kojima
eficonfig_select_file_handler() is commonly used to select the file. eficonfig_display_select_file_option() intends to add the additional menu mainly to clear the selected file information. eficonfig_display_select_file_option() is not necessary for the file selection process, so it should be

Re: [PATCH v20 2/4] net: Add wget application

2022-11-08 Thread Ying-Chun Liu (PaulLiu)
On 2022/11/9 05:03, Sean Anderson wrote: On 11/8/22 01:17, Ying-Chun Liu (PaulLiu) wrote: From: "Ying-Chun Liu (PaulLiu)" This commit adds a simple wget command that can download files from http server. The command syntax is wget ${loadaddr} Signed-off-by: Duncan Hare Signed-off-by:

Re: [PATCH 1/2] arm: mediatek: add mt8195 SOC support

2022-11-08 Thread 云春峰
On Tue, 2022-11-08 at 11:21 +0800, Macpaul Lin wrote: > From: Fabien Parent > > The MediaTek MT8195 is a ARM64-based SoC with a quad-core Cortex-A73 > and > a quad-core Cortex-A53. It is including UART, SPI, USB3.0 device and > hosts, > SD and MMC cards, UFS, PWM, I2C, I2S, S/PDIF, and several

Re: [PATCH 01/11] imx: implement get_effective_memsize

2022-11-08 Thread Peng Fan
On 11/8/2022 4:03 PM, Pali Rohár wrote: On Tuesday 08 November 2022 07:56:59 Peng Fan wrote: Subject: Re: [PATCH 01/11] imx: implement get_effective_memsize On Tuesday 08 November 2022 09:38:01 Peng Fan wrote: On 11/7/2022 3:55 PM, Pali Rohár wrote: On Monday 07 November 2022 16:00:06

Re: [PATCH] dfu: bounds check USB upload and download sizes

2022-11-08 Thread Sultan Khan
Hi Fabio, Ah, sorry I missed that. This was on my todo list to patch as when I looked last week I didn’t see any patch for it. That patch you linked should also work to solve the issue. Best regards, Sultan Qasim Khan > On Nov 8, 2022, at 7:56 PM, Fabio Estevam wrote: > > Hi Sultan, > > On

Re: [PATCH] dfu: bounds check USB upload and download sizes

2022-11-08 Thread Fabio Estevam
Hi Sultan, On Tue, Nov 8, 2022 at 9:22 PM Sultan Qasim Khan wrote: > > Also verify transfer directions match what is expected for the operation > type. Addresses memory corruption and disclosure vulnerability > CVE-2022-2347. > > Signed-off-by: Sultan Qasim Khan There was a submission already

[PATCH] dfu: bounds check USB upload and download sizes

2022-11-08 Thread Sultan Qasim Khan
Also verify transfer directions match what is expected for the operation type. Addresses memory corruption and disclosure vulnerability CVE-2022-2347. Signed-off-by: Sultan Qasim Khan --- drivers/usb/gadget/f_dfu.c | 17 - 1 file changed, 16 insertions(+), 1 deletion(-) diff

Re: [PATCH v2 0/8] imx8: switch missing boards to binman

2022-11-08 Thread Fabio Estevam
Hi Oliver and Stefano, On Tue, Nov 8, 2022 at 1:43 PM Stefano Babic wrote: > I have tried to merge the series, but I get build errors, see: > > https://source.denx.de/u-boot/custodians/u-boot-imx/-/jobs/519510 > > Could you take a look ? One problem I noticed is the missing CONFIG_TEXT_BASE

Re: [PATCH 0/8] Introduce initial TI's am62a support

2022-11-08 Thread Bryan Brattlof
On November 4, 2022 thus sayeth Andrew Davis: > On 11/4/22 8:08 AM, Tom Rini wrote: > > On Fri, Nov 04, 2022 at 11:49:39AM +, Peter Robinson wrote: > > > Hi Bryan, > > > > > > > This series will introduce basic support (SD and UART) support for Texas > > > > Instruments AM62Ax SK EVM. > > >

Re: [PATCH 1/8] arm: dts: introduce am62a7 dtbs from linux kernel

2022-11-08 Thread Bryan Brattlof
On November 4, 2022 thus sayeth Tom Rini: > On Thu, Nov 03, 2022 at 07:13:51PM -0500, Bryan Brattlof wrote: > > > Introduce the basic am62a7 SoC dtbs from the linux kernel along with the > > new am62a specific pinmux definition that we will use to generate the > > dtbs for the u-boot-spl and

Re: [PATCH v20 2/4] net: Add wget application

2022-11-08 Thread Sean Anderson
On 11/8/22 01:17, Ying-Chun Liu (PaulLiu) wrote: > From: "Ying-Chun Liu (PaulLiu)" > > This commit adds a simple wget command that can download files > from http server. > > The command syntax is > wget ${loadaddr} > > Signed-off-by: Duncan Hare > Signed-off-by: Ying-Chun Liu (PaulLiu) >

Re: [PATCH v20 3/4] doc: cmd: wget: add documentation

2022-11-08 Thread Simon Glass
On Mon, 7 Nov 2022 at 23:17, Ying-Chun Liu (PaulLiu) wrote: > > From: "Ying-Chun Liu (PaulLiu)" > > Add documentation for the wget command. > > Signed-off-by: Ying-Chun Liu (PaulLiu) > Cc: Christian Gmeiner > Cc: Joe Hershberger > Cc: Michal Simek > Cc: Ramon Fried > Cc: Simon Glass > ---

Re: [PATCH v20 4/4] test: cmd: add test for wget command.

2022-11-08 Thread Simon Glass
On Mon, 7 Nov 2022 at 23:17, Ying-Chun Liu (PaulLiu) wrote: > > From: "Ying-Chun Liu (PaulLiu)" > > Simulate a TCP HTTP server's response for testing wget command. > > Signed-off-by: Ying-Chun Liu (PaulLiu) > Cc: Christian Gmeiner > Cc: Joe Hershberger > Cc: Michal Simek > Cc: Ramon Fried >

Re: [RFC PATCH v5 09/24] cli: Add menu for hush parser

2022-11-08 Thread Simon Glass
Hi, On Tue, 8 Nov 2022 at 08:21, Tom Rini wrote: > > On Mon, Nov 07, 2022 at 08:28:42AM -0700, Simon Glass wrote: > > Hi Patrick, > > > > On Mon, 7 Nov 2022 at 05:32, Patrick DELAUNAY > > wrote: > > > > > > Hi, > > > > > > On 11/1/22 20:20, Francis Laniel wrote: > > > > For the moment, the menu

Re: Changing eMMC boot partition size

2022-11-08 Thread Tom Rini
On Tue, Nov 08, 2022 at 06:34:18PM +0100, Philip Oberfichtner wrote: > Hi everybody, > > I have a question regarding changing the eMMC boot partition size. > According the the JEDEC eMMC spec it is read-only (BOOT_SIZE_MULT > register). > > But we still have mmc_boot_partition_size_change() in >

Changing eMMC boot partition size

2022-11-08 Thread Philip Oberfichtner
Hi everybody, I have a question regarding changing the eMMC boot partition size. According the the JEDEC eMMC spec it is read-only (BOOT_SIZE_MULT register). But we still have mmc_boot_partition_size_change() in drivers/mmc/mmc_boot.c. It contains the comment /* Only use this command for raw

Re: [PATCH v4] schemas: Add schema for U-Boot driver model 'phase tags'

2022-11-08 Thread Rob Herring
On Tue, Nov 1, 2022 at 10:13 PM Simon Glass wrote: > > U-Boot has some particular challenges with device tree and devices: > > - U-Boot has multiple build phases, such as a Secondary Program Loader > (SPL) phase which typically runs in a pre-SDRAM environment where code > and data space are

Re: [PATCH v4 1/1] u-boot-initial-env: rework make target

2022-11-08 Thread Pali Rohár
On Tuesday 08 November 2022 09:52:22 Max Krummenacher wrote: > From: Max Krummenacher > > With LTO enabled the U-Boot initial environment is no longer stored > in an easy accessible section in env/common.o. I.e. the section name > changes from build to build, its content maybe compressed and it

Re: Please pull u-boot-dm

2022-11-08 Thread Tom Rini
On Tue, Nov 08, 2022 at 07:44:29AM -0700, Simon Glass wrote: > Hi Tom, > > https://source.denx.de/u-boot/custodians/u-boot-dm/-/pipelines/14049 > > > The following changes since commit 88bd8ee106591eb900561715c44ad04441afc0e3: > > Prepare v2023.01-rc1 (2022-11-07 15:27:03 -0500) > > are

[PATCH V2 3/4] configs: imx8mn_beacon: Enable SPL_DM_PMIC_BD71837

2022-11-08 Thread sbabic
> To properly operate the Nano with LPDDR4 at 1.6GHz, the > voltage needs to be adjusted before DDR is initialized. > Enable the PMIC in SPL to do this. > Signed-off-by: Adam Ford > Reviewed-by: Fabio Estevam > Reviewed-by: Peng Fan > diff --git a/configs/imx8mn_beacon_2g_defconfig >

[PATCH] mx6cuboxi: migrate to DM_SERIAL

2022-11-08 Thread sbabic
> Add the needed DT overrides to enable UART in SPL. > Cc: Fabio Estevam > Signed-off-by: Baruch Siach > Tested-by: Tom Rini > Reviewed-by: Fabio Estevam Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic --

[PATCH v5 5/5] arm: imx8mp: Initial MSC SM2S iMX8MP support

2022-11-08 Thread sbabic
> Add support for the MSC SM2S-IMX8PLUS SMARC Module. Tested in conjunction > with the MSC SM2-MB-EP1 Mini-ITX Carrier Board. > Signed-off-by: Martyn Welch Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic --

[PATCH] ARM: mx7: psci: fix suspend/resume e10133 workaround

2022-11-08 Thread sbabic
> The e10133 workaround was broken in two places: > - The code intended to temporarily mask all interrupts in GPC_IMRx_CORE0. > While the old register values were saved, the actual masking was > missing. > - imx_udelay() expects the system counter to run at its base frequency, > but the

[PATCH v5 2/5] ARM: imx: imx8mp: Enable support for i2c5 and i2c6 on i.MX8MP

2022-11-08 Thread sbabic
> The i.MX8MP SoC contains 2 more i2c buses. Add support for the > configuration of these buses. > Signed-off-by: Martyn Welch Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DENX Software Engineering

Re: [PATCH v2 0/8] imx8: switch missing boards to binman

2022-11-08 Thread Stefano Babic
Hi Fabio, Oliver, On 04.11.22 17:31, Fabio Estevam wrote: Hi Oliver, On Fri, Nov 4, 2022 at 12:19 PM Oliver Graute wrote: This patchsets switches the remaining imx8 boards to binman. Oliver Graute (8): imx: imx8qm-rom7720: switch to binman imx: imx8qm: cgtqmx8: switch to binman

[PATCH v5 4/5] drivers: power: pmic: Enable use of rn5t567 PMIC in SPL

2022-11-08 Thread sbabic
> From: Martyn Welch > The support added later in this series tweaks the PMIC voltages in the > SPL. Enable support for the rn5t567 in SPL builds to allow this to be done > cleanly. > Signed-off-by: Martyn Welch > Reviewed-by: Simon Glass > Reviewed-by: Jaehoon Chung Applied to u-boot-imx,

[PATCH v5 1/8] vf610: synchronise device tree with linux

2022-11-08 Thread sbabic
> From: Marcel Ziswiler > Synchronise device tree with linux v6.1-rc3. > Signed-off-by: Marcel Ziswiler Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DENX Software Engineering GmbH, Managing

[PATCH] configs: imx8m{m,n,p}_venice: disable autoload

2022-11-08 Thread sbabic
> disable network autoload > Signed-off-by: Tim Harvey Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office:

[PATCH v5 8/8] imx8mm: synchronise device tree with linux

2022-11-08 Thread sbabic
> From: Marcel Ziswiler > Synchronise device tree with linux v6.1-rc3. > Signed-off-by: Marcel Ziswiler > Tested-By: Tim Harvey #imx8m{m,n,p}-venice-* Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- =

[PATCH v2] configs: imx8m: Enable CONFIG_ARMV8_CRYPTO support

2022-11-08 Thread sbabic
> This enables armv8 crypto extension usage for SHA1/SHA256. > Which speed up sha1/sha256 operations, about 10x faster with > a imx8mm evk for a 20MiB kernel hash verification (12ms vs 165ms). > Signed-off-by: Loic Poulain > Reviewed-by: Fabio Estevam Applied to u-boot-imx, master, thanks !

[PATCH v5 4/8] imx8ulp: synchronise device tree with linux

2022-11-08 Thread sbabic
> From: Marcel Ziswiler > Synchronise device tree with linux v6.1-rc3. > Signed-off-by: Marcel Ziswiler Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DENX Software Engineering GmbH, Managing

[PATCH] board: gateworks: venice: remove redundance adjustment of thermal trip points

2022-11-08 Thread sbabic
> commit 0543a1ed2787 ("imx8m: fixup thermal trips") moved updating the > thermal trip points to all IMX8M so we can remove it from our board > specific dt config. > Signed-off-by: Tim Harvey Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic --

[PATCH 2/3] imx: imx8mm-beacon: Enable USB booting via SDP

2022-11-08 Thread sbabic
> In order to boot over USB, the device tree needs to enable > a few extra nodes in SPL. Since the USB driver has the > ability to detect host/device, the dr_mode can be removed > from the device tree since it needs to act as a device when > booting and OTG is the default mode. Add USB boot

[PATCH v5 3/5] drivers: power: pmic: Add support for rn5t568 PMIC

2022-11-08 Thread sbabic
> Add support for the rn5t568 PMIC to the rn5t567 driver. > Signed-off-by: Martyn Welch > Reviewed-by: Jaehoon Chung Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DENX Software Engineering GmbH,

[PATCH V2 4/4] imx: imx8mn-beacon: Fix out of spec voltage

2022-11-08 Thread sbabic
> The DDR is configured for LPDDR4 running at 1.6GHz which requires > the voltage on the PMIC to rise a bit before initializing LPDDR4 > or it will be running out of spec. > Signed-off-by: Adam Ford > Reviewed-by: Fabio Estevam > Reviewed-by: Peng Fan > diff --git a/board/beacon/imx8mn/spl.c

[PATCH v5 3/8] imxrt1050: synchronise device tree with linux

2022-11-08 Thread sbabic
> From: Marcel Ziswiler > Synchronise device tree with linux v6.1-rc3. > Note: Nowadays, the intent is for them regular device trees to just be > synchronised from them Linux kernel device trees and any and all U-Boot > specific changes need to go into the -u-boot.dtsi device tree include > files

[PATCH v5 2/8] imxrt1020: migrate to build system included -u-boot.dtsi

2022-11-08 Thread sbabic
> From: Marcel Ziswiler > Migrate to using automatic build system included -u-boot.dtsi device > tree include files. > Signed-off-by: Marcel Ziswiler > Reviewed-by: Giulio Benetti > Tested-by: Giulio Benetti Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic --

[PATCH v5 6/8] imx8mp: synchronise device tree with linux

2022-11-08 Thread sbabic
> From: Marcel Ziswiler > Synchronise device tree with linux v6.1-rc3. > Signed-off-by: Marcel Ziswiler > Tested-By: Tim Harvey #imx8m{m,n,p}-venice-* Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- =

[PATCH] configs: imx8mn_venice: fix include header protection

2022-11-08 Thread sbabic
> Fix typo in the include header protection. > Signed-off-by: Tim Harvey Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235

[PATCH V2 1/4] configs: imx8mn_beacon: Re-align memory to standard imx8mn settings

2022-11-08 Thread sbabic
> The imx8mn_beacon board does not use the same memory map as the reference > design from NXP or other imx8mn boards. As such, memory is more limited > in SPL. > Moving SPL_BSS_START_ADDR and SPL_STACK to default locations increases > the amount of available meory for the SPL stack. Doing this

[PATCH V2 2/4] regulator: bd718x7: Only bind children when PMIC_CHILDREN is enabled

2022-11-08 Thread sbabic
> If the bd718x7 is required, but PMIC_CHILDREN is disabled, this > driver throws a compile error. Fix this by putting the function > to bind children into an if-statement checking for PMIC_CHILDREN. > Allowing PMIC_CHILDREN to be disabled in SPL saves some space and > still permits some

[PATCH] imx: imx8m{m,n,p}_venice: migrate to CONFIG_EXTRA_ENV_TEXT

2022-11-08 Thread sbabic
> Move the majority of the environment from the board headers to > a separate text file. > Signed-off-by: Tim Harvey Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DENX Software Engineering GmbH,

[PATCH] ARM: imx: Add version variable to DHSOM

2022-11-08 Thread sbabic
> Enable insertion of version variable into U-Boot environment on DHSOM, > to make it possible to check U-Boot version e.g. in U-Boot scripts. > Signed-off-by: Marek Vasut Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic --

[PATCH 3/3] imx: imx8mm-beacon: Move Environment to eMMC partition 2

2022-11-08 Thread sbabic
> The downstream U-Boot distributed by Beacon stores the environment > in the eMMC and the end of partition 2. This allow the environment > to stay on the SOM regardless of the boot source. > Signed-off-by: Adam Ford > Reviewed-by: Fabio Estevam > diff --git a/configs/imx8mm_beacon_defconfig

[PATCH v5 5/8] imx8mq: synchronise device tree with linux

2022-11-08 Thread sbabic
> From: Marcel Ziswiler > Synchronise device tree with linux v6.1-rc3. > Signed-off-by: Marcel Ziswiler Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DENX Software Engineering GmbH, Managing

[PATCH v5 1/5] imx8m: USDHC3 base address definition for i.MX8MP

2022-11-08 Thread sbabic
> The i.MX8MP also has USDHC3, allow access to the relvant base address > definition. > Signed-off-by: Martyn Welch Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DENX Software Engineering GmbH,

[PATCH 1/3] imx: imx8mm_beacon: Eliminate a few extras to free up SPL space

2022-11-08 Thread sbabic
> There are a few functions which are not essential for use in > SPL, but they take up enough space to make other preferred > features not fit. Remove the extras. > Signed-off-by: Adam Ford > Reviewed-by: Fabio Estevam > diff --git a/board/beacon/imx8mm/spl.c b/board/beacon/imx8mm/spl.c > index

[PATCH] configs: imx8mn_venice.h: remove unused ifdef

2022-11-08 Thread sbabic
> remove unused ifdef left behind after commit ca3369df71d8 > ("configs: drop CONFIG_SPL_ABORT_ON_RAW_IMAGE") > Signed-off-by: Tim Harvey Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DENX Software

[PATCH] configs: imx8m{m, n}_venice: remove unneeded CONFIG_FEC_MXC_PHYADDR

2022-11-08 Thread sbabic
> The IMX8M based Venice boards all have device-tree fec nodes that > use proper dt with a phy-handle pointing to a phy with reg assigned > to the proper phy address. > There is no need to keep using the CONFIG_FEC_MXC_PHYADDR hack when > a proper dt is used - remove it. > This was previously done

[PATCH v5 7/8] imx8mn: synchronise device tree with linux

2022-11-08 Thread sbabic
> From: Marcel Ziswiler > Synchronise device tree with linux v6.1-rc3. > Signed-off-by: Marcel Ziswiler > Tested-By: Tim Harvey #imx8m{m,n,p}-venice-* Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- =

Re: [PATCH] msc_sm2s_imx8mp: Convert to CONFIG_TEXT_BASE

2022-11-08 Thread Martyn Welch
On Tue, 2022-11-08 at 15:50 +0100, Stefano Babic wrote: > Hi Fabio, > > On 08.11.22 15:42, Fabio Estevam wrote: > > From: Fabio Estevam > > > > The conversion to CONFIG_TEXT_BASE was missed here. > > > > Convert it to fix a build error in CI. > > > > Signed-off-by: Fabio Estevam > > --- > >

Re: [PATCH 1/2] mach-snapdragon/mach-ipq40xx: fix, merge and refactoring

2022-11-08 Thread Tom Rini
On Tue, Nov 08, 2022 at 04:23:16PM +0100, Robert Marko wrote: > On Tue, Nov 8, 2022 at 4:20 PM Tom Rini wrote: > > > > On Sun, Nov 06, 2022 at 02:52:56AM +0100, Andrey VOLKOV wrote: > > > Hi Robert, Tom, > > > > > > Updated patches are following, could you review/accept them? > > > > > > Le

Re: [PATCH v2 2/2] ipq40xx/snapdragon: Merge the two, more than 90% overlapping Qualcomm's Snapdrgon based arches, into one: "mach-snapdragon".

2022-11-08 Thread Robert Marko
On Sun, Nov 6, 2022 at 2:53 AM Andrey VOLKOV wrote: > > Signed-off-by: Andrey VOLKOV > --- > arch/arm/Kconfig | 19 +- > arch/arm/Makefile | 1 - > arch/arm/mach-ipq40xx/Kconfig | 15 -- >

Re: [PATCH 1/2] mach-snapdragon/mach-ipq40xx: fix, merge and refactoring

2022-11-08 Thread Robert Marko
On Tue, Nov 8, 2022 at 4:20 PM Tom Rini wrote: > > On Sun, Nov 06, 2022 at 02:52:56AM +0100, Andrey VOLKOV wrote: > > Hi Robert, Tom, > > > > Updated patches are following, could you review/accept them? > > > > Le 04/11/2022 à 12:05, Robert Marko a écrit : > > > On Tue, Oct 25, 2022 at 3:31 AM

Re: [RFC PATCH v5 09/24] cli: Add menu for hush parser

2022-11-08 Thread Tom Rini
On Mon, Nov 07, 2022 at 08:28:42AM -0700, Simon Glass wrote: > Hi Patrick, > > On Mon, 7 Nov 2022 at 05:32, Patrick DELAUNAY > wrote: > > > > Hi, > > > > On 11/1/22 20:20, Francis Laniel wrote: > > > For the moment, the menu contains only entry: HUSH_OLD_PARSER which is the > > > default. > > >

Re: [PATCH 1/2] mach-snapdragon/mach-ipq40xx: fix, merge and refactoring

2022-11-08 Thread Tom Rini
On Sun, Nov 06, 2022 at 02:52:56AM +0100, Andrey VOLKOV wrote: > Hi Robert, Tom, > > Updated patches are following, could you review/accept them? > > Le 04/11/2022 à 12:05, Robert Marko a écrit : > > On Tue, Oct 25, 2022 at 3:31 AM Andrey Volkov wrote: > >> SoC: qcom: Add missing Qualcomm's

Re: [PATCH 1/1] riscv: clarify meaning of CONFIG_SBI_V02

2022-11-08 Thread Bin Meng
On Tue, Nov 8, 2022 at 11:13 PM Heinrich Schuchardt wrote: > > On 11/8/22 16:05, Bin Meng wrote: > > Hi Heinrich, > > > > On Tue, Nov 8, 2022 at 10:53 PM Heinrich Schuchardt > > wrote: > >> > >> Describe that CONFIG_SBI_V02=y does not mean SBI specification v0.2 > >> but v0.2 or later. > >> > >>

Re: [PATCH 1/1] riscv: clarify meaning of CONFIG_SBI_V02

2022-11-08 Thread Heinrich Schuchardt
On 11/8/22 16:05, Bin Meng wrote: Hi Heinrich, On Tue, Nov 8, 2022 at 10:53 PM Heinrich Schuchardt wrote: Describe that CONFIG_SBI_V02=y does not mean SBI specification v0.2 but v0.2 or later. Signed-off-by: Heinrich Schuchardt --- arch/riscv/Kconfig | 14 +++--- 1 file changed,

Re: [PATCH 1/1] riscv: clarify meaning of CONFIG_SBI_V02

2022-11-08 Thread Bin Meng
Hi Heinrich, On Tue, Nov 8, 2022 at 10:53 PM Heinrich Schuchardt wrote: > > Describe that CONFIG_SBI_V02=y does not mean SBI specification v0.2 > but v0.2 or later. > > Signed-off-by: Heinrich Schuchardt > --- > arch/riscv/Kconfig | 14 +++--- > 1 file changed, 7 insertions(+), 7

[PATCH 1/1] riscv: clarify meaning of CONFIG_SBI_V02

2022-11-08 Thread Heinrich Schuchardt
Describe that CONFIG_SBI_V02=y does not mean SBI specification v0.2 but v0.2 or later. Signed-off-by: Heinrich Schuchardt --- arch/riscv/Kconfig | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig index

Re: [PATCH] msc_sm2s_imx8mp: Convert to CONFIG_TEXT_BASE

2022-11-08 Thread Stefano Babic
Hi Fabio, On 08.11.22 15:42, Fabio Estevam wrote: From: Fabio Estevam The conversion to CONFIG_TEXT_BASE was missed here. Convert it to fix a build error in CI. Signed-off-by: Fabio Estevam --- Stefano, This is against u-boot-imx, master-next branch. If you prefer to squash with the

Please pull u-boot-dm

2022-11-08 Thread Simon Glass
Hi Tom, https://source.denx.de/u-boot/custodians/u-boot-dm/-/pipelines/14049 The following changes since commit 88bd8ee106591eb900561715c44ad04441afc0e3: Prepare v2023.01-rc1 (2022-11-07 15:27:03 -0500) are available in the Git repository at: git://git.denx.de/u-boot-dm.git

Re: u-boot-imx master-next CI failure

2022-11-08 Thread Stefano Babic
Hi Tom, On 08.11.22 15:36, Fabio Estevam wrote: Hi Tom, On Tue, Nov 8, 2022 at 11:34 AM Tom Rini wrote: Yes, it's CONFIG_SYS_TEXT_BASE -> CONFIG_TEXT BASE and I found that just by doing 'make msc_sm2s_imx8mp_config oldconfig' :) Excellent, thanks for the help! Many thanks, we were

Re: [PATCH 1/1] riscv: enable reset via SBI on PolarFire Icicle Kit

2022-11-08 Thread Conor Dooley
On Tue, Nov 08, 2022 at 09:23:19AM -0500, Sean Anderson wrote: > On 11/8/22 09:16, Conor Dooley wrote: > > > +CONFIG_SYSRESET_SBI=y > > > > I took a look at the config option, but something seemed odd to me. It > > says "depends on SBI_V02" but the help text says "version 0.3". I see > > there's

[PATCH] msc_sm2s_imx8mp: Convert to CONFIG_TEXT_BASE

2022-11-08 Thread Fabio Estevam
From: Fabio Estevam The conversion to CONFIG_TEXT_BASE was missed here. Convert it to fix a build error in CI. Signed-off-by: Fabio Estevam --- Stefano, This is against u-boot-imx, master-next branch. If you prefer to squash with the original commit, feel free to do it.

Re: [PATCH 1/1] riscv: enable reset via SBI on PolarFire Icicle Kit

2022-11-08 Thread Heinrich Schuchardt
On 11/8/22 15:16, Conor Dooley wrote: On Mon, Nov 07, 2022 at 10:55:46AM +0100, Heinrich Schuchardt wrote: HSS 2022.10 provides support for resetting the board. It's actually v2022.09 that added support for reset. I don't think that that is important to correct though, since v2022.10 is the

Re: u-boot-imx master-next CI failure

2022-11-08 Thread Fabio Estevam
Hi Tom, On Tue, Nov 8, 2022 at 11:34 AM Tom Rini wrote: > Yes, it's CONFIG_SYS_TEXT_BASE -> CONFIG_TEXT BASE and I found that just > by doing 'make msc_sm2s_imx8mp_config oldconfig' :) Excellent, thanks for the help!

Re: u-boot-imx master-next CI failure

2022-11-08 Thread Tom Rini
On Tue, Nov 08, 2022 at 11:31:51AM -0300, Fabio Estevam wrote: > Hi Tom, > > On Tue, Nov 8, 2022 at 9:56 AM Tom Rini wrote: > > > The problem is with msc_sm2s_imx8mp. I figured this out by running a > > ./tools/moveconfig.py -s and waiting to see what got stuck and reading > > the resulting

Re: u-boot-imx master-next CI failure

2022-11-08 Thread Fabio Estevam
Hi Tom, On Tue, Nov 8, 2022 at 9:56 AM Tom Rini wrote: > The problem is with msc_sm2s_imx8mp. I figured this out by running a > ./tools/moveconfig.py -s and waiting to see what got stuck and reading > the resulting /tmp/tmp.../.config file. That's good information. Thanks for narrowing it down

Re: [PATCH 1/1] riscv: enable reset via SBI on PolarFire Icicle Kit

2022-11-08 Thread Sean Anderson
On 11/8/22 09:16, Conor Dooley wrote: On Mon, Nov 07, 2022 at 10:55:46AM +0100, Heinrich Schuchardt wrote: HSS 2022.10 provides support for resetting the board. It's actually v2022.09 that added support for reset. I don't think that that is important to correct though, since v2022.10 is the

Re: [PATCH 1/1] riscv: enable reset via SBI on PolarFire Icicle Kit

2022-11-08 Thread Conor Dooley
On Mon, Nov 07, 2022 at 10:55:46AM +0100, Heinrich Schuchardt wrote: > HSS 2022.10 provides support for resetting the board. It's actually v2022.09 that added support for reset. I don't think that that is important to correct though, since v2022.10 is the version we are updating the dt in U-Boot

Re: [PATCH v7 02/10] lib: uuid: introduce uuid_str_to_le_bin function

2022-11-08 Thread Ilias Apalodimas
Hi Abdellatif, On Mon, Nov 07, 2022 at 07:20:47PM +, Abdellatif El Khlifi wrote: > convert UUID string to little endian binary data > > Signed-off-by: Abdellatif El Khlifi > Cc: Tom Rini > Cc: Simon Glass > Cc: Ilias Apalodimas > Cc: Jens Wiklander > > --- > > Changelog: >

Re: [PATCH v2 3/5] cmd: mtd: Add total length of read operation

2022-11-08 Thread Liang-Yan Yu
Hi Miquel, > > Hi Leo, > > liangyany...@gmail.com wrote on Wed, 2 Nov 2022 14:14:30 +0800: > > > This patch bypasses the limitation of length for read operations > > in MTD test module. Thus, the total length of a read operation > > can be passed down to the continuous read operation in SPI NAND

[PATCH 1/2] arm: mediatek: add mt8195 SOC support

2022-11-08 Thread Macpaul Lin
From: Fabien Parent The MediaTek MT8195 is a ARM64-based SoC with a quad-core Cortex-A73 and a quad-core Cortex-A53. It is including UART, SPI, USB3.0 device and hosts, SD and MMC cards, UFS, PWM, I2C, I2S, S/PDIF, and several LPDDR3 and LPDDR4 options. Signed-off-by: Fabien Parent

[PATCH 2/2] board: mediatek: add mt8195 demo board

2022-11-08 Thread Macpaul Lin
From: Fabien Parent Add mt8195-demo board support. This demo purpose board uses MediaTek's MT8195 SoC. Signed-off-by: Fabien Parent Signed-off-by: Amjad Ouled-Ameur Signed-off-by: Macpaul Lin --- MAINTAINERS | 1 + arch/arm/dts/Makefile | 1 +

[PATCH v4 04/11] buildman: Convert documentation to rST

2022-11-08 Thread Simon Glass
Convert the buildman documentation to rST format and include it in the 'build' section. Signed-off-by: Simon Glass --- (no changes since v3) Changes in v3: - Add new patch to convert documentation to rST doc/build/buildman.rst |1 + doc/build/index.rst |1 +

Re: u-boot-imx master-next CI failure

2022-11-08 Thread Tom Rini
On Tue, Nov 08, 2022 at 09:00:21AM -0300, Fabio Estevam wrote: > Hi Tom, > > We are getting a build failure in the u-boot-imx master-next branch > and we are not sure where it is coming from: > > https://source.denx.de/u-boot/custodians/u-boot-imx/-/jobs/525317 > > The i.MX boards are built,

u-boot-imx master-next CI failure

2022-11-08 Thread Fabio Estevam
Hi Tom, We are getting a build failure in the u-boot-imx master-next branch and we are not sure where it is coming from: https://source.denx.de/u-boot/custodians/u-boot-imx/-/jobs/525317 The i.MX boards are built, but at the end, the following error is seen: ERROR: Job failed: exit code 100

Re: [PATCH v5 2/2] serial: mxc: have putc use the TXFIFO

2022-11-08 Thread Fabio Estevam
Hi Johannes, On Tue, Nov 8, 2022 at 6:37 AM SCHNEIDER Johannes wrote: > gave it another round, and discussed it with Grygorii - he pointed out that > it would be better to do the "fifo empty" or even better "byte sent" checks > in "our" code instead of adding more complexity to the serial_mxc

Re: [PATCH] ARM: mx7: psci: fix suspend/resume e10133 workaround

2022-11-08 Thread Matthias Schiffer
On Mon, 2022-09-26 at 10:31 +0200, Matthias Schiffer wrote: > The e10133 workaround was broken in two places: > > - The code intended to temporarily mask all interrupts in GPC_IMRx_CORE0. > While the old register values were saved, the actual masking was > missing. > - imx_udelay() expects

[PATCH] Revert "serial: mxc: have putc use the TXFIFO"

2022-11-08 Thread Fabio Estevam
From: Fabio Estevam This reverts commit c7878a0483c59c48a730123bc0f4659fd40921bf. Since commit c7878a0483c5 ("serial: mxc: have putc use the TXFIFO"), serial console corruption can be seen when priting inside board_init(). Revert it to avoid the regression. Reported-by: Tim Harvey

Re: [PATCH v6 03/10] arm_ffa: introduce Arm FF-A low-level driver

2022-11-08 Thread Abdellatif El Khlifi
On Tue, Oct 25, 2022 at 11:31:11AM +0200, Jens Wiklander wrote: > On Thu, Oct 13, 2022 at 11:38:50AM +0100, Abdellatif El Khlifi wrote: > > Add the core driver implementing Arm Firmware Framework for Armv8-A v1.0 > > > > The Firmware Framework for Arm A-profile processors (FF-A v1.0) [1] > >

Re: [PATCH v6 01/10] arm64: smccc: add support for SMCCCv1.2 x0-x17 registers

2022-11-08 Thread Abdellatif El Khlifi
On Mon, Oct 24, 2022 at 04:19:18PM +0200, Jens Wiklander wrote: > On Thu, Oct 13, 2022 at 11:38:48AM +0100, Abdellatif El Khlifi wrote: > > add support for x0-x17 registers used by the SMC calls > > > > In SMCCC v1.2 [1] arguments are passed in registers x1-x17. > > Results are returned in

Re: [PATCH v6 10/10] arm_ffa: efi: corstone1000: enable MM communication

2022-11-08 Thread Abdellatif El Khlifi
On Mon, Oct 24, 2022 at 03:13:08PM +0300, Ilias Apalodimas wrote: > On Thu, Oct 13, 2022 at 11:38:57AM +0100, Abdellatif El Khlifi wrote: > > turn on EFI MM communication > > > > On corstone1000 platform MM communication between u-boot > > and the secure world (Optee) is done using the FF-A bus.

  1   2   >