Re: [PATCH 3/3] treewide: Remove OF_PRIOR_STAGE

2021-09-27 Thread Simon Glass
On Mon, 27 Sept 2021 at 00:48, Ilias Apalodimas wrote: > > The previous patches removed OF_PRIOR_STAGE from the last consumers of the > Kconfig option. Cleanup any references to it in documentation, code and > configuration options. > > Signed-off-by: Ilias Apalodimas > --- > dts/Kconfig

Re: [PATCH v5 02/29] kconfig: Add tools support to CONFIG_IS_ENABLED()

2021-09-27 Thread Simon Glass
Hi Alex, On Mon, 27 Sept 2021 at 10:11, Alex G. wrote: > > > > On 9/25/21 8:43 PM, Simon Glass wrote: > > At present we must separately test for the host build for many options, > > since we force them to be enabled. For example, CONFIG_FIT is always > > enabled in the host tools, even if

Re: [PATCH v5 02/29] kconfig: Add tools support to CONFIG_IS_ENABLED()

2021-09-27 Thread Simon Glass
Hi Masahiro, On Mon, 27 Sept 2021 at 10:51, Masahiro Yamada wrote: > > On Tue, Sep 28, 2021 at 1:11 AM Alex G. wrote: > > > > > > > > On 9/25/21 8:43 PM, Simon Glass wrote: > > > At present we must separately test for the host build for many options, > > > since we force them to be enabled. For

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

2021-09-27 Thread Robert Marko
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 Register to 0 in order for the connect the

Re: GSuit limit for recipients

2021-09-27 Thread Tom Rini
On Mon, Sep 27, 2021 at 05:58:08PM +0300, Oleksandr Suvorov wrote: > Dear community, > > This weekend I tried to post (using patman) a patch set that should > have been sent to 120 recipients (a lot of files were changed). > > I've got an error from the Gmail SMTP server: > 4.5.3 Your message

Re: [PATCH 2/3] usb: gadget: Add CDC ACM function

2021-09-27 Thread Pali Rohár
On Thursday 19 August 2021 13:13:05 Loic Poulain wrote: > +static void acm_notify_complete(struct usb_ep *ep, struct usb_request *req) > +{ > + if (req->status) > + printf("CDC ACM notify failed (%d)\n", req->status); > + > + /* nothing to do */ > +} > + > +static void

Re: [PATCH v2 2/3] efi_loader: add UEFI GPT measurement

2021-09-27 Thread Ilias Apalodimas
On Tue, Sep 21, 2021 at 04:19:30PM +0900, Masahisa Kojima wrote: > This commit adds the UEFI GPT disk partition topology > measurement required in TCG PC Client PFP Spec. > > Signed-off-by: Masahisa Kojima > --- > > (no changes since v1) > > include/blk.h | 3 + >

Re: [PATCH 3/3] cmd: add acmconsole command

2021-09-27 Thread Pali Rohár
On Thursday 19 August 2021 13:13:06 Loic Poulain wrote: > This command allows to start CDC ACM function and redirect console > (stdin, stdout, stderr) to USB (acmconsole start). The console can > then be accessed through the USB host for debugging purpose. The > host can stop the session

Contributor call tomorrow

2021-09-27 Thread Simon Glass
Hi, This is tomorrow. If you plan to join and want to add a topic, please do so at [1]. Regards, Simon [1] https://bit.ly/3bFvwA1 or https://docs.google.com/document/d/1YBOMsbM19uSFyoJWnt7-PsOLBaevzQUgV-hiR88a5-o/edit#heading=h.flytinyefvov

[PATCH] net: phy: mscc: add support for VSC8502 in dual RGMII mode

2021-09-27 Thread Vladimir Oltean
The VSC8502 is a Microchip (formerly Microsemi, formerly Vitesse) dual port, gigabit Ethernet copper PHY which supports the MII, GMII and RGMII MAC-side interfaces. Of these, I could only test RGMII, and my board needed RGMII delays to be applied by software, so I am able to confirm that this

[PATCH] configs: ls1028a: ensure Ethernet is enabled

2021-09-27 Thread Vladimir Oltean
CONFIG_FSL_ENETC is not explicitly enabled in the NXP LS1028A config files, instead it is selected by CONFIG_MSCC_FELIX_SWITCH, a state of matters which is fragile. CONFIG_MSCC_FELIX_SWITCH depends on CONFIG_DM_DSA, which depends on CONFIG_PHY_FIXED. Not all LS1028A boards did enable

[PATCH 3/9] net: dsa: allow drivers to get the port OF node

2021-09-27 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

[PATCH 4/9] net: introduce a helper to determine whether to use in-band autoneg

2021-09-27 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,

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

2021-09-27 Thread Vladimir Oltean
Don't fail when booting a board with an empty EEPROM for MAC addresses. Signed-off-by: Vladimir Oltean --- configs/ls1021atsn_qspi_defconfig | 1 + configs/ls1021atsn_sdcard_defconfig | 1 + 2 files changed, 2 insertions(+) diff --git a/configs/ls1021atsn_qspi_defconfig

[PATCH 8/9] configs: ls1021a-tsn: enable sja1105 switch driver

2021-09-27 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 --- configs/ls1021atsn_qspi_defconfig | 2 ++ configs/ls1021atsn_sdcard_defconfig | 2 ++ 2 files changed, 4 insertions(+)

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

2021-09-27 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 ---

imx6 DM_VIDEObroken

