Re: [PATCH] ARM: dts: imx8mq-kontron-pitx-imx8m: Remove off-on-delay-us property

2022-10-24 Thread Peng Fan
On 10/24/2022 7:25 PM, Heiko Thiery wrote: U-Boot is not able to store the environment variables in the SD card. Remove the off-on-delay-us property to fix the regression. off-on-delay-us here would cause store env failure? Would you please share more info? Thanks, Peng. Signed-off-by:

Re: [PATCH v3 1/2] x86: fsp: Depend on DM_RTC

2022-10-24 Thread Stefan Roese
On 24.10.22 18:49, Bin Meng wrote: On Mon, Oct 24, 2022 at 11:42 PM Sean Anderson wrote: FSP support requires DM_RTC for rtc_write32. Select it. Fixes: ba65808e7d0 ("x86: fsp: Save stack address to CMOS for next S3 boot") Signed-off-by: Sean Anderson --- This seems like it would never have

Re: question about uboot mt7620 RAM_VERSION

2022-10-24 Thread Stefan Roese
Hi Kang-sen, On 24.10.22 19:58, Kang-sen Lu wrote: I am wondering if you have read my reply on 10/18. It is very strange to find that unless I had uboot to do a saveenv, the RAM_VERSION uboot.bin would not run properly in DRAM. Frankly, I don't really understand this message. It's not clear

[PATCH] imx: spl: Add weak reset_cpu()

2022-10-24 Thread Jun Nie
Add weak reset_cpu() to reduce redundant code. And it ease the new platforms that only need a empty function to pass build without below compiling failure. arch/arm/lib/reset.o: In function `do_reset': /git/u-boot/arch/arm/lib/reset.c:42: undefined reference to `reset_cpu' make[1]: ***

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

2022-10-24 Thread Masahisa Kojima
This commit adds the menu-driven interface to show and delete the signature database. EFI Signature Lists can contain the multiple signature entries, this menu can delete the indivisual entry. If the PK is enrolled and UEFI Secure Boot is in User Mode or Deployed Mode, user can not delete the

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

2022-10-24 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 v5 3/5] eficonfig: refactor change boot order implementation

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

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

2022-10-24 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_v5 [Major Changes] -

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

2022-10-24 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 v5 1/5] eficonfig: refactor eficonfig_select_file_handler()

2022-10-24 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 v4 3/7] eficonfig: add direct menu entry access mode

2022-10-24 Thread Masahisa Kojima
Hi Heinrich, On Mon, 24 Oct 2022 at 15:34, Masahisa Kojima wrote: > > Hi Heinrich, > > On Mon, 24 Oct 2022 at 14:40, Heinrich Schuchardt wrote: > > > > On 10/24/22 06:48, Masahisa Kojima wrote: > > > This commit adds the direct menu entry access mode. > > > User can select the menu entry by '&'

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

2022-10-24 Thread Andrey Volkov
ipq40xx/snapdragon: Merge two, more than 90% overlapping Qualcomm's Snapdrgon based arches, into one: "mach-snapdragon". Signed-off-by: Andrey VOLKOV ---  arch/arm/Kconfig  |   19 ---  arch/arm/Makefile |    1  

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

2022-10-24 Thread Andrey Volkov
SoC: qcom: Add missing Qualcomm's SOCs definitions to the arch KConfig From: Andrey VOLKOV Add APQ8016/APQ8096/QCS40X decls to the KConfig, convert SDM845 declaration to the hidden one (selected by target), and update mach-snapdragon/Makefile accordingly. Also move 'CONFIG_ARM64' choice to

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

2022-10-24 Thread Andrey Volkov
Hello, At the present timeI'm working with 2 Qualcomm's Snapdragon SOCs: msm8916 and msm9207 both of them are mostly the same, except application CPU: former is ARMv8 based and latter is ARMv7A (same as IPQ4019), so keep 2 archs for almost same (from IPs point of view) things is a real

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

2022-10-24 Thread Peng Fan
On 10/25/2022 4:47 AM, Tim Harvey wrote: On Mon, Oct 24, 2022 at 1:26 PM Adam Ford wrote: On Mon, Oct 24, 2022 at 2:57 PM Tim Harvey wrote: On Sat, Oct 22, 2022 at 7:28 AM Adam Ford wrote: There are a few functions which are not essential for use in SPL, but they take up enough space

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

