Re: [PATCH 3/3] imx: power-domain: Get rid of SMCCC dependency

2022-04-16 Thread Marek Vasut
On 4/17/22 03:01, Adam Ford wrote: Hi, After the patch: U-Boot SPL 2022.04-00822-gc2a24a7ce5 (Apr 16 2022 - 15:45:29 -0500) PMIC: PFUZE100 ID=0x10 SEC0: RNG instantiated Normal Boot Trying to boot from MMC2 There should be some sort of output from ATF here, which version did you use

Re: [PATCH 3/3] imx: power-domain: Get rid of SMCCC dependency

2022-04-16 Thread Adam Ford
On Sat, Apr 16, 2022 at 7:35 PM Marek Vasut wrote: > > On 4/16/22 22:49, Adam Ford wrote: > > On Thu, Apr 7, 2022 at 5:21 PM Tim Harvey wrote: > >> > >> On Wed, Mar 30, 2022 at 8:04 PM Marek Vasut wrote: > >>> > >>> This driver is the only SMCCC dependency in iMX8M U-Boot port. Rework > >>> the

Re: [PATCH 3/3] imx: power-domain: Get rid of SMCCC dependency

2022-04-16 Thread Marek Vasut
On 4/16/22 22:49, Adam Ford wrote: On Thu, Apr 7, 2022 at 5:21 PM Tim Harvey wrote: On Wed, Mar 30, 2022 at 8:04 PM Marek Vasut wrote: This driver is the only SMCCC dependency in iMX8M U-Boot port. Rework the driver based on Linux GPCv2 driver to directly control the GPCv2 block instead of

[PATCH] Fix spelling of "followed" in kwboot.1

2022-04-16 Thread Vagrant Cascadian
Signed-off-by: Vagrant Cascadian --- doc/kwboot.1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/kwboot.1 b/doc/kwboot.1 index f555ff26a2..d663bf1f77 100644 --- a/doc/kwboot.1 +++ b/doc/kwboot.1 @@ -74,7 +74,7 @@ BootROM's standard input and BootROM's terminal echo are

[PATCH v3] Allow colon in PXE bootfile URLs

2022-04-16 Thread Lyle Franklin
- U-boot's PXE flow supports prefixing your bootfile name with an IP address to fetch from a server other than the DHCP server, e.g. `hostIPaddr:bootfilename`: https://github.com/u-boot/u-boot/commit/a93907c43f847f076dd0e34ee3b69b5e8e6d0d29 - However, this breaks bootfile paths which

Re: [PATCH 3/3] imx: power-domain: Get rid of SMCCC dependency

2022-04-16 Thread Adam Ford
On Thu, Apr 7, 2022 at 5:21 PM Tim Harvey wrote: > > On Wed, Mar 30, 2022 at 8:04 PM Marek Vasut wrote: > > > > This driver is the only SMCCC dependency in iMX8M U-Boot port. Rework > > the driver based on Linux GPCv2 driver to directly control the GPCv2 > > block instead of using SMCCC calls.

[PATCH v2] soc: xilinx: versal: fix out of bounds array access

2022-04-16 Thread Jorge Ramirez-Ortiz
The call to xilinx_pm_request requires an array of a larger size. Signed-off-by: Jorge Ramirez-Ortiz --- drivers/soc/soc_xilinx_versal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/soc/soc_xilinx_versal.c b/drivers/soc/soc_xilinx_versal.c index

[PATCH] soc: xilinx: versal: fix out of bounds array access

2022-04-16 Thread Jorge Ramirez-Ortiz
The call to xilinx_pm_request requires an array of a larger size. Signed-off-by: Jorge Ramirez-Ortiz --- drivers/soc/soc_xilinx_versal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/soc/soc_xilinx_versal.c b/drivers/soc/soc_xilinx_versal.c index

Re: binman and faked blobs failures

2022-04-16 Thread Alper Nebi Yasak
On 12/04/2022 00:28, Tom Rini wrote: > [...] > > Note that nothing changed for the board but on the second build now the > faked blob is unhappy and causes a failure message that I don't see the > first time, and probably shouldn't see this time either? This is a > problem for me in that it's on

[PATCH v11 14/16] doc: rockchip: restyle rockchip.rst

2022-04-16 Thread Johan Jonker
With more text coming to the rockchip.rst document, give it a restyle first. Changed: sort build examples alphabetically add git clone example fix bash examples fix phrases (grammer) fix typos Signed-off-by: Johan Jonker Reviewed-by: Kever Yang --- Changed V11: add # to bash

[PATCH v11 03/16] rockchip: rk3066: add clock driver for rk3066 soc

