Re: [PATCH 0/4] arm: bcmbca: add basic support for more Broadcom BCA SoCs

2022-08-08 Thread William Zhang
Hi Florian, Thanks for the review! Please see my comments inline blow, On 08/08/2022 08:29 PM, Florian Fainelli wrote: On 8/5/2022 6:33 PM, William Zhang wrote: Broadcom BCA (Broadband Carrier Access origin) chipset family includes DSL, PON and WLAN access point and gateway SoC. Now that

Re: [PATCH 0/4] arm: bcmbca: add basic support for more Broadcom BCA SoCs

2022-08-08 Thread Florian Fainelli
On 8/5/2022 6:33 PM, William Zhang wrote: Broadcom BCA (Broadband Carrier Access origin) chipset family includes DSL, PON and WLAN access point and gateway SoC. Now that the ARCH_BCMBCA architecture and its first SoC BCM47622 are supported in u-boot 2022.07, this patch series add the basic

Re: [PATCH 4/4] arm: bcmbca: add bcm4908 SoC support

2022-08-08 Thread Florian Fainelli
On 8/5/2022 6:34 PM, William Zhang wrote: BCM4908 is a Broadcom B53 based WLAN AP router SoC. It is part of the BCA (Broadband Carrier Access origin) chipset family so it's added under ARCH_BCMBCA platform. This initial support includes a bare-bone implementation and dts with CPU subsystem,

Re: [PATCH 3/4] arm: bcmbca: add bcm6813 SoC support

2022-08-08 Thread Florian Fainelli
On 8/5/2022 6:34 PM, William Zhang wrote: BCM6813 is a Broadcom B53 based PON and WLAN AP router SoC. It is part of the BCA (Broadband Carrier Access origin) chipset family so it's added under ARCH_BCMBCA platform. This initial support includes a bare-bone implementation and dts with CPU

Re: [PATCH 2/4] arm: bcmbca: add bcm4912 SoC support

2022-08-08 Thread Florian Fainelli
On 8/5/2022 6:34 PM, William Zhang wrote: BCM4912 is a Broadcom B53 based WLAN AP router SoC. It is part of the BCA (Broadband Carrier Access origin) chipset family so it's added under ARCH_BCMBCA platform. This initial support includes a bare-bone implementation and dts with CPU subsystem,

Re: [PATCH 1/4] arm: bcmbca: add bcm63146 SoC support

2022-08-08 Thread Florian Fainelli
On 8/5/2022 6:34 PM, William Zhang wrote: BCM63146 is a Broadcom B53 based DSL Broadband SoC. It is part of the BCA (Broadband Carrier Access origin) chipset family so it's added under ARCH_BCMBCA platform. This initial support includes a bare-bone implementation and dts with CPU subsystem,

Re: [PATCH] arm: kirkwood: nsa310s: Add Distro boot capability

2022-08-08 Thread Tony Dinh
Hi Stefan, I need to resend this patch. Sorry for the noise! Thanks, Tony On Mon, Aug 8, 2022 at 7:35 PM Tony Dinh wrote: > > - Add distro boot to board include file and deconfig file > - Miscellaneous changes: > - Remove Gerald from maintainer list (email bounced) > - Add

[PATCH] arm: kirkwood: pogo_v4: Add Distro boot capability

2022-08-08 Thread Tony Dinh
- Add distro boot to board include file and deconfig file - Miscellaneous changes: - Add CONFIG_SUPPORT_PASSING_ATAGS and friends to support legacy kernel method of booting (e.g. OpenWrt) with appended DTB. - Add CONFIG_LTO and CONFIG_UBIFS_SILENCE_MSG, and disable some

RE: [PATCH 016/347] FogBugz #516535: Fix QSPI write issues

2022-08-08 Thread Chee, Tien Fong
Hi Jit Loon, > -Original Message- > From: Lim, Jit Loon > Sent: Tuesday, 2 August, 2022 9:55 PM > To: u-boot@lists.denx.de > Cc: Jagan Teki ; Vignesh R ; > Vasut, Marek ; Simon ; > Chaplin, Kris ; Chee, Tien Fong > ; Hea, Kok Kiang ; Lim, > Elly Siew Chin ; Kho, Sin Hui > ; Lokanathan,

[PATCH] CI: Azure: Move to Ubuntu 22.04 image

2022-08-08 Thread Tom Rini
As per https://github.com/actions/runner-images/issues/6002 the Ubuntu 18.04 image is deprecated and will be removed by December 1, 2022. Move to the Ubuntu 22.04 image as our base for launching our containers from. Signed-off-by: Tom Rini --- .azure-pipelines.yml | 2 +- 1 file changed, 1

[PATCH] arm: kirkwood: nsa310s: Add Distro boot capability

2022-08-08 Thread Tony Dinh
- Add distro boot to board include file and deconfig file - Miscellaneous changes: - Remove Gerald from maintainer list (email bounced) - Add CONFIG_SUPPORT_PASSING_ATAGS and friends to support legacy kernel method of booting (e.g. OpenWrt) with appended DTB. - Add

Re: ethernet dt aliases implications in U-Boot and Linux

2022-08-08 Thread Stephen Hemminger
On Mon, 8 Aug 2022 23:09:45 +0200 Michal Suchánek wrote: > On Mon, Aug 08, 2022 at 03:57:55PM -0400, Sean Anderson wrote: > > Hi Tim, > > > > On 8/8/22 3:18 PM, Tim Harvey wrote: > > > Greetings, > > > > > > I'm trying to understand if there is any implication of 'ethernet' > > > aliases in