2022-10-24 Thread Peng Fan
On 10/22/2022 9:43 PM, Adam Ford wrote: 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 Better enable defconfig in the end, otherwise: Reviewed-by: Peng Fan diff

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

2022-10-24 Thread Peng Fan
On 10/22/2022 9:43 PM, Adam Ford wrote: 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 I think patch 4 better be moved before patch 3. Otherwise:

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

2022-10-24 Thread Peng Fan
On 10/22/2022 9:43 PM, Adam Ford wrote: 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

[GIT PULL] please pull fsl-qoriq-2022-10-18

2022-10-24 Thread Peng Fan
Hi Tom, Please pull fsl-qoriq-2022-10-18 CI: https://source.denx.de/u-boot/custodians/u-boot-fsl-qoriq/-/pipelines/13836 -- Layerscape update - support sysreset, - de-select FSL_IFC when booting from SD - disable unused parts of ICID tables - reduce

[GIT PULL] Please pull u-boot-mmc master

2022-10-24 Thread Jaehoon Chung
Dear Tom, Please pull u-boot-mmc master into u-boot master branch. If there is any problem, let me know, plz. Best Regards, Jaehoon Chung CI: https://source.denx.de/u-boot/custodians/u-boot-mmc/-/pipelines/13923 The following changes since commit 7723828c97bc107d2fba976fc50403ac8747f1bc:

Re: [PATCH] mmc: Fix static checker warnings

2022-10-24 Thread Jaehoon Chung
On 9/29/22 13:52, Venkatesh Yadav Abbarapu wrote: > Correct pointer dereferencing check to be more consistent. > > Eliminate the below smatch warning: > drivers/mmc/mmc.c:3118 mmc_init_device() > warn: variable dereferenced before check 'm' (see line 3116) > > Signed-off-by: Venkatesh Yadav

Re: [PATCH] mmc: dwmmc: only clear handled interrupts

2022-10-24 Thread Jaehoon Chung
On 9/16/22 02:56, John Keeping wrote: > Unconditionally clearing DTO when RXDR is set leads to spurious timeouts > in FIFO mode transfers if events occur in the following order: > > mask = dwmci_readl(host, DWMCI_RINTSTS); > > // Hardware asserts DWMCI_INTMSK_DTO here > >

Re: [PATCH 1/3] mmc: stm32_sdmmc2: add dual data rate support

2022-10-24 Thread Jaehoon Chung
On 9/13/22 20:23, Yann Gautier wrote: > To support dual data rate with STM32 sdmmc2 driver, the dedicated bit > (DDR - BIT(18)) needs to be set in the CLKRC register. Clock bypass > (no divider) is not allowed in this case. This is required for the > eMMC DDR modes. > > Signed-off-by: Yann

Re: [PATCH v2 2/2] mmc: f_sdh30: Add support for F_SDH30_E51

2022-10-24 Thread Jaehoon Chung
On 9/9/22 16:23, Kunihiko Hayashi wrote: > Add Socionext F_SDH30_E51 IP support. The features of this IP includes > CMD/DAT line delay and force card insertion mode for non-removable cards. > And the IP needs to add some quirks. > > Signed-off-by: Kunihiko Hayashi Applied to u-boot-mmc. Thanks!

Re: [PATCH v2 1/2] mmc: sdhci: Add new quirks for SUPPORT_SINGLE

2022-10-24 Thread Jaehoon Chung
On 9/9/22 16:23, Kunihiko Hayashi wrote: > This patch defines a quirk to disable the block count > for single block transactions. > > This is similar to Linux kernel commit d3fc5d71ac4d > ("mmc: sdhci: add a quirk for single block transactions"). > > Signed-off-by: Kunihiko Hayashi >

Re: [PATCH] mmc: ftsdc010: make command timeout 250 ms as in the comment

2022-10-24 Thread Jaehoon Chung
On 9/2/22 16:40, Sergei Antonov wrote: > Get rid of discrepancy beween comment /* 250 ms */ and code > which shifts by 4 thus dividing by 16. > So change code to shift by 2 and make the timeout value 250 ms. > > Signed-off-by: Sergei Antonov > Reviewed-by: Rick Chen > Reviewed-by: Jaehoon Chung

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

2022-10-24 Thread Tim Harvey
On Sat, Oct 22, 2022 at 6:44 AM Adam Ford wrote: > > 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

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

