[PATCH] pxe_utils: Fix arguments to x86 zboot

2021-10-16 Thread Zhaofeng Li
bootm and zboot accept different arguments: > bootm [addr [arg ...]] >- boot application image stored in memory >passing arguments 'arg ...'; when booting a Linux kernel, >'arg' can be the address of an initrd image > zboot [addr] [size] [initrd addr] [initrd size] [setup] [cm

Re: HiFive Unmatched: U-Boot stuck when loading Ramdisk

2021-10-16 Thread Sören Tempel
Tom Rini wrote: > I believe, that risc-v, until the current dev tree (so v2022.01) > doesn't set the flag to prevent itself from being overwritten when > preparing to boot the OS. If I understand your comment correctly, this means that the issue has been fixed in the v2022.01 dev tree? If so: Cou

Re: HiFive Unmatched: U-Boot stuck when loading Ramdisk

2021-10-16 Thread Tom Rini
On Sat, Oct 16, 2021 at 01:22:35PM +0200, Sören Tempel wrote: > Tom Rini wrote: > > I believe, that risc-v, until the current dev tree (so v2022.01) > > doesn't set the flag to prevent itself from being overwritten when > > preparing to boot the OS. > > If I understand your comment correctly, thi

Re: HiFive Unmatched: U-Boot stuck when loading Ramdisk

2021-10-16 Thread David Abdurachmanov
On Fri, Oct 15, 2021 at 7:16 PM Tom Rini wrote: > > On Fri, Oct 15, 2021 at 06:29:09PM +0300, David Abdurachmanov wrote: > > On Fri, Oct 15, 2021 at 6:02 PM Sören Tempel > > wrote: > > > > > > Hello, > > > > > > I hope this is the right way to report u-boot issues. I tried to reach > > > out to

[PATCH] tools/Makefile: fix {C,LD}FLAGS with CROSS_BUILD_TOOLS

2021-10-16 Thread Fabrice Fontaine
When CROSS_BUILD_TOOLS is set, set KBUILD_HOST{CF,LD}FLAGS to {C,LD}FLAGS otherwise CC will be used with HOST{C,LD}FLAGS which seems wrong. It should be noted that, for an unknown reason, overriding HOST{C,LD}FLAGS don't work. Signed-off-by: Fabrice Fontaine --- tools/Makefile | 3 ++- 1 file c

Re: [PATCH] net: gem: Disable broadcast setting

2021-10-16 Thread Ramon Fried
On Fri, Oct 15, 2021 at 4:03 PM Michal Simek wrote: > > There is no need for GEM to accepts broadcast packets because they are not > handled by u-boot anyway. That's why use HW IP feature and don't waste time > on these packats which will be dropped anyway. > > Signed-off-by: Michal Simek > --- >

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

2021-10-16 Thread Ramon Fried
On Wed, Sep 29, 2021 at 4:32 PM Vladimir Oltean wrote: > > 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 +-

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

2021-10-16 Thread Ramon Fried
On Wed, Sep 29, 2021 at 4:32 PM Vladimir Oltean wrote: > > 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

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

2021-10-16 Thread Ramon Fried
On Wed, Sep 29, 2021 at 8:50 AM 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/tsec.c > inde

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

2021-10-16 Thread Ramon Fried
On Thu, Sep 30, 2021 at 2:21 AM Bin Meng wrote: > > 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

Re: [PATCH] net: phy: realtek: Add tx/rx delay config for 8211e

2021-10-16 Thread Ramon Fried
On Wed, Oct 13, 2021 at 5:07 AM Samuel Holland wrote: > > Some boards need to change the tx/rx delay config in order for > gigabit Ethernet to work. > > In Linux commit bbc4d71d6354 ("net: phy: realtek: fix rtl8211e rx/tx > delay config"), Realtek documented the bits for overriding the delays > fr

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

2021-10-16 Thread Ramon Fried
On Wed, Sep 29, 2021 at 6:05 PM Vladimir Oltean wrote: > > 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, implem