Re: BISECTED f3866909e350 ("distro_bootcmd: call EFI bootmgr even without having /EFI/boot")

2021-06-12 Thread AKASHI Takahiro
On Sat, Jun 12, 2021 at 04:50:46PM +0300, Matwey V. Kornilov wrote: > сб, 12 июн. 2021 г. в 05:05, AKASHI Takahiro : > > > > Hi Matwey, > > > > On Fri, Jun 11, 2021 at 06:08:28PM +0300, Matwey V. Kornilov wrote: > > > чт, 10 июн. 2021 г. в 23:05, Heinrich Schuchardt : > > > > > > > > On 6/7/21 7:51

Cannot build with SPI_SUNXI

2021-06-12 Thread Daniel Maslowski
Hi there, I am trying to get an OLinuXino-A64 board with a SPI flash to work: - U-Boot in the SPI flash, with TF-A, SPL and DTB - Linux in the SPI flash, loaded and run by U-Boot I can build U-Boot with SPI_SUNXI_SPL just fine. It boots from the flash, and jumping to regular U-Boot works, too.

Re: imx8qxp mek: Booting mainline kernel with mainline U-Boot

2021-06-12 Thread vmuthusu
Is there any update on this. We are using a custom board based on IMX8QXP and trying to run u-boot 2020.04 with Linux kernel 5.10.9 and stuck with Starting Kernel message. Thanks V.Muthusubramanian -- Sent from: http://u-boot.10912.n7.nabble.com/

Re: [PATCH v2] cmd: net: add a 'net list' command to list network devs

2021-06-12 Thread Ramon Fried
Hi Tim. The patch fails build in several boards (Malta variants): +cmd/net.c: In function 'do_net_list': 42+cmd/net.c:487:34: error: initialization of 'const struct udevice *' from incompatible pointer type 'struct eth_device *' [-Werror=incompatible-pointer-types] 43+ 487 | const struct udevice *

Re: [PATCH 1/1] net: sun8i-emac: fix MDIO frequency

2021-06-12 Thread Ramon Fried
On Thu Jun 10, 2021 at 8:48 AM IDT, Ramon Fried wrote: > On Thu, Jun 3, 2021 at 10:52 AM Heinrich Schuchardt > wrote: > > > > Commit 4f0278dac56a ("net: sun8i-emac: Lower MDIO frequency") leads to > > network failure on the OrangePi PC. > > > > => dhcp > > sun8i_emac_eth_start: Timeout > >

Re: [PATCH v3] net: tsec: add option to set device max-speed via dts

2021-06-12 Thread Ramon Fried
On Fri Jun 4, 2021 at 4:40 PM IDT, Aleksandar Gerasimovski wrote: > Current tsec adapter sets adapter gigabit capabilities by default, and > in > reality this must not always be the case. > It is possible that tsec adapter is used for 100Mbps connection, and in > this case setting 1000Mbps capabili

Re: [PATCH v5 08/13] net: synquacer: Add netsec driver

2021-06-12 Thread Ramon Fried
On Fri Jun 4, 2021 at 12:44 PM IDT, Masami Hiramatsu wrote: > From: Jassi Brar > > Add SynQuacer's NETSEC GbE controller driver. > Since this driver will load the firmware from SPI NOR flash, > this depends on CONFIG_SYNQUACER_SPI=y. > > Signed-off-by: Jassi Brar > --- > drivers/net/Kconfig | 8 >

Re: [PATCH] net: dwc_eth_qos: Revert some changes of commit 3a97da12ee7b

2021-06-12 Thread Ramon Fried
On Sun May 30, 2021 at 4:34 PM IDT, Daniil Stas wrote: > Revert some changes of commit 3a97da12ee7b ("net: dwc_eth_qos: add dwc > eqos for imx support") that were probably added by mistake. > > One of these changes can lead to received data corruption (enabling > FUP and FEP bits). Another causes i

Re: [PATCH] net: dwc_eth_qos: Fix needless phy auto-negotiation restarts

2021-06-12 Thread Ramon Fried
On Mon May 24, 2021 at 1:24 AM IDT, Daniil Stas wrote: > Disabling clk_ck clock leads to link up status loss in phy, which > leads to auto-negotiation restart before each network command > execution. > > This issue is especially big for PXE boot protocol because of > auto-negotiation restarts befor

