Re: [bug] timer: orion-timer: static variable patch breaks armada-388-clearfog boot

2023-01-16 Thread Stefan Roese
Hi Martin, On 1/16/23 06:20, Martin Rowe wrote: Tony, Did you build this clearfog board as is? i.e. did you make any change in the clearfog_defconfig? clearfog_defconfig with: CONFIG_MVEBU_SPL_BOOT_DEVICE_SATA=y CONFIG_SPL_SATA=y Plus a dts patch to sdhci@d8000 to make it work for eMMC (swa

Re: [PATCH 1/2] Revert "patman: invoke the checkpatch.pl script with '--u-boot' and '--strict'"

2023-01-16 Thread Sjoerd Simons
On Fri, 2023-01-13 at 08:50 -0500, Maxim Cournoyer wrote: > This reverts commit 648d8186dd7f9c444fb07f355090d275dcdd4de4, because > it broke usage of patman on Linux, whose check script doesn't know > about '--strict' or '--u-boot'. I can confirm that this reverts fixes the reported issue: Tested

Re: [PATCH 1/4] dt-bindings: rockchip: Sync rockchip,vop2.h from Linux

2023-01-16 Thread Kever Yang
On 2023/1/12 19:00, Jagan Teki wrote: Sync rockchip,vop2.h from linux-next, and the last commit is commit <604be85547ce> ("drm/rockchip: Add VOP2 driver") Signed-off-by: Jagan Teki Reviewed-by: Kever Yang Thanks, - Kever --- include/dt-bindings/soc/rockchip,vop2.h | 14 ++

Re: [PATCH 2/4] arm64: dts: rockchip: rk3566: Add Radxa Compute Module 3

2023-01-16 Thread Kever Yang
On 2023/1/12 19:00, Jagan Teki wrote: Radxa Compute Module 3(CM3) is one of the modules from a series System On Module based on the Radxa ROCK 3 series and is compatible with Raspberry Pi CM4 pinout and form factor. Specification: - Rockchip RK3566 - up to 8GB LPDDR4 - up to 128GB high perform

Re: [PATCH 2/3] dm: button: add support for linux_code in button-gpio.c driver

2023-01-16 Thread Quentin Schulz
Hi Dzmitry, On 1/14/23 20:42, Dzmitry Sankouski wrote: dev_read_u32 will fail, if linux,code is not found. We shouldn't fail here, as linux,code is optional, so maybe dev_read_u32_default with 0 default value, instead of negative error code? No, 0 is an existing and valid code. FYI, linux,co

Re: [PATCH 3/4] arm64: dts: rockchip: rk3566: Add Radxa Compute Module 3 IO

2023-01-16 Thread Kever Yang
Hi Jagan,     Does this board dts available in mainline kernel, if yes, please provide where it from. Thanks, - Kever On 2023/1/12 19:00, Jagan Teki wrote: Radxa Compute Module 3(CM3) IO board an application board from Radxa and is compatible with Raspberry Pi CM4 IO form factor. Specific

Re: [PATCH 4/4] board: rockchip: Add Radxa Compute Module 3 IO Board

2023-01-16 Thread Kever Yang
On 2023/1/12 19:00, Jagan Teki wrote: Radxa Compute Module 3(CM3) IO board an application board from Radxa and is compatible with Raspberry Pi CM4 IO form factor. Radxa CM3 needs to mount on top of this IO board in order to create complete Radxa CM3 IO board platform. Add support for Radxa CM

Re: [PATCH v2 71/71] rockchip: Convert rockpro64-rk3399 to use standard boot

2023-01-16 Thread Kever Yang
On 2023/1/8 10:50, Simon Glass wrote: Drop the use of scripts and rely on standard boot for all operation. Signed-off-by: Simon Glass Reviewed-by: Kever Yang Thanks, - Kever --- Changes in v2: - Rebase to -next include/configs/rk3399_common.h | 5 + include/configs/rockchip-com

Re: [bug] timer: orion-timer: static variable patch breaks armada-388-clearfog boot

2023-01-16 Thread Martin Rowe
Stefan, > Could you please test with this attached patch, if this fixes this issue > on your clearfog? Your patch resolves the issue. Thanks for your fast work! Regards Martin

Re: [PATCH v9 14/14] treewide: Disable USE_SPL_FIT_GENERATOR by default

2023-01-16 Thread Michal Simek
Hi Simon, On 1/15/23 17:31, Simon Glass wrote: Hi Michal, On Tue, 10 Jan 2023 at 08:16, Michal Simek wrote: Hi Simon, On 1/9/23 16:34, Simon Glass wrote: Hi Michal, On Mon, 9 Jan 2023 at 04:07, Michal Simek mailto:michal.si...@amd.com>> wrote: > > Hi, > > On 1/8/23 20:36, Simon Gl

Re: [PATCH v2 10/22] apalis-imx8: update spdx license identifier string

2023-01-16 Thread Francesco Dolcini
On Sat, Jan 14, 2023 at 12:27:11PM -0500, Tom Rini wrote: > On Fri, Jan 13, 2023 at 06:17:39PM +0100, Francesco Dolcini wrote: > > > From: Marcel Ziswiler > > > > Update SPDX license identifier string. > > > > While at it also update copyright period. > > > > Signed-off-by: Marcel Ziswiler >

Re: [PATCH v3 2/6] tpm: Support boot measurements

2023-01-16 Thread Ilias Apalodimas
Hi Simon, [...] > > >> > > > [..] > > > > > >> +static int tcg2_log_init(struct udevice *dev, struct tcg2_event_log > > >> *elog) > > >> +{ > > >> + struct tcg_efi_spec_id_event *ev; > > > We cannot add EFI things to generic TPM code. > > > > > > Ah, this is NOT an EFI thing even though it

Re: [PATCH v2 01/22] apalis-imx8: fix booting caused by missing dm_event

2023-01-16 Thread Francesco Dolcini
Hello Tom, On Sat, Jan 14, 2023 at 01:23:11PM -0500, Tom Rini wrote: > On Sat, Jan 14, 2023 at 07:00:08PM +0100, Heinrich Schuchardt wrote: > > On 1/14/23 18:22, Tom Rini wrote: > > > On Sat, Jan 14, 2023 at 11:57:20AM -0500, Tom Rini wrote: > > > > On Sat, Jan 14, 2023 at 08:27:25AM -0500, Tom R

Re: [PATCH 2/3] dm: button: add support for linux_code in button-gpio.c driver

2023-01-16 Thread Dzmitry Sankouski
I guess, u-boot button driver was created as minimal as possible intentionally, to keep the size small. It may be used in scripts without event code with button command. Some dts has no event code, for example sandbox.dtsi. пн, 16 янв. 2023 г. в 12:53, Quentin Schulz : > > Hi Dzmitry, > > On 1/14/

Re: [PATCH 7/9] include: configs: am62x_evm: Add environment variables for splash screen

2023-01-16 Thread Nikhl M Jain
On 13/01/23 20:13, Tom Rini wrote: On Fri, Jan 13, 2023 at 01:59:25PM +0530, Nikhil M Jain wrote: Set splash screen related env variables. Default splash source is set to mmc where user is expected to keep bmp in compressed format with name ti.gz on first partition of mmc. Splash file will

Re: [PATCH v3 2/6] tpm: Support boot measurements

2023-01-16 Thread Ilias Apalodimas
Hi Eddie > +static inline u16 tpm2_algorithm_to_len(enum tpm2_algorithms a) > +{ > + switch (a) { > + case TPM2_ALG_SHA1: > + return TPM2_SHA1_DIGEST_SIZE; > + case TPM2_ALG_SHA256: > + return TPM2_SHA256_DIGEST_SIZE; > + case TPM2_ALG_SHA384: > +

Re: [PATCH] net: ipv6: Fixed IPv6 string to address conversion off-by-one error

2023-01-16 Thread Vyacheslav V. Mitrofanov
On Fri, 2023-01-13 at 09:27 -0800, emohand...@linux.microsoft.com wrote: > From: Ehsan Mohandesi > > One extra character was being checked in the IPv6 string which caused > the > last character of the address to be neither '\0' nor ':'. This raises > an > error condition and causes the function t

[PATCH] mx53loco: Select CONFIG_CMD_EXT4

2023-01-16 Thread Fabio Estevam
Select the CONFIG_CMD_EXT4 option so that files can be loaded from an ext4 partition. Signed-off-by: Fabio Estevam --- configs/mx53loco_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/mx53loco_defconfig b/configs/mx53loco_defconfig index 193120f71a..7be5636eb7 100644 --- a/

Re: [PATCH v8 03/10] arm_ffa: introduce Arm FF-A low-level driver

2023-01-16 Thread Abdellatif El Khlifi
On Fri, Jan 13, 2023 at 11:00:28AM -0700, Simon Glass wrote: > Hi Abdellatif, > > On Fri, 13 Jan 2023 at 03:44, Abdellatif El Khlifi > wrote: > > > > On Thu, Jan 12, 2023 at 04:43:32PM -0700, Simon Glass wrote: > > > Hi Rob, > > > > > > On Wed, 11 Jan 2023 at 19:10, Rob Herring wrote: > > > > >

Re: [PATCH v1 2/3] colibri-imx7: specify MTD partitions on command line

2023-01-16 Thread Francesco Dolcini
On Sun, Jan 15, 2023 at 03:33:25PM +0100, Marek Vasut wrote: > On 1/13/23 19:45, Francesco Dolcini wrote: > > From: Francesco Dolcini > > > > Disable fdt_fixup_mtdparts(), instead pass MTD partition on the command > > line. This is the preferred method to be used when partitions are not > > stati

Re: [PATCH 2/2] event: Correct dependencies on the EVENT framework

2023-01-16 Thread Tom Rini
On Mon, Jan 16, 2023 at 03:32:06PM +0900, AKASHI Takahiro wrote: > On Mon, Jan 16, 2023 at 01:17:53PM +0900, AKASHI Takahiro wrote: > > On Sun, Jan 15, 2023 at 10:15:11PM -0500, Tom Rini wrote: > > > On Mon, Jan 16, 2023 at 12:10:50PM +0900, AKASHI Takahiro wrote: > > > > Hi Tom, > > > > > > > > O

Re: [PATCH v1 1/3] fdt: validate/fix cells count on mtdpart fixup

2023-01-16 Thread Francesco Dolcini
On Sun, Jan 15, 2023 at 03:35:25PM +0100, Marek Vasut wrote: > On 1/13/23 19:45, Francesco Dolcini wrote: > > From: Francesco Dolcini > > > > Fixup #size-cells value when updating the MTD partitions, this is > > required to prevent issues in case the MTD parent set #size-cells to > > zero. > > Th

Re: [PATCH v2 10/22] apalis-imx8: update spdx license identifier string

2023-01-16 Thread Tom Rini
On Mon, Jan 16, 2023 at 11:49:10AM +0100, Francesco Dolcini wrote: > On Sat, Jan 14, 2023 at 12:27:11PM -0500, Tom Rini wrote: > > On Fri, Jan 13, 2023 at 06:17:39PM +0100, Francesco Dolcini wrote: > > > > > From: Marcel Ziswiler > > > > > > Update SPDX license identifier string. > > > > > > Wh

Re: [PATCH 7/9] include: configs: am62x_evm: Add environment variables for splash screen

2023-01-16 Thread Tom Rini
On Mon, Jan 16, 2023 at 05:21:35PM +0530, Nikhl M Jain wrote: > > > On 13/01/23 20:13, Tom Rini wrote: > > On Fri, Jan 13, 2023 at 01:59:25PM +0530, Nikhil M Jain wrote: > > > > > Set splash screen related env variables. Default > > > splash source is set to mmc where user is expected > > > to k

Re: [PATCH] clk: versal: Return error in case if clock setup failed

2023-01-16 Thread Michal Simek
On 1/10/23 08:23, Michal Simek wrote: From: Jay Buddhabhatti Currently probe is getting success even if clock setup is failed because of that u-boot is trying to access invalid clocks. So return error if clock setup failed. Signed-off-by: Jay Buddhabhatti Signed-off-by: Michal Simek ---

Re: [PATCH] xilinx: versal-net: Add support for timer and start it

2023-01-16 Thread Michal Simek
On 1/10/23 08:44, Michal Simek wrote: From: Ashok Reddy Soma Add support for starting timer by setting up time stamp generator registers. This is done only for EL3 i.e. mini U-Boot case. For other cases, it will be done TF-A. Add COUNTER_FREQUENCY and IOU_SWITCH_DIVISOR0 to Kconfig so that

[PATCH] arm: dts: imx8mn-u-boot: use versioned ddr4 firmware

2023-01-16 Thread Oleksandr Suvorov
NXP tested imx8mn-ddr4 with firmware version 201810 only. Use this version for all imx8mn targets with DRAM DDR4. Fixes: 93c4c0e4dd1 ("arm: dts: imx8mn-u-boot: Create common imx8mn-u-boot.dtsi") Signed-off-by: Oleksandr Suvorov --- arch/arm/dts/imx8mn-u-boot.dtsi | 8 1 file changed,

[PATCH] timer: orion-timer: Fix problem in early_init_done()

2023-01-16 Thread Stefan Roese
It was noticed that Clearfog is currently broken with this newly introduced early_init_done() function. Apparently the timer is enabled here when U-Boot is run but not configured - at least not correctly. Resulting in a hangup in the timer reading functions. To fix this, also read the value of the

[PATCH 0/2] Fix sdram size detection on RK3568

2023-01-16 Thread Jonas Karlman
DRAM initialization blobs for rk356x from vendor encode sdram info in a new version 3 format. The new format makes use of more bits in sys_reg3 compared to the version 2 format. This series adds support for decoding basic information from this new version 3 format. It also adds support for adding

[PATCH 2/2] rockchip: sdram: add dram bank with usable memory beyond 4GB

2023-01-16 Thread Jonas Karlman
Add a second dram bank of usable memory beyond the blob of space for peripheral near 4GB. Any memory that exists beyond the 4GB mark is added to the second bank. Signed-off-by: Jonas Karlman --- arch/arm/mach-rockchip/sdram.c | 12 +--- 1 file changed, 9 insertions(+), 3 deletions(-) di

[PATCH 1/2] rockchip: sdram: add basic support for sdram reg info version 3

2023-01-16 Thread Jonas Karlman
Newer DRAM initialization blobs from vendor can encode sdram info in a new version 3 format. The new format makes use of more bits in sys_reg3 compared to the version 2 format. Add basic support for detecting the version 3 format and decoding the high bits used for ddrtype. This fixes decode of s

Re: [PATCH 2/3] dm: button: add support for linux_code in button-gpio.c driver

2023-01-16 Thread Quentin Schulz
Hi Dzmitry, On 1/16/23 12:19, Dzmitry Sankouski wrote: I guess, u-boot button driver was created as minimal as possible intentionally, to keep the size small. I'm not sure that we're *that* size constrained in U-Boot proper. It may be used in scripts without event code with button command. S

[PATCH v1 2/6] sandbox64: fix: return unsigned long in readq()

2023-01-16 Thread abdellatif . elkhlifi
From: Abdellatif El Khlifi make readq return unsigned long readq should return 64-bit data Signed-off-by: Abdellatif El Khlifi --- arch/sandbox/cpu/cpu.c| 2 +- arch/sandbox/include/asm/io.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/sandbox/cpu/cpu.c

[PATCH v1 0/6] introduce NVM XIP block storage emulation

2023-01-16 Thread abdellatif . elkhlifi
From: Abdellatif El Khlifi Adding block storage emulation for NVM XIP flash devices. Some paltforms such as Corstone-1000 need to see NVM XIP raw flash as a block storage device with read only capability. Here NVM flash devices are devices with addressable memory (e.g: QSPI NOR flash). The NVM

[PATCH v1 5/6] corstone1000: enable NVM XIP QSPI flash

2023-01-16 Thread abdellatif . elkhlifi
From: Abdellatif El Khlifi add the QSPI flash device with block storage capability Signed-off-by: Abdellatif El Khlifi --- configs/corstone1000_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/corstone1000_defconfig b/configs/corstone1000_defconfig index dddfa27507..815355

[PATCH v1 3/6] sandbox64: add support for NVMXIP QSPI

2023-01-16 Thread abdellatif . elkhlifi
From: Abdellatif El Khlifi enable NVMXIP QSPI for sandbox 64-bit Adding two NVM XIP QSPI storage devices. Signed-off-by: Abdellatif El Khlifi --- arch/sandbox/dts/sandbox64.dts | 13 + arch/sandbox/dts/test.dts | 14 ++ configs/sandbox64_defconfig| 1 + drive

[PATCH v1 4/6] corstone1000: add NVM XIP QSPI device tree node

2023-01-16 Thread abdellatif . elkhlifi
From: Abdellatif El Khlifi add QSPI flash device node for block storage access Signed-off-by: Abdellatif El Khlifi --- arch/arm/dts/corstone1000.dtsi | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/arch/arm/dts/corstone1000.dtsi b/arch/arm/dts/corstone1000.dtsi inde

[PATCH v1 6/6] sandbox64: add a test case for UCLASS_NVMXIP

2023-01-16 Thread abdellatif . elkhlifi
From: Abdellatif El Khlifi provide a test for NVM XIP devices The test case allows to make sure of the following: - The NVM XIP QSPI devices are probed - The DT entries are read correctly - the data read from the flash by the NVMXIP block driver is correct Signed-off-by: Abdellatif El Khlifi

[PATCH v1 1/6] drivers/nvmxip: introduce NVM XIP block storage emulation

2023-01-16 Thread abdellatif . elkhlifi
From: Abdellatif El Khlifi add block storage emulation for NVM XIP flash devices Some paltforms such as Corstone-1000 need to see NVM XIP raw flash as a block storage device with read only capability. Here NVM flash devices are devices with addressable memory (e.g: QSPI NOR flash). The impleme

Re: [PATCH] timer: orion-timer: Fix problem in early_init_done()

2023-01-16 Thread Pali Rohár
On Monday 16 January 2023 16:34:45 Stefan Roese wrote: > It was noticed that Clearfog is currently broken with this newly > introduced early_init_done() function. Apparently the timer is enabled > here when U-Boot is run but not configured - at least not correctly. > Resulting in a hangup in the ti

Re: [PATCH v1 1/3] fdt: validate/fix cells count on mtdpart fixup

2023-01-16 Thread Marek Vasut
On 1/16/23 15:20, Francesco Dolcini wrote: On Sun, Jan 15, 2023 at 03:35:25PM +0100, Marek Vasut wrote: On 1/13/23 19:45, Francesco Dolcini wrote: From: Francesco Dolcini Fixup #size-cells value when updating the MTD partitions, this is required to prevent issues in case the MTD parent set #s

Re: [PATCH v1 1/3] fdt: validate/fix cells count on mtdpart fixup

2023-01-16 Thread Francesco Dolcini
On Mon, Jan 16, 2023 at 06:54:44PM +0100, Marek Vasut wrote: > On 1/16/23 15:20, Francesco Dolcini wrote: > > On Sun, Jan 15, 2023 at 03:35:25PM +0100, Marek Vasut wrote: > > > On 1/13/23 19:45, Francesco Dolcini wrote: > > > > From: Francesco Dolcini > > > > > > > > Fixup #size-cells value when

[PATCH v1 1/2] rockchip: configs: mk808: change CONFIG_TPL_TEXT_BASE

2023-01-16 Thread Johan Jonker
Currently the Rockchip rk3066a u-boot-tpl.bin file needs to add the characters "RK30", while the other SoCs replace the first 4 bytes. Bring this in line with the rest by lowering CONFIG_TPL_TEXT_BASE and update rockchip.rst instructions. Signed-off-by: Johan Jonker --- configs/mk808_defconfig

[PATCH v1 2/2] rockchip: configs: mk808: enable usb support

2023-01-16 Thread Johan Jonker
Enable usb support in the mk808_defconfig. Signed-off-by: Johan Jonker --- configs/mk808_defconfig | 10 ++ 1 file changed, 10 insertions(+) diff --git a/configs/mk808_defconfig b/configs/mk808_defconfig index 9ffda699..dc694e76 100644 --- a/configs/mk808_defconfig +++ b/configs/mk808_d

U-Boot: extlinux.conf boot menu support appears to be broken by commit 739e8361f3fe78038251216df6096a32bc2d5839

2023-01-16 Thread Karsten Merker
Hello, it looks like the following commit has broken the extlinux.conf boot menu support in U-Boot: -8<--8<--8<--8<--8<--8<- commit 739e8361f3fe78038251216df6096a32bc2d5839 Author: Manuel Traut Date: Fri Nov 18 09:00:27 2022 +0100 distro/pxe

[PATCH v3 00/20] apalis-imx8: boot issue fix and support refresh

2023-01-16 Thread Francesco Dolcini
From: Francesco Dolcini This series fixes a boot issue and refreshes Apalis iMX8 support as follows: - implement PCB version and SoC variant handling - turn off LCD backlight before OS handover - display build info - provide proper prompt - set bootdelay - add overlays support - remove global env

[PATCH v3 01/20] apalis-imx8: implement pcb version and soc variant handling

2023-01-16 Thread Francesco Dolcini
From: Marcel Ziswiler Implement PCB version and SoC variant handling which automatically loads the correct device tree for the Linux kernel. Signed-off-by: Marcel Ziswiler Signed-off-by: Andrejs Cainikovs Signed-off-by: Francesco Dolcini Reviewed-by: Fabio Estevam --- v3: added Reviewed-by:

[PATCH v3 03/20] apalis-imx8: display build info

2023-01-16 Thread Francesco Dolcini
From: Marcel Ziswiler Display build info with information about the version of SCFW, SECO and TF-A (ATF). Signed-off-by: Marcel Ziswiler Signed-off-by: Francesco Dolcini Reviewed-by: Fabio Estevam --- v3: added Reviewed-by: Fabio v2: no changes --- board/toradex/apalis-imx8/apalis-imx8.c | 2

[PATCH v3 02/20] apalis-imx8: turn off lcd backlight before os handover

2023-01-16 Thread Francesco Dolcini
From: Marcel Ziswiler U-Boot typically tears down the display controller before handing control over to Linux. On LCD displays disabling pixel clock leads to a fading out effect with vertical/horizontal lines. Make sure to disable back light GPIO Apalis BKL1 before booting Linux. Signed-off-by:

[PATCH v3 04/20] apalis-imx8: provide proper config_sys_prompt

2023-01-16 Thread Francesco Dolcini
From: Igor Opaniuk This provides correct system prompt for U-Boot console. Signed-off-by: Igor Opaniuk Signed-off-by: Marcel Ziswiler Signed-off-by: Francesco Dolcini Reviewed-by: Fabio Estevam --- v3: added Reviewed-by: Fabio v2: no changes --- configs/apalis-imx8_defconfig | 1 + 1 file c

[PATCH v3 05/20] apalis-imx8: set bootdelay

2023-01-16 Thread Francesco Dolcini
From: Marcel Ziswiler Set the boot delay to one second. Signed-off-by: Marcel Ziswiler Signed-off-by: Francesco Dolcini Reviewed-by: Fabio Estevam --- v3: added Reviewed-by: Fabio v2: no changes --- configs/apalis-imx8_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/apa

[PATCH v3 06/20] apalis/colibri-imx8/8x: add overlay support for i.mx 8/8x-based soms

2023-01-16 Thread Francesco Dolcini
From: Oleksandr Suvorov There is no "apply" command enabled for "fdt". Enable "apply" command to allow overlays to be applied. Signed-off-by: Oleksandr Suvorov Signed-off-by: Marcel Ziswiler Signed-off-by: Francesco Dolcini Reviewed-by: Fabio Estevam --- v3: added Reviewed-by: Fabio v2: no c

[PATCH v3 08/20] apalis-imx8: enable environment bootcount limit

2023-01-16 Thread Francesco Dolcini
From: Marcel Ziswiler Enable optional environment bootcount limit functionality. Signed-off-by: Marcel Ziswiler Signed-off-by: Francesco Dolcini Reviewed-by: Fabio Estevam --- v3: added Reviewed-by: Fabio v2: no changes --- configs/apalis-imx8_defconfig | 2 ++ 1 file changed, 2 insertions(+

[PATCH v3 07/20] apalis/colibri-imx8/8x: remove global variable script

2023-01-16 Thread Francesco Dolcini
From: Oleksandr Suvorov The distroboot script system scans boot_scripts variable and try to find and use to boot each script name mentioned there. Setting global variable "script" breaks this general mechanism of searching and running a distro boot script. Remove global variables "script" to fix

[PATCH v3 10/20] apalis-imx8: remove obsolete net usb start

2023-01-16 Thread Francesco Dolcini
From: Marcel Ziswiler Remove obsolete net USB start. While at it also add a comment about enabling distro-boot. Signed-off-by: Marcel Ziswiler Signed-off-by: Francesco Dolcini Reviewed-by: Fabio Estevam --- v3: added Reviewed-by: Fabio v2: no changes --- include/configs/apalis-imx8.h | 3 +-

[PATCH v3 09/20] apalis-imx8: remove obsolete sdhc related config defines

2023-01-16 Thread Francesco Dolcini
From: Marcel Ziswiler Remove obsolete SDHC related config defines. Nowadays, all SDHC related hardware configuration comes from the device tree. Signed-off-by: Marcel Ziswiler Signed-off-by: Francesco Dolcini Reviewed-by: Fabio Estevam --- v3: added Reviewed-by: Fabio v2: no changes --- incl

[PATCH v3 12/20] apalis-imx8: drop obsolete environment variables

2023-01-16 Thread Francesco Dolcini
From: Marcel Ziswiler Drop obsolete environment variables fdt_addr, finduuid, boot_file, mmcargs, mmcdev, mmcpart and panel. Signed-off-by: Marcel Ziswiler Signed-off-by: Andrejs Cainikovs Signed-off-by: Francesco Dolcini Reviewed-by: Fabio Estevam --- v3: added Reviewed-by: Fabio v2: remove

[PATCH v3 11/20] apalis-imx8: introduce setup setting setupargs

2023-01-16 Thread Francesco Dolcini
From: Marcel Ziswiler Introduce setup setting setupargs and move earlycon there. Signed-off-by: Marcel Ziswiler Signed-off-by: Francesco Dolcini Reviewed-by: Fabio Estevam --- v3: added Reviewed-by: Fabio v2: no changes --- include/configs/apalis-imx8.h | 4 +++- 1 file changed, 3 insertions

[PATCH v3 13/20] apalis-imx8: update update_uboot confirmation message

2023-01-16 Thread Francesco Dolcini
From: Marcel Ziswiler Update update_uboot confirmation message. Signed-off-by: Marcel Ziswiler Signed-off-by: Francesco Dolcini Reviewed-by: Fabio Estevam --- v3: added Reviewed-by: Fabio v2: no changes --- include/configs/apalis-imx8.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

[PATCH v3 14/20] apalis-imx8: update env memory layout

2023-01-16 Thread Francesco Dolcini
From: Marcel Ziswiler Update the distro config env memory layout for the Apalis iMX8 aka QuadMax: - kernel_comp_addr_r=0xf000 temporary area for uncompressing (ie FIT images or Image.gz booted using booti) - kernel_comp_size=0x0800 - loadaddr=0x9540 avoiding any reserved areas loca

[PATCH v3 15/20] board: apalis-imx8: get rid of sc_err_t type

2023-01-16 Thread Francesco Dolcini
From: Philippe Schenker sc_pm_setup_uart() returns int, not sc_err_t. Signed-off-by: Philippe Schenker Signed-off-by: Francesco Dolcini Reviewed-by: Fabio Estevam --- v3: added Reviewed-by: Fabio v2: new patch --- board/toradex/apalis-imx8/apalis-imx8.c | 8 1 file changed, 4 insert

[PATCH v3 16/20] board: apalis-imx8: remove board_phy_config duplicate

2023-01-16 Thread Francesco Dolcini
From: Andrejs Cainikovs Remove a duplicate of weak board_phy_config() implementation in drivers/net/phy/phy.c. Signed-off-by: Andrejs Cainikovs Signed-off-by: Francesco Dolcini Reviewed-by: Fabio Estevam --- v3: added Reviewed-by: Fabio v2: new patch --- board/toradex/apalis-imx8/apalis-imx8

[PATCH v3 17/20] board: apalis-imx8: initialize snvs

2023-01-16 Thread Francesco Dolcini
From: Andrejs Cainikovs Initialize Secure Non-Volatile Storage, aka SNVS. Signed-off-by: Andrejs Cainikovs Signed-off-by: Francesco Dolcini Reviewed-by: Fabio Estevam --- v3: added Reviewed-by: Fabio v2: new patch --- board/toradex/apalis-imx8/apalis-imx8.c | 8 1 file changed, 8 in

[PATCH v3 18/20] apalis-imx8: set bootaux memory base and size

2023-01-16 Thread Francesco Dolcini
From: Andrejs Cainikovs Set i.MX auxiliary core memory base and size. Signed-off-by: Andrejs Cainikovs Signed-off-by: Francesco Dolcini Reviewed-by: Fabio Estevam --- v3: added Reviewed-by: Fabio v2: new patch --- configs/apalis-imx8_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --

[PATCH v3 19/20] apalis-imx8: add M4 boot environment helpers

2023-01-16 Thread Francesco Dolcini
From: Andrejs Cainikovs Add M4 boot environment functions for reference. Signed-off-by: Andrejs Cainikovs Signed-off-by: Francesco Dolcini Reviewed-by: Fabio Estevam --- v3: added Reviewed-by: Fabio v2: new patch --- include/configs/apalis-imx8.h | 10 ++ 1 file changed, 10 insertion

[PATCH v3 20/20] apalis-imx8: add emmc/mmc card pinctrl's for different speeds

2023-01-16 Thread Francesco Dolcini
From: Andrejs Cainikovs Add pinctrl's for high speed eMMC and MMC cards. Signed-off-by: Andrejs Cainikovs Signed-off-by: Philippe Schenker Signed-off-by: Francesco Dolcini Reviewed-by: Fabio Estevam --- v3: added Reviewed-by: Fabio v2: new patch --- arch/arm/dts/fsl-imx8qm-apalis.dts | 8 ++

Re: [PATCH 00/14] Backport BRCMNAND changes from Linux

2023-01-16 Thread Michael Nazzareno Trimarchi
Hi On Sun, Jan 15, 2023 at 8:53 PM Linus Walleij wrote: > > Hunting down a bug on my system I took to back-porting > all reasonable changes from the Linux brcmnand driver that > were not yet in the U-Boot derivative. > > I noticed that a simple diff -ur between brcmnand.c > between the file in Li

[PATCH] event: Correct dependencies on the EVENT framework

2023-01-16 Thread Tom Rini
The event framework is just that, a framework. Enabling it by itself does nothing, so we shouldn't ask the user about it. Reword (and correct typos) around this the option and help text. This also applies to DM_EVENT and EVENT_DYNAMIC. Only EVENT_DEBUG and CMD_EVENT should be visible to the user to

Re: [PATCH] arm: dts: imx8mn-u-boot: use versioned ddr4 firmware

2023-01-16 Thread Fabio Estevam
Hi Oleksandr, On Mon, Jan 16, 2023 at 12:21 PM Oleksandr Suvorov wrote: > > NXP tested imx8mn-ddr4 with firmware version 201810 only. Use this > version for all imx8mn targets with DRAM DDR4. > > Fixes: 93c4c0e4dd1 ("arm: dts: imx8mn-u-boot: Create common > imx8mn-u-boot.dtsi") > > Signed-off-by

Re: [PATCH v1 00/16] apalis-imx8: boot issue fix and support refresh

2023-01-16 Thread Francesco Dolcini
Hello Stefano, On Fri, Jan 13, 2023 at 06:36:04PM +0100, Stefano Babic wrote: > On 10.01.23 17:30, Tom Rini wrote: > > On Tue, Jan 10, 2023 at 10:00:25AM +, Marcel Ziswiler wrote: > > > Any feedback? > > > > > > @Stefano: Any plans to apply anything? > > > > > > @Tom: Or should we be sending

Re: [PATCH v2 10/22] apalis-imx8: update spdx license identifier string

2023-01-16 Thread Francesco Dolcini
On Mon, Jan 16, 2023 at 09:23:57AM -0500, Tom Rini wrote: > On Mon, Jan 16, 2023 at 11:49:10AM +0100, Francesco Dolcini wrote: > > On Sat, Jan 14, 2023 at 12:27:11PM -0500, Tom Rini wrote: > > > On Fri, Jan 13, 2023 at 06:17:39PM +0100, Francesco Dolcini wrote: > > > > > > > From: Marcel Ziswiler

[PATCH v1] arm: dts: rockchip: sync rk3066/rk3188 DT files from linux-next v6.2-rc4

2023-01-16 Thread Johan Jonker
Sync rk3066/rk3188 DT files from Linux. This is the state as of linux-next v6.2-rc4. New nfc node for MK808 rk3066a. CRU nodes now have a clock property. To prefend dtoc errors a fixed clock must also be included for tpl/spl in the rk3xxx-u-boot.dtsi file. Signed-off-by: Johan Jonker --- arch/ar

Re: [PATCH] event: Correct dependencies on the EVENT framework

2023-01-16 Thread Heinrich Schuchardt
On 1/16/23 20:12, Tom Rini wrote: The event framework is just that, a framework. Enabling it by itself does nothing, so we shouldn't ask the user about it. Reword (and correct typos) around this the option and help text. This also applies to DM_EVENT and EVENT_DYNAMIC. Only EVENT_DEBUG and CMD_EV

Re: [PATCH] event: Correct dependencies on the EVENT framework

2023-01-16 Thread Tom Rini
On Mon, Jan 16, 2023 at 09:21:51PM +0100, Heinrich Schuchardt wrote: > On 1/16/23 20:12, Tom Rini wrote: > > The event framework is just that, a framework. Enabling it by itself > > does nothing, so we shouldn't ask the user about it. Reword (and correct > > typos) around this the option and help t

Re: [PATCH] event: Correct dependencies on the EVENT framework

2023-01-16 Thread Heinrich Schuchardt
On 1/16/23 21:23, Tom Rini wrote: On Mon, Jan 16, 2023 at 09:21:51PM +0100, Heinrich Schuchardt wrote: On 1/16/23 20:12, Tom Rini wrote: The event framework is just that, a framework. Enabling it by itself does nothing, so we shouldn't ask the user about it. Reword (and correct typos) around th

[v3 2/2] event: Correct dependencies on the EVENT framework

2023-01-16 Thread Tom Rini
The event framework is just that, a framework. Enabling it by itself does nothing, so we shouldn't ask the user about it. Reword (and correct typos) around this the option and help text. This also applies to DM_EVENT and EVENT_DYNAMIC. Only EVENT_DEBUG and CMD_EVENT should be visible to the user to

Re: [v3 2/2] event: Correct dependencies on the EVENT framework

2023-01-16 Thread Heinrich Schuchardt
On 1/16/23 21:46, Tom Rini wrote: The event framework is just that, a framework. Enabling it by itself does nothing, so we shouldn't ask the user about it. Reword (and correct typos) around this the option and help text. This also applies to DM_EVENT and EVENT_DYNAMIC. Only EVENT_DEBUG and CMD_EV

Re: [v3 2/2] event: Correct dependencies on the EVENT framework

2023-01-16 Thread Tom Rini
On Mon, Jan 16, 2023 at 10:01:47PM +0100, Heinrich Schuchardt wrote: > On 1/16/23 21:46, Tom Rini wrote: > > The event framework is just that, a framework. Enabling it by itself > > does nothing, so we shouldn't ask the user about it. Reword (and correct > > typos) around this the option and help t

Re: [PATCH] mx53loco: Select CONFIG_CMD_EXT4

2023-01-16 Thread Vagrant Cascadian
On 2023-01-16, Fabio Estevam wrote: > Select the CONFIG_CMD_EXT4 option so that files can be loaded > from an ext4 partition. > > Signed-off-by: Fabio Estevam Debian has been carrying this patch since 2014; thanks for submitting upstream! Unfortunately, I do not know if anyone is actively using

Re: [PATCH] ddr: marvell: a38x: Add support for DDR4 from Marvell mv-ddr-marvell repository

2023-01-16 Thread Tony Dinh
Hi all, On Sat, Jan 14, 2023 at 1:45 PM Tony Dinh wrote: > > Hi Pali & Tom, > > On Sat, Jan 14, 2023 at 12:06 PM Pali Rohár wrote: > > > > On Saturday 14 January 2023 15:03:41 Tom Rini wrote: > > > On Sat, Jan 14, 2023 at 07:51:00PM +0100, Pali Rohár wrote: > > > > On Friday 13 January 2023 21:0

Pull request: u-boot-rockchip-20230117

2023-01-16 Thread Kever Yang
Hi Tom, Please pull the updates for rockchip platform for next: - Add support for rv1126 soc and rv1126 neu2 io board; - Add support for rk3399 pine64 pinephone pro board; - dts sync from linux for rk3399 and px30; - Add support for PX30 Ringneck SoM board; CI: https://source.denx.de/u-boot/custo

Re: [PATCH v1 1/3] fdt: validate/fix cells count on mtdpart fixup

2023-01-16 Thread Marek Vasut
On 1/16/23 19:00, Francesco Dolcini wrote: On Mon, Jan 16, 2023 at 06:54:44PM +0100, Marek Vasut wrote: On 1/16/23 15:20, Francesco Dolcini wrote: On Sun, Jan 15, 2023 at 03:35:25PM +0100, Marek Vasut wrote: On 1/13/23 19:45, Francesco Dolcini wrote: From: Francesco Dolcini Fixup #size-cell

Re: [PATCH 1/5] rockchip: vop2: Add vop2 dt-binding from Linux

2023-01-16 Thread Kever Yang
On 2023/1/5 23:34, Chris Morgan wrote: From: Chris Morgan In order to support Rockchip devices with the VOP2, import the VOP2 dt-bindings from Linux. Signed-off-by: Chris Morgan Reviewed-by: Kever Yang Thanks, - Kever --- include/dt-bindings/soc/rockchip,vop2.h | 14 ++ 1

Re: [PATCH 3/5] rockchip: rk3568: add boot device detection

2023-01-16 Thread Kever Yang
Hi Chris, On 2023/1/5 23:34, Chris Morgan wrote: From: Chris Morgan Enable spl to detect which device it was booted from. Adapted from Peter Geis's work located here: https://gitlab.com/pgwipeout/u-boot-quartz64/-/commit/3a10fb6bfbbaa747b425233b1fc08cd008084281 You can add "Signed-off-by "

Re: [EXTERNAL] Re: [PATCH 3/9] arm: dts: k3-am62-main: Add device tree node for TIDSS

2023-01-16 Thread Nikhl M Jain
Hi, Tom On 13/01/23 20:13, Tom Rini wrote: > On Fri, Jan 13, 2023 at 01:59:21PM +0530, Nikhil M Jain wrote: > >> Add device tree node which includes the register >> regions to write properties of planes (vidl1 and vid1), >> overlays (ovr1 and ovr2),and video ports(vp1 and vp2). >> TIDSS uses 3 cl

Re: [PATCH] ddr: marvell: a38x: Add support for DDR4 from Marvell mv-ddr-marvell repository

2023-01-16 Thread Tony Dinh
On Mon, Jan 16, 2023 at 4:33 PM Tony Dinh wrote: > > Hi all, > > On Sat, Jan 14, 2023 at 1:45 PM Tony Dinh wrote: > > > > Hi Pali & Tom, > > > > On Sat, Jan 14, 2023 at 12:06 PM Pali Rohár wrote: > > > > > > On Saturday 14 January 2023 15:03:41 Tom Rini wrote: > > > > On Sat, Jan 14, 2023 at 07:

[PATCH] ARM: dts: imx8mm-evk: Fix wrong PMIC device for new EVK board

2023-01-16 Thread Ye Li
In commit 48ddafd (imx8mm_evk: Switch to new imx8mm evk board), the iMX8MM EVK support was updated to new EVK board which is using PCA9450A PMIC. But the commit 24a7a3c (imx8mm: synchronise device tree with linux) changed DTS node back to legacy PMIC which is not aligned with SPL codes and defconfi

Re: [PATCH] timer: orion-timer: Fix problem in early_init_done()

2023-01-16 Thread Stefan Roese
Hi Pali, On 1/16/23 18:54, Pali Rohár wrote: On Monday 16 January 2023 16:34:45 Stefan Roese wrote: It was noticed that Clearfog is currently broken with this newly introduced early_init_done() function. Apparently the timer is enabled here when U-Boot is run but not configured - at least not c

Re: [PATCH 00/14] Backport BRCMNAND changes from Linux

2023-01-16 Thread William Zhang
Hi Linus, I will try to review and test your patches late this week or early next week. I don't have those old chips (v2.1, v2.2, v4) but will test on some of recent Broadcom broadband(BCMBCA) SoCs with v7.0 and 7.1 controller. Thanks, William On 01/16/2023 11:11 AM, Michael Nazzareno Trima

Re: Help needed: EFI debug

2023-01-16 Thread Michael Lawnick
Am 13.01.2023 um 15:52 schrieb Heinrich Schuchardt: On 1/13/23 14:47, Michael Lawnick wrote: Hi, I am trying to printf-debug EFI execution triggered by Linux call. Specifically I remove a persistent variable via Linux console and want to follow execution. Without any printf() this works fine. I