2022-10-24 Thread Tim Harvey
On Mon, Oct 24, 2022 at 1:52 PM Adam Ford wrote: > > On Mon, Oct 24, 2022 at 3:47 PM Tim Harvey wrote: > > > > On Mon, Oct 24, 2022 at 1:26 PM Adam Ford wrote: > > > > > > On Mon, Oct 24, 2022 at 2:57 PM Tim Harvey wrote: > > > > > > > > On Sat, Oct 22, 2022 at 7:28 AM Adam Ford wrote: > > >

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

2022-10-24 Thread Adam Ford
On Mon, Oct 24, 2022 at 3:47 PM Tim Harvey wrote: > > On Mon, Oct 24, 2022 at 1:26 PM Adam Ford wrote: > > > > On Mon, Oct 24, 2022 at 2:57 PM Tim Harvey wrote: > > > > > > On Sat, Oct 22, 2022 at 7:28 AM Adam Ford wrote: > > > > > > > > There are a few functions which are not essential for

Re: [PATCH v3 11/19] imx: kontron-sl-mx8mm: Remove 100mt DDR setpoint

2022-10-24 Thread Tim Harvey
On Mon, Oct 24, 2022 at 4:54 AM Frieder Schrempf wrote: > > Hi Tim, > > On 21.10.22 21:24, Tim Harvey wrote: > > On Wed, Aug 24, 2022 at 7:01 AM Frieder Schrempf wrote: > >> > >> From: Frieder Schrempf > >> > >> The new stable configuration is missing the 100mt setpoint, remove > >> it before

Re: [PATCH] efi_loader: Let networking support depend on NETDEVICES

2022-10-24 Thread Heinrich Schuchardt
On 10/15/22 08:31, Heinrich Schuchardt wrote: On 10/14/22 18:10, Jan Kiszka wrote: From: Jan Kiszka CONFIG_NET does not imply that there are actually network devices available, only CONFIG_NETDEVICES does. Changing to this dependenc CONFIG_NETDEVICES=y does not imply that any network driver

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

2022-10-24 Thread Tim Harvey
On Mon, Oct 24, 2022 at 1:26 PM Adam Ford wrote: > > On Mon, Oct 24, 2022 at 2:57 PM Tim Harvey wrote: > > > > On Sat, Oct 22, 2022 at 7:28 AM Adam Ford wrote: > > > > > > There are a few functions which are not essential for use in > > > SPL, but they take up enough space to make other

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

2022-10-24 Thread Adam Ford
On Mon, Oct 24, 2022 at 2:57 PM Tim Harvey wrote: > > On Sat, Oct 22, 2022 at 7:28 AM Adam Ford wrote: > > > > 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. > > > >

Re: [PATCH v3 0/8] arm: dts: imx: sync device trees with upstream linux kernel part 1

2022-10-24 Thread Tim Harvey
On Sat, Oct 22, 2022 at 2:48 PM Marcel Ziswiler wrote: > > From: Marcel Ziswiler > > > This series synchronises them imx device trees with the upstream Linux > kernel (v6.0-rc1). I split it into two parts. This is part 1. > > It also fixes a few issues as discussed during/after the pre-mature >

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

2022-10-24 Thread Tim Harvey
On Sat, Oct 22, 2022 at 7:28 AM Adam Ford wrote: > > 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 > > diff --git a/board/beacon/imx8mm/spl.c

Re: [PATCH v3 1/2] x86: fsp: Depend on DM_RTC

2022-10-24 Thread Sean Anderson
On 10/24/22 12:49, Bin Meng wrote: > On Mon, Oct 24, 2022 at 11:42 PM Sean Anderson wrote: >> >> FSP support requires DM_RTC for rtc_write32. Select it. >> >> Fixes: ba65808e7d0 ("x86: fsp: Save stack address to CMOS for next S3 boot") >> Signed-off-by: Sean Anderson >> --- >> This seems like it

Re: [PATCH v3 1/2] x86: fsp: Depend on DM_RTC

2022-10-24 Thread Bin Meng
On Mon, Oct 24, 2022 at 11:42 PM Sean Anderson wrote: > > FSP support requires DM_RTC for rtc_write32. Select it. > > Fixes: ba65808e7d0 ("x86: fsp: Save stack address to CMOS for next S3 boot") > Signed-off-by: Sean Anderson > --- > This seems like it would never have worked. Does

Re: [PATCH v2 15/16] tbs2910: revert prepare to synchronise device trees with linux