2022-04-16 Thread Johan Jonker
From: Paweł Jarosz Add the clock driver for the rk3066 platform. Derived from the rk3288 and rk3188 driver it supports only a bare minimum to bring up the system to reduce the TPL size for: SDRAM clock configuration. The boot devices NAND, EMMC, SDMMC, SPI. A UART for the debug messages

[PATCH v11 15/16] doc: rockchip: add px30/rk3326 boards and examples

2022-04-16 Thread Johan Jonker
There are several PX30/RK3326 boards in use without mentioning in rockchip.rst. Add boards and examples. Signed-off-by: Johan Jonker Reviewed-by: Kever Yang --- doc/board/rockchip/rockchip.rst | 16 1 file changed, 16 insertions(+) diff --git a/doc/board/rockchip/rockchip.rst

[PATCH v11 16/16] doc: rockchip: add rk3066 Rikomagic MK808

2022-04-16 Thread Johan Jonker
Add rk3066 Rikomagic MK808 to the list of mainline supported Rockchip boards. Include instructions for creating and programming images to NAND and SD card. Signed-off-by: Johan Jonker Reviewed-by: Kever Yang --- Changed V11: align code examples Changed V10: add more info ---

[PATCH v11 13/16] rockchip: rk3066: add mk808_defconfig

2022-04-16 Thread Johan Jonker
This commit adds the default configuration file and relevant description for a MK808 board. Signed-off-by: Johan Jonker Reviewed-by: Kever Yang --- Changed V11: update from Kconfig Changed V9: enable led gpio disable STIMER Changed V8: use default log level ENV_IS_NOWHERE ---

[PATCH v11 12/16] rockchip: rk3066: add Rikomagic MK808 board

2022-04-16 Thread Johan Jonker
MK808 is a RK3066-based board with 1 USB host and 1 USB OTG port, HDMI and a micro-SD card slot. It also includes on-board NAND and 1GB of SDRAM. Signed-off-by: Johan Jonker Reviewed-by: Kever Yang --- arch/arm/mach-rockchip/rk3066/Kconfig | 9 + board/rikomagic/mk808/Kconfig

[PATCH v11 11/16] rockchip: rk3066: add core support

2022-04-16 Thread Johan Jonker
Add the core architecture code for the rk3066. Signed-off-by: Johan Jonker Reviewed-by: Kever Yang --- Changed V11: remove defines --- arch/arm/include/asm/arch-rk3066/boot0.h | 8 +++ arch/arm/include/asm/arch-rk3066/gpio.h | 8 +++ arch/arm/include/asm/arch-rk3066/timer.h

[PATCH v11 10/16] rockchip: tools: add rk3066 support to rkcommon.c

2022-04-16 Thread Johan Jonker
Add rk3066 support to rkcommon.c Signed-off-by: Johan Jonker Reviewed-by: Kever Yang --- tools/rkcommon.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/rkcommon.c b/tools/rkcommon.c index 29f2676c19..860785f839 100644 --- a/tools/rkcommon.c +++ b/tools/rkcommon.c @@ -123,6 +123,7

[PATCH v11 08/16] arm: dts: rockchip: add rk3066a.dtsi

2022-04-16 Thread Johan Jonker
In the Linux DT the file rk3xxx.dtsi is shared between rk3066 and rk3188. Add rk3066a.dtsi. Move U-boot specific things in a rk3066a-u-boot.dtsi file. Signed-off-by: Johan Jonker Reviewed-by: Kever Yang --- Changed V9: fix include rk3066a-u-boot.dtsi Changed V8: update dtsi ---

[PATCH v11 09/16] arm: dts: rockchip: add rk3066a-mk808.dts

2022-04-16 Thread Johan Jonker
MK808 is a RK3066-based board with 1 USB host and 1 USB OTG port, HDMI and a micro-SD card slot. It also includes on-board NAND and 1GB of SDRAM. Add rk3066a-mk808.dts. Move U-boot specific things in a rk3066a-mk808-u-boot.dtsi file. Signed-off-by: Johan Jonker Reviewed-by: Kever Yang ---

[PATCH v11 05/16] rockchip: rk3066: add sdram driver

2022-04-16 Thread Johan Jonker
From: Paweł Jarosz Add rockchip rk3066 sdram driver Signed-off-by: Paweł Jarosz Signed-off-by: Johan Jonker Reviewed-by: Kever Yang --- Changed V7: restyle rename TEST_PATTERN changed function prefix changed #if where possible restyle U_BOOT_DRIVER structure remove

[PATCH v11 07/16] arm: dts: rockchip: fix include rk3xxx-u-boot.dtsi

