Re: [PATCH] arm: mvebu: Enable bootstd for Thecus N2350 board

2023-10-16 Thread Stefan Roese
On 10/16/23 10:31, Stefan Roese wrote: On 10/8/23 00:08, Tony Dinh wrote: Enable bootstd for Thecus N2350 board, and remove distroboot. Signed-off-by: Tony Dinh Reviewed-by: Stefan Roese Applied to u-boot-marvell/master Thanks, Stefan Thanks, Stefan ---   configs/n2350_defconfig | 

Re: [PATCH] arm: mvebu: Enable bootstd for Synology DS116 board

2023-10-16 Thread Stefan Roese
On 10/16/23 10:31, Stefan Roese wrote: On 10/7/23 23:35, Tony Dinh wrote: Enable bootstd for Synology DS116 board, and remove distroboot. Signed-off-by: Tony Dinh Reviewed-by: Stefan Roese Applied to u-boot-marvell/master Thanks, Stefan Thanks, Stefan ---   configs/ds116_defconfig

Re: [PATCH 2/2] Revert "arm: mvebu: x240: Use i2c-gpio instead of built in controller"

2023-10-16 Thread Stefan Roese
On 10/5/23 09:54, Stefan Roese wrote: On 10/3/23 05:57, Chris Packham wrote: This reverts commit 5c1c6b7306f2b4c0fd50c7cb5d757e245b93606e. The reason for switching to i2c-gpio was due to an issue we were seeing in the Linux kernel where the CPU would lock up on certain adverse I2C bus

Re: [PATCH v1] arm: dts: k3-am625-verdin: fix boot

2023-10-16 Thread Nishanth Menon
On 13:13-20231010, Marcel Ziswiler wrote: > From: Marcel Ziswiler > > A53 U-Boot proper got broken because nodes marked as 'bootph-pre-ram' > are no longer available in U-Boot proper before relocation. > > Fix this by marking all nodes in u-boot.dtsi as 'bootph-all'. > > Fixes: 9e644284ab812

[PATCH v2 1/6] board: phytec: Add common PHYTEC SoM detection

2023-10-16 Thread sbabic
> Recent shipped PHYTEC SoMs come with an i2c EEPROM containing > information about the hardware such as board revision and variant. > This can be used for RAM detection and loading device tree overlays > during kernel start. > Signed-off-by: Teresa Remmet > Reviewed-by: Yannic Moog >

[PATCH v2 2/6] board: phytec: common: Add imx8m specific EEPROM detection support

2023-10-16 Thread sbabic
> Add imx8m specific detection part. Which includes checking the > EEPROM data for article number options. > Signed-off-by: Teresa Remmet > Reviewed-by: Yannic Moog > Tested-by: Yannic Moog Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic --

[PATCH v2 5/6] board: phytec: common: phytec_som_detection: Add helper for PCB revision

2023-10-16 Thread sbabic
> Add helper function to read out the PCB revision of a PHYTEC SoM. > Signed-off-by: Teresa Remmet > Reviewed-by: Yannic Moog > Tested-by: Yannic Moog Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- =

[PATCH v2 4/6] board: phytec: phycore_imx8mp: Update 2GB RAM Timings

2023-10-16 Thread sbabic
> Due to PCB layout constraints in PCB revisions until including 1549.2, > a RAM frequency of 2 GHz can cause rare instabilities. Set the RAM > frequency to 1.5 GHz to achieve a stable system under all conditions. > Signed-off-by: Teresa Remmet > Reviewed-by: Yannic Moog > Tested-by: Yannic Moog

[PATCH v2 6/6] board: phytec: phycore_imx8mp: Add 4000MTS RAM timings based on PCB rev

2023-10-16 Thread sbabic
> Starting with PCB revision 3 we can safely make use of higher RAM > frequency again. Make use of the EEPROM detection to determine the > revision and use the updated RAM timings for new SoMs. > Signed-off-by: Teresa Remmet > Reviewed-by: Yannic Moog > Tested-by: Yannic Moog Applied to

Re: [PATCH RESEND v3 1/1] arm: dts: icnova-a20-adb4006: Add board support

2023-10-16 Thread Andre Przywara
On Mon, 9 Oct 2023 13:39:16 +0200 Ludwig Kormann wrote: Hi Ludwig, thanks for sending this again! > Add board support for ICnova A20 SomPi compute module on > ICnova ADB4006 development board. > > Specification: > SoM > - Processor: Allwinner A20 Cortex-A7 Dual Core at 1GHz > - 512MB DDR3

[PATCH v2 2/7] arm64: dts: imx8mp: Switch to DT overlays for i.MX8MP DHCOM SoM

2023-10-16 Thread Marek Vasut
Add DT overlays to support additional DH i.MX8MP DHCOM SoM 660-100 population options with 1x or 2x RMII PHY mounted on PDK2 or PDK3 carrier boards. Use SPL DTO support to apply matching SoM specific DTO to cater for the SoM differences. Remove ad-hoc patching of control DT from

[PATCH v2 3/7] arm64: dts: imx8mp: Update i.MX8MP DHCOM SoM DT to production rev.200

2023-10-16 Thread Marek Vasut
The current imx8mp-dhcom-som.dtsi describes prototype rev.100 SoM, update the DT to describe production rev.200 SoM which brings the following changes: - Fast SoC GPIOs exposed on the SoM edge connector - Slow GPIOs like component resets moved to I2C GPIO expander - ADC upgraded from TLA2024 to

[PATCH v2 1/7] spl: fit: Add board level function to decide application of DTO