2022-10-24 Thread Marcel Ziswiler
@Sören: Thanks! @Stefano: Somehow I missed the applied-to email for this one. On Mon, 2022-10-24 at 11:02 +0200, Sören Moch wrote: > On 22.10.22 23:59, Marcel Ziswiler wrote: > > From: Marcel Ziswiler > > > > Now with all synchonised revert > > "tbs2910: prepare to synchronise device trees

[PATCH v3 0/2] rtc: Add fallbacks for dm functions

2022-10-24 Thread Sean Anderson
This adds some fallbacks for DM RTC consumers, so they don't have to ifdef out their RTC code. There's some funkiness going on with FSP on x86, but I don't know what the correct behavior is. See patch 1 for details. Changes in v3: - Select SPL_DM_RTC for HAVE_FSP. Before this series, even if

[PATCH v3 2/2] rtc: Add fallbacks for dm functions

2022-10-24 Thread Sean Anderson
This adds fallbacks for the various dm_rtc_* functions. This allows common code to use these functions without ifdefs. Fixes: c8ce7ba87d1 ("misc: Add support for nvmem cells") Reviewed-by: Simon Glass Signed-off-by: Sean Anderson --- (no changes since v2) Changes in v2: - Include

[PATCH v3 1/2] x86: fsp: Depend on DM_RTC

2022-10-24 Thread Sean Anderson
FSP support requires DM_RTC for rtc_write32. Select it. Fixes: ba65808e7d0 ("x86: fsp: Save stack address to CMOS for next S3 boot") Signed-off-by: Sean Anderson --- This seems like it would never have worked. Does fsp_save_s3_stack even get called in SPL? Maybe it should be converted to use

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

2022-10-24 Thread Adam Ford
On Sat, Oct 22, 2022 at 4:44 PM Marcel Ziswiler wrote: > > From: Marcel Ziswiler > > Synchronise device tree with linux v6.0-rc1. > > Signed-off-by: Marcel Ziswiler > --- This might collide with [1]. Since the series I pushed unifies the 8mn devices with common -u-boot.dtsi file. It shows

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

2022-10-24 Thread Jens Wiklander
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 x0-x17. > > This work is inspired from the following kernel commit: > > arm64:

[PATCH V2 1/7] arm: dts: imx8mn-u-boot: Create common imx8mn-u-boot.dtsi

2022-10-24 Thread sbabic
> Multiple boards create duplicate entries in their respective > -u-boot.dtsi files which all basically do the same thing. > To consolidate these and make it easier to make improvements > going forward, consolidate them all into one place. > This file creates a flash.bin image using binman, and

Pull request: u-boot-imx u-boot-imx-20220919

2022-10-24 Thread Stefano Babic
-imx.git tags/u-boot-imx-20221024 for you to fetch changes up to 0f5caf351c18b212b856f68a8b9d8ea150cc9fa1: configs: verdin-imx8mp: enable caam (2022-10-24 13:43:21 +0200) u-boot-imx-20221024 --- CI: https

[PATCH v2 07/16] imx6sll: synchronise device tree with linux

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

[PATCH v1 3/3] configs: verdin-imx8mp: enable caam

2022-10-24 Thread sbabic
> This change enables Cryptographic Accelerator and Assurance Module. > Signed-off-by: Andrejs Cainikovs Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DENX Software Engineering GmbH, Managing

[PATCH v2 09/16] imx6qp: synchronise device tree with linux

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

[PATCH v2 03/16] imx6ul: synchronise device tree with linux

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

[PATCH V2 7/7] arm: dts: imx8mn-venice: Consolidate with imx8mn-u-boot

2022-10-24 Thread sbabic
> Now that a unified imx8mn-u-boot is available, remove duplicated > code for generating flash.bin and other common imx8mn peripherals. > Signed-off-by: Adam Ford > diff --git a/arch/arm/dts/imx8mn-venice-u-boot.dtsi > b/arch/arm/dts/imx8mn-venice-u-boot.dtsi > index 42e4d935cf..aea48f2d79

[PATCH v2 3/3] board: imx8mp: Add Engicam i.Core MX8M Plus EDIMM2.2 Starter Kit

2022-10-24 Thread sbabic
> i.Core MX8M Plus is an EDIMM SoM based on NXP i.MX8M Plus from Engicam. > i.Core MX8M Plus needs to mount on top of this Evaluation board for > creating complete i.Core MX8M Plus EDIMM2.2 Starter Kit. > Add support for it. > Signed-off-by: Jagan Teki > Signed-off-by: Manoj Sai Applied to

[PATCH v2 04/16] imx6ull: synchronise device tree with linux

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