2022-04-16 Thread Johan Jonker
Move the include for rk3xxx-u-boot.dtsi to rk3188-u-boot.dtsi to stay in line with U-boot dtsi files. Signed-off-by: Johan Jonker Reviewed-by: Kever Yang --- arch/arm/dts/rk3188-u-boot.dtsi | 1 + arch/arm/dts/rk3188.dtsi| 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH v11 06/16] arm: dts: rockchip: fix rk3xxx-u-boot.dtsi

2022-04-16 Thread Johan Jonker
The file rk3xxx-u-boot.dtsi was original only for rk3188 and SPL. With rk3066 added some nodes are also needed in TPL, so change them to u-boot,dm-pre-reloc Signed-off-by: Johan Jonker Reviewed-by: Kever Yang --- arch/arm/dts/rk3xxx-u-boot.dtsi | 8 1 file changed, 4 insertions(+), 4

[PATCH v11 04/16] rockchip: rk3066: add rk3066 pinctrl driver

2022-04-16 Thread Johan Jonker
From: Paweł Jarosz Add driver supporting pin multiplexing on rk3066 platform. Signed-off-by: Paweł Jarosz Signed-off-by: Johan Jonker Reviewed-by: Kever Yang --- Changed V9: change regmap source Changed V7: restyle changed function prefix. restyle U_BOOT_DRIVER structure use

[PATCH v11 01/16] rockchip: rk3066-power: sync power domain dt-binding header from Linux

2022-04-16 Thread Johan Jonker
In order to update the DT for rk3066 sync the power domain dt-binding header. This is the state as of v5.12 in Linux. Signed-off-by: Johan Jonker Reviewed-by: Kever Yang --- include/dt-bindings/power/rk3066-power.h | 22 ++ 1 file changed, 22 insertions(+) create mode

[PATCH v11 02/16] rockchip: rk3066: add grf header file

2022-04-16 Thread Johan Jonker
From: Paweł Jarosz grf is needed by various drivers for rk3066 soc. Signed-off-by: Paweł Jarosz Signed-off-by: Johan Jonker Reviewed-by: Kever Yang --- Changed V9: fix TAB Changed V8: add GRF_GPIO3B_IOMUX for SDMMC0 use GENMASK, __bf_shf and REG defines add includes ---

[PATCH v11 00/16] Add Rikomagic MK808 board

2022-04-16 Thread Johan Jonker
MK808 is a RK3066-based board with 1 USB host and 1 USB OTG port, HDMI and a micro-SD card slot. It also includes on-board NAND and 1GB of SDRAM. Changed V11: remove defines update defconfig align doc examples Changed V10: add u-boot,spl-fifo-mode property combine patches core support

Re: [PATCH] crypto/fsl: Clear the memory when blob decapsulation fails

2022-04-16 Thread Fabio Estevam
On Fri, Apr 15, 2022 at 8:23 AM Gaurav Jain wrote: > > issue: blob decapsulation operation store the decrypted data >in memory even if ICV check failed. > > fix: clear the blob data output memory. > > Fixes: c5de15cbc8 (crypto/fsl: Add command for encapsulating/decapsulating > blobs) >

Re: [PATCH] i.MX6SX: crypto/fsl: fix entropy delay value

2022-04-16 Thread Fabio Estevam
On Fri, Apr 15, 2022 at 8:11 AM Gaurav Jain wrote: > > RNG Hardware error is reported due to incorrect entropy delay Yes, I observe the RNG hardware error in the kernel too. > rng self test are run to determine the correct ent_dly. > test is executed with different voltage and temperature to

Re: [PATCH V2] board: bsh: imx8mn_bsh_smm_s2/s2pro: enable DM_SERIAL

2022-04-16 Thread Fabio Estevam
Hi Michael, On Fri, Apr 15, 2022 at 2:23 AM Michael Trimarchi wrote: > > Enable DM_SERIAL for both U_Boot and the SPL. The uart2 and its pinmux > are already marked with u-boot,dm-spl but we need to move the call to > preloader_console_init() after spl_init() to avoid a board hang > as dm can't

Re: [PATCH v3] imx: add i.MX8MN DDR3L evk board support

2022-04-16 Thread Fabio Estevam
Hi Heiko, On Fri, Apr 15, 2022 at 3:36 PM Heiko Thiery wrote: > > Add the support for the 8MNANOD3L-EVK board. The board has an i.MX8MNano > UltraLite Quad SoC and uses 1GB DDR3L memory. > > U-Boot 2022.04-00011-gf0e15e3761 (Apr 06 2022 - 13:54:41 +0200) > > CPU: Freescale i.MX8MNano UltraLite

Re: [PATCH v3 2/2] board: gateworks: venice: add imx8mp-venice-gw740x support