2023-10-16 Thread Marek Vasut
Add board-specific function used to indicate whether a DTO from fitImage configuration node 'fdt' property DT and DTO list should be applied onto the base DT or not applied. This is useful in case of DTOs which implement e.g. different board revision details, where such DTO should be applied on

[PATCH v2 4/7] arm64: dts: imx8mp: Drop i.MX8MP DHCOM rev.100 PHY address workaround from PDK3 DT

2023-10-16 Thread Marek Vasut
In case the i.MX8MP DHCOM rev.100 has been populated on the PDK3 carrier board, the on-SoM PHY PHYAD1 signal has been pulled high by the carrier board and changed the PHY MDIO address from 5 to 7. This has been fixed on production rev.200 SoM by additional buffer on the SoM PHYAD/LED signals,

Re: [PATCH 2/2] ARM64: dts: marvell: cn9310-crb: Remove duplicate pinctrl

2023-10-16 Thread Stefan Roese
On 8/24/23 13:30, Stefan Roese wrote: On 8/21/23 01:31, Chris Packham wrote: The cn9130.dtsi defines a pinctrl node for SPI1 (until recently it was mislabeled as spi0). Use this instead of having a duplicate definition with a different label. Signed-off-by: Chris Packham Reviewed-by: Stefan

Re: [PATCH 1/2] ARM64: dts: marvell: cn9310: Use appropriate label for spi1 pins

2023-10-16 Thread Stefan Roese
On 8/24/23 13:29, Stefan Roese wrote: On 8/21/23 01:31, Chris Packham wrote: The CN9130-DB uses the SPI1 interface but had the pinctrl node labelled as "cp0_spi0_pins". Use the label "cp0_spi1_pins" and update the node name to "cp0-spi-pins-1" to avoid confusion with the pinctrl options for

Re: [PATCH 1/6] binman: Reset missing bintools after testing

2023-10-16 Thread Neha Malcom Francis
Hi Simon On 15/10/23 02:10, Simon Glass wrote: For tests which fake bintools being missing, we need to reset the list afterwards, to ensure that future tests do not also see the bintools as missing. Reset the list when processing is complete. Signed-off-by: Simon Glass ---

[PATCH v2 3/6] board: phytec: phycore-imx8mp: Add EEPROM detection initialisation

2023-10-16 Thread sbabic
> Add EEPROM detection initialisation for phyCORE-i.MX8MM and > print SoM information during boot when successful. > Signed-off-by: Teresa Remmet > Reviewed-by: Yannic Moog > Tested-by: Yannic Moog Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic --

Re: [PATCH v3 12/21] serial: sh: Fix error handling

2023-10-16 Thread Marek Vasut
On 10/16/23 11:25, Paul Barker wrote: The current SCIF error handling is broken for the RZ/G2L. After a break condition has been triggered, the current code is unable to clear the error and serial port output never resumes. The RZ/G2L datasheet says that most error conditions are cleared by

Re: [PATCH v5 2/6] cmd: Add a sysinfo command

2023-10-16 Thread Detlev Casanova
On Monday, October 2, 2023 2:56:28 P.M. EDT Simon Glass wrote: > On Mon, 2 Oct 2023 at 09:21, Detlev Casanova > > wrote: > > The command is able to show different information for the running > > system: > > * Model name > > * Board ID > > * Revision > > > > This command can be used by boot

Re: [PATCH 1/4] net: dwc_eth_qos: add i.MX93 support

2023-10-16 Thread Stefano Babic
Hi Sebastian, On 27.07.23 10:33, Sébastien Szymanski wrote: Add support for DWC EQoS MAC on i.MX93. Signed-off-by: Sébastien Szymanski --- drivers/net/dwc_eth_qos.c | 4 drivers/net/dwc_eth_qos_imx.c | 3 +++ 2 files changed, 7 insertions(+) diff --git

Re: [PATCH] pstore: Use root address-cells/size-cells as defaults for reserved-memory

2023-10-16 Thread Andrey Skvortsov
Hi, On 23-08-26 19:41, Andre Przywara wrote: > On Sat, 26 Aug 2023 15:10:10 +0200 > Heinrich Schuchardt wrote: > > Hi, > > > On 8/26/23 14:16, Andrey Skvortsov wrote: > > > u-boot adds reserve-memory node, if it's missing, with following > > > properties: > > > > > > ``` > > >

Re: [PATCH v7 4/9] efi_loader: create default file boot option

2023-10-16 Thread Ilias Apalodimas
On Mon, Oct 16, 2023 at 02:46:46PM +0200, Heinrich Schuchardt wrote: > On 16.10.23 14:31, Ilias Apalodimas wrote: > > Hi Heinrich, > > > > On Mon, 16 Oct 2023 at 10:06, Heinrich Schuchardt > > wrote: > > > > > > > > > > > > Am 16. Oktober 2023 08:45:21 MESZ schrieb Masahisa Kojima > > > : > > >

[PATCH 8/9] arm: mach-k3: j7200: Skip fit processing when resuming

2023-10-16 Thread Thomas Richard
No need to process fit image during resume. All needed parts are already available in DRAM. Based on the work of Gregory CLEMENT Signed-off-by: Thomas Richard Signed-off-by: Gregory CLEMENT --- arch/arm/mach-k3/sysfw-loader.c | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff

[PATCH 9/9] cmd: test_enter_suspend: Add test_enter_suspend command

2023-10-16 Thread Thomas Richard
From: Gregory CLEMENT Add test_enter_suspend command using PSCI. This command is only to test suspend sequence from U-Boot. The resume will not work. Signed-off-by: Gregory CLEMENT Signed-off-by: Thomas Richard --- cmd/Kconfig | 7 +++ cmd/boot.c | 8