[PATCH v2 12/16] imx51: synchronise device tree with linux

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

[PATCH v2 05/16] imx6ulz: synchronise device tree with linux

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

[PATCH V2 2/7] arm: dts: imx8mn-beacon-kit: Consolidate with imx8mn-u-boot

2022-10-24 Thread sbabic
> Now that a unified imx8mn-u-boot is available, remove duplicated > code for generating flash.bin and other common imx8mn peripherals. > Signed-off-by: Adam Ford > diff --git a/arch/arm/dts/imx8mn-beacon-kit-u-boot.dtsi > b/arch/arm/dts/imx8mn-beacon-kit-u-boot.dtsi > index

[PATCH V2 3/7] arm: dts: imx8mn-bsh-smm-s2: Consolidate with imx8mn-u-boot

2022-10-24 Thread sbabic
> Now that a unified imx8mn-u-boot is available, remove duplicated > code for generating flash.bin and other common imx8mn peripherals. > Signed-off-by: Adam Ford > diff --git a/arch/arm/dts/imx8mn-bsh-smm-s2-u-boot-common.dtsi > b/arch/arm/dts/imx8mn-bsh-smm-s2-u-boot-common.dtsi > index

[PATCH v1 2/3] verdin-imx8mp: spl: initialize caam

2022-10-24 Thread sbabic
> This change initializes Cryptographic Accelerator and Assurance Module. > Signed-off-by: Andrejs Cainikovs Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DENX Software Engineering GmbH,

[PATCH v2 1/3] arm64: dts: imx8mp: Add Engicam i.Core MX8M Plus SoM

2022-10-24 Thread sbabic
> i.Core MX8M Plus is an EDIMM SoM based on NXP i.MX8M Plus > from Engicam. > General features: > - NXP i.MX8M Plus > - Up to 4GB LDDR4 > - 8 eMMC > - Gigabit Ethernet > - USB 3.0, 2.0 Host/OTG > - PCIe 3.0 interface > - I2S > - LVDS > - rest of i.MX8M Plus features > i.Core MX8M Plus needs to

[PATCH v2 01/16] imx7ulp: synchronise device tree with linux

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

[PATCH v1 1/3] arm: dts: verdin-imx8mp: enable caam in SPL

2022-10-24 Thread sbabic
> CAAM is initialized in SPL, so relevant device tree nodes needs to be > updated. > Signed-off-by: Andrejs Cainikovs Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DENX Software Engineering GmbH,

[PATCH V2 5/7] arm: dts: imx8mn-evk: Consolidate with imx8mn-u-boot

2022-10-24 Thread sbabic
> Now that a unified imx8mn-u-boot is available, remove duplicated > code for generating flash.bin and other common imx8mn peripherals. > Signed-off-by: Adam Ford > diff --git a/arch/arm/dts/imx8mn-evk-u-boot.dtsi > b/arch/arm/dts/imx8mn-evk-u-boot.dtsi > index c4b83d3f7e..6c6c949f43 100644 >

[PATCH v3 3/3] verdin-imx8mp: various config additions and improvements

2022-10-24 Thread sbabic
> From: Marcel Ziswiler > - enable bootcount command > - enable CRC32 and MD5 > - enable time commands > - enable GPIO LED support > - enable further eMMC HS400 functionality > - enable fixed PHY and MDIO driver model > - enable USB host functionality > - enable thermal management unit driver > -

[PATCH v2 08/16] imx6sl: synchronise device tree with linux

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

[PATCH v2 16/16] imx28: avoid num_cs and spi_max_frequency build errors

2022-10-24 Thread sbabic
> From: Marcel Ziswiler > Avoid the following build errors after the device tree sync: > drivers/spi/mxs_spi.c: In function ‘mxs_spi_probe’: > drivers/spi/mxs_spi.c:327:25: error: ‘struct dtd_fsl_imx23_spi’ has no > member named ‘spi_max_frequency’ > 327 | priv->max_freq =

[PATCH v2 10/16] imx6qdl: synchronise device tree with linux

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

[PATCH v2 02/16] imx7d: synchronise device tree with linux

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

[PATCH v2 13/16] imx28: synchronise device tree with linux

2022-10-24 Thread sbabic
> From: Marcel Ziswiler > Synchronise device tree with linux v6.0-rc1. > 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: add imx8mm-gw7904 support