Re: [PATCH] net: dwc_eth_qos: Revert some changes of commit 3a97da12ee7b

2021-06-12 Thread Ramon Fried
On Sun, May 30, 2021 at 4:28 PM Daniil Stas wrote: > > Revert some changes of commit 3a97da12ee7b ("net: dwc_eth_qos: add dwc > eqos for imx support") that were probably added by mistake. > > One of these changes can lead to received data corruption (enabling > FUP and FEP bits). Another causes in

Re: [PATCH v5 08/13] net: synquacer: Add netsec driver

2021-06-12 Thread Ramon Fried
On Fri, Jun 4, 2021 at 12:44 PM Masami Hiramatsu wrote: > > From: Jassi Brar > > Add SynQuacer's NETSEC GbE controller driver. > Since this driver will load the firmware from SPI NOR flash, > this depends on CONFIG_SYNQUACER_SPI=y. > > Signed-off-by: Jassi Brar > --- > drivers/net/Kconfig

Re: [PATCH v2] cmd: net: add a 'net list' command to list network devs

2021-06-12 Thread Ramon Fried
On Fri Jun 11, 2021 at 10:52 PM IDT, Tim Harvey wrote: > In a system with multiple network controllers it can be difficult > to know the names of the various devices available. This is especially > true for USB ether devices as they do not display device names upon > detection. > > This is being ad

Re: [PATCH] net: e1000: do not attempt to set hwaddr for i210 without FLASH

2021-06-12 Thread Ramon Fried
On Fri Jun 11, 2021 at 7:01 PM IDT, Tim Harvey wrote: > On Thu, Apr 22, 2021 at 5:11 PM Ramon Fried > wrote: > > > > On Fri, Apr 16, 2021 at 11:25 PM Tim Harvey wrote: > > > > > > commit f1bcad22dd19 ("net: e1000: add support for writing to EEPROM") > > > adds support for storing hwaddr in EEPROM

Re: [PATCH] net: fm: Fix a memory leak issue

2021-06-12 Thread Ramon Fried
On Wed Jun 2, 2021 at 9:35 AM IDT, Zhiqiang Hou wrote: > From: Hou Zhiqiang > > Fix a memory leak issue in the RX port initialization. > > Signed-off-by: Hou Zhiqiang > --- > drivers/net/fm/eth.c | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > > diff --git a/drivers/net/fm/eth.c b/dri

[RESEND PATCH v6 2/2] mmc: openpiton: add piton_mmc driver

2021-06-12 Thread Tianrui Wei
This commit adds support to piton_mmc driver for OpenPiton-riscv64 In particular, this driver - V6 . change type of address . move declarations ahead . loop style update Signed-off-by: Tianrui Wei Signed-off-by: Jonathan Balkind --- drivers/mmc/Kconfig | 9 +++ drivers/mmc/Makefile

[RESEND PATCH v6 0/2] Add OpenPiton-riscv64 Board Support

2021-06-12 Thread Tianrui Wei
This patch set is to add OpenPiton board support. Patches are split into several parts: - [PATCH 1/2] add OpenPiton support to mmc driver - [PATCH 2/2] add support for OpenPiton board Description - for mmc driver, it's settings are automatically configured at hardware level. We only need to ex

[RESEND PATCH v6 1/2] board: riscv: add openpiton-riscv64 SoC support

2021-06-12 Thread Tianrui Wei
This patch adds openpiton-riscv64 SOC support. In particular, this board supports a standard bootflow through zsbl->u-boot SPL-> opensbi->u-boot proper->Linux. There are separate defconfigs for building u-boot SPL and u-boot proper - V6 . separate defconfigs for u-boot and SPL . eliminat

Re: [PATCH 5/5] riscv: ae350: dts: Add missing "u-boot,dm-spl" for SPL config

2021-06-12 Thread Bin Meng
Hi Rick, On Sat, Jun 12, 2021 at 9:30 PM Rick Chen wrote: > > HI Bin > > > Hi Rick, > > > > On Wed, Jun 9, 2021 at 3:06 PM Rick Chen wrote: > > > > > > Hi Bin, > > > > > > > From: Bin Meng > > > > Sent: Friday, June 04, 2021 1:51 PM > > > > To: Rick Jian-Zhi Chen(陳建志) ; Leo Yu-Chi Liang(梁育齊) >