2022-04-16 Thread Fabio Estevam
Hi Tim, On Thu, Apr 14, 2022 at 5:00 PM Tim Harvey wrote: > +/* UART */ > +#define CONFIG_MXC_UART_BASE UART2_BASE_ADDR Since you use DM_SERIAL, this can be removed, right? Reviewed-by: Fabio Estevam

Re: [PATCH v3 1/2] board: gateworks: venice: add additional levels for dtb name match

2022-04-16 Thread Fabio Estevam
On Thu, Apr 14, 2022 at 5:00 PM Tim Harvey wrote: > > Gateworks produces many products from a single PCB with subloaded > components. Add an additional two levels of dtb name matching so that > for example a GW7400-A matches the dtb name of gw74xx.dtb > > Signed-off-by: Tim Harvey Reviewed-by:

Re: [PATCH] arm: dts: imx8mp: add of-list support to common imx8mp-u-boot.dtsi

2022-04-16 Thread Fabio Estevam
Hi Tim, On Fri, Apr 15, 2022 at 5:41 PM Tim Harvey wrote: > > Add support for OF-LIST to common imx8mp-u-boot.dtsi so that it can > be used with boards that have multiple DTB's. > > Signed-off-by: Tim Harvey > Cc: Fabio Estevam > Cc: NXP i.MX U-Boot Team > Cc: Peng Fan > Cc: Teresa Remmet >

Re: [PATCH V4 0/4] imx: imx8m: enable DM SERIAL

2022-04-16 Thread Fabio Estevam
Hi Peng, On Fri, Apr 15, 2022 at 12:54 AM Peng Fan (OSS) wrote: > > From: Peng Fan > > V4: > Rebased, update commit log Per Tim's comments > > V3: > Add missed Signed-off-by > Rebased to only add CONFIG_DM_SERIAL, not touch other config change in > defconfig > > V2: > Include imx8mq-evk in

Re: [PATCH v2 06/23] sunxi: Skip non-DM UART pin setup when PINCTRL=y

2022-04-16 Thread Karen
awm16...@gmail.com 從我的iPhone傳送 VIP

[PATCH] fdt: Fix TPL SEPARATE_BSS check when locating DTB

2022-04-16 Thread Andrew Abbott
Commit 690af71850149bf242502f688eca80fb302d1f76 changed this condition from an explicit IS_ENABLED(CONFIG_SPL_SEPARATE_BSS) to CONFIG_IS_ENABLED(SEPARATE_BSS) The documentation for CONFIG_IS_ENABLED() in include/linux/kconfig.h implies that we will get the correct behaviour, but the actual

[PATCH v1] rockchip: video: mipi: add more compatible strings for rk3288/rk3399

2022-04-16 Thread Johan Jonker
The rk3288/RK3399 DT synced from Linux contains some different compatible strings in the mipi node then origanal used in U-boot. Allow both options to be backwards compatible and to be able to handle recent rk3288.dtsi and rk3399.dtsi files. Signed-off-by: Johan Jonker --- Fix for rk3288.dtsi

[PATCH v1] rockchip: video: rk_edp: add more rk3288 edp node options

2022-04-16 Thread Johan Jonker
The rk3288 DT synced from Linux contains some different properties in the edp node then origanal used in U-boot. Allow both options to be backwards compatible and to be able to handle recent rk3288.dtsi files. Signed-off-by: Johan Jonker --- Fix for rk3288.dtsi sync from Linux. Not tested with

Re: [PATCH v4 02/11] lib/charset: add u16_strlcat() function

2022-04-16 Thread Heinrich Schuchardt
On 3/24/22 14:54, Masahisa Kojima wrote: Provide u16 string version of strlcat(). Signed-off-by: Masahisa Kojima Reviewed-by: Simon Glass --- Changes in v4: - add blank line above the return statement Changes in v2: - implement u16_strlcat(with the destination buffer size in argument)

Re: [PATCH 04/11] arm: mach-k3: Introduce the basic files to support AM62

2022-04-16 Thread Vignesh Raghavendra
Hi, On 15/04/22 11:11 pm, Tom Rini wrote: > On Fri, Apr 15, 2022 at 10:08:32PM +0530, Vignesh Raghavendra wrote: >> >> >> On 15/04/22 9:57 pm, Tom Rini wrote: >>> On Fri, Apr 15, 2022 at 07:39:24PM +0530, Vignesh Raghavendra wrote: >>> >>> [snip] diff --git a/arch/arm/mach-k3/am625_init.c

Re: [PATCH v4 00/11] enable menu-driven boot device selection

2022-04-16 Thread Heinrich Schuchardt
On 3/24/22 14:54, Masahisa Kojima wrote: This patch series adds the menu-driven boot device selection, by extending the existing "bootmenu" to include UEFI and distro_boot related entries, and supports menu-driven UEFI boot variable maintenance. This patch series also includes the removable