2022-10-24 Thread sbabic
> The GW7904 is based on the i.MX 8M Mini SoC featuring: > - LPDDR4 DRAM > - eMMC FLASH > - microSD connector with UHS support > - LIS2DE12 3-axis accelerometer > - Gateworks System Controller > - IMX8M FEC > - 2x RS232 off-board connectors > - PMIC > - 10x bi-color LED's > - 1x miniPCIe

[PATCH v2 06/16] imx6sx: synchronise device tree with linux

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

[PATCH v3] board: gateworks: venice: add GW7903 PMIC

2022-10-24 Thread sbabic
> The GW7903 has a BD71847 PMIC on I2C1. Adjust the model compare strings > to add it. > Signed-off-by: Tim Harvey > Reviewed-by: Fabio Estevam > Reviewed-by: Jaehoon Chung Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic --

[PATCH v2 11/16] imx53: synchronise device tree with linux

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

[PATCH v3 2/3] verdin-imx8mm: various config additions and improvements

2022-10-24 Thread sbabic
> From: Marcel Ziswiler > - enable bootcount command > - integrate bootcount using SNVS_LP general purpose register LPGPR0 > - enable link-time optimisation > - explicitly set a boot delay of one second > - enable CRC32 and MD5 > - enable command for low-level access to data in a partition > -

[PATCH V2 4/7] arm: dts: imx8mn-ddr4-evk: Consolidate with imx8mn-u-boot

2022-10-24 Thread sbabic
> Now that a unified imx8mn-u-boot is available, remove duplicated > code for generating flash.bin and other common imx8mn peripherals. > Signed-off-by: Adam Ford > diff --git a/arch/arm/dts/imx8mn-ddr4-evk-u-boot.dtsi > b/arch/arm/dts/imx8mn-ddr4-evk-u-boot.dtsi > index 3fdb20cb35..54f3ebe88b

[PATCH V2 6/7] arm: dts: imx8mn-var-som-symphony: Consolidate with imx8mn-u-boot

2022-10-24 Thread sbabic
> Now that a unified imx8mn-u-boot is available, remove duplicated > code for generating flash.bin and other common imx8mn peripherals. > Signed-off-by: Adam Ford > diff --git a/arch/arm/dts/imx8mn-var-som-symphony-u-boot.dtsi > b/arch/arm/dts/imx8mn-var-som-symphony-u-boot.dtsi > index

[PATCH v3 1/3] verdin-imx8mm: verdin-imx8mp: update env memory layout (again)

2022-10-24 Thread sbabic
> From: Marcel Ziswiler > Update the distro config env memory layout for the Verdin iMX8M Mini and > Verdin iMX8M Plus again: > - loadaddr=0x4820 allows for 128MB area for uncompressing (ie FIT > images, kernel_comp_addr_r, kernel_comp_size) > - fdt_addr_r = loadaddr + 128MB - allows for

[PATCH v2 14/16] imx23: synchronise device tree with linux

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

[PATCH v1] configs: colibri-imx7: Enable bootd command

2022-10-24 Thread sbabic
> Enable boot/bootd command in toradex colibri-imx7 defconfig, > it's just convenient to have it in and every other toradex board > already includes it. > Signed-off-by: Francesco Dolcini > Acked-by: Marcel Ziswiler Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic --

[PATCH] imx8m: fix reading of DDR4 MR registers [again]

2022-10-24 Thread sbabic
> Commit 290ffe5788 (imx8m: fix reading of DDR4 MR registers) lifted a > private definition of lpddr4_mr_read() from imx8mm-cl-iot-gate board > code to drivers/ddr/imx/imx8m/ddrphy_utils.c, because that version > actually seems to work in practice. > However, commit 99c7cc58e1 (ddr: imx: Add i.MX9

[PATCH v2 2/3] arm64: dts: imx8mp: Add Engicam i.Core MX8M Plus EDIMM2.2 Starter Kit

2022-10-24 Thread sbabic
> Genaral features: > - LCD 7" C.Touch > - microSD slot > - Ethernet 1Gb > - Wifi/BT > - 2x LVDS Full HD interfaces > - 3x USB 2.0 > - 1x USB 3.0 > - HDMI Out > - Plus PCIe > - MIPI CSI > - 2x CAN > - Audio Out > i.Core MX8M Plus is an EDIMM SoM based on NXP i.MX8M Plus from Engicam. > i.Core MX8M

Re: [PATCH v6 09/10] arm_ffa: efi: introduce FF-A MM communication

2022-10-24 Thread Ilias Apalodimas
Hi Abdellatif, [...] > > #include > @@ -15,6 +17,36 @@ > #include > #include > > +#if (IS_ENABLED(CONFIG_ARM_FFA_TRANSPORT)) > + > +#include > +#include > +#include > + > +#ifndef FFA_SHARED_MM_BUFFER_SIZE > +#warning "FFA_SHARED_MM_BUFFER_SIZE must be defined in >

Re: [PATCH v2] blk: fix a couple of trivial documentation typos

2022-10-24 Thread Tom Rini
On Mon, Oct 17, 2022 at 09:35:04AM +0200, Mattijs Korpershoek wrote: > In some cases, the param variable is wrong, and in other cases we have > undocumented arguments. > > Fix the docs. > > Signed-off-by: Mattijs Korpershoek > Reviewed-by: Simon Glass Applied to u-boot/master, thanks! --

Re: [PATCH 2/2] board/km: drop CONFIG_KM_ROOTFSSIZE

2022-10-24 Thread Tom Rini
On Mon, Oct 17, 2022 at 11:45:21AM +0200, Holger Brunck wrote: > This unused nowadays and can be dropped. > > Signed-off-by: Holger Brunck Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH v2] test: Fix typo in test name