Re: [PATCH] kirkwood: dns325: Enable 2nd harddrive

2023-10-16 Thread Stefan Roese
On 8/12/23 05:54, Tony Dinh wrote: On Fri, Aug 11, 2023 at 3:02 PM Stefan Roese wrote: The 2nd HD is not enabled in U-Boot on the D-Link DNS325. This patch sets the responsible GPIO to high, enabling the drive. Suggested-by: Peter Granilla Signed-off-by: Stefan Roese Cc: Tom Rini Applied

Re: [PATCH v7 4/9] efi_loader: create default file boot option

2023-10-16 Thread Heinrich Schuchardt
On 16.10.23 15:00, Masahisa Kojima wrote: On Mon, 16 Oct 2023 at 21:46, Heinrich Schuchardt wrote: On 16.10.23 14:31, Ilias Apalodimas wrote: Hi Heinrich, On Mon, 16 Oct 2023 at 10:06, Heinrich Schuchardt wrote: Am 16. Oktober 2023 08:45:21 MESZ schrieb Masahisa Kojima : Current

[PATCH v2 1/4] spl: mmc: Introduce proper layering for spl_mmc_get_uboot_raw_sector()

2023-10-16 Thread Marek Vasut
Introduce two new weak functions, arch_spl_mmc_get_uboot_raw_sector() and board_spl_mmc_get_uboot_raw_sector(), each of which can be overridden at a matching level, that is arch/ and board/ , in addition to the existing weak function spl_mmc_get_uboot_raw_sector(). This way, architecture code can

[PATCH v2 3/4] ARM: imx: Use correct U-Boot offset in case of secondary boot from eMMC