[ANN] U-Boot v2022.10-rc2 released

2022-08-08 Thread Tom Rini
Hey all, It's release day and so here's v2022.10-rc2. I hope that we're now approaching the stabilization period with this release, but I think we'll see a few more things still come in before -rc3. In terms of a changelog, git log --merges v2022.10-rc1..v2022.10-rc2 contains what I've pulled

Re: ethernet dt aliases implications in U-Boot and Linux

2022-08-08 Thread Michal Suchánek
On Mon, Aug 08, 2022 at 02:38:35PM -0700, Stephen Hemminger wrote: > On Mon, 8 Aug 2022 23:09:45 +0200 > Michal Suchánek wrote: > > > On Mon, Aug 08, 2022 at 03:57:55PM -0400, Sean Anderson wrote: > > > Hi Tim, > > > > > > On 8/8/22 3:18 PM, Tim Harvey wrote: > > > > Greetings, > > > > > > >

Re: ethernet dt aliases implications in U-Boot and Linux

2022-08-08 Thread Tim Harvey
On Mon, Aug 8, 2022 at 2:34 PM Florian Fainelli wrote: > > On 8/8/22 14:28, Tim Harvey wrote: > > On Mon, Aug 8, 2022 at 2:19 PM Florian Fainelli > > wrote: > >> > >> On 8/8/22 12:57, Sean Anderson wrote: > >>> Hi Tim, > >>> > >>> On 8/8/22 3:18 PM, Tim Harvey wrote: > Greetings, > >

Re: ethernet dt aliases implications in U-Boot and Linux

2022-08-08 Thread Florian Fainelli
On 8/8/22 14:28, Tim Harvey wrote: On Mon, Aug 8, 2022 at 2:19 PM Florian Fainelli wrote: On 8/8/22 12:57, Sean Anderson wrote: Hi Tim, On 8/8/22 3:18 PM, Tim Harvey wrote: Greetings, I'm trying to understand if there is any implication of 'ethernet' aliases in Linux such as:

Re: ethernet dt aliases implications in U-Boot and Linux

2022-08-08 Thread Tim Harvey
On Mon, Aug 8, 2022 at 2:19 PM Florian Fainelli wrote: > > On 8/8/22 12:57, Sean Anderson wrote: > > Hi Tim, > > > > On 8/8/22 3:18 PM, Tim Harvey wrote: > >> Greetings, > >> > >> I'm trying to understand if there is any implication of 'ethernet' > >> aliases in Linux such as: > >>

Re: ethernet dt aliases implications in U-Boot and Linux

2022-08-08 Thread Florian Fainelli
On 8/8/22 12:57, Sean Anderson wrote: Hi Tim, On 8/8/22 3:18 PM, Tim Harvey wrote: Greetings, I'm trying to understand if there is any implication of 'ethernet' aliases in Linux such as: aliases { ethernet0 = ethernet1 = ethernet2

Re: ethernet dt aliases implications in U-Boot and Linux

2022-08-08 Thread Tim Harvey
On Mon, Aug 8, 2022 at 12:58 PM Sean Anderson wrote: > > Hi Tim, > > On 8/8/22 3:18 PM, Tim Harvey wrote: > > Greetings, > > > > I'm trying to understand if there is any implication of 'ethernet' > > aliases in Linux such as: > > aliases { > > ethernet0 = > >

Re: ethernet dt aliases implications in U-Boot and Linux

2022-08-08 Thread Michal Suchánek
On Mon, Aug 08, 2022 at 03:57:55PM -0400, Sean Anderson wrote: > Hi Tim, > > On 8/8/22 3:18 PM, Tim Harvey wrote: > > Greetings, > > > > I'm trying to understand if there is any implication of 'ethernet' > > aliases in Linux such as: > > aliases { > > ethernet0 = > >

Re: [PATCH] power: pmic: rk8xx: Workaround pmic failure when probed before relocation

2022-08-08 Thread Michal Suchánek
On Mon, Aug 08, 2022 at 01:26:23PM -0600, Simon Glass wrote: > Hi Michal, > > On Sat, 6 Aug 2022 at 13:54, Michal Suchánek wrote: > > > > On Sat, Aug 06, 2022 at 12:21:29PM -0600, Simon Glass wrote: > > > Hi Michal, > > > > > > On Fri, 5 Aug 2022 at 14:07, Michal Suchánek wrote: > > > > > > > >

[PATCH] Restore pcm051_rev3_defconfig config

2022-08-08 Thread Matwey V. Kornilov
pcm051_rev3_defconfig config (Phytec Wega board) has been dropped in 64efd11d ("arm: Remove pcm051 board") due to expired migration deadlines. Here, pcm051_rev3_defconfig support is reintroduced. Signed-off-by: Matwey V. Kornilov --- arch/arm/dts/am335x-wega-rdk-u-boot.dtsi | 12

Re: [SPAM] rk3399 TPL memory setup code triggers clock frequency limit assertion

2022-08-08 Thread Xavier Drudis Ferran
El Mon, Aug 08, 2022 at 11:22:49PM +0530, Jagan Teki deia: > > If I remember correctly when I work with YouMin on LPDDR4 the initial > code to start to check with was 50MHz (It was not working at that time > with 48MHz). Not sure what to make other changes to fix that to try on > 48MHz. > Not

Re: ethernet dt aliases implications in U-Boot and Linux

