Re: [PATCH] mtd: spi-nor-core: Add fixups for s25fs512s

2021-09-29 Thread Takahiro Kuwano
On 9/18/2021 2:01 AM, Pratyush Yadav wrote: > On 15/09/21 12:49PM, tkuw584...@gmail.com wrote: >> From: Takahiro Kuwano >> >> The current S25FS512S support has following issues that need to be fixed. >> >> - Non-uniform sectors by factory default. The setting needs to be >> checked and assig

Re: [PATCH] sandbox: Remove OF_HOSTFILE

2021-09-29 Thread Heinrich Schuchardt
On 9/29/21 08:25, Ilias Apalodimas wrote: - */ -int sandbox_read_fdt_from_file(void); - /** * sandbox_reset() - reset sandbox * diff --git a/configs/sandbox64_defconfig b/configs/sandbox64_defconfig index f7098b496983..358a6c168259 100644 --- a/configs/sandbox64_defconfig +++ b/configs

Re: [PATCH] arm: dts: armada8040: Fix CP0 eMMC/SDIO support

2021-09-29 Thread Stefan Roese
On 27.09.21 23:03, Robert Marko wrote: During the migration to a single DTSI for the CP110-s specific pinctrl compatibles were moved to the SoC DTSI as CP0 and CP1 have some specifics. Namely, CP0 eMMC/SDIO support depends on the mvebu-pinctrl driver setting the BIT(0) in eMMC PHY IO Control 0 Re

Please pull u-boot-marvell/master

2021-09-29 Thread Stefan Roese
Hi Tom, please pull this late Marvell MVEBU related fixes: - Armada8k: Fix CP0 eMMC/SDIO support (Robert) Here the Azure build, without any issues: https://dev.azur

Re: [PATCH 1/3] treewide: Remove OF_PRIOR_STAGE from RISC-V boards

2021-09-29 Thread Zong Li
On Mon, Sep 27, 2021 at 2:48 PM Ilias Apalodimas wrote: > > At some point back in 2018 prior_stage_fdt_address and OF_PRIOR_STAGE got > introduced, in order to support a DTB handed over by an earlier stage boo > loader. However we have another option in the Kconfig (OF_BOARD) which has > identic

Re: [PATCH 1/3] treewide: Remove OF_PRIOR_STAGE from RISC-V boards

2021-09-29 Thread Ilias Apalodimas
Hi Zong, [...] > > diff --git a/board/sifive/unleashed/unleashed.c > > b/board/sifive/unleashed/unleashed.c > > index 8cd514df3005..7e89c3f740a7 100644 > > --- a/board/sifive/unleashed/unleashed.c > > +++ b/board/sifive/unleashed/unleashed.c > > @@ -116,12 +116,10 @@ int misc_init_r(void) > > >

Re: [PATCH] rpi: always set fdt_addr with firmware-provided FDT address

2021-09-29 Thread Mauro Salvini
Hi Matthias On 15/09/21 13:16, mbrugger at suse.com (Matthias Brugger) wrote: Hi Mauro, On 07/06/2021 11:27, Mauro Salvini wrote: On 12/05/21 14:39, Mauro Salvini wrote: Raspberry firmware prepares the FDT blob in memory at an address that depends on both the memory size and the blob size [1]

Re: [PATCH 1/3] treewide: Remove OF_PRIOR_STAGE from RISC-V boards

2021-09-29 Thread Ilias Apalodimas
On Wed, Sep 29, 2021 at 12:02:16PM +0300, Ilias Apalodimas wrote: > Hi Zong, > > [...] > > > > diff --git a/board/sifive/unleashed/unleashed.c > > > b/board/sifive/unleashed/unleashed.c > > > index 8cd514df3005..7e89c3f740a7 100644 > > > --- a/board/sifive/unleashed/unleashed.c > > > +++ b/boar

Re: [PATCH] usb: mtu3: flush cache for the first GPD when allocate GPD ring

2021-09-29 Thread Marek Vasut
On 9/23/21 4:59 AM, Chunfeng Yun wrote: When allocate the GPD ring, and tell its address to the controller, then the driver starts or resumes the QMU, the controller will try to access the first GPD, so need flush the first one to avoid wrong GPD status. Reported-by: Xin Lin Signed-off-by: Chun

[RFC PATCH] rpi: copy the EMMC controller configuration from firmware-supplied DT

2021-09-29 Thread K900
We need this to boot with a custom DTB on BCM2711C0-based Pi 4s Signed-off-by: Ilya Katsnelson --- board/raspberrypi/rpi/rpi.c | 63 + 1 file changed, 63 insertions(+) diff --git a/board/raspberrypi/rpi/rpi.c b/board/raspberrypi/rpi/rpi.c index 372b26b6f2..f0

[PATCH v3 2/5] board: sl28: generate FIT update image

2021-09-29 Thread Michael Walle
Generate a FIT update image during build. The image will be called "u-boot.update" and can be used to build an EFI UpdateCapsule or during DFU mode. Although, the latter isn't supported because there is no USB OTG driver yet. Signed-off-by: Michael Walle --- changes since v2: - none changes sin

[PATCH v3 1/5] board: sl28: enable EFI_SET_TIME support

2021-09-29 Thread Michael Walle
Allow EFI to actually set the time before ExitBootServices(). Signed-off-by: Michael Walle --- changes since v2: - none changes since v1: - none configs/kontron_sl28_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/kontron_sl28_defconfig b/configs/kontron_sl28_defconfig

[PATCH v3 3/5] board: sl28: enable EFI UpdateCapsule support

2021-09-29 Thread Michael Walle
Enable support for update over EFI UpdateCapsule mechanism. This board doesn't support setting EFI variables after ExitBootservices(). Therefore, we are also enabling EFI_IGNORE_OSINDICATIONS. Signed-off-by: Michael Walle --- changes since v2: - use CONFIG_EFI_CAPSULE_FIRMWARE_FIT instead of

[PATCH v3 5/5] board: sl28: add update image documentation

2021-09-29 Thread Michael Walle
Document the update image and how to use the EFI UpdateCapsule. Signed-off-by: Michael Walle --- changes since v2: - none changes since v1: - new patch doc/board/kontron/sl28.rst | 15 +++ 1 file changed, 15 insertions(+) diff --git a/doc/board/kontron/sl28.rst b/doc/board/kontr

[PATCH v3 4/5] doc: board: kontron: sl28: Reduce section levels and change title

2021-09-29 Thread Michael Walle
From: Frieder Schrempf In order to add other Kontron boards to the docs alongside the existing sl28 board, we need to reduce the levels of the sections and change the title. Cc: Fabio Estevam Signed-off-by: Frieder Schrempf Acked-by: Michael Walle --- Frieder, Fabio, I took the liberty and a

Re: [PATCH] rpi: always set fdt_addr with firmware-provided FDT address

2021-09-29 Thread Matthias Brugger
Hi Mauro, On 29/09/2021 12:14, Mauro Salvini wrote: Hi Matthias On 15/09/21 13:16, mbrugger at suse.com (Matthias Brugger) wrote: Hi Mauro, On 07/06/2021 11:27, Mauro Salvini wrote: On 12/05/21 14:39, Mauro Salvini wrote: Raspberry firmware prepares the FDT blob in memory at an address that

Re: [RFC PATCH] rpi: copy the EMMC controller configuration from firmware-supplied DT

2021-09-29 Thread François Ozog
Hi It looks real strange to ignore the authoritative entity and try to patch a wrong DTB embedded in U-Boot. Arm SystemReady is definitively aligning to the authoritative entities in the platform to give U-Boot the right basis on which it can apply additional overlays (providing it has a way to v

Re: [PATCH 1/3] treewide: Remove OF_PRIOR_STAGE from RISC-V boards

2021-09-29 Thread Zong Li
On Wed, Sep 29, 2021 at 6:17 PM Ilias Apalodimas wrote: > > On Wed, Sep 29, 2021 at 12:02:16PM +0300, Ilias Apalodimas wrote: > > Hi Zong, > > > > [...] > > > > > > diff --git a/board/sifive/unleashed/unleashed.c > > > > b/board/sifive/unleashed/unleashed.c > > > > index 8cd514df3005..7e89c3f740a

Re: [PATCH] rpi: always set fdt_addr with firmware-provided FDT address

2021-09-29 Thread Mauro Salvini
Hi Matthias, On 29/09/21 13:41, Matthias Brugger wrote: Hi Mauro, On 29/09/2021 12:14, Mauro Salvini wrote: Hi Matthias On 15/09/21 13:16, mbrugger at suse.com (Matthias Brugger) wrote: Hi Mauro, On 07/06/2021 11:27, Mauro Salvini wrote: On 12/05/21 14:39, Mauro Salvini wrote: Raspberry f

Re: [PATCH 5/9] net: dsa: felix: configure the in-band autoneg property based on OF node info

2021-09-29 Thread Vladimir Oltean
Hi Ramon, On Tue, Sep 28, 2021 at 04:34:58PM +0300, Ramon Fried wrote: > On Tue, Sep 28, 2021 at 2:48 AM Vladimir Oltean > wrote: > > > > Instead of trying to guess which operating modes need in-band > > negotiation to be active and which ones don't, parse the available > > information from the

Re: [RFC PATCH] rpi: copy the EMMC controller configuration from firmware-supplied DT

2021-09-29 Thread François Ozog
On Wed, 29 Sept 2021 at 14:29, Ilya K wrote: > There is no DTB embedded in U-Boot here - the DTB comes from the > distribution that U-Boot is booting (in my case NixOS, but it's likely > other similar setups are affected as well). > That's exactly what we (Arm/Linaro) try to avoid from now on wit

Re: [PATCH 1/3] treewide: Remove OF_PRIOR_STAGE from RISC-V boards

2021-09-29 Thread Ilias Apalodimas
> > > > > - if (IS_ENABLED(CONFIG_OF_SEPARATE)) { > > > > > - if (gd->arch.firmware_fdt_addr) > > > > > - return (ulong *)gd->arch.firmware_fdt_addr; > > > > > - else > > > > > - return (ulong *)&_end; > > > > > - }

Re: [PATCH 1/3] treewide: Remove OF_PRIOR_STAGE from RISC-V boards

2021-09-29 Thread Mark Kettenis
> Date: Wed, 29 Sep 2021 15:55:48 +0300 > From: Ilias Apalodimas > > > > > > > - if (IS_ENABLED(CONFIG_OF_SEPARATE)) { > > > > > > - if (gd->arch.firmware_fdt_addr) > > > > > > - return (ulong *)gd->arch.firmware_fdt_addr; > > > > > > - else

Re: [RFC PATCH] rpi: copy the EMMC controller configuration from firmware-supplied DT

2021-09-29 Thread François Ozog
On Wed, 29 Sept 2021 at 14:51, Ilya K wrote: > Now that you mention EBBR: I've actually looked at what TianoCore does > here, and they report different ACPI tables based on the SoC revision as > well. It's probably a better option in the long run, but we already have > people running NixOS on Pi4

Re: [PATCH v2] board: sifive: Fix a potential build warning in board_fdt_blob_setup()

2021-09-29 Thread Ilias Apalodimas
Hi Bin There's a similar discussion in a cleanup series I've sent [1] On Sat, Sep 11, 2021 at 10:31:23PM +0800, Bin Meng wrote: > Commit 47d73ba4f4a4 ("board: sifive: overwrite board_fdt_blob_setup in u-boot > proper") > added a board-specific implementation of board_fdt_blob_setup() which > take

Re: [PATCH 1/3] treewide: Remove OF_PRIOR_STAGE from RISC-V boards

2021-09-29 Thread Ilias Apalodimas
Hi Mark, On Wed, Sep 29, 2021 at 02:59:10PM +0200, Mark Kettenis wrote: > > > > > > [...] > > > > > > I was wondering if we need to check CONFIG_OF_BOARD here? I'm not > > > > > > sure > > > > > > whether we should distinguish the value of a1 register which is > > > > > > Yes, it seems to me

Re: [PATCH] imx8mn_beacon: Fix booting hang and switch to binman

2021-09-29 Thread Adam Ford
On Thu, Sep 23, 2021 at 3:03 PM Adam Ford wrote: > > On Tue, Sep 14, 2021 at 9:49 PM Peng Fan (OSS) wrote: > > > > > > > > On 2021/9/11 4:19, Adam Ford wrote: > > > Somewhere along the line, the board stopped being able to boot. > > > Rather than just fixing the issue, let's fix the issue and mig

Re: [PATCH] clk: versal: Enable only GATE type clocks

2021-09-29 Thread Michal Simek
On 9/28/21 8:00 AM, Ashok Reddy Soma wrote: > From: T Karthik Reddy > > Clocks should be enabled or disabled only if they are of GATE type > clocks. If they are not of GATE type clocks, don't touch them. > > Signed-off-by: T Karthik Reddy > Signed-off-by: Ashok Reddy Soma > --- > > driver

Re: [PATCH 1/3] net: dsa: Use true instead of 1 in the set_promisc() call

2021-09-29 Thread Vladimir Oltean
On Wed, Sep 29, 2021 at 01:50:44PM +0800, Bin Meng wrote: > set_promisc() call accepts the parameter of a bool type. Make it > clear by using true instead of 1. > > Signed-off-by: Bin Meng > --- > > net/dsa-uclass.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/net/d

Re: [PATCH 2/3] net: fec_mxc: Declare 'promisc' as bool

2021-09-29 Thread Vladimir Oltean
On Wed, Sep 29, 2021 at 01:50:45PM +0800, Bin Meng wrote: > priv->promisc is used as the parameter of the set_promisc() call > which accepts a bool type instead of char. > > Signed-off-by: Bin Meng > --- > > drivers/net/fec_mxc.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff

Re: [PATCH 3/3] net: tsec: Make redundant_init() static

2021-09-29 Thread Vladimir Oltean
On Wed, Sep 29, 2021 at 01:50:46PM +0800, Bin Meng wrote: > redundant_init() is only called in the tsec driver. Make it static. > > Signed-off-by: Bin Meng > --- > > drivers/net/tsec.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/net/tsec.c b/drivers/net/tse

[GIT PULL] rpi: updates for v2021.10 second round

2021-09-29 Thread Matthias Brugger
Hi Tom, Last minute changes for v2021.10 but I think they are small enough to get into the release. First we have a problem on RPi4 when you stop and start USB via the console commands. That is fixed. Second Nicolas has changed job and now uses a generic email address for his communication. I'

Re: [PATCH v2] board: sifive: Fix a potential build warning in board_fdt_blob_setup()

2021-09-29 Thread Bin Meng
Hi Ilias, On Wed, Sep 29, 2021 at 9:07 PM Ilias Apalodimas wrote: > > Hi Bin > > There's a similar discussion in a cleanup series I've sent [1] > On Sat, Sep 11, 2021 at 10:31:23PM +0800, Bin Meng wrote: > > Commit 47d73ba4f4a4 ("board: sifive: overwrite board_fdt_blob_setup in > > u-boot proper

Re: [PATCH 0/2] Add basic window watchdog mode support

2021-09-29 Thread Michal Simek
On 9/28/21 8:01 AM, Ashok Reddy Soma wrote: > In this patch series fixed below things. > - Window watchdog is using generic watchdog mode so far. Looks like >this signal cannot be used to trigger any reset inside PLM. So, >change it to basic window watchdog mode. > - Wdt has a expire c

Re: [PATCH] arm: dts: stm32mp1: use ssbl partition name for U-Boot

2021-09-29 Thread Alex G.
On 9/14/21 7:14 AM, Patrick Delaunay wrote: Continue to use the "ssbl" name for GPT partition of secondary boot stage = U-Boot for basic boot with SPL to avoid to disturb existing user. The "fip" partition name is only used for TFA_BOOT with FIP, it is a TF-A BL2 requirement; it the default conf

[PATCH v6 0/2] Support for Kontron Electronics i.MX6UL/ULL and i.MX8MM SoMs

2021-09-29 Thread Frieder Schrempf
From: Frieder Schrempf This a patchset to upstream the support for the SL i.MX6UL, SL i.MX6ULL and SL i.MX8MM families of SoMs and matching evaluation boards by Kontron Electronics. The first patch adds the i.MX6UL/ULL hardware and the second patch the i.MX8MM hardware. Changes in v3: * Drop

[PATCH v6 1/2] imx: imx6ul: Add support for Kontron Electronics SL/BL i.MX6UL/ULL boards (N63xx/N64xx)

2021-09-29 Thread Frieder Schrempf
From: Frieder Schrempf This adds support for i.MX6UL/ULL-based evaluation kits with SoMs by Kontron Electronics GmbH. Currently there are the following SoM flavors (SoM-Line): * N6310: SOM with i.MX6UL-2, 256MB RAM, 256MB SPI NAND * N6311: SOM with i.MX6UL-2, 512MB RAM, 512MB SPI NAND * N6

[PATCH v6 2/2] imx: imx8mm: Add support for Kontron Electronics SL/BL i.MX8M-Mini boards (N801x)

2021-09-29 Thread Frieder Schrempf
From: Frieder Schrempf The Kontron SoM-Line i.MX8MM (N801x) by Kontron Electronics GmbH is a SoM module with an i.MX8M-Mini SoC, 1/2/4 GB LPDDR4 RAM, SPI NOR, eMMC and PMIC. The matching evaluation boards (Board-Line) have 2 Ethernets, USB 2.0, HDMI/LVDS, SD card, CAN, RS485 and much more. Sig

Re: [PATCH v2] board: sifive: Fix a potential build warning in board_fdt_blob_setup()

2021-09-29 Thread Ilias Apalodimas
[...] > > > int board_init(void) > > > diff --git a/board/sifive/unmatched/unmatched.c > > > b/board/sifive/unmatched/unmatched.c > > > index d90b252bae..8773b660fa 100644 > > > --- a/board/sifive/unmatched/unmatched.c > > > +++ b/board/sifive/unmatched/unmatched.c > > > @@ -16,9 +16,9 @@ void *b

[PATCH v2 00/10] Support the SJA1105 DSA switch on the NXP LS1021A-TSN board

2021-09-29 Thread Vladimir Oltean
The NXP LS1021A-TSN board (and many others) contains an automotive Ethernet switch. Some boards only have Ethernet ports routed through the switch, and it is therefore desirable to have TFTP functional. These patches add support for the SJA1105 and SJA1110 switch family (tested on first-gen SJA110

[PATCH v2 01/10] net: tsec: add support for promiscuous mode

2021-09-29 Thread Vladimir Oltean
The Freescale TSEC can be a DSA master, and the ports of the attached DSA switch can have different MAC addresses compared to the TSEC. Nonetheless, the TSEC must receive the packets on behalf of those switch ports. Therefore, implement the promiscuous mode method to allow DSA to set this. Note th

[PATCH v2 03/10] net: dsa: allow drivers to get the port OF node

2021-09-29 Thread Vladimir Oltean
In the current DSA switch driver API, only the udevice of the switch (belonging to UCLASS_DSA) is exposed, as well as an "int port" argument. So drivers do not have access to the udevice of individual ports (belonging to UCLASS_ETH), one of the reasons being that not all ports have an associated UC

[PATCH v2 02/10] include: import if_vlan.h from Linux

2021-09-29 Thread Vladimir Oltean
This is needed for the VLAN header structure. Signed-off-by: Vladimir Oltean Reviewed-by: Ramon Fried Reviewed-by: Bin Meng --- v1->v2: none include/linux/if_vlan.h | 26 ++ 1 file changed, 26 insertions(+) create mode 100644 include/linux/if_vlan.h diff --git a/incl

[PATCH v2 05/10] net: dsa: felix: configure the in-band autoneg property based on OF node info

2021-09-29 Thread Vladimir Oltean
Instead of trying to guess which operating modes need in-band negotiation to be active and which ones don't, parse the available information from the device tree. That will be correct in the cases we can already guess, and more. Signed-off-by: Vladimir Oltean Reviewed-by: Ramon Fried --- v1->v2:

[PATCH v2 08/10] arm: dts: ls1021a-tsn: add sja1105 and eth2 bindings

2021-09-29 Thread Vladimir Oltean
The eth aliases are for correct probing order, so that each Ethernet port will get a predictable MAC address from the environment. Signed-off-by: Vladimir Oltean Reviewed-by: Ramon Fried --- v1->v2: none arch/arm/dts/ls1021a-tsn.dts | 103 +++ 1 file changed, 10

[PATCH v2 04/10] net: introduce a helper to determine whether to use in-band autoneg

2021-09-29 Thread Vladimir Oltean
Certain serial SERDES protocols like 1000base-x, 2500base-x, SGMII, USXGMII can operate either in a mode where the PHY (be it on-board or inside an SFP module) passes the link parameters (speed, duplex, pause) to the MAC through in-band through control words standardized by IEEE 802.3 clause 37, or

[PATCH v2 09/10] configs: ls1021a-tsn: enable sja1105 switch driver

2021-09-29 Thread Vladimir Oltean
The sja1105 is a 5-port switch that uses a DM_DSA driver. Its 5th (CPU) port is connected internally to the eth2 port of the LS1021A SoC. Signed-off-by: Vladimir Oltean Reviewed-by: Ramon Fried Reviewed-by: Bin Meng --- v1->v2: none configs/ls1021atsn_qspi_defconfig | 2 ++ configs/ls1021at

[PATCH v2 10/10] configs: ls1021a-tsn: enable the generation of random Ethernet MAC addresses

2021-09-29 Thread Vladimir Oltean
Don't fail when booting a board with an empty EEPROM for MAC addresses. Signed-off-by: Vladimir Oltean Reviewed-by: Ramon Fried Reviewed-by: Bin Meng --- v1->v2: none configs/ls1021atsn_qspi_defconfig | 1 + configs/ls1021atsn_sdcard_defconfig | 1 + 2 files changed, 2 insertions(+) diff -

[PATCH v2 07/10] net: dsa: sja1105: add support for SGMII

2021-09-29 Thread Vladimir Oltean
The list of ports which support SGMII depending on switch generation is available here: https://www.kernel.org/doc/html/latest/networking/dsa/sja1105.html#port-compatibility-matrix SGMII can either be used to connect to an external PHY or to the host port. In the first case, the use of in-band aut

[PATCH v2 06/10] net: dsa: add driver for NXP SJA1105 L2 switch

2021-09-29 Thread Vladimir Oltean
The SJA1105 driver is largely reused from Linux. Its programming model is that it is blank out of reset, and it waits for a static configuration stream over SPI, which contains all runtime parameters (it has no notion of "default values"). Keeping a binary array for the configuration stream would

[RFCv3 0/3] mtd: Support slc-mode for NTC CHIP

2021-09-29 Thread Chris Morgan
From: Chris Morgan Add support for slc-mode implemented in Linux for the Toshiba TC58TEG5DCLTA00 NAND and Hynix H27UCG8T2ETR NAND flash found on the NTC CHIP. This requires the addition of a paired-pages scheme, a new parameter for MTD partitions of slc-mode, and setting the correct paired-pages

[RFCv3 3/3] mtd: Add pairing info for Hynix H27UCG8T2ETR NAND

2021-09-29 Thread Chris Morgan
From: Chris Morgan Add pairing info for the Hynix H27UCG8T2ETR NAND so that we may utilize slc-mode emulation for enhanced reliability and compatibility with upstream Linux. I have checked with the team at #mtd and they can confirm based on a cursory reading of the datasheet for this flash chip

[RFCv3 2/3] mtd: Add pairing info for Toshiba TC58TEG5DCLTA00 NAND

2021-09-29 Thread Chris Morgan
From: Chris Morgan Add pairing info for the Toshiba TC58TEG5DCLTA00 NAND so that we may utilize slc-mode emulation for enhanced reliability and compatibility with upstream Linux. Signed-off-by: Chris Morgan --- drivers/mtd/nand/raw/nand_base.c | 9 + 1 file changed, 9 insertions(+) di

[RFCv3 1/3] mtd: Add support for Linux slc-mode for MLC NAND

2021-09-29 Thread Chris Morgan
From: Chris Morgan Add support for setting the slc-mode parameter for a given MLC NAND device. This allows a given device to write only to the first set of paried pages to help reduce data corruption and increase reliability of the NAND. I haven't tested these patches extensively yet, but thus f

Re: Please pull u-boot-net/network_master

2021-09-29 Thread Tom Rini
On Tue, Sep 28, 2021 at 09:59:35PM +0300, Ramon Fried wrote: > Hi Tom, > Please pull u-boot-net/network_master. > > The following changes since commit 0b9bcf665cd98fe9db0956c894006b250a7d465f: > > Prepare v2021.10-rc5 (2021-09-27 09:34:20 -0400) > > are available in the Git repository at: >

Re: imx6 DM_VIDEObroken

2021-09-29 Thread Tim Harvey
On Tue, Sep 28, 2021 at 6:51 PM Fabio Estevam wrote: > > Hi Tim, > > On Tue, Sep 28, 2021 at 2:00 PM Tim Harvey wrote: > > > I would think the other board maintainers would have raised a red flag > > if things broke for their boards, I just haven't tested it in quite > > some time for gwventana_*

Re: imx6 DM_VIDEObroken

2021-09-29 Thread Tim Harvey
On Wed, Sep 29, 2021 at 8:55 AM Tim Harvey wrote: > > On Tue, Sep 28, 2021 at 6:51 PM Fabio Estevam wrote: > > > > Hi Tim, > > > > On Tue, Sep 28, 2021 at 2:00 PM Tim Harvey wrote: > > > > > I would think the other board maintainers would have raised a red flag > > > if things broke for their bo

Re: [PATCH] rpi: always set fdt_addr with firmware-provided FDT address

2021-09-29 Thread Matthias Brugger
On 29/09/2021 14:19, Mauro Salvini wrote: Hi Matthias, On 29/09/21 13:41, Matthias Brugger wrote: Hi Mauro, On 29/09/2021 12:14, Mauro Salvini wrote: Hi Matthias On 15/09/21 13:16, mbrugger at suse.com (Matthias Brugger) wrote: Hi Mauro, On 07/06/2021 11:27, Mauro Salvini wrote: On 12/

Re: Status of the various RISC-V specification and policy

2021-09-29 Thread Palmer Dabbelt
On Tue, 28 Sep 2021 16:23:56 PDT (-0700), ati...@atishpatra.org wrote: On Tue, Sep 28, 2021 at 3:43 PM Palmer Dabbelt wrote: On Tue, 28 Sep 2021 13:05:53 PDT (-0700), ati...@atishpatra.org wrote: > On Tue, Sep 28, 2021 at 11:34 AM Palmer Dabbelt wrote: >> >> On Mon, 27 Sep 2021 08:57:15 PDT (

Re: [PATCH v6 2/2] imx: imx8mm: Add support for Kontron Electronics SL/BL i.MX8M-Mini boards (N801x)

2021-09-29 Thread Heiko Thiery
Hi Frieder, Am Mi., 29. Sept. 2021 um 16:43 Uhr schrieb Frieder Schrempf : > > From: Frieder Schrempf > > The Kontron SoM-Line i.MX8MM (N801x) by Kontron Electronics GmbH is a SoM > module with an i.MX8M-Mini SoC, 1/2/4 GB LPDDR4 RAM, SPI NOR, eMMC and PMIC. > > The matching evaluation boards (Bo

Re: [PATCH] rpi: always set fdt_addr with firmware-provided FDT address

2021-09-29 Thread Ricardo Salveti
On Wed, Sep 29, 2021 at 1:49 PM Matthias Brugger wrote: > On 29/09/2021 14:19, Mauro Salvini wrote: > > Hi Matthias, > > > > On 29/09/21 13:41, Matthias Brugger wrote: > >> Hi Mauro, > >> > >> On 29/09/2021 12:14, Mauro Salvini wrote: > >>> Hi Matthias > >>> > >>> On 15/09/21 13:16, mbrugger at su

[PATCH 2/7] imx: ventana: add U-Boot watchdog support

2021-09-29 Thread Tim Harvey
Add watchdog support for U-Boot Signed-off-by: Tim Harvey --- configs/gwventana_emmc_defconfig | 6 +- configs/gwventana_gw5904_defconfig | 6 +- configs/gwventana_nand_defconfig | 6 +- 3 files changed, 15 insertions(+), 3 deletions(-) diff --git a/configs/gwventana_emmc_defcon

[PATCH 1/7] imx: ventana: add part command

2021-09-29 Thread Tim Harvey
Add part command for obtaining info about disk partitions. Signed-off-by: Tim Harvey --- configs/gwventana_emmc_defconfig | 1 + configs/gwventana_gw5904_defconfig | 1 + configs/gwventana_nand_defconfig | 1 + 3 files changed, 3 insertions(+) diff --git a/configs/gwventana_emmc_defconfig b

[PATCH 3/7] imx: ventana: remove phy gpio reset from dt

2021-09-29 Thread Tim Harvey
We configure network phy configuration for internal delay, LED config, and clock config. If we leave the phy reset gpio defined in dt the kernel may issue a reset to the phy and break these configs. While some may be handled by a kernel phy driver, others may not (typically LED config). Signed-off

[PATCH 4/7] imx: ventana: enable additional USB ether devices

2021-09-29 Thread Tim Harvey
Enable additional USB ethernet devices. Signed-off-by: Tim Harvey --- configs/gwventana_emmc_defconfig | 5 + configs/gwventana_gw5904_defconfig | 5 + configs/gwventana_nand_defconfig | 5 + 3 files changed, 15 insertions(+) diff --git a/configs/gwventana_emmc_defconfig b/confi

[PATCH 5/7] imx: ventana: fix splash logo drawing

2021-09-29 Thread Tim Harvey
After mxc_ipuv3 DM_VIDEO conversion showing splash image doesn't work. Fix this by adding new requirements: - splashimage env variable. - CONFIG_SPLASH_SCREEN - CONFIG_CMD_BMP Signed-off-by: Tim Harvey --- configs/gwventana_emmc_defconfig | 3 +++ configs/gwventana_gw5904_defconfig | 3 +++ co

[PATCH 6/7] imx: ventana: update LVDS support

2021-09-29 Thread Tim Harvey
Enable LVDS display detection and panel-specific configuration Make I2C based LVDS detection and configuration model specific: - not all boards support LVDS connectors; fail detection that do not support LVDS to avoid misdetecting an I2C device as a display - GPIO configuration is panel specific

[PATCH 7/7] imx: ventana: fix USB hub reset

2021-09-29 Thread Tim Harvey
Remove board_ehci_hcd_init function that is not used with DM_USB and replace its functionality with device-tree configuraton that treats USB HUB RST# as a gpio enable for the usbh1 vbus regulator. Signed-off-by: Tim Harvey --- arch/arm/dts/imx6qdl-gw53xx.dtsi| 11 +++- arch/arm/dts/i

Re: Please pull u-boot-marvell/master

2021-09-29 Thread Tom Rini
On Wed, Sep 29, 2021 at 09:47:36AM +0200, Stefan Roese wrote: > Hi Tom, > > please pull this late Marvell MVEBU related fixes: > Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [GIT PULL] rpi: updates for v2021.10 second round

2021-09-29 Thread Tom Rini
On Wed, Sep 29, 2021 at 03:57:46PM +0200, Matthias Brugger wrote: > Hi Tom, > > Last minute changes for v2021.10 but I think they are small enough to get > into the release. First we have a problem on RPi4 when you stop and start > USB via the console commands. That is fixed. Second Nicolas has c

Re: [PATCH v2 04/10] net: introduce a helper to determine whether to use in-band autoneg

2021-09-29 Thread Bin Meng
On Wed, Sep 29, 2021 at 11:05 PM Vladimir Oltean wrote: > > Certain serial SERDES protocols like 1000base-x, 2500base-x, SGMII, > USXGMII can operate either in a mode where the PHY (be it on-board or > inside an SFP module) passes the link parameters (speed, duplex, pause) > to the MAC through in-

Re: [PATCH] tools/image-host.c: Fix spelling of "expected".

2021-09-29 Thread Simon Glass
On Tue, 28 Sept 2021 at 11:12, Vagrant Cascadian wrote: > > Signed-off-by: Vagrant Cascadian > --- > > tools/image-host.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > Reviewed-by: Simon Glass

Re: [PATCH] mkimage: Don't disable encryption based on CONFIG_FIT_CIPHER

2021-09-29 Thread Simon Glass
On Thu, 26 Aug 2021 at 15:55, Alexandru Gagniuc wrote: > > We want the u-boot tools to be target agnostic, as explained in commit > cb9faa6f98ae (" tools: Use a single target-independent config to > enable OpenSSL") > > Making mkimage features depend on CONFIG_FIT_CIPHER is contrary to > that goal

[PATCH v2] mtd: spi-nor: Add support for Spansion S25FL256L

2021-09-29 Thread tkuw584924
From: Takahiro Kuwano The S25FL256L is a part of the S25FL-L family and has the same feature set as S25FL128L except the density. The datasheet can be found in the following link. https://www.cypress.com/file/316171/download The S25FL256L is 32MB NOR Flash that does not support Bank Address Reg

Re: [PATCH] rpi: always set fdt_addr with firmware-provided FDT address

2021-09-29 Thread Matthias Brugger
On 29/09/2021 23:05, Ricardo Salveti wrote: On Wed, Sep 29, 2021 at 1:49 PM Matthias Brugger wrote: On 29/09/2021 14:19, Mauro Salvini wrote: Hi Matthias, On 29/09/21 13:41, Matthias Brugger wrote: Hi Mauro, On 29/09/2021 12:14, Mauro Salvini wrote: Hi Matthias On 15/09/21 13:16, mbrug

Re: [PATCH 7/9] ARM: tegra: Support EMC frequency tables on Tegra210

2021-09-29 Thread Simon Glass
On Fri, 3 Sept 2021 at 07:16, Thierry Reding wrote: > > From: Thierry Reding > > The EMC frequency tables are created from a training sequence performed > during early boot and passed in via a reserved memory region by nvtboot. > Copy this table to the kernel DTB so that the kernel can use it to

Re: [PATCH 6/9] ARM: tegra: Support multiple reserved memory regions

2021-09-29 Thread Simon Glass
On Fri, 3 Sept 2021 at 07:16, Thierry Reding wrote: > > From: Thierry Reding > > Support multiple reserved memory regions per device to support platforms > that use both a framebuffer and color conversion lookup table for early > boot display splash. > > While at it, also pass along the name, com

Re: [PATCH 9/9] ARM: tegra: Copy memory-region-names property

2021-09-29 Thread Simon Glass
On Fri, 3 Sept 2021 at 07:16, Thierry Reding wrote: > > From: Thierry Reding > > If multiple entries are present in the memory-region property, this new > memory-region-names property can be used to specify names for each of > them so that they can be more easily distinguished. > > Signed-off-by:

Re: [PATCH 8/9] ARM: tegra: Refactor DT update helpers

2021-09-29 Thread Simon Glass
On Fri, 3 Sept 2021 at 07:16, Thierry Reding wrote: > > From: Thierry Reding > > Rather than duplicate the Ethernet MAC address and carveout updating > code for each board, move it to a common location and make it more > reusable. > > Signed-off-by: Thierry Reding > --- > arch/arm/include/asm/a

Re: [PATCH 19/23] i2c: Convert CONFIG_POWER_I2C et al to Kconfig

2021-09-29 Thread Simon Glass
Hi Tom, On Sat, 4 Sept 2021 at 09:08, Tom Rini wrote: > > On Sun, Aug 08, 2021 at 12:20:27PM -0600, Simon Glass wrote: > > > This converts the following to Kconfig: > >CONFIG_POWER_I2C > >CONFIG_POWER_LEGACY > > > > They are handled at the same time due to a dependency between them. > > U

Re: Driver model at UEFI runtime

2021-09-29 Thread Simon Glass
Hi Heinrich, On Fri, 10 Sept 2021 at 08:19, Heinrich Schuchardt wrote: > > > > On 9/9/21 10:00 PM, Simon Glass wrote: > > Hi Heinrich, > > > > On Thu, 9 Sept 2021 at 05:29, Heinrich Schuchardt > > wrote: > >> > >> Hello Simon, > >> > >> The EBBR specification requires that the UEFI SystemReset(

Re: [PATCH v2 4/4] clk: k210: Try harder to get the best config

2021-09-29 Thread Simon Glass
On Sat, 11 Sept 2021 at 11:20, Sean Anderson wrote: > > In some cases, the best config cannot be used because the VCO would be > out-of-spec. In these cases, we may need to try a worse combination of r/od > in order to find the best representable config. This also adds a few test > cases to catch

Re: [PATCH 2/3] gpio: Verify validity of pin offsets from device trees

2021-09-29 Thread Simon Glass
On Sat, 11 Sept 2021 at 16:06, Samuel Holland wrote: > > Translation of an OF GPIO specifier should fail if the pin offset is > larger than the number of pins in the GPIO bank. > > Signed-off-by: Samuel Holland > --- > > drivers/gpio/gpio-uclass.c | 4 > 1 file changed, 4 insertions(+) Rev

Re: [PATCH 1/3] gpio: Verify validity of pin offsets when looking up names

2021-09-29 Thread Simon Glass
On Sat, 11 Sept 2021 at 16:05, Samuel Holland wrote: > > Translation of a pin name to a device+offset should fail if the offset > is larger than the number of pins in the GPIO bank. > > Signed-off-by: Samuel Holland > --- > > drivers/gpio/gpio-uclass.c | 3 ++- > 1 file changed, 2 insertions(+),

Re: [PATCH] introduce CONFIG_DEVICE_TREE_INCLUDES

2021-09-29 Thread Simon Glass
Hi Roman, On Tue, 28 Sept 2021 at 03:55, Roman Kopytin wrote: > > Hi, all > I prepared 3 patches for fdt_add_pubkey adding. > But in our company infrastructure I can't use git send-email. Our IT can't > help me to resolve issue. It might be easier to set up a new gmail account and send it with

Re: [PATCH 5/9] dm: core: Add a new API devfdt_get_addr_index_ptr()

2021-09-29 Thread Simon Glass
Hi Bin, On Sat, 11 Sept 2021 at 21:15, Bin Meng wrote: > > At present there is only devfdt_get_addr_ptr() which only returns > the first pair in the 'reg' property. Add a new API > devfdt_get_addr_index_ptr() to return the indexed pointer. > > Signed-off-by: Bin Meng > --- > > drivers/core/fdt

Re: [PATCH v1 2/2] pinctrl: single: Add request() api

2021-09-29 Thread Simon Glass
On Mon, 13 Sept 2021 at 00:39, Rayagonda Kokatanur wrote: > > On Tue, Aug 24, 2021 at 3:46 PM Bharat Kumar Reddy Gooty > wrote: > > > > From: Bharat Gooty > > > > Add pinctrl_ops->request api to configure pctrl > > pad register in gpio mode. > > > > Signed-off-by: Rayagonda Kokatanur > > Signed

Re: [PATCH] acpi: Use U-Boot version for OEM_REVISION

2021-09-29 Thread Simon Glass
Hi Pali, On Sun, 12 Sept 2021 at 15:30, Pali Rohár wrote: > > On Tuesday 20 July 2021 12:32:46 Simon Glass wrote: > > On Sat, 10 Jul 2021 at 05:10, Pali Rohár wrote: > > > > > > OEM_REVISION is 32-bit unsigned number. It should be increased only when > > > changing software version. Therefore it

Re: [PATCH 6/9] dm: Provide dev_read_addr_index_ptr() wrapper

2021-09-29 Thread Simon Glass
On Sat, 11 Sept 2021 at 21:15, Bin Meng wrote: > > Like dev_read_addr_ptr(), provide a wrapper for the indexed version. > > Signed-off-by: Bin Meng > --- > > include/dm/read.h | 18 ++ > 1 file changed, 18 insertions(+) > Reviewed-by: Simon Glass

Re: [PATCH v1 1/2] spl_fit. add hook to make fixes after fit header is loaded

2021-09-29 Thread Simon Glass
Hi Heiko, On Thu, 5 Aug 2021 at 22:45, Heiko Schocher wrote: > > add hook function spl_load_simple_fit_fix_load() > which is called after fit image header is loaded. Please add motivation to the commit message. > > Signed-off-by: Heiko Schocher > --- > > common/spl/spl_fit.c | 11 +++

Re: [PATCH 1/2] doc: require Sphinx 2.44

2021-09-29 Thread Simon Glass
On Thu, 5 Aug 2021 at 16:20, Heinrich Schuchardt wrote: > > Require Sphinx 2.44 to build the documentation. > Remove all code related to earlier versions. > > Signed-off-by: Heinrich Schuchardt > --- > doc/conf.py | 77 ++--- > doc/sphinx/kerneldoc

Re: [PATCH 1/9] fdtdec: Allow using fdtdec_get_carveout() in loops

2021-09-29 Thread Simon Glass
On Fri, 3 Sept 2021 at 07:16, Thierry Reding wrote: > > From: Thierry Reding > > In order make it possible to use fdtdec_get_carveout() in loops, return > FDT_ERR_NOTFOUND when the passed-in index exceeds the number of phandles > present in the given property. > > Signed-off-by: Thierry Reding >

Re: [PATCH 3/9] fdtdec: Support compatible string list for reserved memory

2021-09-29 Thread Simon Glass
Hi, On Fri, 3 Sept 2021 at 07:16, Thierry Reding wrote: > > From: Thierry Reding > > Reserved memory nodes can have a compatible string list to identify the > type of reserved memory that they represent. Support specifying an > optional compatible string list when creating these nodes. > > Signe

Re: [PATCH 2/9] fdtdec: Support retrieving the name of a carveout

2021-09-29 Thread Simon Glass
On Fri, 3 Sept 2021 at 07:16, Thierry Reding wrote: > > From: Thierry Reding > > When retrieving a given carveout for a device, allow callers to query > the name. This helps differentiating between carveouts when there are > more than one. > > This is also useful when copying carveouts to help as

Re: [PATCH 4/9] fdtdec: Reorder fdtdec_set_carveout() parameters for consistency

2021-09-29 Thread Simon Glass
On Fri, 3 Sept 2021 at 07:16, Thierry Reding wrote: > > From: Thierry Reding > > The fdtdec_set_carveout() function's parameters are inconsistent with > the parameters passed to fdtdec_add_reserved_memory(). Fix up the order > to make it more consistent. > > Signed-off-by: Thierry Reding > --- >

Re: [PATCH 2/2] doc: fix Latex margins

2021-09-29 Thread Simon Glass
On Thu, 5 Aug 2021 at 16:20, Heinrich Schuchardt wrote: > > Adjust the Latex formatting to match Linux v5.13.1: > > * add Latex margins > * reformat the code in doc/conf.py to match Linux > > Signed-off-by: Heinrich Schuchardt > --- > doc/conf.py | 31 +++ > 1 file ch

Re: [PATCH 5/9] fdtdec: Support reserved-memory flags

2021-09-29 Thread Simon Glass
On Fri, 3 Sept 2021 at 07:16, Thierry Reding wrote: > > From: Thierry Reding > > Reserved memory nodes can have additional flags. Support reading and > writing these flags to ensure that reserved memory nodes can be properly > parsed and emitted. > > This converts support for the existing "no-map

Re: [PATCH v1 1/2] pinctrl: single: Parse gpio details from dt

2021-09-29 Thread Simon Glass
Hi Bharat, On Tue, 24 Aug 2021 at 04:16, Bharat Kumar Reddy Gooty wrote: > > From: Bharat Gooty > > Parse different gpio properties from dt as part of probe > function. This detail is required to enable pinctrl pad > later when gpio lines are requested. > > Signed-off-by: Rayagonda Kokatanur >

Re: [RFC PATCH] test/py: Check hashes produced by mkimage against known values

2021-09-29 Thread Simon Glass
On Wed, 15 Sept 2021 at 13:33, Alexandru Gagniuc wrote: > > Target code and mkimage share the same hashing infrastructure. If one > is wrong, it's very likely that both are wrong in the same way. Thus > testing won't catch hash regressions. This already happened in > commit 92055e138f28 ("image: D

Re: [PATCH] efi_driver: simplify efi_bl_bind()

2021-09-29 Thread Simon Glass
On Mon, 13 Sept 2021 at 00:02, AKASHI Takahiro wrote: > > blk_create_devicef() is what blk_create_device() + > device_set_name_alloced() really does. > The resultant name will be a bit changed. > > Signed-off-by: AKASHI Takahiro > --- > lib/efi_driver/efi_block_device.c | 10 +++--- > 1 file

  1   2   >