2022-10-24 Thread Tom Rini
On Sat, Oct 15, 2022 at 11:30:37AM +0200, Michal Suchanek wrote: > For other sandbox tests the printed test name corresponds to the > configuration except for this one. > > Signed-off-by: Michal Suchanek > Reviewed-by: Simon Glass > Reviewed-by: Simon Glass Applied to u-boot/master, thanks!

Re: [PATCH v2] cmd: bcb: select user(0) hwpart in __bcb_load()

2022-10-24 Thread Tom Rini
On Thu, Oct 13, 2022 at 02:25:59PM +0200, Mattijs Korpershoek wrote: > For some blk operations, it's possible that a different hw partition > gets selected via blk_dselect_hwpart(). > In that case, only the region of the device covered by that partition > is accessible. > > This breaks "bcb

Re: [PATCH 1/1] board: gateworks: gw_ventana: fix building with GCC 12.2

2022-10-24 Thread Tom Rini
On Wed, Oct 12, 2022 at 06:59:27PM +0200, Heinrich Schuchardt wrote: > Building with GCC 12.2 results in an error > > board/gateworks/gw_ventana/gw_ventana.c:636:68: error: the comparison > will always evaluate as 'true' for the address of 'pwm_padmux' will > never be NULL

Re: [PATCH v2 2/2] common: board_f: Print information for all sysresets

2022-10-24 Thread Tom Rini
On Mon, Oct 10, 2022 at 08:29:40PM +0200, Michal Suchanek wrote: > Boards can have multiple sysresets, iterate all when printing sysreset > info. > > Fixes: 23471aed5c ("board_f: Add reset status printing") > Signed-off-by: Michal Suchanek > Reviewed-by: Simon Glass Applied to u-boot/master,

Re: [PATCH v2 1/2] sandbox: Initialize sysreset before relocation

2022-10-24 Thread Tom Rini
On Mon, Oct 10, 2022 at 08:29:39PM +0200, Michal Suchanek wrote: > Without this the early sysreset code cannot be tested. > > Signed-off-by: Michal Suchanek > Reviewed-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH 3/3] qemu: Try to automatically boot from the QEMU firmware device (qfw)

2022-10-24 Thread Tom Rini
On Mon, Oct 10, 2022 at 06:01:22PM +0100, Andre Przywara wrote: > At the moment the QEMU boot sequence tries various (storage) devices > when trying to find a payload to boot. > To simplify starting a specific kernel and initrd, there is also the qfw > command, which can use the files specified

Re: [PATCH 2/3] qfw: return failure when no kernel could be loaded