2022-08-08 Thread Sean Anderson
Hi Tim, On 8/8/22 3:18 PM, Tim Harvey wrote: > Greetings, > > I'm trying to understand if there is any implication of 'ethernet' > aliases in Linux such as: > aliases { > ethernet0 = > ethernet1 = > ethernet2 = >

[PATCH 1/1] git-mailrc: remove invalid entry 'efi'

2022-08-08 Thread Heinrich Schuchardt
Remove alias 'efi' with invalid data. Signed-off-by: Heinrich Schuchardt --- doc/git-mailrc | 1 - 1 file changed, 1 deletion(-) diff --git a/doc/git-mailrc b/doc/git-mailrc index b00c278190..96623c3b4e 100644 --- a/doc/git-mailrc +++ b/doc/git-mailrc @@ -111,7 +111,6 @@ alias x86

Re: [PATCH 1/2] doc: Drop a reference to travis

2022-08-08 Thread Heinrich Schuchardt
On 8/7/22 15:24, Simon Glass wrote: This was widely used by U-Boot for a long time, but is not used anymore, with Gitlab and Azure taking over. Drop the text. Signed-off-by: Simon Glass --- doc/develop/codingstyle.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

Re: [PATCH 2/2] patman: Add documentation to doc/

2022-08-08 Thread Ralph Siemsen
Hi Simon, On Sun, Aug 7, 2022 at 9:25 AM Simon Glass wrote: > > Link to patman's documentation from the doc/ directory so that it appears > in the 'make htmldocs' output. Presumably this will show up on readthedocs? Seems like a nice addition. The rename of README to README.rst would break

Re: [PATCH 03/21] arm: Remove snapper9260 board

2022-08-08 Thread Simon Glass
On Tue, 2 Aug 2022 at 05:34, Tom Rini wrote: > > This board is behind on several mandatory DM migrations and is missing > OF_CONTROL support that makes other conversions impossible. Remove it. > > Cc: Simon Glass > Signed-off-by: Tom Rini > --- > arch/arm/mach-at91/Kconfig| 10

Re: [PATCH] disk: part: remove dependency to ubifs for spl

2022-08-08 Thread Simon Glass
Hi Stefan, On Mon, 8 Aug 2022 at 08:45, Stefan Herbrechtsmeier wrote: > > From: Stefan Herbrechtsmeier > > The spl doesn't support ubifs and thereby doesn't provide the > ubifs_is_mounted function. Remove the dependency to ubifs for the spl. > > Signed-off-by: Stefan Herbrechtsmeier > > --- >

Re: [PATCH] arm64: explicitly disable pointer authentication instructions