2021-09-27 Thread Tim Harvey
Anatolij, Since commit d37618d18d49 ("imx: convert gwventana board to DM_VIDEO") video support for IMX6 based Ventana boards has been broken. I find that while the bind function for fsl_imx6q_ipu is called the probe never is (ipuv3_video_probe). Do you know why this is? I see that with commit

[PATCH 1/9] net: tsec: add support for promiscuous mode

2021-09-27 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

[PATCH 7/9] arm: dts: ls1021a-tsn: add sja1105 and eth2 bindings

2021-09-27 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 --- arch/arm/dts/ls1021a-tsn.dts | 103 +++ 1 file changed, 103 insertions(+) diff --git

[PATCH 0/9] Support the SJA1105 DSA switch on the NXP LS1021A-TSN board

2021-09-27 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

[PATCH 2/9] include: import if_vlan.h from Linux

2021-09-27 Thread Vladimir Oltean
This is needed for the VLAN header structure. Signed-off-by: Vladimir Oltean --- include/linux/if_vlan.h | 26 ++ 1 file changed, 26 insertions(+) create mode 100644 include/linux/if_vlan.h diff --git a/include/linux/if_vlan.h b/include/linux/if_vlan.h new file mode

RE: [EXT] Re: [PATCH v2 03/15] i.MX8M: crypto: updated device tree for supporting DM in SPL

2021-09-27 Thread Gaurav Jain
Hello Tim > -Original Message- > From: Tim Harvey > Sent: Friday, September 24, 2021 4:10 AM > To: Gaurav Jain > Cc: u-boot ; Stefano Babic ; Fabio > Estevam ; Peng Fan ; Simon Glass > ; Priyanka Jain ; Ye Li > ; Horia Geanta ; Ji Luo > ; Franck Lenormand ; Silvano Di > Ninno ; Sahil

RE: [EXT] Re: [PATCH v2 00/15] Add CAAM driver model support

2021-09-27 Thread Gaurav Jain
Hi Tim > -Original Message- > From: Tim Harvey > Sent: Friday, September 24, 2021 4:32 AM > To: Gaurav Jain ; Peng Fan > Cc: u-boot ; Stefano Babic ; Fabio > Estevam ; Simon Glass ; Priyanka > Jain ; Ye Li ; Horia Geanta > ; Ji Luo ; Franck Lenormand > ; Silvano Di Ninno ; > Sahil

[PATCH v2] rtc: ds1307: Handle oscillator-stop bit correctly

2021-09-27 Thread Mark Tomlinson
The DS1307 driver was originally based on the DS1337 driver. However, the functionality of the clock set/get functions has diverged. In the original DS1337 driver, the set/get functions did the following: 1) Setting the clock ensured the oscillator was enabled. 2) Getting the clock checked and

[PATCH 2/2] riscv: Enable SPI flash env for SiFive Unmatched.

2021-09-27 Thread Thomas Skibo
Enable saving environment to SPI flash memory on SiFive Unmatched. Signed-off-by: Thomas Skibo --- arch/riscv/cpu/fu740/Kconfig | 13 + board/sifive/unmatched/Kconfig | 1 + 2 files changed, 14 insertions(+) diff --git a/arch/riscv/cpu/fu740/Kconfig

[PATCH 1/2] riscv: Support booting SiFive Unmatched from SPI.

2021-09-27 Thread Thomas Skibo
Configure SPI flash devices into SPL. Add SPI boot option to spl.c. Document how to format flash for booting. Signed-off-by: Thomas Skibo --- .../dts/hifive-unmatched-a00-u-boot.dtsi | 11 +++ board/sifive/unmatched/spl.c | 3 ++ configs/sifive_unmatched_defconfig

[PATCH 0/2] riscv: Support booting SiFive Unmatched from SPI flash.

2021-09-27 Thread Thomas Skibo
This patch set adds support for booting the SiFive Unmatched board from SPI flash memory and saving the environment to flash. Thomas Skibo (2): riscv: Support booting SiFive Unmatched from SPI. riscv: Enable SPI flash env for SiFive Unmatched. arch/riscv/cpu/fu740/Kconfig |

[PATCH 6/9] net: add driver for NXP SJA1105 DSA L2 switch

2021-09-27 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

Re: [PATCH v2 2/2] nvme: Fix error in nvme_setup_prps

2021-09-27 Thread Shawn Lin
在 2021/9/27 21:22, Jon Lin 写道: Consulting to "NVM Express® Base Specification, revision 2.0". If more PRP List pages are required, then the last entry of the PRP List contains the Page Base Address of the next PRP List page. The next PRP List page shall be memory page aligned. Yep, this is

Re: [PATCH v2 1/2] nvme: Enable FUA

2021-09-27 Thread Shawn Lin
在 2021/9/27 21:22, Jon Lin 写道: Most NVME devcies maintain data in internal cache for an uncertain times, and u-boot has no method to force NVME to flush cache. So this patch adds FUA to avoid data loss caused by power off after data programming. Signed-off-by: Jon Lin Reviewed-by: Stefan Agner

Re: [PATCH 0/5] Apple M1 Support

2021-09-27 Thread Simon Glass
Hi Mark, On Sun, 26 Sept 2021 at 09:53, Simon Glass wrote: > > Hi Mark, > > On Sat, 25 Sept 2021 at 10:46, Mark Kettenis wrote: > > > > > From: Simon Glass > > > Date: Sat, 25 Sep 2021 08:42:30 -0600 > > > > > > Hi Mark, > > > > > > On Sat, 25 Sept 2021 at 07:52, Mark Kettenis > > > wrote: >

<    1   2