2022-10-24 Thread Tom Rini
On Mon, Oct 10, 2022 at 06:01:21PM +0100, Andre Przywara wrote: > When we try to load a kernel via the QEMU firmware device, we currently > "return -1;" if no kernel was specified on the QEMU command line. This > leads to the usage output, which is confusing (since nothing on the > command line

Re: [PATCH 1/3] qfw: store loaded file size in environment variable

2022-10-24 Thread Tom Rini
On Mon, Oct 10, 2022 at 06:01:20PM +0100, Andre Przywara wrote: > At the moment the QEMU firmware command just prints the size of the > loaded binaries on the console. > To go with all the other load methods, and many boot scripts' > expectations, also store the size of the file loaded last in

Re: [PATCH v2] gpio: adp5585: add gpio driver for ADP5585 I/O Expander Controller

2022-10-24 Thread Tom Rini
On Sun, Oct 09, 2022 at 11:19:22AM +0800, Alice Guo (OSS) wrote: > From: Alice Guo > > Add gpio driver for ADP5585 I/O Expander Controller. The ADP5585 is a 10 > input/output port expander and can be used to increase the number of > I/Os available to a processor. > > Signed-off-by: Alice Guo

Re: [PATCH v4 4/4] config/aspeed: Enable NC-SI support

2022-10-24 Thread Tom Rini
On Mon, Aug 08, 2022 at 09:46:06PM +0930, Joel Stanley wrote: > Aspeed BMCs are commonly used with NC-SI. A system indicates the driver > should configure the link over NC-SI using the device tree. > > Add it to the defconfig so we get compile coverage of the driver, even > if the EVBs do not

Re: [PATCH v4 3/4] net/ftgmac100: Add NC-SI mode support

2022-10-24 Thread Tom Rini
On Mon, Aug 08, 2022 at 09:46:05PM +0930, Joel Stanley wrote: > From: Samuel Mendoza-Jonas > > Update the ftgmac100 driver to support NC-SI instead of an mdio phy > where available. This is a common setup for Aspeed AST2x00 platforms. > > NC-SI mode is determined from the device-tree if either

Re: [PATCH v3] imx: imx8qm: cgtqmx8: switch to binman

2022-10-24 Thread Stefano Babic
On 24.10.22 13:59, Oliver Graute wrote: On 24/10/22, Stefano Babic wrote: On 24.10.22 13:37, Fabio Estevam wrote: Hi Stefano and Oliver, On Tue, May 3, 2022 at 7:49 AM Oliver Graute wrote: Switch to use binman to pack images Signed-off-by: Oliver Graute Reviewed-by: Fabio Estevam

Re: [PATCH v4 2/4] cmd: Add ncsi command

2022-10-24 Thread Tom Rini
On Mon, Aug 08, 2022 at 09:46:04PM +0930, Joel Stanley wrote: > From: Samuel Mendoza-Jonas > > Adds an "ncsi" command to manually start NC-SI configuration. > > Signed-off-by: Samuel Mendoza-Jonas > Signed-off-by: Joel Stanley > Reviewed-by: Cédric Le Goater Applied to u-boot/master,

Re: [PATCH v4 1/4] net: NC-SI setup and handling

2022-10-24 Thread Tom Rini
On Mon, Aug 08, 2022 at 09:46:03PM +0930, Joel Stanley wrote: > From: Samuel Mendoza-Jonas > > Add the handling of NC-SI ethernet frames, and add a check at the start > of net_loop() to configure NC-SI before starting other network commands. > > Signed-off-by: Samuel Mendoza-Jonas >

Re: [PATCH 1/2] config_whitelist: remove CONFIG_KM_UPDATE_UBOOT

2022-10-24 Thread Tom Rini
On Mon, Oct 17, 2022 at 11:43:59AM +0200, Holger Brunck wrote: > This option is already gone. > > Signed-off-by: Holger Brunck For changes that only touch scripts/config_whitelist.txt we don't need a patch, I re-generate the file from time to time. This has been deferred as I finally

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

2022-10-24 Thread Ilias Apalodimas
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. > > Signed-off-by: Abdellatif El Khlifi > Cc: Tom Rini > Cc: Simon Glass

Re: [PATCH v6 07/10] arm_ffa: introduce Sandbox test cases for UCLASS_FFA

2022-10-24 Thread Ilias Apalodimas
Hi Abdellatif On Thu, Oct 13, 2022 at 11:38:54AM +0100, Abdellatif El Khlifi wrote: > Add functional test cases for the FF-A core driver > > These tests rely on the FF-A Sandbox driver which helps in > inspecting the FF-A core driver. This looks ok from me, but I'd prefer Simon having a quick

Re: [PATCH v6 04/10] arm_ffa: efi: unmap RX/TX buffers

2022-10-24 Thread Ilias Apalodimas
On Thu, Oct 13, 2022 at 11:38:51AM +0100, Abdellatif El Khlifi wrote: > unmap RX/TX buffers at ExitBootServices() > > Unmapping the RX/TX buffers created by u-boot is needed before EFI > runtime. > > At EFI runtime the linux kernel takes care of allocating its own RX/TX > buffers and registering

  1   2   >