2022-08-08 Thread Simon Glass
On Mon, 8 Aug 2022 at 08:12, Rasmus Villemoes wrote: > > The Yocto project builds their aarch64 cross-compiler with the > configure knob --enable-standard-branch-protection, which means that > their gcc behaves as if -mbranch-protection=standard is passed; the > default (lacking that configure

Re: [PATCH 10/31] serial: mtk: add support for using dynamic baud clock souce

2022-08-08 Thread Simon Glass
Hi Weijie, On Sun, 7 Aug 2022 at 20:36, Weijie Gao wrote: > > On Thu, 2022-08-04 at 07:56 -0600, Simon Glass wrote: > > Hi Weijie, > > > > On Wed, 3 Aug 2022 at 21:36, Weijie Gao > > wrote: > > > > > > The baud clock on some platform may change due to assigned-clock- > > > parent > > > set in

Re: [PATCH 02/31] arm: mediatek: add support for MediaTek MT7981 SoC

2022-08-08 Thread Simon Glass
Hi Weijie, On Sun, 7 Aug 2022 at 20:17, Weijie Gao wrote: > > On Thu, 2022-08-04 at 07:57 -0600, Simon Glass wrote: > > Hi Weijie, > > > > On Wed, 3 Aug 2022 at 21:35, Weijie Gao > > wrote: > > > > > > This patch adds basic support for MediaTek MT7981 SoC. > > > This include the file that will

Re: [PATCH] power: pmic: rk8xx: Workaround pmic failure when probed before relocation

2022-08-08 Thread Simon Glass
Hi Michal, On Sat, 6 Aug 2022 at 13:54, Michal Suchánek wrote: > > On Sat, Aug 06, 2022 at 12:21:29PM -0600, Simon Glass wrote: > > Hi Michal, > > > > On Fri, 5 Aug 2022 at 14:07, Michal Suchánek wrote: > > > > > > On Fri, Aug 05, 2022 at 10:48:26AM -0600, Simon Glass wrote: > > > > Hi Michal,

Re: [PATCH 00/21] Finish migration to DM_ETH

2022-08-08 Thread Tom Rini
On Tue, Aug 02, 2022 at 07:51:18AM -0400, Tom Rini wrote: > On Tue, Aug 02, 2022 at 07:33:26AM -0400, Tom Rini wrote: > > > As I've noted before, with v2022.07 being released, we have gone 2 years > > past the DM_ETH migration deadline. What this series does is a few > > things: > > - Remove some

ethernet dt aliases implications in U-Boot and Linux

2022-08-08 Thread Tim Harvey
Greetings, I'm trying to understand if there is any implication of 'ethernet' aliases in Linux such as: aliases { ethernet0 = ethernet1 = ethernet2 = ethernet3 = ethernet4 = ethernet5 =

Re: [PATCH 2/2] net: dwc_eth_qos: Add eqos_get_enetaddr callback for stm32

2022-08-08 Thread Tom Rini
On Tue, Aug 02, 2022 at 10:55:26AM +0200, Patrice Chotard wrote: > Add .eqos_get_enetaddr callback defined as eqos_null_ops() to avoid > illegal access. > > Fixes: a624251461bf ("net: dwc_eth_qos: introduce eqos hook > eqos_get_enetaddr") > > Signed-off-by: Patrice Chotard > Reviewed-by:

Re: [PATCH 1/2] net: dwc_eth_qos: Add eqos_get_enetaddr callback for tegra186

2022-08-08 Thread Tom Rini
On Tue, Aug 02, 2022 at 10:55:25AM +0200, Patrice Chotard wrote: > Add .eqos_get_enetaddr callback defined as eqos_null_ops() to avoid > illegal access. > > Fixes: a624251461bf ("net: dwc_eth_qos: introduce eqos hook > eqos_get_enetaddr") > > Signed-off-by: Patrice Chotard > Reviewed-by:

Re: [PATCH 2/2] ARM: dts: uniphier: Change phy-mode to RGMII-ID to enable delay pins

2022-08-08 Thread Tom Rini
On Wed, Jul 13, 2022 at 10:59:45AM +0900, Kunihiko Hayashi wrote: > UniPhier LD20, PXs2 and PXs3 boards have ethernet phy that has RX/TX delays > of RGMII interface using pull-ups on the RXDLY and TXDLY pins. > > So should set the phy-mode to "rgmii-id" to show that RX/TX delays are > enabled. >

Re: [PATCH 1/2] net: ave: Add capability of rgmii-id mode

2022-08-08 Thread Tom Rini
On Wed, Jul 13, 2022 at 10:59:44AM +0900, Kunihiko Hayashi wrote: > This allows you to specify the type of rgmii-id that will enable phy > internal delay in ethernet phy-mode. > > This adds all RGMII cases to all of get_pinmode() except LD11, because LD11 > SoC doesn't support RGMII due to the

Re: [PATCH 1/1] net: phy: possible NULL dereference in fixed_phy_create()

2022-08-08 Thread Tom Rini
On Mon, Jul 11, 2022 at 07:40:13PM +0200, Heinrich Schuchardt wrote: > We check if phydev is NULL. Only but if it is non-NULL we set one > component of phydev. But even if it is NULL we set another. We should not > dereference NULL in either case. > > Fixes: e24b58f5ed4f ("net: phy: don't

Re: [PATCH 2/2] net: dwc_eth_qos: cosmetic: reorder include files

2022-08-08 Thread Tom Rini
On Thu, Jun 30, 2022 at 11:09:41AM +0200, Patrick Delaunay wrote: > Reorder include files in the U-Boot expected order. > > Signed-off-by: Patrick Delaunay > Reviewed-by: Ramon Fried Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH] net: phy: Remove inline definitions from convinience functions

2022-08-08 Thread Tom Rini
On Sun, Jun 05, 2022 at 03:44:15AM +0300, Ramon Fried wrote: > The convinience functions are not that small and they caused > bloated text segments because of their usage. > There was no need to inline them in the first place, as > they're not part of a fastpath. > > Signed-off-by: Ramon Fried

Re: [PATCH] net: ftgmac100: use bus name in mdio error messages

2022-08-08 Thread Tom Rini
On Tue, May 17, 2022 at 03:16:39PM -0700, Zev Weiss wrote: > Previously we'd been using a device name retrieved via > ftgmac100_data->phydev, but the mdio read/write functions may be > called before that member is initialized in ftgmac100_phy_init(), > leading to a NULL pointer dereference while

Re: [PATCH v1] net: nuvoton : Add NPCM7xx EMAC driver

2022-08-08 Thread Tom Rini
On Tue, May 17, 2022 at 04:28:11PM +0800, Jim Liu wrote: > NPCM750 provides identical ethernet MAC controllers for WAN/LAN applications. > > Signed-off-by: Jim Liu > Reviewed-by: Ramon Fried Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH] net: mpc8xx_fec: Migrate to DM_ETH

2022-08-08 Thread Tom Rini
On Thu, May 12, 2022 at 03:48:51PM +0200, Christophe Leroy wrote: > Migrate mpc8xx_fec driver to DM_ETH. > > Signed-off-by: Christophe Leroy > Reviewed-by: Ramon Fried Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH] net: dwc_eth_qos: lift parsing of max-speed DT property to common code

2022-08-08 Thread Tom Rini
On Wed, May 11, 2022 at 04:58:41PM +0200, Rasmus Villemoes wrote: > I have an iMX8MP with a ti,dp83867 phy in front of the eqos > interface. The phy is Gbit capable - however, the C and D differential > pairs are not physically routed to the RJ45 connector. So I need to > prevent the phy from

Re: [PATCH] net: dwc_eth_qos: fix double resource leak in eqos_remove()

2022-08-08 Thread Tom Rini
On Wed, May 11, 2022 at 04:12:50PM +0200, Rasmus Villemoes wrote: > Not only does eqos_remove() fail to free the buffers that have been > allocated by eqos_probe_resources_core(), it repeats those allocations > and thus drops twice as much memory on the floor. > > Signed-off-by: Rasmus Villemoes

Re: [PATCH] net: dm9000: Correctly handle empty FIFO