2023-10-16 Thread Marek Vasut
From: Fedor Ross In case of a secondary image boot from the user area of an eMMC device, the correct offset must be calculated. The offset is fused in the fuse IMG_CNTN_SET1_OFFSET of the i.MX8M Nano and Plus. The calculation of the offset is described in the reference manual (IMX8MNRM Rev. 2,

[PATCH v2 2/4] ARM: imx: Factor out parsing of ROM log

2023-10-16 Thread Marek Vasut
From: Fedor Ross Factor out parsing of ROM log in function spl_mmc_emmc_boot_partition(). This can be helpful to detect a secondary image boot without fiddling around with MMC partitions. This way for example, U-Boot is able to detect a secondary image boot and can enter some fallback scenario

[PATCH v2 4/4] ARM: imx: Add support for detecting primary/secondary bmode on MX8M

2023-10-16 Thread Marek Vasut
From: Fedor Ross Implement the 'getprisec' subcommand of 'bmode' command for i.MX8M by reading out the ROM log events. This event is set by the BootROM if it switched to the secondary copy due to primary copy being corrupted. Signed-off-by: Fedor Ross Signed-off-by: Marek Vasut --- Cc: "NXP

Re: [PATCH v7 4/9] efi_loader: create default file boot option

2023-10-16 Thread Ilias Apalodimas
Hi Heinrich, On Mon, 16 Oct 2023 at 10:06, Heinrich Schuchardt wrote: > > > > Am 16. Oktober 2023 08:45:21 MESZ schrieb Masahisa Kojima > : > >Current efibootmgr automatically creates the > >boot options of all disks and partitions installing > >EFI_SIMPLE_FILE_SYSTEM_PROTOCOL. > >Some of the

[PATCH v2 5/7] arm64: dts: imx8mp: Add DT overlay describing i.MX8MP DHCOM SoM rev.100

2023-10-16 Thread Marek Vasut
The current imx8mp-dhcom-som.dtsi describes production rev.200 SoM, add DT overlay which reinstates rev.100 SoM description to permit prototype rev.100 SoMs to be used until they get phased out. Signed-off-by: Marek Vasut --- Cc: "NXP i.MX U-Boot Team" Cc: Algapally Santosh Sagar Cc: Fabio

[PATCH v2 7/7] arm64: dts: imx8mp: Describe M24C32-D write-lockable page in DH i.MX8MP DHCOM DT

2023-10-16 Thread Marek Vasut
The i.MX8MP DHCOM SoM production rev.200 is populated with M24C32-D EEPROMs which have Additional Write lockable page at separate I2C address. Describe the page in DT to make it available. Disable the additional page in rev.100 SoM DTO as those devices contain EEPROM without an Additional Write

[PATCH v2 6/7] arm64: dts: imx8mp: Make GPIO3 available early in U-Boot proper on i.MX8MP DHCOM

2023-10-16 Thread Marek Vasut
The GPIO3 has to be available early during U-Boot proper start up for DRAM size detect to work correctly. The GPIO3 is currently available in SPL and late in U-Boot proper, which is insufficient. Add the missing bootph-all to make the GPIO3 available also early in U-Boot proper. Signed-off-by:

Re: [PATCH v3 16/21] mmc: renesas-sdhi: Initialize module on RZ/G2L

2023-10-16 Thread Marek Vasut
On 10/16/23 11:25, Paul Barker wrote: On the Renesas RZ/G2L SoC family, we must ensure that the required clock signals are enabled and the reset signal is de-asserted before we try to communicate with the SDHI module. Signed-off-by: Paul Barker Reviewed-by: Biju Das Reviewed-by: Lad Prabhakar

Re: [PATCH 1/2] command.h: Add a U_BOOT_LONGHELP macro

2023-10-16 Thread Tom Rini
On Sun, Oct 15, 2023 at 08:39:44AM -0600, Simon Glass wrote: > Hi Tom, > > On Sat, 7 Oct 2023 at 13:13, Tom Rini wrote: > > > > In order to be able to discard unused long help texts without further > > linker lists, add a macro for defining the long help messages which uses > > __maybe_unused.

[PATCH 1/9] DO NOT MERGE: arm: dts: k3-j7200-r5-common: Add pmic node for esm

2023-10-16 Thread Thomas Richard
From: Gowtham Tammana Add pmic tps659413 node needed for ESM error event handling. Signed-off-by: Gowtham Tammana Signed-off-by: Neha Malcom Francis Signed-off-by: Thomas Richard --- arch/arm/dts/k3-j7200-r5-common-proc-board.dts | 17 ++--- 1 file changed, 14 insertions(+), 3

[PATCH 2/9] configs: j7200_evm_r5: Used reserved memory in DDR for stack

2023-10-16 Thread Thomas Richard
From: Gregory CLEMENT When resuming from suspend to ram, we load again the DM firmware. However, we have to be sure to not modify the memory used by Linux. Currently the SPL stack in DDR was in place that could be used by Linux. Instead of it use a memory address that is located in a reserved

[PATCH 0/9] Suspend to RAM support for K3 J7200

2023-10-16 Thread Thomas Richard
This series is the U-Boot part of the work to add the suspend to RAM support for the K3 J7200 EVM board. During the boot R5 SPL makes a copy of DM-Firmware in memory. Resume detection is done by reading a magic value in a pmic register (set by DM-Firmware). If a resume is detected, R5 SPL run

Please pull u-boot-marvell/master

2023-10-16 Thread Stefan Roese
Hi Tom, please pull this first batch of Marvell related patches: - dns325: Enable 2nd harddrive (Peter & Stefan) - marvell: cn9310-crb: Misc fixes to SPI / pincntrl in DTS (Chris) - kirkwood: Add support for ZyXEL NSA325 board

Re: [PATCH] arm: kirkwood: Add support for ZyXEL NSA325 board

2023-10-16 Thread Stefan Roese
On 8/26/23 05:33, Tony Dinh wrote: ZyXEL NSA325 specifications: Marvell Kirkwood 88F6282 SoC 1.6 GHz CPU 1x GBE LAN port (Marvell MV88E1318) 512 MB RAM 128 MB Eon NAND, SLC I2C 1x USB 3.0 (on PCIe bus) 2x USB 2.0 2x SATA (hot swap slots) Serial console Signed-off-by: Tony Dinh Applied to

Re: [PATCH] arm: mvebu: sata_mv: Add bootstd hook to enable sata_bootdev

2023-10-16 Thread Stefan Roese
On 9/25/23 10:14, Stefan Roese wrote: On 9/6/23 07:22, Tony Dinh wrote: Add hook in sata_mv probe to enable bootstd bootdev. Note: bootdev_setup_for_sibling_blk() invocation is a noop if bootsd is not enabled for ahci sata yet. Signed-off-by: Tony Dinh Reviewed-by: Stefan Roese Applied

Re: [PATCH 1/2] arm: mvebu: x240: Disable SMBIOS

2023-10-16 Thread Stefan Roese
On 10/5/23 09:54, Stefan Roese wrote: On 10/3/23 05:57, Chris Packham wrote: The x240 doesn't make use of EFI or SMBIOS. Recently we started seeing boot failures such as WARNING: SMBIOS table_address overflow 23f60c020 Failed to write SMBIOS table initcall failed at event

Re: [PATCH 00/11] Introduce basic support for TI's AM62Px SoC family

2023-10-16 Thread Nishanth Menon
On 18:06-20231012, Bryan Brattlof wrote: > Hello Everyone! > > The AM62Px is an extension of the existing Sitara AM62x low-cost family > of application processors built for Automotive and Linux Application > development. Scalable Arm Cortex-A53 performance and embedded features, > such as: multi

[PATCH v2 1/1] sunxi: H616: add LPDDR4 DRAM support

2023-10-16 Thread Mikhail Kalashnikov
From: iuncuim The H616 SoC family has support for several types of DRAM: DDR3, LPDDR3, DDR4 and LPDDR4. At the moment, the driver only supports DDR3 and LPDDR3 memory. Let's extend the driver to support the LPDDR4 memory. This type of memory widely used in device with T507(-H) SoC and new

failed to build u-boot mt7621_rfb_defconfig

2023-10-16 Thread Xiaobo Liu
I checkout u-boot tag: v2023.10 https://github.com/u-boot/u-boot/tree/v2023.10 run build: ```shell export STAGING_DIR=/home/foo/openwrt-toolchain-22.03.4-ramips-mt7621_gcc-11.2.0_musl.Linux-x86_64/ make mt7621_rfb_defconfig make

[PATCH v2 0/1] sunxi: H616: add LPDDR4 support

2023-10-16 Thread Mikhail Kalashnikov
From: iuncuim At the moment, the driver only supports DDR3 and LPDDR3 memory. Add support for a new type DRAM. These changes have been successfully tested by me with orangepi zero3 4GB (DRAM: Rayson RS1G32LO4D2BDS-53BT). This patch should be applied after this:

Re: [PATCH v3 13/21] serial: sh: Sort includes

2023-10-16 Thread Marek Vasut
On 10/16/23 11:25, Paul Barker wrote: Tidy up the existing include list before we add more includes in the following patch. Signed-off-by: Paul Barker Reviewed-by: Marek Vasut Thanks!

Re: [PATCH] arm: mvebu: AC5/AC5X: Disable SMBIOS

2023-10-16 Thread Stefan Roese
On 10/16/23 11:02, Stefan Roese wrote: On 10/13/23 05:00, Chris Packham wrote: The RD-AC5X doesn't make use of EFI or SMBIOS. Recently we started seeing boot failures such as WARNING: SMBIOS table_address overflow 27f60f020 Failed to write SMBIOS table initcall failed at event

Re: [PATCH 2/2] arm: mvebu: clearfog: support 512MB memory size from tlv eeprom

2023-10-16 Thread Stefan Roese
On 10/16/23 11:01, Stefan Roese wrote: On 10/8/23 16:58, Josua Mayer wrote: Handle 2GBit memory size value "2" from tlv eeprom on ddr initialisation, to support SoMs with 512MB ddr memory. Signed-off-by: Josua Mayer Reviewed-by: Stefan Roese Applied to u-boot-marvell/master Thanks,

Re: [PATCH 1/2] arm: mvebu: clearfog: read number of ddr channels from tlv data

2023-10-16 Thread Stefan Roese
On 10/16/23 11:00, Stefan Roese wrote: On 10/8/23 16:58, Josua Mayer wrote: Extend the existing tlv vendor extension used for ram size by one byte to also store the number of ddr channels. The length of the tlv entry can indicate whether the new information is present. If not default to single

Re: [PATCH v7 4/9] efi_loader: create default file boot option

2023-10-16 Thread Heinrich Schuchardt
On 16.10.23 14:31, Ilias Apalodimas wrote: Hi Heinrich, On Mon, 16 Oct 2023 at 10:06, Heinrich Schuchardt wrote: Am 16. Oktober 2023 08:45:21 MESZ schrieb Masahisa Kojima : Current efibootmgr automatically creates the boot options of all disks and partitions installing

Re: [PATCH v3 21/21] board: rzg2l: Add RZ/G2L SMARC EVK board

2023-10-16 Thread Marek Vasut
On 10/16/23 11:25, Paul Barker wrote: The Renesas RZ/G2L SMARC Evaluation Board Kit consists of the RZ/G2L System-on-Module (SOM) based on the R9A07G044L2 SoC, and a common SMARC carrier board. The ARM TrustedFirmware code for the Renesas RZ/G2L SoC family passes a devicetree blob to the

[PATCH 7/9] board: ti: j721e: During resume spl restores TF-A and DM-Firmware

2023-10-16 Thread Thomas Richard
During the boot a copy of DM-Firmware is done in a reserved memory area before it starts. When resuming, R5 SPL uses this copy of DM-Firmware instead of the fit image. TF-A which saved itself in this same memory area, is restored in SRAM by R5 SPL. Based on the work of Gregory CLEMENT

[PATCH 4/9] board: ti: j721e: Add resume detection for J7200

2023-10-16 Thread Thomas Richard
Add the capability to detect a resume. To detect the resume, SPL searches a magic value (0xBA) in a register of PMICA. This value is set by DM-Firmware during the suspend sequence. Based on the work of Gregory CLEMENT Signed-off-by: Thomas Richard Signed-off-by: Gregory CLEMENT ---

[PATCH 5/9] ram: k3-ddrss: Add exit retention support

2023-10-16 Thread Thomas Richard
Add the exit retention support. The enter retention is done by DM-Firmware. A part of the exit retention sequence is specific to the board. It is done in board_k3_ddrss_lpddr4_release_retention. Based on the work of Gregory CLEMENT Signed-off-by: Thomas Richard Signed-off-by: Gregory CLEMENT

[PATCH 6/9] board: ti: j721e: Add the missing part of exit retention for k3-ddrss (J7200)

2023-10-16 Thread Thomas Richard
Add the board specific part of the exit retention sequence for k3-ddrss Based on the work of Gregory CLEMENT Signed-off-by: Thomas Richard Signed-off-by: Gregory CLEMENT --- board/ti/j721e/evm.c | 27 ++- 1 file changed, 26 insertions(+), 1 deletion(-) diff --git

[PATCH 3/9] configs: j7200_evm_r5: Move address used for allocation in the reserved space

2023-10-16 Thread Thomas Richard
From: Gregory CLEMENT Else it could corrupt the memory of Linux when exiting suspend to ram. Signed-off-by: Gregory CLEMENT Signed-off-by: Thomas Richard --- configs/j7200_evm_r5_defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configs/j7200_evm_r5_defconfig

Re: [PATCH v2] cmd: mbr: Allow 4 MBR partitions without need for extended

2023-10-16 Thread Tom Rini
On Mon, Oct 09, 2023 at 01:24:36AM +, Alexander Gendin wrote: > Current code allows up to 3 MBR partitions without extended one. > If more than 3 partitions are required, then extended partition(s) > must be used. > This commit allows up to 4 primary MBR partitions without the > need for

Re: [PATCH 2/6] binman: Don't add compression attribute for uncompressed files

2023-10-16 Thread Neha Malcom Francis
Hi Simon On 15/10/23 02:10, Simon Glass wrote: cbfsutil changed to skip adding a compression attribute if there is no compression. Adjust the binman implementation to do the same. This mirrors commit 105cdf5625 in coreboot. Signed-off-by: Simon Glass --- tools/binman/cbfs_util.py |

Re: failed to build u-boot mt7621_rfb_defconfig

2023-10-16 Thread Fabio Estevam
Hi Xiaobo, On Mon, Oct 16, 2023 at 8:49 AM Xiaobo Liu wrote: > Image 'u-boot-spl-ddr' is missing external blobs and is non-functional: > stage_bin > > /binman/u-boot-spl-ddr/stage_bin (mt7621_stage_sram.bin): >Missing blob > > Some images are invalid > make: *** [Makefile:1115:

Re: [PATCH v7 4/9] efi_loader: create default file boot option

2023-10-16 Thread Masahisa Kojima
On Mon, 16 Oct 2023 at 21:46, Heinrich Schuchardt wrote: > > On 16.10.23 14:31, Ilias Apalodimas wrote: > > Hi Heinrich, > > > > On Mon, 16 Oct 2023 at 10:06, Heinrich Schuchardt > > wrote: > >> > >> > >> > >> Am 16. Oktober 2023 08:45:21 MESZ schrieb Masahisa Kojima > >> : > >>> Current

[RFC PATCH 1/5] arm: mach-k3: common: Reserve video memory from end of the RAM

2023-10-16 Thread Devarsh Thakkar
Move the function to setup video memory before page table reservation so that framebuffer memory gets reserved from the end of RAM. This is as per the new policy being discussed for passing blobs where each of the reserved areas for bloblists to be passed need to be reserved at the end of RAM.

[RFC PATCH 2/5] board: ti: am62x: evm: Remove video_setup from spl_board_init

2023-10-16 Thread Devarsh Thakkar
Remove video_setup from evm_init sequence since it is now getting called at an earlier place now to make sure video memory is reserved at the end of RAM. Suggested-by: Simon Glass Signed-off-by: Devarsh Thakkar --- board/ti/am62x/evm.c | 18 -- 1 file changed, 18 deletions(-)

[RFC PATCH 3/5] common/board_f: Catch bloblist before starting resevatinos

2023-10-16 Thread Devarsh Thakkar
Start reservations needed for init sequence only after catching bloblists from previous stage. This is to avoid catching bloblists in the middle causing gaps while u-boot is reserving. Adjust the relocaddr as per video hand-off information received from previous stage so that further

[RFC PATCH 5/5] video: Fill video handoff in video post probe

2023-10-16 Thread Devarsh Thakkar
Fill video handoff fields in video_post_probe as at this point we have full framebuffer related information. Also fill all the fields available in video hand-off struct as those were missing earlier and u-boot framework expects them to be filled for some of the functionalities. Reported-by:

[RFC PATCH 0/5] Move video memory reservation for SPL at the end of RAM

2023-10-16 Thread Devarsh Thakkar
Move video memory reservation for SPL at end of RAM so that it does not interefere with reservations for next stage so that the next stage need not have holes in between for passed regions and instead it can maintain continuity in reservations. Also catch the bloblist before starting reservations

[RFC PATCH 4/5] video: Skip framebuffer reservation if already reserved

2023-10-16 Thread Devarsh Thakkar
Skip framebufer reservation if it was already reserved from previous stage and whose information was passed using a bloblist. Signed-off-by: Devarsh Thakkar --- drivers/video/video-uclass.c | 8 1 file changed, 8 insertions(+) diff --git a/drivers/video/video-uclass.c

Re: [PATCH v3 5/9] board_f: Fix corruption of relocaddr

2023-10-16 Thread Devarsh Thakkar
Hi Simon, Tom, On 10/10/23 20:27, Simon Glass wrote: > Hi Devarsh, > > On Fri, 22 Sept 2023 at 15:49, Devarsh Thakkar wrote: >> >> Hi Simon, >> >> On 22/09/23 23:57, Simon Glass wrote: >>> Hi Devarsh, >>> >>> On Tue, 12 Sept 2023 at 08:35, Devarsh Thakkar wrote: Hi Simon,

Re: [PATCH v7 2/2] schemas: Add some common reserved-memory usages

2023-10-16 Thread Rob Herring
On Fri, Oct 13, 2023 at 4:09 PM Simon Glass wrote: > > Hi Rob, > > On Fri, 13 Oct 2023 at 13:42, Rob Herring wrote: > > > > On Fri, Oct 6, 2023 at 7:03 PM Simon Glass wrote: > > > > > > Hi Ard, > > > > > > On Fri, 6 Oct 2023 at 17:00, Ard Biesheuvel wrote: > > > > > > > > On Fri, 6 Oct 2023 at

Re: [PATCH v5 1/6] sysinfo: Add IDs for board id and revision

2023-10-16 Thread Marek Vasut
On 10/16/23 19:37, Heinrich Schuchardt wrote: On 10/2/23 17:20, Detlev Casanova wrote: These IDs will be used by the sysinfo command. The new IDs are:   * SYSINFO_ID_BOARD_ID: The board ID as an integer   * SYSINFO_ID_BOARD_REV_MAJOR: The board major revision as int   *

[RESEND PATCH] arm: kirkwood: Pogo v4: Enable LTO

2023-10-16 Thread Tony Dinh
Enable building Pogo V4 u-boot image with LTO, which results in about 30K reduction in size. Rebased to latest master and resend. Signed-off-by: Tony Dinh --- configs/pogo_v4_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/pogo_v4_defconfig b/configs/pogo_v4_defconfig

Re: [PATCH 1/9] DO NOT MERGE: arm: dts: k3-j7200-r5-common: Add pmic node for esm

2023-10-16 Thread Nishanth Menon
On 16:11-20231016, Thomas Richard wrote: > From: Gowtham Tammana > > Add pmic tps659413 node needed for ESM error event handling. > > Signed-off-by: Gowtham Tammana > Signed-off-by: Neha Malcom Francis > Signed-off-by: Thomas Richard > --- > > arch/arm/dts/k3-

[PATCH 5/5] arm64: dts: imx8mp: Add DT overlay describing i.MX8MP DHCOM SoM rev.100

2023-10-16 Thread sbabic
> The current imx8mp-dhcom-som.dtsi describes production rev.200 SoM, > add DT overlay which reinstates rev.100 SoM description to permit > prototype rev.100 SoMs to be used until they get phased out. > Signed-off-by: Marek Vasut Applied to u-boot-imx, master, thanks ! Best regards, Stefano

[PATCH 1/3] imx7d-sdb-u-boot: Pass SPDX-License tag

2023-10-16 Thread sbabic
> From: Fabio Estevam > SPDX-License tag is missing and checkpatch complains about it. > Add the SPDX-License tag using the same one from imx7d-sdb.dts. > Signed-off-by: Fabio Estevam > Reviewed-by: Marek Vasut Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic --

[PATCH 3/3] smegw01: Convert to watchdog driver model

2023-10-16 Thread sbabic
> From: Fabio Estevam > Commit 68dcbdd594d4 ("ARM: imx: Add weak default reset_cpu()") caused > the 'reset' command in U-Boot to not cause a board reset. > Fix it by switching to the watchdog driver model via sysreset, which > is the preferred method for implementing the watchdog reset. >

[PATCH 3/4] serial: lpuart: Enable IPG clock

2023-10-16 Thread sbabic
> From: Ye Li > Current codes only ennable the PER clock. However on iMX8 the LPUART > also needs IPG clock which is an LPCG. Should not depend on the default > LPCG setting. > Signed-off-by: Ye Li > Reviewed-by: Peng Fan > Signed-off-by: Sébastien Szymanski Applied to u-boot-imx, master,

[PATCH 2/5] arm64: dts: imx8mp: Switch to DT overlays for i.MX8MP DHCOM SoM

2023-10-16 Thread sbabic
> Add DT overlays to support additional DH i.MX8MP DHCOM SoM 660-100 > population options with 1x or 2x RMII PHY mounted on PDK2 or PDK3 > carrier boards. > Use SPL DTO support to apply matching SoM specific DTO to cater > for the SoM differences. Remove ad-hoc patching of control DT from >

[PATCH 4/4] imx93_evk: defconfig: enable clock driver

2023-10-16 Thread sbabic
> Add clocks nodes in u-boot.dtsi file. > Remove init_uart_clk() call. > Signed-off-by: Sébastien Szymanski Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DENX Software Engineering GmbH,

Re: [PATCH v7 7/9] Boot var automatic management for removable medias

2023-10-16 Thread João Marcos Costa
Hello again, Em seg., 16 de out. de 2023 às 09:58, João Marcos Costa < jmcosta...@gmail.com> escreveu: > Hello, > > Em seg., 16 de out. de 2023 às 08:47, Masahisa Kojima < > masahisa.koj...@linaro.org> escreveu: > >> From: Raymond Mao >> >> Changes for complying to EFI spec §3.5.1.1 >>

Re: [PATCH v2] usb: xhci: Workaround to fix the USB halted endpoint issues

2023-10-16 Thread Tom Rini
On Mon, Oct 16, 2023 at 08:34:16AM +0200, Michal Simek wrote: > > > On 10/13/23 17:15, Tom Rini wrote: > > On Fri, Oct 13, 2023 at 11:11:04AM -0400, Da Xue wrote: > > > On Fri, Oct 13, 2023 at 7:47 AM Marek Vasut wrote: > > > > > > > > On 10/13/23 06:53, Venkatesh Yadav Abbarapu wrote: > > > >

Pull request: please pull u-boot-imx-20231016

2023-10-16 Thread Stefano Babic
://gitlab.denx.de/u-boot/custodians/u-boot-imx.git tags/u-boot-imx-20231016 for you to fetch changes up to b0eef7326920ff55ec22dfb86812033d84737839: imx8mp-evk: Add USB0 OTG support (2023-10-16 18:52:20 +0200) u-boot-imx-20231016

Re: [PATCH 2/2] cmd: Convert existing long help messages to the new macro

2023-10-16 Thread Tom Rini
On Sat, Oct 07, 2023 at 03:13:08PM -0400, Tom Rini wrote: > - Generally we just drop the #ifdef CONFIG_SYS_LONGHELP and endif lines > and use U_BOOT_LONGHELP to declare the same variable name as before > - In a few places, either rename the variable to follow convention or > introduce the

Re: Please pull u-boot-marvell/master

2023-10-16 Thread Tom Rini
On Mon, Oct 16, 2023 at 04:50:26PM +0200, Stefan Roese wrote: > Hi Tom, > > please pull this first batch of Marvell related patches: > Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH] cmd/ti: Update Kconfig logic and Makefile recursion logic

2023-10-16 Thread Tom Rini
On Sat, Oct 07, 2023 at 03:36:58PM -0400, Tom Rini wrote: > - Add some dependencies to CMD_DDR3 as this is only valid on some > platforms (which tend to select it as well). > - The proper gate for going in to cmd/ti is not > CONFIG_TI_COMMON_CMD_OPTIONS as nothing under there is controlled by

Re: [PATCH 1/2] command.h: Add a U_BOOT_LONGHELP macro

2023-10-16 Thread Tom Rini
On Sat, Oct 07, 2023 at 03:13:07PM -0400, Tom Rini wrote: > In order to be able to discard unused long help texts without further > linker lists, add a macro for defining the long help messages which uses > __maybe_unused. This allows us to discard them as unreferenced as part > of the link. >

Re: [PATCH 6/6] eeprom: starfive: add 'mac raw' command

2023-10-16 Thread Tom Rini
On Sat, Sep 30, 2023 at 02:01:47PM +0200, Heinrich Schuchardt wrote: > Add a sub-command to print a hexdump of the EEPROM content. > > Signed-off-by: Heinrich Schuchardt Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH v7 2/2] schemas: Add some common reserved-memory usages

