[PATCH v7 3/8] drivers: ram: sifive: rename fu540_ddr and add fu740 support

2021-04-22 Thread Green Wan
Rename fu540_ddr.c to sifive_ddr.c and add fu740 support Signed-off-by: Green Wan Reviewed-by: Bin Meng --- drivers/ram/sifive/Kconfig| 8 +- drivers/ram/sifive/Makefile | 2 +- .../ram/sifive/{fu540_ddr.c => sifive_ddr.c} | 89 ++- 3

[PATCH v7 4/8] drivers: pci: add pcie support for fu740

2021-04-22 Thread Green Wan
Add pcie driver for SiFive fu740, the driver depends on fu740 gpio, clk and reset driver to do init. Force running at Gen1 for better capatible enumeration. Several devices are tested: a) M.2 NVMe SSD b) USB-to-PCI adapter c) Ethernet adapter (E1000 compatible) Signed-off-by: Green Wan ---

[PATCH v7 0/8] Add FU740 chip and HiFive Unmatched board support

2021-04-22 Thread Green Wan
This patch set is to add SiFive fu740 chip and HiFive Unmatched board support. Patches are split into several parts: - [PATCH v7 1/8] support for fu740 cpu - [PATCH v7 2/8] support for fu740 clk driver - [PATCH v7 3/8] rename and support for fu740 ram driver - [PATCH v7 4/8] add pcie

[PATCH v7 1/8] riscv: cpu: fu740: Add support for cpu fu740

2021-04-22 Thread Green Wan
Add SiFive fu740 cpu to support RISC-V arch Signed-off-by: Green Wan Reviewed-by: Bin Meng --- arch/riscv/Kconfig| 1 + arch/riscv/cpu/fu740/Kconfig | 37 +++ arch/riscv/cpu/fu740/Makefile | 12 + arch/riscv/cpu/fu740/cache.c

[PATCH v7 7/8] board: sifive: add HiFive Unmatched board support

2021-04-22 Thread Green Wan
Add defconfig and board support for HiFive Unmatched. Signed-off-by: Green Wan Reviewed-by: Bin Meng Reviewed-by: Rick Chen --- arch/riscv/Kconfig | 4 + board/sifive/unleashed/Kconfig | 1 + board/sifive/unmatched/Kconfig | 50 +++

[PATCH v7 6/8] riscv: dts: add SiFive Unmatched board support

2021-04-22 Thread Green Wan
Add dts files for SiFive Unmatched board. Signed-off-by: Green Wan Reviewed-by: Rick Chen --- arch/riscv/dts/Makefile |1 + .../dts/fu740-hifive-unmatched-a00-ddr.dtsi | 1489 + .../dts/hifive-unmatched-a00-u-boot.dtsi | 40 +

[PATCH v7 2/8] drivers: clk: add fu740 support

2021-04-22 Thread Green Wan
Add fu740 support. One abstract layer is added for supporting multiple chips such as fu540 and fu740. Signed-off-by: Green Wan --- drivers/clk/sifive/Kconfig | 8 +- drivers/clk/sifive/Makefile | 4 +- drivers/clk/sifive/fu540-prci.c | 769 +--

[PATCH v7 5/8] riscv: dts: add fu740 support

2021-04-22 Thread Green Wan
Add dts support for fu740. The HiFive Unmatched support is based on fu740 cpu and drivers in following patch set. Signed-off-by: Green Wan [greentime.hu: set fu740 speed to 1.2GHz] Signed-off-by: Greentime Hu Reviewed-by: Bin Meng Reviewed-by: Rick Chen ---

[PATCH v7 8/8] drivers: net: macb: add fu740 support

2021-04-22 Thread Green Wan
From: David Abdurachmanov Add fu740 support to macb ethernet driver There is a PLL HW quirk in FU740. The VSC8541XMV-02 specification requires 125 +/-0.0125 Mhz. But the most close value can be output by PLL is 125.125 MHz and out of VSC8541XMV-02 spec. Signed-off-by: David Abdurachmanov

Re: [PATCH 2/2] efi_loader: add PE/COFF image measurement