2022-08-08 Thread Tom Rini
On Mon, Apr 25, 2022 at 08:28:05PM +0200, Marek Vasut wrote: > Assign packet pointer only in case the MAC reports anything in the FIFO. > In case the MAC indicates empty FIFO, return 0 to pass that information > to the network stack. > > Signed-off-by: Marek Vasut > Cc: Joe Hershberger > Cc:

Re: [PATCH v2 2/2] net: phy: marvell: Add support for 88E1240 PHY

2022-08-08 Thread Tom Rini
On Thu, Mar 31, 2022 at 11:43:07AM +0200, Stefan Roese wrote: > This patch adds basic support for the Marvell 88E1240 PHY. > > This will be used by the upcoming ethernet support addition for the > Marvell MIPS Octeon EBB7304 platform. > > Signed-off-by: Stefan Roese > Cc: Ramon Fried > Cc:

Re: [PATCH v2 1/2] net: phy: marvell: Support reg config via "marvell, reg-init" DT property

2022-08-08 Thread Tom Rini
On Thu, Mar 31, 2022 at 11:43:06AM +0200, Stefan Roese wrote: > This patch adds support for the "marvell,reg-init" DT property, which > is used to describe board specific Marvell PHY register configurations > in the board dts file. This DT property is supported in the Linux Kernel > since a

Re: [PATCH] net: bootp: Make root path (option 17) length configurable

2022-08-08 Thread Tom Rini
On Fri, Jan 28, 2022 at 09:40:32AM +0100, Andre Kalb wrote: > to adjust the root path length. > Eg to 256 from Linux Kernel > > Signed-off-by: Andre Kalb > Reviewed-by: Ramon Fried Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH 1/2] net: dwc_eth_qos: restore support of not cache-aligned descriptor

2022-08-08 Thread Tom Rini
On Thu, Jun 30, 2022 at 11:09:40AM +0200, Patrick Delaunay wrote: > Solve an issue with AXI_WIDTH_32 on a the 64 bytes cache line platform; > in this case the requested descriptor padding length should be 12 but the > associated parameter EQOS_DMA_CH0_CONTROL.DSL is limited to 3bits = 7. > > As

Re: [PATCH 3/3] net: dwc_eth_qos: set proper DT node for phy device

2022-08-08 Thread Tom Rini
On Thu, May 12, 2022 at 09:33:09AM +0200, Rasmus Villemoes wrote: > Similar to what was done for the FEC driver in commit > 89b5bd54c1a4 (net: fec: Allow the PHY node to be retrieved), make sure > the PHY is associated with the right device tree node, so that phy > specific DT properties is

Re: [PATCH 1/3] net: dwc_eth_qos: remove use of DWC_NET_PHYADDR

2022-08-08 Thread Tom Rini
On Thu, May 12, 2022 at 09:33:07AM +0200, Rasmus Villemoes wrote: > Only two boards in the tree set the macro DWC_NET_PHYADDR. Both have > CONFIG_DM_ETH_PHY=y, so should set the phy address in DT if necessary. > > The imx8mp_evk does set the correct address in device tree. > > The other board

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

2022-08-08 Thread Ramon Fried
On Mon, Aug 8, 2022 at 3:16 PM 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 > Signed-off-by: Joel

Re: [PATCH] arm: rockchip: rk3399: Program PLL clock for DDR at 50 MHz in documented range

2022-08-08 Thread Michal Suchánek
On Sat, Jul 16, 2022 at 12:31:45PM +0200, Xavier Drudis Ferran wrote: > The original code set up the DDR clock to 48 MHz, not 50MHz as > requested, and did it in a way that didn't satisfy the Application > Notes in RK3399 TRM [1]. 2.9.2.B says: > >PLL frequency range requirement >[...] >

Re: [SPAM] rk3399 TPL memory setup code triggers clock frequency limit assertion

2022-08-08 Thread Jagan Teki
On Mon, Aug 8, 2022 at 9:46 PM Michal Suchánek wrote: > > On Mon, Aug 08, 2022 at 04:28:33PM +0200, Xavier Drudis Ferran wrote: > > El Sun, Aug 07, 2022 at 04:44:04PM +0200, Michal Suchánek deia: > > > Hello, > > > > > > when compiled with clock debug rk3399 cannot be booted because memory > > >

[PATCH] arm: mvebu: Define env_sf_get_env_addr() for all Armada boards in SPL

2022-08-08 Thread Pali Rohár
SPI0 CS0 Flash is mapped to address range 0xD400 - 0xD7FF by BootROM. Proper U-Boot removes this direct mapping. So it is available only in SPL. This applies for all 32-bit Armada BootROMs. SPL mvebu code is used only on 32-bit Armada SoCs. So move env_sf_get_env_addr() function from

Re: [SPAM] rk3399 TPL memory setup code triggers clock frequency limit assertion

2022-08-08 Thread Michal Suchánek
On Mon, Aug 08, 2022 at 04:28:33PM +0200, Xavier Drudis Ferran wrote: > El Sun, Aug 07, 2022 at 04:44:04PM +0200, Michal Suchánek deia: > > Hello, > > > > when compiled with clock debug rk3399 cannot be booted because memory > > setup code triggers clock assertion: > > > > U-Boot TPL

Re: [PATCH] distroboot: ubifs: Add support for specifying UBI header offset

2022-08-08 Thread Tom Rini
On Sun, Aug 07, 2022 at 09:04:22PM +0200, Pali Rohár wrote: > Some UBI partitions may use non-standard UBI header offset. For attaching > these UBI partitions it is required to pass second argument with offset to > "ubi part" command. > > Therefore extend distroboot to allow specifying