2023-10-16 Thread Simon Glass
Hi Rob, On Mon, 16 Oct 2023 at 10:50, Rob Herring wrote: > > On Fri, Oct 13, 2023 at 4:09 PM Simon Glass wrote: > > > > Hi Rob, > > > > On Fri, 13 Oct 2023 at 13:42, Rob Herring wrote: > > > > > > On Fri, Oct 6, 2023 at 7:03 PM Simon Glass wrote: > > > > > > > > Hi Ard, > > > > > > > > On

Re: [PATCH v5 6/6] sysinfo: rcar3: Implement BOARD_ID and BOARD_REV_*

2023-10-16 Thread Detlev Casanova
On Saturday, October 7, 2023 5:35:27 P.M. EDT Marek Vasut wrote: > On 10/2/23 17:20, Detlev Casanova wrote: > > Expose that information to the sysinfo command to let scripts make > > decisions based on the board id and revision. > > > > Signed-off-by: Detlev Casanova > > --- > > > >

Re: [PATCH v7 1/2] schemas: memory: Add ECC properties

2023-10-16 Thread Rob Herring
On Tue, Sep 26, 2023 at 01:42:38PM -0600, Simon Glass wrote: > Some memories provide ECC detection and/or correction. For software which > wants to check memory, it is helpful to see which regions provide this > feature. > > Add this as a property of the /memory nodes, since it presumably follows

