Crash on Raspberry Pi 4 if my USB Keyboard is connected

2020-12-05 Thread Pascal Terjan
Here is the boot log: = U-Boot 2020.10 (Nov 28 2020 - 18:14:31 +) DRAM: 3.9 GiB RPI 4 Model B (0xc03111) MMC: mmcnr@7e30: 1, emmc2@7e34: 0 Loading Environment from FAT... *** Warning - bad CRC, using default environment In:serial Out: serial Err: serial Net: eth0: et

[PATCH 1/2] board: fsl: ls2088ardb: Program GIC LPI configuration table

2020-12-05 Thread nikhil . gupta
From: Nikhil Gupta Program GIC LPI configuration table: 1. Redistributor PROCBASER configuration table (which is common for all redistributors) 2. Redistributor pending table (PENDBASER), for all the available redistributors. 3.Reserve DDR memory region used for GIC LPI configuration table. S

[PATCH v3 3/3] configs: imx8m: enable eMMC HS400ES and SD UHS mode on EVK

2020-12-05 Thread Andrey Zhizhikin
i.MX8M series includes support for high speed modes in uSDHC controllers. Turn on corresponding configuration options for EVK boards, which would enable high speed modes to be included in U-Boot. Signed-off-by: Andrey Zhizhikin --- configs/imx8mm_evk_defconfig | 4 configs/imx8mn_ddr4_

[PATCH v3 2/3] ARM: dts: imx8m: add UHS or HS400/HS400ES properties

2020-12-05 Thread Andrey Zhizhikin
i.MX8M series provide support for high speed grades in their usdhc controllers, which has eMMC and SDHC connected to them. Enable this support across the entire i.MX8M family by providing quirks to usdhc controllers designated by storage media connected to them. Signed-off-by: Andrey Zhizhikin C

[PATCH v3 1/3] ARM: dts: imx8m: increase off-on delay on the SD Vcc regulator

2020-12-05 Thread Andrey Zhizhikin
Some SD Card controller and power circuitry has increased capacitance, which keeps the internal logic remains powered after regulator is switch off. This is generally the case when card is switched to SD104 mode, where a power cycle should be performed. In case if the card internal logic remains po

[PATCH v3 0/3] imx8m: introduce high speed mode support in usdhc

2020-12-05 Thread Andrey Zhizhikin
This patch series is targeted to address issues that can be observed with various sd cards connected to i.MX8M derivatives. Current configuration of usdhc dts nodes for imx8m SOC derivatives does experience issues with recognition and mode switch for various sd card types from different manufactur

Re: [PATCH 2/2] ARM: dts: imx8m: add UHS or HS400/HS400ES properties