Re: [PATCH v3 2/2] ci: Add a test for a non-LTO build

2022-08-08 Thread Tom Rini
On Sun, Aug 07, 2022 at 09:48:01AM -0600, Simon Glass wrote: > Hi Tom, > > On Wed, 3 Aug 2022 at 12:13, Simon Glass wrote: > > > > Check that sandbox builds and runs tests OK with LTO disabled. > > > > Signed-off-by: Simon Glass > > --- > > > > (no changes since v1) > > > >

Re: [SPAM] [PATCH 2/2] binman: Add more documentation about binman usage

2022-08-08 Thread Xavier Drudis Ferran
El Sun, Aug 07, 2022 at 04:33:26PM -0600, Simon Glass deia: > This is an attempt to answer the comments provided by Xavier [1]. > Thank you. Sorry if I point out silly things too. No agony intended. > > +Note that binman can itself can create a FIT. This helps to move mkimage one "can" too

Re: Why is arm64 built with -ffixed-r9 ?

2022-08-08 Thread Tom Rini
On Mon, Aug 08, 2022 at 04:34:00PM +0200, Rasmus Villemoes wrote: > Looking at one of the .o.cmd files, I noticed that we build arm64 with > both -ffixed-r9 and -ffixed-x18. The latter is obviously what we use for > gd, but the former doesn't seem to serve any purpose on arm64, and just > seems

Re: [PATCH v3 7/8] net: add MV88E61xx DSA driver

2022-08-08 Thread Tim Harvey
On Sat, Aug 6, 2022 at 5:07 PM Ramon Fried wrote: > > On Thu, Jun 23, 2022 at 3:43 PM Vladimir Oltean > wrote: > > > > On Tue, Jun 21, 2022 at 08:11:06AM -0700, Tim Harvey wrote: > > > On Tue, Jun 21, 2022 at 12:21 AM Vladimir Oltean > > > wrote: > > > > > > > > On Mon, Jun 20, 2022 at

[PATCH] fpga: zynq: Remove post config info message for SPL

2022-08-08 Thread Stefan Herbrechtsmeier
From: Stefan Herbrechtsmeier The drivers informs the user that a post config was not run after FPGA configuration. This message is unnecessary in SPL because the ps7_post_config function is called via spl_board_prepare_for_boot function before jump_to_image_no_args function from board_init_r

[PATCH] disk: part: remove dependency to ubifs for spl

2022-08-08 Thread Stefan Herbrechtsmeier
From: Stefan Herbrechtsmeier The spl doesn't support ubifs and thereby doesn't provide the ubifs_is_mounted function. Remove the dependency to ubifs for the spl. Signed-off-by: Stefan Herbrechtsmeier --- disk/part.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Why is arm64 built with -ffixed-r9 ?

2022-08-08 Thread Rasmus Villemoes
Looking at one of the .o.cmd files, I noticed that we build arm64 with both -ffixed-r9 and -ffixed-x18. The latter is obviously what we use for gd, but the former doesn't seem to serve any purpose on arm64, and just seems to be an accident of the makefile fragment organization. When I just remove

Re: [SPAM] rk3399 TPL memory setup code triggers clock frequency limit assertion

2022-08-08 Thread Xavier Drudis Ferran
El Sun, Aug 07, 2022 at 04:44:04PM +0200, Michal Suchánek deia: > Hello, > > when compiled with clock debug rk3399 cannot be booted because memory > setup code triggers clock assertion: > > U-Boot TPL 2022.07-00038-g61e11a8e9f-dirty (Aug 07 2022 - 16:13:17) > TPL PLL at ff76: fbdiv=50,

[PATCH] arm64: explicitly disable pointer authentication instructions

2022-08-08 Thread Rasmus Villemoes
The Yocto project builds their aarch64 cross-compiler with the configure knob --enable-standard-branch-protection, which means that their gcc behaves as if -mbranch-protection=standard is passed; the default (lacking that configure knob) is -mbranch-protection=none. This means that when building

RE: "Synchronous Abort" handler, esr 0x96000004 with AGL (Yocto Based)

2022-08-08 Thread Sole Mendi Carles (PS-EC/ECC7)
Dear u-boot mailing list, As no one has provided any feedback regarding my question I am trying my luck again. As described below depending on the DT's I overlay using an AGL build for RPi4 I get a "Synchronous Abort" handler error. Any hints on what this error means and why u-boot cannot

Re: Broken commit de47ff536363289f92f85ed1e4901724d238432d

2022-08-08 Thread Tom Rini
On Mon, Aug 08, 2022 at 09:51:49AM +0200, Marek Behún wrote: > On Fri, 5 Aug 2022 18:20:19 -0400 > Tom Rini wrote: > > > On Fri, Aug 05, 2022 at 10:17:01PM +0200, Pali Rohár wrote: > > > On Friday 05 August 2022 11:54:53 Tom Rini wrote: > > > > On Fri, Aug 05, 2022 at 05:51:35PM +0200, Pali

Re: [PATCH v2 1/2] ARM: cache: Allow SPL to build cache-pl310.c

2022-08-08 Thread Tom Rini
On Mon, Aug 08, 2022 at 02:29:02PM +0200, Philip Oberfichtner wrote: > > > On Thu, 2022-08-04 at 07:05 -0400, Tom Rini wrote: > > On Thu, Aug 04, 2022 at 12:56:45PM +0200, Philip Oberfichtner wrote: > > > > > Before this commit, the SPL could enable the PL310 L2 cache [1], > > > but the > > >

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