Re: [PATCH v2] cmd: mbr: Allow 4 MBR partitions without need for extended

2023-10-16 Thread Simon Glass
Hi, On Mon, 16 Oct 2023 at 10:14, Tom Rini wrote: > > On Mon, Oct 09, 2023 at 01:24:36AM +, Alexander Gendin wrote: > > > Current code allows up to 3 MBR partitions without extended one. > > If more than 3 partitions are required, then extended partition(s) > > must be used. > > This commit

[PATCH 2/3] mx7dsabresd: Convert to watchdog driver model

2023-10-16 Thread sbabic
> From: Fabio Estevam > Commit 68dcbdd594d4 ("ARM: imx: Add weak default reset_cpu()") caused > the 'reset' command in U-Boot to not cause a board reset. > Fix it by switching to the watchdog driver model via sysreset, which > is the preferred method for implementing the watchdog reset. >

[PATCH 1/4] net: dwc_eth_qos: add i.MX93 support

2023-10-16 Thread sbabic
> Add support for DWC EQoS MAC on i.MX93. > Signed-off-by: Sébastien Szymanski Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DENX Software Engineering GmbH,Managing Director: Erika Unter

[PATCH] imx: hab: Use size parameter

2023-10-16 Thread sbabic
> The current code works by sheer coincidence, because (see HABv4 API > documentation, section 3.4) the RVT authenticate_image call updates > the size that is passed in with the actual size ROM code pulls from > IVT/CSF . So if the input size is larger, that is "fine" . Pass in > size instead to