2020-12-05 Thread Adam Ford
On Sat, Dec 5, 2020 at 10:55 AM ZHIZHIKIN Andrey wrote: > > Hello Adam, > > > -Original Message- > > From: U-Boot On Behalf Of ZHIZHIKIN Andrey > > Sent: Saturday, December 5, 2020 4:09 PM > > To: Adam Ford > > Cc: U-Boot Mailing List ; Stefano Babic > > ; Ye Li > > Subject: RE: [PATCH

RE: [PATCH 2/2] ARM: dts: imx8m: add UHS or HS400/HS400ES properties

2020-12-05 Thread ZHIZHIKIN Andrey
Hello Adam, > -Original Message- > From: U-Boot On Behalf Of ZHIZHIKIN Andrey > Sent: Saturday, December 5, 2020 4:09 PM > To: Adam Ford > Cc: U-Boot Mailing List ; Stefano Babic > ; Ye Li > Subject: RE: [PATCH 2/2] ARM: dts: imx8m: add UHS or HS400/HS400ES properties > > Hello Adam, >

Re: [PATCH V3] dm: core: Add late driver remove option

2020-12-05 Thread Marek Vasut
On 11/18/20 3:37 PM, Simon Glass wrote: Hi, [...] diff --git a/arch/arm/lib/bootm.c b/arch/arm/lib/bootm.c index 1206e306db..f9091a3d41 100644 --- a/arch/arm/lib/bootm.c +++ b/arch/arm/lib/bootm.c @@ -120,6 +120,7 @@ static void announce_and_cleanup(int fake) * of DMA operation or r

RE: [PATCH] imx8mm_beacon: Enable HS400 on MMC controller

2020-12-05 Thread ZHIZHIKIN Andrey
> -Original Message- > From: Adam Ford > Sent: Saturday, December 5, 2020 4:01 PM > To: ZHIZHIKIN Andrey > Cc: u-boot@lists.denx.de; af...@beaconembedded.com > Subject: Re: [PATCH] imx8mm_beacon: Enable HS400 on MMC controller > > On Sat, Dec 5, 2020 at 8:54 AM ZHIZHIKIN Andrey geosyste

RE: [PATCH 2/2] ARM: dts: imx8m: add UHS or HS400/HS400ES properties

2020-12-05 Thread ZHIZHIKIN Andrey
Hello Adam, > -Original Message- > From: Adam Ford > Sent: Saturday, December 5, 2020 3:31 PM > To: ZHIZHIKIN Andrey > Cc: U-Boot Mailing List ; Stefano Babic > ; Ye Li > Subject: Re: [PATCH 2/2] ARM: dts: imx8m: add UHS or HS400/HS400ES properties > > > On Sat, Dec 5, 2020 at 8:21 AM

Re: [PATCH] imx8mm_beacon: Enable HS400 on MMC controller

2020-12-05 Thread Adam Ford
On Sat, Dec 5, 2020 at 8:54 AM ZHIZHIKIN Andrey wrote: > > Hello Adam, > > > -Original Message- > > From: U-Boot On Behalf Of Adam Ford > > Sent: Saturday, December 5, 2020 2:00 AM > > To: u-boot@lists.denx.de > > Cc: af...@beaconembedded.com; Adam Ford > > Subject: [PATCH] imx8mm_beacon

RE: [PATCH] imx8mm_beacon: Enable HS400 on MMC controller

2020-12-05 Thread ZHIZHIKIN Andrey
Hello Adam, > -Original Message- > From: U-Boot On Behalf Of Adam Ford > Sent: Saturday, December 5, 2020 2:00 AM > To: u-boot@lists.denx.de > Cc: af...@beaconembedded.com; Adam Ford > Subject: [PATCH] imx8mm_beacon: Enable HS400 on MMC controller > > > The i.MX8MM is capable of HS400.

Re: [PATCH 2/2] ARM: dts: imx8m: add UHS or HS400/HS400ES properties

2020-12-05 Thread Adam Ford
On Sat, Dec 5, 2020 at 8:21 AM ZHIZHIKIN Andrey wrote: > > Hello Adam, > > > -Original Message- > > From: Adam Ford > > Sent: Saturday, December 5, 2020 1:43 AM > > To: ZHIZHIKIN Andrey > > Cc: U-Boot Mailing List ; Stefano Babic > > ; Ye Li > > Subject: Re: [PATCH 2/2] ARM: dts: imx8m:

RE: [PATCH 2/2] ARM: dts: imx8m: add UHS or HS400/HS400ES properties

2020-12-05 Thread ZHIZHIKIN Andrey
Hello Adam, > -Original Message- > From: Adam Ford > Sent: Saturday, December 5, 2020 1:43 AM > To: ZHIZHIKIN Andrey > Cc: U-Boot Mailing List ; Stefano Babic > ; Ye Li > Subject: Re: [PATCH 2/2] ARM: dts: imx8m: add UHS or HS400/HS400ES properties > > On Tue, Dec 1, 2020 at 7:32 AM An

[PATCH v2 34/34] ARM: dts: sama7g5ek: fix TXC pin configuration

2020-12-05 Thread Eugen Hristev
From: Nicolas Ferre TXC line is directly connected from the SoC to the KSZ9131 PHY. There is a transient state on this signal, before configuring it to RGMII, which leads to packet transmit being blocked. Keeping a pull-up when muxing this pin as function A (G0_TXCK) fixes the issue. Signed-off-

[PATCH v2 33/34] configs: sama7g5ek: add i2c and eeprom

2020-12-05 Thread Eugen Hristev
Add drivers for flexcom, i2c and eeproms Signed-off-by: Eugen Hristev --- configs/sama7g5ek_mmc1_defconfig | 3 +++ configs/sama7g5ek_mmc_defconfig | 3 +++ 2 files changed, 6 insertions(+) diff --git a/configs/sama7g5ek_mmc1_defconfig b/configs/sama7g5ek_mmc1_defconfig index b6d2f4dd05..af362

[PATCH v2 32/34] board: atmel: sama7g5ek: add support for MAC address retreival

2020-12-05 Thread Eugen Hristev
Obtain two MAC addresses from the two EEPROMs and configure the two available Ethernet interfaces accordingly. Signed-off-by: Eugen Hristev --- board/atmel/sama7g5ek/sama7g5ek.c | 18 +- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/board/atmel/sama7g5ek/sama7g5e

[PATCH v2 27/34] ARM: dts: at91: sama7g5ek: enable sdmmc0 with pinctrl

2020-12-05 Thread Eugen Hristev
Enable sdmmc0 on this board. A non-removable eMMC is connected on this block. Configure pincontrol accordingly. Signed-off-by: Eugen Hristev --- arch/arm/dts/sama7g5ek.dts | 30 ++ 1 file changed, 30 insertions(+) diff --git a/arch/arm/dts/sama7g5ek.dts b/arch/arm/dt

[PATCH v2 28/34] board: atmel: sama7g5ek: clean-up header bootcommand

2020-12-05 Thread Eugen Hristev
Clean-up boot command to use the predefined device and part for FAT environment. According to this device and partition, select the proper boot media. Signed-off-by: Eugen Hristev --- include/configs/sama7g5ek.h | 11 +++ 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/incl

[PATCH v2 30/34] ARM: dts: at91: sama7g5: add flexcom1 and i2c subnode

2020-12-05 Thread Eugen Hristev
Add flexcom1 and i2c subnode. Signed-off-by: Eugen Hristev --- arch/arm/dts/sama7g5.dtsi | 18 ++ 1 file changed, 18 insertions(+) diff --git a/arch/arm/dts/sama7g5.dtsi b/arch/arm/dts/sama7g5.dtsi index 4c571befad..da3c5b2b22 100644 --- a/arch/arm/dts/sama7g5.dtsi +++ b/arch/ar

[PATCH v2 31/34] ARM: dts: sama7g5ek: add i2c1 bus and eeproms

2020-12-05 Thread Eugen Hristev
Add node for flx1 i2c1 subnode (and alias to bus 0) This bus has two eeprom devices connected. Signed-off-by: Eugen Hristev --- arch/arm/dts/sama7g5ek.dts | 30 ++ 1 file changed, 30 insertions(+) diff --git a/arch/arm/dts/sama7g5ek.dts b/arch/arm/dts/sama7g5ek.dts i

[PATCH v2 29/34] configs: sama7g5: add mmc config for sdmmc0

2020-12-05 Thread Eugen Hristev
Add new config for storing environment from sdmmc0. Also clean-up sama7g5ek_emmc1 to point to the proper mmc device. Signed-off-by: Eugen Hristev --- board/atmel/sama7g5ek/MAINTAINERS | 1 + configs/sama7g5ek_mmc1_defconfig | 7 ++-- configs/sama7g5ek_mmc_defconfig | 67

[PATCH v2 25/34] ARM: dts: at91: sama7g5: add assigned clocks for sdmmc1

2020-12-05 Thread Eugen Hristev
SDMMC1 requires clock specification with assigned-clocks, such that the PMC will know which parent to assign and the initial start-up frequency. Signed-off-by: Eugen Hristev --- arch/arm/dts/sama7g5.dtsi | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/dts/sama7g5.dtsi b/arch/arm/

[PATCH v2 24/34] configs: sama7g5ek: enable CCF

2020-12-05 Thread Eugen Hristev
From: Claudiu Beznea Enable CCF for SAMA7G5. Signed-off-by: Claudiu Beznea --- configs/sama7g5ek_mmc1_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/sama7g5ek_mmc1_defconfig b/configs/sama7g5ek_mmc1_defconfig index 7e3cf49da0..fa4c88ffa6 100644 --- a/configs/sama7g5ek_mm

[PATCH v2 26/34] ARM: dts: at91: sama7g5: add node for sdmmc0

2020-12-05 Thread Eugen Hristev
Add node for sdmmc0 block. Signed-off-by: Eugen Hristev --- arch/arm/dts/sama7g5.dtsi | 11 +++ 1 file changed, 11 insertions(+) diff --git a/arch/arm/dts/sama7g5.dtsi b/arch/arm/dts/sama7g5.dtsi index 826828bb17..4c571befad 100644 --- a/arch/arm/dts/sama7g5.dtsi +++ b/arch/arm/dts/sama

[PATCH v2 22/34] board: atmel: sama7g5ek: increase arp timeout and retry count

2020-12-05 Thread Eugen Hristev
From: Claudiu Beznea Increase ARP timeout and retry count as this will increase the speed of communication. Signed-off-by: Claudiu Beznea --- include/configs/sama7g5ek.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/configs/sama7g5ek.h b/include/configs/sama7g5ek.h index fbf02

[PATCH v2 21/34] ARM: dts: sama7g5: add GMAC1

2020-12-05 Thread Eugen Hristev
From: Claudiu Beznea Add GMAC1. Signed-off-by: Claudiu Beznea --- arch/arm/dts/sama7g5.dtsi | 8 arch/arm/dts/sama7g5ek.dts | 27 +++ 2 files changed, 35 insertions(+) diff --git a/arch/arm/dts/sama7g5.dtsi b/arch/arm/dts/sama7g5.dtsi index 33589f3ad9..43fac

[PATCH v2 23/34] configs: sama7g5ek: enable support for KSZ9131

2020-12-05 Thread Eugen Hristev
From: Claudiu Beznea Enable support for KSZ9131. Signed-off-by: Claudiu Beznea --- configs/sama7g5ek_mmc1_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configs/sama7g5ek_mmc1_defconfig b/configs/sama7g5ek_mmc1_defconfig index 176f4f3000..7e3cf49da0 100644 --- a/configs/sama7g

[PATCH v2 17/34] ARM: dts: at91: sama7g5: add pinctrl node

2020-12-05 Thread Eugen Hristev
Add pioA pinctrl node. Signed-off-by: Eugen Hristev --- arch/arm/dts/sama7g5.dtsi | 13 + arch/arm/dts/sama7g5ek-u-boot.dtsi | 8 2 files changed, 21 insertions(+) diff --git a/arch/arm/dts/sama7g5.dtsi b/arch/arm/dts/sama7g5.dtsi index f633c2f81e..d9208d68d5 1006

[PATCH v2 18/34] ARM: dts: at91: sama7g5ek: add pinctrl for sdmmc1 and flx3

2020-12-05 Thread Eugen Hristev
Add pinctrl for sdmmc1 and flx3. Signed-off-by: Eugen Hristev --- arch/arm/dts/sama7g5ek-u-boot.dtsi | 4 arch/arm/dts/sama7g5ek.dts | 30 ++ 2 files changed, 34 insertions(+) diff --git a/arch/arm/dts/sama7g5ek-u-boot.dtsi b/arch/arm/dts/sama7g5ek-u-b

[PATCH v2 20/34] ARM: dts: sama7g5: add GMAC0

2020-12-05 Thread Eugen Hristev
From: Claudiu Beznea Add GMAC0. Signed-off-by: Claudiu Beznea --- arch/arm/dts/sama7g5.dtsi | 11 +++ arch/arm/dts/sama7g5ek.dts | 32 2 files changed, 43 insertions(+) diff --git a/arch/arm/dts/sama7g5.dtsi b/arch/arm/dts/sama7g5.dtsi index d9208d68d

[PATCH v2 16/34] ARM: dts: sama7g5: add pit64b support

2020-12-05 Thread Eugen Hristev
From: Claudiu Beznea Add DT bindings for PIT64B driver. Signed-off-by: Claudiu Beznea --- arch/arm/dts/sama7g5.dtsi | 8 arch/arm/dts/sama7g5ek-u-boot.dtsi | 4 2 files changed, 12 insertions(+) diff --git a/arch/arm/dts/sama7g5.dtsi b/arch/arm/dts/sama7g5.dtsi index a2

[PATCH v2 19/34] configs: sama7g5ek: enable mii command

2020-12-05 Thread Eugen Hristev
From: Claudiu Beznea Enable mii command as ethernet's PHY specific programming is based on it. Signed-off-by: Claudiu Beznea --- configs/sama7g5ek_mmc1_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/sama7g5ek_mmc1_defconfig b/configs/sama7g5ek_mmc1_defconfig index 99e243

[PATCH v2 15/34] ARM: dts: sama7g5: enable autoboot

2020-12-05 Thread Eugen Hristev
From: Claudiu Beznea Enable autoboot. Signed-off-by: Claudiu Beznea --- configs/sama7g5ek_mmc1_defconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/configs/sama7g5ek_mmc1_defconfig b/configs/sama7g5ek_mmc1_defconfig index 7d4d409532..99e2439516 100644 --- a/configs/sama7g5ek_mmc1_defco

[PATCH v2 14/34] configs: sama7g5: use PIT64B

2020-12-05 Thread Eugen Hristev
From: Claudiu Beznea Use PIT64B driver. ATMEL_PIT is not available for SAMA7G5. Signed-off-by: Claudiu Beznea --- configs/sama7g5ek_mmc1_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/sama7g5ek_mmc1_defconfig b/configs/sama7g5ek_mmc1_defconfig index 936d9cd73f..7d4d40953

[PATCH v2 13/34] ARM: dts: sama7g5: add CPU bindings

2020-12-05 Thread Eugen Hristev
From: Claudiu Beznea Add CPU DT bindings. Signed-off-by: Claudiu Beznea --- arch/arm/dts/sama7g5.dtsi | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm/dts/sama7g5.dtsi b/arch/arm/dts/sama7g5.dtsi index 94e0b535cc..a2554dcfff 100644 --- a/arch/arm/dts/sama7g5.dtsi +++

[PATCH v2 11/34] ARM: dts: sama7g5: switch to PMC bindings

2020-12-05 Thread Eugen Hristev
From: Claudiu Beznea Get rid of software defined MCK and switch to PMC bindings for IPs currently present in device tree. Signed-off-by: Claudiu Beznea --- arch/arm/dts/sama7g5.dtsi | 13 - arch/arm/dts/sama7g5ek-u-boot.dtsi | 4 2 files changed, 4 insertions(+), 13

[PATCH v2 12/34] configs: sama7g5: enable CONFIG_CPU

2020-12-05 Thread Eugen Hristev
From: Claudiu Beznea Enable CONFIG_CPU. Signed-off-by: Claudiu Beznea --- configs/sama7g5ek_mmc1_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/sama7g5ek_mmc1_defconfig b/configs/sama7g5ek_mmc1_defconfig index d43d07da78..936d9cd73f 100644 --- a/configs/sama7g5ek_mmc1_de

[PATCH v2 08/34] ARM: dts: sama7g5: add u-boot, dm-pre-reloc bindings for xtals

2020-12-05 Thread Eugen Hristev
From: Claudiu Beznea Add dm-pre-reloc DT binding property for cristals. Signed-off-by: Claudiu Beznea --- arch/arm/dts/sama7g5ek-u-boot.dtsi | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm/dts/sama7g5ek-u-boot.dtsi b/arch/arm/dts/sama7g5ek-u-boot.dtsi index 06af2f74ee..d1

[PATCH v2 09/34] ARM: dts: sama7g5: add slow clock bindings

2020-12-05 Thread Eugen Hristev
From: Claudiu Beznea Add DT bindings for slow clock driver. Signed-off-by: Claudiu Beznea --- arch/arm/dts/sama7g5.dtsi | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/dts/sama7g5.dtsi b/arch/arm/dts/sama7g5.dtsi index c2410959ed..9d390db5ff 100644 --- a/arch/arm/dts/sama7g

[PATCH v2 07/34] ARM: dts: sama7g5: add slow rc and main rc oscillators

2020-12-05 Thread Eugen Hristev
From: Claudiu Beznea Add slow rc and main rc oscillators to dtsi. Signed-off-by: Claudiu Beznea --- arch/arm/dts/sama7g5.dtsi | 12 arch/arm/dts/sama7g5ek-u-boot.dtsi | 8 2 files changed, 20 insertions(+) diff --git a/arch/arm/dts/sama7g5.dtsi b/arch/arm/dts/s

[PATCH v2 10/34] ARM: dts: sama7g5: add PMC bindings

2020-12-05 Thread Eugen Hristev
From: Claudiu Beznea Add DT bindings for PMC driver. Signed-off-by: Claudiu Beznea --- arch/arm/dts/sama7g5.dtsi | 9 + arch/arm/dts/sama7g5ek-u-boot.dtsi | 4 2 files changed, 13 insertions(+) diff --git a/arch/arm/dts/sama7g5.dtsi b/arch/arm/dts/sama7g5.dtsi index 9d39

[PATCH v2 06/34] ARM: dts: sama7g5: move clock frequencies for xtals in board file

2020-12-05 Thread Eugen Hristev
From: Claudiu Beznea Move clock frequencies for crystals on board specific files. Signed-off-by: Claudiu Beznea --- arch/arm/dts/sama7g5.dtsi | 2 -- arch/arm/dts/sama7g5ek.dts | 10 ++ 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/arch/arm/dts/sama7g5.dtsi b/arch/a

[PATCH v2 04/34] configs: sama7g5ek: set malloc pool to 68K

2020-12-05 Thread Eugen Hristev
From: Claudiu Beznea Set malloc pool to 68K for sama7g5ek. Signed-off-by: Claudiu Beznea --- configs/sama7g5ek_mmc1_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/sama7g5ek_mmc1_defconfig b/configs/sama7g5ek_mmc1_defconfig index d54af0ccbf..2da766d4e2 100644 --- a/config

[PATCH v2 05/34] configs: sama7g5ek: enable pll driver

2020-12-05 Thread Eugen Hristev
From: Claudiu Beznea Enable PLL driver for SAMA7G5. Signed-off-by: Claudiu Beznea --- configs/sama7g5ek_mmc1_defconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configs/sama7g5ek_mmc1_defconfig b/configs/sama7g5ek_mmc1_defconfig index 2da766d4e2..d43d07da78 100644 -

[PATCH v2 02/34] board: atmel: sama7g5ek: add initial support for sama7g5ek

2020-12-05 Thread Eugen Hristev
Add initial support for sama7g5 evaluation kit board. Signed-off-by: Eugen Hristev --- arch/arm/dts/Makefile | 3 ++ arch/arm/dts/sama7g5ek-u-boot.dtsi | 33 +++ arch/arm/dts/sama7g5ek.dts | 39 + arch/arm/mach-at91/Kconfig | 8 boa

[PATCH v2 01/34] ARM: dts: sama7g5: add initial DT for sama7g5 SoC

2020-12-05 Thread Eugen Hristev
Add initial basic devicetree for sama7g5 SoC Signed-off-by: Eugen Hristev --- arch/arm/dts/sama7g5.dtsi | 65 +++ 1 file changed, 65 insertions(+) create mode 100644 arch/arm/dts/sama7g5.dtsi diff --git a/arch/arm/dts/sama7g5.dtsi b/arch/arm/dts/sama7g5.dtsi

[PATCH v2 03/34] board: atmel: sama7g5ek: add SYS_MALLOC_F_LEN to SYS_INIT_SP_ADDR

2020-12-05 Thread Eugen Hristev
From: Claudiu Beznea Heap base address is computed based on SYS_INIT_SP_ADDR by subtracting the SYS_MALLOC_F_LEN value in board_init_f_init_reserve(). Signed-off-by: Claudiu Beznea --- include/configs/sama7g5ek.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/con

[PATCH v2 00/34] Sama7g5 Evaluation Kit support

2020-12-05 Thread Eugen Hristev
Hello, This series adds support for sama7g5 SoC DT and the sama7g5ek board. I kept the original incremental development for this board, with each commit's author and designated change, for traceability and for easier reviewing. The series starts from a basic devicetree and ends with a fully funct

Re: [PATCH 4/4] arm: mvebu: Espressobin: Detect presence of emmc at runtime

2020-12-05 Thread Pali Rohár
On Thursday 03 December 2020 17:30:44 Stefan Roese wrote: > On 03.12.20 16:56, Pali Rohár wrote: > > On Wednesday 02 December 2020 15:35:08 Andre Heider wrote: > > > On 25/11/2020 19:20, Pali Rohár wrote: > > > > Try to initialize emmc in board_late_init() and if it fails then we know > > > > that

[u-boot, v1 1/1] mtd: spi-nor-ids: add STMICRO MT25QL01G flash

2020-12-05 Thread Hongwei Zhang
Add STMICRO MT25QL01G flash, used on AST2600 board. Signed-off-by: Hongwei Zhang --- drivers/mtd/spi/spi-nor-ids.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/mtd/spi/spi-nor-ids.c b/drivers/mtd/spi/spi-nor-ids.c index 09e8196048..6d22b80586 100644 --- a/drivers/mtd/spi/spi-nor-i

[u-boot, v1 0/1] mtd: spi-nor-ids: add STMICRO MT25QL01G flash

2020-12-05 Thread Hongwei Zhang
Hello Reviewer, STMICRO MT25QL01G flash is used on AST2600 board, this patch add it in the table. Please add this update in v2019.04-aspeed-openbmc branch when it is accepted. If I need to submit a separate patch to that branch, please let me know. Thanks! Hongwei Zhang (1): mtd: spi-nor-ids

Maximum size of DCD after adding padding on i.MX7

2020-12-05 Thread Lech Perczak
Hello,       When bringing up a new board based on i.MX7D, I stumbled upon an ABI incompatibility between U-Boot

Re: [SPECIFICATION RFC] The firmware and bootloader log specification

2020-12-05 Thread Paul Menzel
Dear Wim, dear Daniel, First, thank you for including all parties in the discussion. Am 04.12.20 um 13:52 schrieb Wim Vervoorn: I agree with you. Using an existing standard is better than inventing a new one in this case. I think using the coreboot logging is a good idea as there is indeed a l

Re: [PATCH 12/14] efi_loader: Enable uefi capsule authentication

2020-12-05 Thread Heinrich Schuchardt
On 11/26/20 7:41 PM, Sughosh Ganu wrote: Add support for enabling uefi capsule authentication. This feature is enabled by setting the environment variable "capsule_authentication_enabled". The following configs are needed for enabling uefi capsule update and capsule authentication features on th

Re: [PATCH 09/14] efi_loader: Make the pkcs7 header parsing function an extern

2020-12-05 Thread Heinrich Schuchardt
On 11/26/20 7:41 PM, Sughosh Ganu wrote: The pkcs7 header parsing functionality is pretty generic, and can be used by other features like capsule authentication. Make the function an extern, also changing it's name to efi_parse_pkcs7_header Signed-off-by: Sughosh Ganu --- include/efi_loader.h

Re: [PATCH 07/14] efi_loader: Add config option to indicate fmp header presence

2020-12-05 Thread Heinrich Schuchardt
On 11/26/20 7:41 PM, Sughosh Ganu wrote: When building the capsule using scripts in edk2, an fmp header is added on top of the binary payload. Add a config option to indicate the presence of the header. When enabled, the pointer to the image needs to be adjusted as per the size of the header to p

Re: [PATCH 06/14] qemu: arm64: Set dfu_alt_info variable for the platform

2020-12-05 Thread Heinrich Schuchardt
On 11/26/20 7:41 PM, Sughosh Ganu wrote: The dfu framework uses the dfu_alt_info environment variable to get information that is needed for performing the firmware update. Set the dfu_alt_info for the platform to reflect the two mtd partitions created for the u-boot env and the firmware image. S

Re: [PATCH 05/14] qemu: arm64: Add support for dynamic mtdparts for the platform

2020-12-05 Thread Heinrich Schuchardt
On 11/26/20 7:41 PM, Sughosh Ganu wrote: Add support for setting the default values for mtd partitions on the platform for the nor flash. This would be used for updating the firmware image using uefi capsule update with the dfu mtd backend driver. Signed-off-by: Sughosh Ganu --- board/emulati

Re: [PATCH 04/14] crypto: Fix the logic to calculate hash with authattributes set

2020-12-05 Thread Heinrich Schuchardt
On 11/26/20 7:41 PM, Sughosh Ganu wrote: RFC 2315 Section 9.3 describes the message digesting process. The digest calculated depends on whether the authenticated attributes are present. In case of a scenario where the authenticated attributes are present, the message digest that gets signed and i

Re: [PATCH 14/14] qemu: arm64: Add documentation for capsule update

2020-12-05 Thread Heinrich Schuchardt
On 11/26/20 7:41 PM, Sughosh Ganu wrote: Add documentation highlighting the steps for using the uefi capsule update feature for updating the u-boot firmware image. Signed-off-by: Sughosh Ganu --- doc/board/emulation/qemu-arm.rst | 157 +++ Thank you for carefully

Re: [PATCH 03/14] qemu: arm: Scan the pci bus in board_init

2020-12-05 Thread Heinrich Schuchardt
On 11/26/20 7:40 PM, Sughosh Ganu wrote: Scan the pci bus in board_init routine before scanning the virtio devices. This enumerates all the virtio devices, including devices found on the pci bus. Signed-off-by: Sughosh Ganu --- board/emulation/qemu-arm/qemu-arm.c | 8 1 file changed

Re: [PATCH 01/14] qemu: arm: Use the generated DTB only when CONGIG_OF_BOARD is defined

2020-12-05 Thread Heinrich Schuchardt
On 11/26/20 7:40 PM, Sughosh Ganu wrote: The Qemu platform emulator generates a device tree blob and places it at the start of the dram, which is then used by u-boot. Use this dtb only if CONFIG_OF_BOARD is defined. This allows using a different device tree, using the CONFIG_OF_SEPARATE option. T