2022-08-08 Thread Cédric Le Goater
On 8/8/22 14:16, 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 Signed-off-by: Joel Stanley Reviewed-by:

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

2022-08-08 Thread Cédric Le Goater
On 8/8/22 14:16, 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 --- v4: New patch, split from patch 1 cmd/net.c | 22

Re: [PATCH v2 1/2] ARM: cache: Allow SPL to build cache-pl310.c

2022-08-08 Thread Marek Vasut
On 8/8/22 14:29, Philip Oberfichtner wrote: On Thu, 2022-08-04 at 07:05 -0400, Tom Rini wrote: On Thu, Aug 04, 2022 at 12:56:45PM +0200, Philip Oberfichtner wrote: Before this commit, the SPL could enable the PL310 L2 cache [1], but the cache maintenance functions from cache-pl310.c were

Re: [PATCH v2 1/2] ARM: cache: Allow SPL to build cache-pl310.c

2022-08-08 Thread Philip Oberfichtner
On Thu, 2022-08-04 at 07:05 -0400, Tom Rini wrote: > On Thu, Aug 04, 2022 at 12:56:45PM +0200, Philip Oberfichtner wrote: > > > Before this commit, the SPL could enable the PL310 L2 cache [1], > > but the > > cache maintenance functions from cache-pl310.c were only useable > > for > > non-SPL

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

2022-08-08 Thread Joel Stanley
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 normally use it. Signed-off-by: Joel Stanley Reviewed-by: Ramon Fried

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

2022-08-08 Thread Joel Stanley
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 phy-mode sets it or the use-ncsi property exists. If set then normal mdio

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

2022-08-08 Thread Joel Stanley
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 --- v4: New patch, split from patch 1 cmd/net.c | 22 ++ net/net.c | 1 + cmd/Kconfig | 8 3 files

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

2022-08-08 Thread Joel Stanley
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 Signed-off-by: Joel Stanley --- v4: split out cmd addition into a separate patch v3:

[PATCH v4 0/4] net: Enable NC-SI support

2022-08-08 Thread Joel Stanley
Back in 2019 Sam submitted NC-SI support. The NC-SI PHY driver was merged (patches 1 and 2), but we never got around to merging patches 3 and 4: https://lore.kernel.org/u-boot/20190618013720.2823-1-...@mendozajonas.com/ Sam as long since moved on from working on the Aspeed BMCs, but the code

Re: [PATCH] spl: opensbi: convert scratch options to config

2022-08-08 Thread Anup Patel
On Mon, Aug 8, 2022 at 3:58 PM Nikita Shubin wrote: > > From: Nikita Shubin > > Convert hardcoded "opensbi_info.options" to config provided value, this > allows changing options passed to OpenSBI. > > SPL_OPENSBI_SCRATCH_OPTIONS is defaulted to SBI_SCRATCH_NO_BOOT_PRINTS. > > Link: >

Re: [PATCH 2/3] binman: Remove header from compressed data

2022-08-08 Thread Stefan Herbrechtsmeier
Hi Simon, Am 05.08.2022 um 18:48 schrieb Simon Glass: Hi Stefan, On Fri, 5 Aug 2022 at 01:51, Stefan Herbrechtsmeier wrote: Hi Simon, Am 04.08.2022 um 15:57 schrieb Simon Glass: Hi Stefan, On Thu, 4 Aug 2022 at 01:50, Stefan Herbrechtsmeier wrote: Hi Simon, Am 03.08.2022 um 20:14

[PATCH v2 10/10] binman: Add zstd bintool

2022-08-08 Thread Stefan Herbrechtsmeier
From: Stefan Herbrechtsmeier Add zstd bintool to binman to support on-the-fly compression. Signed-off-by: Stefan Herbrechtsmeier --- Changes in v2: - Added tools/binman/btool/zstd.py | 30 ++ tools/binman/comp_util.py | 18 +-

[PATCH v2 09/10] binman: Add xz bintool

2022-08-08 Thread Stefan Herbrechtsmeier
From: Stefan Herbrechtsmeier Add xz bintool to binman to support on-the-fly compression. Signed-off-by: Stefan Herbrechtsmeier --- Changes in v2: - Added tools/binman/btool/xz.py | 31 +++ tools/binman/comp_util.py | 18 +- 2 files changed, 40

[PATCH v2 08/10] binman: Add lzop bintool

2022-08-08 Thread Stefan Herbrechtsmeier
From: Stefan Herbrechtsmeier Add lzop bintool to binman to support on-the-fly compression. Signed-off-by: Stefan Herbrechtsmeier --- Changes in v2: - Added tools/binman/btool/lzop.py | 30 ++ tools/binman/comp_util.py | 18 ++ 2 files changed,

[PATCH v2 05/10] binman: Add BintoolPacker class to bintool

2022-08-08 Thread Stefan Herbrechtsmeier
From: Stefan Herbrechtsmeier Add a bintools base class for packers which compression / decompression entry contents. Signed-off-by: Stefan Herbrechtsmeier --- Changes in v2: - Added tools/binman/bintool.py | 94 + 1 file changed, 94 insertions(+)

[PATCH v2 06/10] binman: Add bzip2 bintool