2021-04-22 Thread Ilias Apalodimas
> > > + if (!(active & alg_to_mask(hash_alg))) > > > + continue; > > > + switch (hash_alg) { > > > + case TPM2_ALG_SHA1: > > > > SHA1 is known to be unsafe. Why would we support it? > > Basically I agree with removing SHA1 support. > This

[RFC PATCH v7 2/2] riscv: cpu: fu740: clear feature disable CSR

2021-04-22 Thread Green Wan
Clear feature disable CSR to turn on all features of hart. The detail is specified at section, 'SiFive Feature Disable CSR', in user manual https://sifive.cdn.prismic.io/sifive/aee0dd4c-d156-496e-a6c4-db0cf54bbe68_sifive_U74MC_rtl_full_20G1.03.00_manual.pdf Signed-off-by: Green Wan Reviewed-by:

[PATCH] Revert "usb: kbd: destroy device after console is stopped"

2021-04-22 Thread Peter Robinson
Reverts commit eb5fd9e46c1, it causes ARMv7 devices to stop booting Linux when a USB keyboard is attached. The kernels starts but there's no output. Reverting it makes things work again. Signed-off-by: Peter Robinson Cc: Nicolas Saenz Julienne Cc: Andy Shevchenko --- This has caused us issues

Re: [PATCH V2 1/2] mmc: add OpenPiton mmc support

2021-04-22 Thread Tianrui Wei
Dear Jaehoon, Many thanks again for reviewing our code. I’ll reformat and refactor the patch as you have kindly suggested. We really appreciate your enthusiasm in this matter. Best Regards, Tianrui From: Jaehoon Chung Sent: Thursday, April 22, 2021

[PATCH] Makefile: fix generation of defaultenv.h from empty initial file

2021-04-22 Thread Rasmus Villemoes
When CONFIG_USE_DEFAULT_ENV_FILE=y and the file CONFIG_DEFAULT_ENV_FILE is empty (or at least doesn't contain any non-comment, non-empty lines), we end up feeding nothing into xxd, which in turn then outputs nothing. Then blindly appending ", 0x00" means that we end up trying to compile (roughly)

Re: [PATCH 2/2] efi_loader: add PE/COFF image measurement

2021-04-22 Thread Heinrich Schuchardt
On 22.04.21 10:09, Ilias Apalodimas wrote: + if (!(active & alg_to_mask(hash_alg))) + continue; + switch (hash_alg) { + case TPM2_ALG_SHA1: >>> >>> SHA1 is known to be unsafe. Why would we support it? >> >> Basically I

[RFC PATCH v7 0/2] riscv: cpu: Add callback to init each core

2021-04-22 Thread Green Wan
Add a callback interface, harts_early_init() to perform proprietary or customized CRSs configuration for each hart. harts_early_init() is placed after stack of harts are initialized and before main boot hart is picked up. Several conditions should be aware of or avoided are listed: - cannot

[RFC PATCH v7 1/2] riscv: cpu: Add callback to init each core

2021-04-22 Thread Green Wan
Add a callback harts_early_init() to start.S to allow different riscv hart perform setup code for each hart as early as possible. Since all the harts enter the callback, they must be able to run the same setup. Signed-off-by: Green Wan Reviewed-by: Rick Chen --- arch/riscv/cpu/cpu.c | 11

Re: [PATCH V2 24/24] ARM: imx8m: verdin-imx8mm: Enable USB Host support

2021-04-22 Thread Ying-Chun Liu (PaulLiu)
Hi Marek, I have the same issue on my iMX8MM based board. Are you continue working on the patch for iMX8MM or should I dig into this problem? I'm asking this just for not duplicating efforts. So if you are not working on this then I'll see if I can properly retrieve the necessary patches to make

Re: [PATCH] Makefile: fix generation of defaultenv.h from empty initial file

2021-04-22 Thread Oleksandr Suvorov
Hi Rasmus, Thanks for the patch, I've tested it. On Thu, Apr 22, 2021 at 10:44 AM Rasmus Villemoes wrote: > > When CONFIG_USE_DEFAULT_ENV_FILE=y and the file > CONFIG_DEFAULT_ENV_FILE is empty (or at least doesn't contain any > non-comment, non-empty lines), we end up feeding nothing into xxd,

Re: [PATCH] Revert "usb: kbd: destroy device after console is stopped"

2021-04-22 Thread Andy Shevchenko
On Thu, Apr 22, 2021 at 10:19:10AM +0100, Peter Robinson wrote: Thanks for the report. > Reverts commit eb5fd9e46c1, it causes ARMv7 devices to stop booting > Linux when a USB keyboard is attached. The kernels starts but there's > no output. Reverting it makes things work again. It's not good.

Re: [PATCH] Revert "usb: kbd: destroy device after console is stopped"

2021-04-22 Thread Andy Shevchenko
On Thu, Apr 22, 2021 at 12:11:44PM +0100, Peter Robinson wrote: > On Thu, Apr 22, 2021 at 11:52 AM Andy Shevchenko > wrote: > > On Thu, Apr 22, 2021 at 10:19:10AM +0100, Peter Robinson wrote: ... > > > This has caused us issues on a number of ARMv7 deviices. I'm not sure > > > why specifically

Re: [PATCH] Revert "usb: kbd: destroy device after console is stopped"

2021-04-22 Thread Andy Shevchenko
On Thu, Apr 22, 2021 at 12:11:44PM +0100, Peter Robinson wrote: > On Thu, Apr 22, 2021 at 11:52 AM Andy Shevchenko > wrote: > > > > On Thu, Apr 22, 2021 at 10:19:10AM +0100, Peter Robinson wrote: > > > > Thanks for the report. > > > > > Reverts commit eb5fd9e46c1, it causes ARMv7 devices to stop

Re: [PATCH] efi_loader: simplify tcg2_create_digest()

2021-04-22 Thread Heinrich Schuchardt
On 22.04.21 13:32, Ilias Apalodimas wrote: > Bumping the digest list count, for all supported algorithms, can be > calculated outside of the individual switch statements. So let's do that > for every loop iteration instead and simplify the code a bit. > > Signed-off-by: Ilias Apalodimas

[PATCH] efi_loader: simplify tcg2_create_digest()

2021-04-22 Thread Ilias Apalodimas
Bumping the digest list count, for all supported algorithms, can be calculated outside of the individual switch statements. So let's do that for every loop iteration instead and simplify the code a bit. Signed-off-by: Ilias Apalodimas --- lib/efi_loader/efi_tcg2.c | 5 + 1 file changed, 1

Re: [PATCH] Revert "usb: kbd: destroy device after console is stopped"

2021-04-22 Thread Peter Robinson
On Thu, Apr 22, 2021 at 11:52 AM Andy Shevchenko wrote: > > On Thu, Apr 22, 2021 at 10:19:10AM +0100, Peter Robinson wrote: > > Thanks for the report. > > > Reverts commit eb5fd9e46c1, it causes ARMv7 devices to stop booting > > Linux when a USB keyboard is attached. The kernels starts but

[PATCH v2 14/18] am335x, guardian: configs: Enable display config

2021-04-22 Thread Gireesh.Hiremath
From: Gireesh Hiremath -Enable configuration for display driver -Disable support for SPL GPIO, CMD LED & SPL GPIO Signed-off-by: Gireesh Hiremath --- configs/am335x_guardian_defconfig | 13 ++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git

[PATCH v2 15/18] drivers: video: hx8238 fix build bug

2021-04-22 Thread Gireesh.Hiremath
From: Gireesh Hiremath update panel driver hx8238 fix build bug Signed-off-by: Gireesh Hiremath --- drivers/video/Makefile | 2 +- drivers/video/hx8238d.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/video/Makefile b/drivers/video/Makefile index

[PATCH v2 17/18] am335x, guardian: software update available status is stored in AM3352 RTC scracth register

2021-04-22 Thread Gireesh.Hiremath
From: Gireesh Hiremath RTC second scratch register[32-bit]: -zero byte hold boot count value -first byte hold update available state -second byte hold version -third byte hold magic number Signed-off-by: Gireesh Hiremath Gbp-Pq: Topic apertis/guardian Gbp-Pq: Name

[PATCH v2 18/18] am335x, guardian: configs: Enable bootcount nvmem support

2021-04-22 Thread Gireesh.Hiremath
From: Gireesh Hiremath include bootcount nvmem support Signed-off-by: Gireesh Hiremath --- configs/am335x_guardian_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/am335x_guardian_defconfig b/configs/am335x_guardian_defconfig index 6056b78991..65a3c23e9c 100644 ---

[PATCH v2 09/18] am335x, guardian: code cleanup and boot optimization

2021-04-22 Thread Gireesh.Hiremath
From: Gireesh Hiremath - remove redundant headers and boot modes from board file Signed-off-by: Gireesh Hiremath --- board/bosch/guardian/board.c | 21 - 1 file changed, 21 deletions(-) diff --git a/board/bosch/guardian/board.c b/board/bosch/guardian/board.c index

[PATCH v2 05/18] am335x, guardian: configs: cmd: add memtest configs

2021-04-22 Thread Gireesh.Hiremath
From: Gireesh Hiremath - Add mtest, meminfo commands Signed-off-by: Gireesh Hiremath --- configs/am335x_guardian_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configs/am335x_guardian_defconfig b/configs/am335x_guardian_defconfig index a96cdf734c..2ae7507eff 100644 ---

[PATCH v2 11/18] am335x, guardian: configs: cmd : disable spl command

2021-04-22 Thread Gireesh.Hiremath
From: Gireesh Hiremath - disable support for spl command Signed-off-by: Gireesh Hiremath --- configs/am335x_guardian_defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configs/am335x_guardian_defconfig b/configs/am335x_guardian_defconfig index

[PATCH v2 08/18] am335x, guardian: set environment variable autoload to no

2021-04-22 Thread Gireesh.Hiremath
From: Gireesh Hiremath autoload: if set to "no" then rarpb, bootp or dhcp commands will just perform a configuration lookup from the BOOTP / DHCP server, but not try to load any image using TFTP Signed-off-by: Gireesh Hiremath --- include/configs/am335x_guardian.h | 2 +- 1 file changed, 1

[PATCH v2 12/18] am335x, guardian: update swi logic

2021-04-22 Thread Gireesh.Hiremath
From: Gireesh Hiremath read boot mode gpio and set the swi status Signed-off-by: Gireesh Hiremath --- board/bosch/guardian/board.c | 15 +-- include/configs/am335x_guardian.h | 2 +- 2 files changed, 14 insertions(+), 3 deletions(-) diff --git a/board/bosch/guardian/board.c

[PATCH v2 13/18] am335x, guardian: Enable backlight

2021-04-22 Thread Gireesh.Hiremath
From: Gireesh Hiremath Enable backlight, set brightness value and dimming frequency Signed-off-by: Gireesh Hiremath --- board/bosch/guardian/board.c | 26 ++ include/configs/am335x_guardian.h | 1 + 2 files changed, 27 insertions(+) diff --git

[PATCH v2 10/18] am335x, guardian: configs: set boot delay

2021-04-22 Thread Gireesh.Hiremath
From: Gireesh Hiremath - set boot delay to zero, to increase boot speed Signed-off-by: Gireesh Hiremath --- configs/am335x_guardian_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/am335x_guardian_defconfig b/configs/am335x_guardian_defconfig index 2ae7507eff..e47c6aad74

[PATCH v2 16/18] am335x, guardian: Enable panel driver Himax HX8238D

2021-04-22 Thread Gireesh.Hiremath
From: Gireesh Hiremath - Enable lcd controller - Display splash screen Signed-off-by: Gireesh Hiremath --- On 06/01/21 9:01 pm, gireesh.hirem...@in.bosch.com wrote: > diff --git a/board/bosch/guardian/board.c > b/board/bosch/guardian/board.c index 8b3c82cafd..f3e616d21c 100644 > ---

[PATCH v2 07/18] am335x, guardian: Update pinmux configuration

2021-04-22 Thread Gireesh.Hiremath
From: Moses Christopher pinmux update for guardian board - control ASP Board Power: GPIO, on/off ASP Board Power - control Coincell Voltage Measurement: GPIO, enable/disable ADC measurements - powerOff Device GPIO-PowerOff, cut the PMIC supply Signed-off-by: Moses Christopher --- On 06/01/21

[PATCH] arm: a37xx: pci: Fix processing PIO transfers

2021-04-22 Thread Pali Rohár
Trying to clear PIO_START register when it is non-zero (which indicates that previous PIO transfer has not finished yet) causes an External Abort with SError 0xbf02. This bug is currently worked around in TF-A by handling External Aborts in EL3 and ignoring this particular SError. This

[PATCH v2 00/18] am335x, guardian: update board specific changes

2021-04-22 Thread Gireesh.Hiremath
From: Gireesh Hiremath add support for updated TI clock driver, backlight, splash screen, swi logic, add ubi fastmap support, update pinmux, code clean up address the v1 review comments like: split board changes and defconfig changes into separate patches, adding clock support Gireesh Hiremath

[PATCH v2 04/18] am335x, guardian: set tftp_load_addr in environment

2021-04-22 Thread Gireesh.Hiremath
From: Moses Christopher Set tftp_load_addr to 0x8200 in MEM_LAYOUT_ENV_SETTINGS Signed-off-by: Moses Christopher --- include/configs/am335x_guardian.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/configs/am335x_guardian.h b/include/configs/am335x_guardian.h index

[PATCH v2 03/18] am335x, guardian: configs: add ubi fastmap support

2021-04-22 Thread Gireesh.Hiremath
From: Gireesh Hiremath - Trigger fastmap automatically Signed-off-by: Gireesh Hiremath --- configs/am335x_guardian_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/am335x_guardian_defconfig b/configs/am335x_guardian_defconfig index 791bbba26e..a96cdf734c 100644 ---

[PATCH v2 06/18] am335x, guardian: add memtest address range

2021-04-22 Thread Gireesh.Hiremath
From: Gireesh Hiremath - Add default mem start address as 0x8000 - Add defauly mem end address as 0x8100 - Implies default test runs for first 16MiB of DRAM Signed-off-by: Gireesh Hiremath --- include/configs/am335x_guardian.h | 4 1 file changed, 4 insertions(+) diff --git

[PATCH v2 02/18] am335x, guardian: mem: Add board dependent mem values

2021-04-22 Thread Gireesh.Hiremath
From: Moses Christopher - Add mem-guardian.h derived from am33xx/mem.h * Add GPMC config values optimized for Bosch Guardian Board * NAND Chip used by Bosch Guardian Board is Micron MT29F4G08ABBFA Signed-off-by: Moses Christopher --- On 06/01/21 9:01 pm,

[PATCH v2 01/18] am335x, guardian: configs: Enable clock driver

2021-04-22 Thread Gireesh.Hiremath
From: Gireesh Hiremath Enable TI clock driver support for guardian board Signed-off-by: Gireesh Hiremath --- configs/am335x_guardian_defconfig | 7 +++ 1 file changed, 7 insertions(+) diff --git a/configs/am335x_guardian_defconfig b/configs/am335x_guardian_defconfig index

Re: [PATCH 1/4] ARM: board: udoo_neo: Import UDOO Neo dts files

2021-04-22 Thread Tom Rini
On Thu, Apr 01, 2021 at 09:08:10PM +0100, Peter Robinson wrote: > Import the i.MX6SX based UDOO Neo dts files from Linux 5.12-rc1 > and sync the i.MX6SX pinfunc.h > > Signed-off-by: Peter Robinson > Cc: Francesco Montefoschi > Cc: Breno Lima > Cc: Fabio Estevam > Cc: Stefano Babic >

Re: [PATCH v2 3/3] test: Add test for partitions

2021-04-22 Thread Sean Anderson
On 4/21/21 3:14 AM, Simon Glass wrote: > Hi Sean, > > On Fri, 16 Apr 2021 at 02:36, Sean Anderson wrote: >> >> >> >> On 4/14/21 3:37 PM, Simon Glass wrote: >> > Hi Sean, >> > >> > On Mon, 12 Apr 2021 at 23:53, Sean Anderson wrote: >> >> >> >> This is technically a library

Re: [PATCH V2 24/24] ARM: imx8m: verdin-imx8mm: Enable USB Host support

2021-04-22 Thread Tim Harvey
On Thu, Apr 22, 2021 at 3:34 AM Ying-Chun Liu (PaulLiu) wrote: > > Hi Marek, > > I have the same issue on my iMX8MM based board. > Are you continue working on the patch for iMX8MM or should I dig into > this problem? > > I'm asking this just for not duplicating efforts. > So if you are not

Re: [PATCH 3/4] ARM: imx: udoo_neo: convert to DM_MMC

2021-04-22 Thread Tom Rini
On Thu, Apr 01, 2021 at 09:08:12PM +0100, Peter Robinson wrote: > Convert UDOO Neo to use DM MMC. > > Signed-off-by: Peter Robinson > Cc: Francesco Montefoschi > Cc: Breno Lima > Cc: Fabio Estevam > Cc: Stefano Babic Applied to u-boot/master, thanks! -- Tom signature.asc Description:

Re: [PATCH 2/4] ARM: imx: udoo_neo: Enable OF_CONTROL and DM gpio/pin control

2021-04-22 Thread Tom Rini
On Thu, Apr 01, 2021 at 09:08:11PM +0100, Peter Robinson wrote: > Enable OF_CONTROL and DM for gpio and pin control support > on the i.MX6SX based Udoo Neo. > > Signed-off-by: Peter Robinson > Cc: Francesco Montefoschi > Cc: Breno Lima > Cc: Fabio Estevam > Cc: Stefano Babic Applied to

Re: [PATCH 4/4] ARM: imx: udoo_neo: Convert to ethernet DM

2021-04-22 Thread Tom Rini
On Thu, Apr 01, 2021 at 09:08:13PM +0100, Peter Robinson wrote: > Convert the UDOO Neo to ethernet DM support. > > Signed-off-by: Peter Robinson > Cc: Francesco Montefoschi > Cc: Breno Lima > Cc: Fabio Estevam > Cc: Stefano Babic Applied to u-boot/master, thanks! -- Tom signature.asc

[PATCH] pinctrl: single: fix a never true comparison

2021-04-22 Thread Dario Binacchi
As reported by Coverity Scan for Das U-Boot, the 'less-than-zero comparison of an unsigned value is never true. Signed-off-by: Dario Binacchi --- drivers/pinctrl/pinctrl-single.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/pinctrl/pinctrl-single.c

[PATCH] smbios: Fix calculating BIOS Release Date

2021-04-22 Thread Pali Rohár
BIOS Release Date must be in format mm/dd/ and must be release date. U-Boot currently sets BIOS Release Date from U_BOOT_DMI_DATE macro which is generated from current build timestamp. Fix this issue by setting U_BOOT_DMI_DATE macro to U-Boot version which is better approximation of U-Boot

[PATCH] pinctrl: single: check function mask to be non-zero

2021-04-22 Thread Dario Binacchi
Otherwise it can generate a division by zero, which has an undefined behavior. Signed-off-by: Dario Binacchi --- drivers/pinctrl/pinctrl-single.c | 9 + 1 file changed, 9 insertions(+) diff --git a/drivers/pinctrl/pinctrl-single.c b/drivers/pinctrl/pinctrl-single.c index

Re: [PATCH] lib: Move selection of SPL hash algorithms from common/

2021-04-22 Thread Tom Rini
On Mon, Mar 22, 2021 at 08:33:31AM -0500, Alexandru Gagniuc wrote: > When God said, "May there be FIT signature verification in SPL", > Chuck Norris said "SPL image too big". And then there was this patch. > > Enabling SPL_FIT_SIGNATURE increased the code size (armv7 platform) by > about 16KiB,

Re: [PATCH] pinctrl: single: fix a never true comparison

2021-04-22 Thread Pratyush Yadav
On 22/04/21 06:37PM, Dario Binacchi wrote: > As reported by Coverity Scan for Das U-Boot, the 'less-than-zero > comparison of an unsigned value is never true. Unbalanced quote. > > Signed-off-by: Dario Binacchi Reviewed-by: Pratyush Yadav -- Regards, Pratyush Yadav Texas Instruments Inc.

Re: [PATCH] sunxi: DT: A64: update devicetree files

2021-04-22 Thread Jernej Škrabec
Dne sreda, 21. april 2021 ob 11:27:12 CEST je Andre Przywara napisal(a): > Import updated devicetree file from Linux v5.12-rc8. > > Besides some node and audio port renames this changes the PHY modes to > either rgmii-id or rgmii-txid. From the board files the Pinephone sees > a lot of updates. >

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

2021-04-22 Thread Ramon Fried
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 however i210 devices do not > support this and thus results in errors such as: > Warning: e1000#0 failed to set MAC address' > >

Re: [PATCH v2 09/13] net: synquacer: Add netsec driver

2021-04-22 Thread Ramon Fried
On Sat, Apr 17, 2021 at 2:38 AM 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] Revert "usb: kbd: destroy device after console is stopped"

2021-04-22 Thread Marek Vasut
On 4/22/21 1:30 PM, Andy Shevchenko wrote: On Thu, Apr 22, 2021 at 12:11:44PM +0100, Peter Robinson wrote: On Thu, Apr 22, 2021 at 11:52 AM Andy Shevchenko wrote: On Thu, Apr 22, 2021 at 10:19:10AM +0100, Peter Robinson wrote: Thanks for the report. Reverts commit eb5fd9e46c1, it causes

ERROR: v7_outer_cache_inval_range - stop address is not aligned - 0x3bf73010

2021-04-22 Thread Brian McKee
Hello, I'm trying to get an NVMe device to work in u-boot with Cyclone V SX SOC. I posted before, but perhaps it didn't get through moderation? I've made good progress reverse engineering u-boot. I believe I have the pci drivers working. I had to hack the code a bit, but I think I know the

[PATCH v2] pinctrl: single: fix a never true comparison

2021-04-22 Thread Dario Binacchi
As reported by Coverity Scan for Das U-Boot, the 'less-than-zero' comparison of an unsigned value is never true. Signed-off-by: Dario Binacchi Reviewed-by: Pratyush Yadav --- Changes in v2: - Balance quote in commit message - Add review tag drivers/pinctrl/pinctrl-single.c | 4 ++-- 1 file

Re: [PATCH V2 24/24] ARM: imx8m: verdin-imx8mm: Enable USB Host support

2021-04-22 Thread Marek Vasut
On 4/20/21 2:33 AM, Tim Harvey wrote: [...] +/* USB Configs */ +#define CONFIG_EHCI_HCD_INIT_AFTER_RESET +#define CONFIG_MXC_USB_PORTSC (PORT_PTS_UTMI | PORT_PTS_PTW) +#define CONFIG_USB_MAX_CONTROLLER_COUNT 2 + #endif /*_VERDIN_IMX8MM_H */ -- 2.30.2 Marek, Thanks for your work on USB

[PULL] u-boot-mips

2021-04-22 Thread Daniel Schwierzeck
Hi Tom, please pull some updates and fixes for MIPS. Gitlab CI: https://source.denx.de/u-boot/custodians/u-boot-mips/-/pipelines/7255 Azure: https://dev.azure.com/danielschwierzeck/u-boot/_build/results?buildId=22=results The following changes since commit

Re: [PATCH v4 2/6] lib: ecdsa: Add skeleton to implement ecdsa verification in u-boot

2021-04-22 Thread Simon Glass
Hi Alex, On Thu, 22 Apr 2021 at 07:30, Alex G. wrote: > > On 4/21/21 2:15 AM, Simon Glass wrote: > > Hi Alexandru, > > > > On Fri, 16 Apr 2021 at 08:07, Alexandru Gagniuc > > wrote: > >> > >> Prepare the source tree for accepting implementations of the ECDSA > >> algorithm. This patch deals

Re: [PATCH 1/5] lib: add crypt subsystem

2021-04-22 Thread Simon Glass
Hi Steffen, On Wed, 21 Apr 2021 at 20:21, Steffen Jaeckel wrote: > > Hi Simon, > > thanks for taking the time to review. > > On 4/21/21 9:14 AM, Simon Glass wrote: > > On Tue, 13 Apr 2021 at 10:16, Steffen Jaeckel > > wrote: > >> > >> Add the basic functionality required to support the standard

Re: [PATCH 2/8] net: designware: meson8b: add g12a compatible

2021-04-22 Thread Ramon Fried
On Wed, Apr 21, 2021 at 12:18 PM Neil Armstrong wrote: > > Add support for the Meson G12A dwmac glue compatible needed after Linux 5.12 > sync. > > Signed-off-by: Neil Armstrong > --- > drivers/net/dwmac_meson8b.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git

Re: [PATCH] net: designware: fix PHY reset with DM_MDIO

2021-04-22 Thread Ramon Fried
On Wed, Apr 21, 2021 at 11:58 AM Neil Armstrong wrote: > > The dw_eth_pdata is not accessible from the mdio device, it gets the mdio bus > plat > leading to random sleeps (-10174464 on Odroid-HC4). > > This moves the dw_mdio_reset function to a common one taking the ethernet > device as

Re: [PATCH] atcspi200: Add timeout mechanism in spi_xfer()

2021-04-22 Thread Rick Chen
> From: Dylan Dai-Rong Jhong(鍾岱融) > Sent: Thursday, April 01, 2021 4:49 PM > To: ja...@amarulasolutions.com; u-boot@lists.denx.de > Cc: Rick Jian-Zhi Chen(陳建志) ; Ruinland Chuan-Tzu Tsa(蔡傳資) > ; Alan Quey-Liang Kao(高魁良) ; > Leo Yu-Chi Liang(梁育齊) ; x57109...@gmail.com; Dylan > Dai-Rong

Re: [PATCH v4 2/6] lib: ecdsa: Add skeleton to implement ecdsa verification in u-boot

2021-04-22 Thread Tom Rini
On Fri, Apr 23, 2021 at 11:55:57AM +1200, Simon Glass wrote: > Hi Alex, > > On Thu, 22 Apr 2021 at 07:30, Alex G. wrote: > > > > On 4/21/21 2:15 AM, Simon Glass wrote: > > > Hi Alexandru, > > > > > > On Fri, 16 Apr 2021 at 08:07, Alexandru Gagniuc > > > wrote: > > >> > > >> Prepare the source

[RFC] efi_loader: improve firmware capsule authentication

2021-04-22 Thread AKASHI Takahiro
Heinrich, I'm currently thinking of improving capsule authentication that Sughosh has made, particularly around mkeficapsule command: 1) Add a signing feature to the command This will allow us to create a *signed* capsule file solely with mkeficapsule. We will no longer rely on EDK2's

Re: [PATCH v7 0/8] Add FU740 chip and HiFive Unmatched board support

2021-04-22 Thread Palmer Dabbelt
On Thu, 22 Apr 2021 02:11:51 PDT (-0700), green@sifive.com wrote: This patch set is to add SiFive fu740 chip and HiFive Unmatched board support. Patches are split into several parts: - [PATCH v7 1/8] support for fu740 cpu - [PATCH v7 2/8] support for fu740 clk driver - [PATCH v7 3/8]

Re: [PATCH v7 0/8] Add FU740 chip and HiFive Unmatched board support

2021-04-22 Thread Palmer Dabbelt
On Thu, 22 Apr 2021 20:40:43 PDT (-0700), Palmer Dabbelt wrote: On Thu, 22 Apr 2021 02:11:51 PDT (-0700), green@sifive.com wrote: This patch set is to add SiFive fu740 chip and HiFive Unmatched board support. Patches are split into several parts: - [PATCH v7 1/8] support for fu740 cpu

Re: [PATCH] smbios: Fix calculating BIOS Release Date

2021-04-22 Thread Bin Meng
Hi Pali, On Fri, Apr 23, 2021 at 12:10 AM Pali Rohár wrote: > > BIOS Release Date must be in format mm/dd/ and must be release date. > U-Boot currently sets BIOS Release Date from U_BOOT_DMI_DATE macro which is > generated from current build timestamp. > > Fix this issue by setting

Re: [PATCH V2 1/2] mmc: add OpenPiton mmc support

2021-04-22 Thread Jaehoon Chung
Dear Tianrui, On 4/22/21 3:19 PM, Tianrui Wei wrote: > This patch adds mmc support for OpenPiton. > > Signed-off-by: Tianrui Wei > Signed-off-by: Jonathan Balkind > > --- > > drivers/mmc/Kconfig | 6 + > drivers/mmc/Makefile| 1 + >

Re: [PATCH v2] Makefile: fix generating environment file

2021-04-22 Thread Oleksandr Suvorov
On Wed, Apr 21, 2021 at 11:56 PM Rasmus Villemoes wrote: > > On 21/04/2021 17.21, Oleksandr Suvorov wrote: > > Hi Rasmus, > > > > On Wed, Apr 21, 2021 at 12:34 AM Rasmus Villemoes > > wrote: > >> > >> On 20/04/2021 23.10, Oleksandr Suvorov wrote: > >>> Hi Rasmus, > >>> > >>> Thanks for your

[PATCH V2 0/2] Add OpenPiton board support

2021-04-22 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

Re: [PATCH V2 0/2] Add OpenPiton board support

2021-04-22 Thread Tianrui Wei
This patch add board support for OpenPiton. Signed-off-by: Tianrui Wei Signed-off-by: Jonathan Balkind --- arch/riscv/Kconfig | 4 + arch/riscv/dts/Makefile | 1 + arch/riscv/dts/openpiton-riscv64.dts| 159 + board/openpiton/riscv/Kconfig

[PATCH V2 1/2] mmc: add OpenPiton mmc support

2021-04-22 Thread Tianrui Wei
This patch adds mmc support for OpenPiton. Signed-off-by: Tianrui Wei Signed-off-by: Jonathan Balkind --- drivers/mmc/Kconfig | 6 + drivers/mmc/Makefile| 1 + drivers/mmc/piton_mmc.c | 177 + 3 files changed, 184 insertions(+)