Re: BISECTED f3866909e350 ("distro_bootcmd: call EFI bootmgr even without having /EFI/boot")

2021-06-12 Thread Matwey V. Kornilov
сб, 12 июн. 2021 г. в 05:05, AKASHI Takahiro : > > Hi Matwey, > > On Fri, Jun 11, 2021 at 06:08:28PM +0300, Matwey V. Kornilov wrote: > > чт, 10 июн. 2021 г. в 23:05, Heinrich Schuchardt : > > > > > > On 6/7/21 7:51 PM, Matwey V. Kornilov wrote: > > > > вс, 6 июн. 2021 г. в 19:47, Heinrich Schuchar

Re: [PATCH 5/5] riscv: ae350: dts: Add missing "u-boot,dm-spl" for SPL config

2021-06-12 Thread Rick Chen
HI Bin > Hi Rick, > > On Wed, Jun 9, 2021 at 3:06 PM Rick Chen wrote: > > > > Hi Bin, > > > > > From: Bin Meng > > > Sent: Friday, June 04, 2021 1:51 PM > > > To: Rick Jian-Zhi Chen(陳建志) ; Leo Yu-Chi Liang(梁育齊) > > > ; U-Boot Mailing List > > > Subject: [PATCH 5/5] riscv: ae350: dts: Add missi

Re: [PATCH v2 1/1] lib: move rtc-lib.c to lib

2021-06-12 Thread Bin Meng
On Sat, Jun 12, 2021 at 7:20 PM Heinrich Schuchardt wrote: > > Function rtc_to_tm() is needed for FAT file system support even if we don't > have a real time clock. So move it from drivers/ to lib/. > > Signed-off-by: Heinrich Schuchardt > --- > v2: > reformated using 'git format-patch -M

[PATCH v2 1/1] lib: move rtc-lib.c to lib

2021-06-12 Thread Heinrich Schuchardt
Function rtc_to_tm() is needed for FAT file system support even if we don't have a real time clock. So move it from drivers/ to lib/. Signed-off-by: Heinrich Schuchardt --- v2: reformated using 'git format-patch -M' --- drivers/rtc/Makefile | 1 - lib/Makefile

Re: [PATCH 1/1] lib: move rtc-lib.c to lib

2021-06-12 Thread Pali Rohár
On Saturday 12 June 2021 18:55:12 Bin Meng wrote: > Hi Heinrich, > > On Sat, Jun 12, 2021 at 2:22 PM Heinrich Schuchardt > wrote: > > > > Function rtc_to_tm() is needed for FAT file system support even if we don't > > have a real time clock. So move it from drivers/ to lib/. > > > > Signed-off-b

[PATCH v6 1/2] board: riscv: add openpiton-riscv64 SoC support

2021-06-12 Thread Tianrui Wei
This patch adds openpiton-riscv64 SOC support. In particular, this board supports a standard bootflow through zsbl->u-boot SPL-> opensbi->u-boot proper->Linux. There are separate defconfigs for building u-boot SPL and u-boot proper - V6 . separate defconfigs for u-boot and SPL . eliminate debu

[PATCH v6 2/2] mmc: openpiton: add piton_mmc driver

2021-06-12 Thread Tianrui Wei
This commit adds support to piton_mmc driver for OpenPiton-riscv64 In particular, this driver - V6 . change type of address . move declarations ahead . loop style update Signed-off-by: Tianrui Wei Signed-off-by: Jonathan Balkind --- drivers/mmc/Kconfig | 9 +++ drivers/mmc/Makefile

[PATCH v6 0/2] Add OpenPiton-riscv64 Board Support

2021-06-12 Thread Tianrui Wei
This patch set is to add OpenPiton board support. Patches are split into several parts: - [PATCH 1/2] add OpenPiton support to mmc driver - [PATCH 2/2] add support for OpenPiton board Description - for mmc driver, it's settings are automatically configured at hardware level. We only need to ex

Re: [PATCH 1/1] lib: move rtc-lib.c to lib

2021-06-12 Thread Bin Meng
Hi Heinrich, On Sat, Jun 12, 2021 at 2:22 PM Heinrich Schuchardt wrote: > > Function rtc_to_tm() is needed for FAT file system support even if we don't > have a real time clock. So move it from drivers/ to lib/. > > Signed-off-by: Heinrich Schuchardt > --- > drivers/rtc/Makefile | 1 - > driv