2022-08-08 Thread Stefan Herbrechtsmeier
From: Stefan Herbrechtsmeier Add bzip2 bintool to binman to support on-the-fly compression. Signed-off-by: Stefan Herbrechtsmeier --- Changes in v2: - Added tools/binman/btool/bzip2.py | 30 ++ tools/binman/comp_util.py | 14 +++--- 2 files changed, 37

[PATCH v2 07/10] binman: Add gzip bintool

2022-08-08 Thread Stefan Herbrechtsmeier
From: Stefan Herbrechtsmeier Add gzip bintool to binman to support on-the-fly compression of Linux kernel images and FPGA bitstreams. The SPL basic fitImage implementation supports only gzip decompression. Signed-off-by: Stefan Herbrechtsmeier --- Changes in v2: - Added

[PATCH v2 04/10] binman: Add compression tests

2022-08-08 Thread Stefan Herbrechtsmeier
From: Stefan Herbrechtsmeier Add common test functions to test all supported compressions. Signed-off-by: Stefan Herbrechtsmeier --- Instead of the for loop it is possible to use Parameterized [1] testing. [1] https://github.com/wolever/parameterized Changes in v2: - Added

[PATCH v2 03/10] binman: Simplify comp_util class

2022-08-08 Thread Stefan Herbrechtsmeier
From: Stefan Herbrechtsmeier Simplify the comp_util class by remove duplicate code as preparation for additional compress algorithms. Signed-off-by: Stefan Herbrechtsmeier --- (no changes since v1) tools/binman/cbfs_util_test.py | 2 +- tools/binman/comp_util.py | 46

[PATCH v2 02/10] binman: Make compressed data header optional

2022-08-08 Thread Stefan Herbrechtsmeier
From: Stefan Herbrechtsmeier Move the compressed data header handling into the dtb blob entry class and make it optional. The header is uncommon, not supported by U-Boot and incompatible with external compressed artifacts. If needed the header could be enabled with the following attribute

[PATCH v2 01/10] binman: Skip elf tests if python elftools is not available

2022-08-08 Thread Stefan Herbrechtsmeier
From: Stefan Herbrechtsmeier Skip tests which requires python elftools if the tool is not available. Signed-off-by: Stefan Herbrechtsmeier --- Changes in v2: - Added tools/binman/elf_test.py | 14 ++ tools/binman/ftest.py| 18 ++ 2 files changed, 32

[PATCH] spl: opensbi: convert scratch options to config

2022-08-08 Thread Nikita Shubin
From: Nikita Shubin Convert hardcoded "opensbi_info.options" to config provided value, this allows changing options passed to OpenSBI. SPL_OPENSBI_SCRATCH_OPTIONS is defaulted to SBI_SCRATCH_NO_BOOT_PRINTS. Link:

[PATCH] spl: opensbi: fix typo

2022-08-08 Thread Nikita Shubin
From: Nikita Shubin s/obensbi_info/opensbi_info/ Signed-off-by: Nikita Shubin --- common/spl/spl_opensbi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/spl/spl_opensbi.c b/common/spl/spl_opensbi.c index 1c0abf8553..7fe0b5e158 100644 --- a/common/spl/spl_opensbi.c

Re: [PATCH] misc: atsha204a: Don't check for error when waking up the device

2022-08-08 Thread Paweł Anikiel
Hi Pali, I applied the patch and it works fine on my board. Log from atsha204a_wakeup(): Waking up ATSHA204A Try 1... success Tested-by: Paweł Anikiel Regards, Paweł On Sun, Aug 7, 2022 at 9:30 PM Pali Rohár wrote: > > Paweł, could you please test this change if it works on your board? I

Re: [PATCH 1/1] usb: storage: stop probe on "Invalid device"

2022-08-08 Thread Simon Glass
Hi Takahiro, On Sun, 7 Aug 2022 at 20:18, AKASHI Takahiro wrote: > > Hi Simon, > > On Sun, Aug 07, 2022 at 09:47:56AM -0600, Simon Glass wrote: > > Hi Marek, > > > > On Thu, 21 Jul 2022 at 11:29, Janne Grunau wrote: > > > > > > Fixes a crash during probing of sd card readers without medium

Re: [PATCH v3 1/3] net: NC-SI setup and handling

2022-08-08 Thread Ramon Fried
On Mon, Aug 8, 2022 at 9:18 AM Joel Stanley wrote: > > On Sat, 6 Aug 2022 at 23:54, Ramon Fried wrote: > > > > On Mon, Jul 4, 2022 at 11:20 AM Cédric Le Goater wrote: > > > > > > On 7/4/22 09:58, Joel Stanley wrote: > > > > From: Samuel Mendoza-Jonas > > > > > > > > Add the handling of NC-SI

Re: [PATCH] ARM: meson: fixup error on efuse commands return

2022-08-08 Thread Neil Armstrong
Hi, On Thu, 4 Aug 2022 16:41:38 +0200, Jerome Brunet wrote: > All `sm efuseread/efusewrite` commands exit with an error, even if the fuse > have actually been dealt with correctly. > > This is because the smc call return the size it actually processed but this > result is checked against 0. > >

Re: [PATCH 13/23] blk: Hide the BLK and SPL_LEGACY_BLOCK options

2022-08-08 Thread Heinrich Schuchardt
On 8/7/22 17:46, Simon Glass wrote: We don't want boards to be able to change these. They can be handled as dependencies of options that need them, such as SPL_MMC. There is no point in enabling the block interface without any storage devices to create a block device. Hide both options from the

  1   2   >