[PATCH 4/5] arm64: dts: imx8mp: Drop i.MX8MP DHCOM rev.100 PHY address workaround from PDK3 DT

2023-10-16 Thread sbabic
> In case the i.MX8MP DHCOM rev.100 has been populated on the PDK3 > carrier board, the on-SoM PHY PHYAD1 signal has been pulled high > by the carrier board and changed the PHY MDIO address from 5 to 7. > This has been fixed on production rev.200 SoM by additional buffer > on the SoM PHYAD/LED

[PATCH 1/5] spl: fit: Add board level function to decide application of DTO

2023-10-16 Thread sbabic
> Add board-specific function used to indicate whether a DTO from fitImage > configuration node 'fdt' property DT and DTO list should be applied onto > the base DT or not applied. > This is useful in case of DTOs which implement e.g. different board revision > details, where such DTO should be

Re: [PATCH v5 4/6] sysinfo: Add documentation

2023-10-16 Thread Heinrich Schuchardt
On 10/2/23 17:20, Detlev Casanova wrote: Add documentation for the sysinfo command with examples. Reviewed-by: Marek Vasut Signed-off-by: Detlev Casanova --- doc/usage/cmd/sysinfo.rst | 56 +++ Thank you for providing a man-page. Unfortunately this does

Re: [PATCH v5 6/6] sysinfo: rcar3: Implement BOARD_ID and BOARD_REV_*

2023-10-16 Thread Marek Vasut
On 10/16/23 19:03, Detlev Casanova wrote: On Saturday, October 7, 2023 5:35:27 P.M. EDT Marek Vasut wrote: On 10/2/23 17:20, Detlev Casanova wrote: Expose that information to the sysinfo command to let scripts make decisions based on the board id and revision. Signed-off-by: Detlev Casanova

Re: [PATCH 4/6] eeprom: starfive: re-implement mac command

2023-10-16 Thread Tom Rini
On Sat, Sep 30, 2023 at 02:01:45PM +0200, Heinrich Schuchardt wrote: > The different implementations of the mac command have board or vendor > specific sub-commands. > > Add the command definition specific to the VisionFive 2 board. > > Don't call cmd_usage() directly but return CMD_RET_USAGE

  1   2   3   >