Re: [PATCH 6/7] serial: msm_geni: Use upstream Linux bindings

2023-03-24 Thread Sumit Garg
On Fri, 24 Mar 2023 at 06:10, Konrad Dybcio wrote: > > The name "se" is used in upstream Linux device trees and has been for > ages, long before this U-Boot-ism was introduced. Same goes for the > existing compatible. Get rid of that. > > Signed-off-by: Konrad Dybcio > --- > >

[PATCH] soc: soc_ti_k3: fix revision array bounds checks

2023-03-24 Thread Rasmus Villemoes
If rev is equal to the array size, we'll access the array one-past-the-end. Signed-off-by: Rasmus Villemoes --- drivers/soc/soc_ti_k3.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/soc/soc_ti_k3.c b/drivers/soc/soc_ti_k3.c index 8af0ac7051..2182532236 100644

Re: [PATCH v2 0/4] NFSv1 support

2023-03-24 Thread Christian Gmeiner
> > > > > This patch series adds support for NFSv1 and is more > > or less a rebased version of an older series. > > > > During V1 there was a discussion if it really makes sense > > to bring more features into the network stack of U-Boot as it > > is just a bootloader. As TCP support landed I

Re: [PATCH v1 1/5] net: phy: Add driver for Motorcomm yt8531 gigabit ethernet phy

2023-03-24 Thread yanhong wang
On 2023/3/19 4:20, Simon Glass wrote: > Hi Yanhong, > > On Thu, 16 Mar 2023 at 19:06, Yanhong Wang > wrote: >> >> Add a driver for the motorcomm yt8531 gigabit ethernet phy. We have >> verified the driver on StarFive VisionFive2 board. >> >> Signed-off-by: Yanhong Wang >> --- >>

Re: [PATCH u-boot-mvebu 1/5] tools: kwbimage: Fix invalid UART kwbimage v1 headersz

2023-03-24 Thread Stefan Roese
On 3/23/23 20:57, Pali Rohár wrote: Armada 385 BootROM ignores low 7 bits of headersz when parsing kwbimage header of UART type, which effectively means that headersz is rounded down to multiply of 128 bytes. For all other image types BootROM reads and use all bits of headersz. Therefore fill

Re: [PATCH u-boot-mvebu] tools: kwboot: Document information about NOR XIP

2023-03-24 Thread Stefan Roese
On 3/23/23 21:00, Pali Rohár wrote: Signed-off-by: Pali Rohár Reviewed-by: Stefan Roese Thanks, Stefan --- tools/kwboot.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tools/kwboot.c b/tools/kwboot.c index 2b92966919da..db917708a8e8 100644 --- a/tools/kwboot.c

Re: [PATCH 2/7] serial: msm: Match clocks through "clocks" property

2023-03-24 Thread Sumit Garg
On Fri, 24 Mar 2023 at 06:10, Konrad Dybcio wrote: > > "clocks" is the standard property used in Linux, "clock" seems to be > an U-Boot invention. Use the one that's more standardized. > > Signed-off-by: Konrad Dybcio > --- > > arch/arm/dts/qcom-ipq4019.dtsi | 2 +- >

Re: [PATCH v2 08/16] pci: coreboot: Don't read regions when booting

2023-03-24 Thread Christian Gmeiner
Hi > When U-Boot is the second-stage bootloader, PCI is already set up. We > cannot read the regions from the device tree. There is no point anyway, > since PCI devices have already been allocated according to the regions > and it is not safe for U-Boot to make any changes. > > Signed-off-by:

Re: [PATCH 3/7] serial: msm: Always bind before relocation

2023-03-24 Thread Sumit Garg
On Fri, 24 Mar 2023 at 07:27, Konrad Dybcio wrote: > > In preparation for supporting upstream Linux device trees on Qualcomm > platforms, make this the default behavior. > > Signed-off-by: Konrad Dybcio > --- > > drivers/serial/serial_msm.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git

Re: [PATCH 5/7] arm: snapdragon: pinctrl: Always bind before relocation

2023-03-24 Thread Sumit Garg
On Fri, 24 Mar 2023 at 07:27, Konrad Dybcio wrote: > > In preparation for supporting upstream Linux device trees on Qualcomm > platforms, make this the default behavior. > > Signed-off-by: Konrad Dybcio > --- > > arch/arm/mach-snapdragon/pinctrl-snapdragon.c | 1 + > 1 file changed, 1

[PATCH] i2c: designware_i2c: remove apparently redundant read of 'i2c, speeds' DT property

2023-03-24 Thread Rasmus Villemoes
This code first figures out if there is an i2c,speeds property, if so its size in u32s, and then reads the value into the local speeds[] array. Both 'size' and 'speeds' are completely unused thereafter. It's not at all clear what this is supposed to do. Of course, it could be seen as a sanity

Re: [PATCH 4/7] arch: snapdragon: clock: Always bind before relocation

2023-03-24 Thread Sumit Garg
On Fri, 24 Mar 2023 at 07:27, Konrad Dybcio wrote: > > In preparation for supporting upstream Linux device trees on Qualcomm > platforms, make this the default behavior. > > Signed-off-by: Konrad Dybcio > --- > > arch/arm/mach-snapdragon/clock-snapdragon.c | 1 + > 1 file changed, 1

[PATCH] stm32mp: fix various array bounds checks

2023-03-24 Thread Rasmus Villemoes
In all these cases, the index on the LHS is immediately afterwards used to access the array appearing in the ARRAY_SIZE() on the RHS - so if that index is equal to the array size, we'll access one-past-the-end of the array. Signed-off-by: Rasmus Villemoes --- Patch generated with '-U5' to make

Re: [PATCH v2 0/4] NFSv1 support

2023-03-24 Thread Peter Robinson
On Fri, Mar 10, 2023 at 9:52 AM Christian Gmeiner wrote: > > This patch series adds support for NFSv1 and is more > or less a rebased version of an older series. > > During V1 there was a discussion if it really makes sense > to bring more features into the network stack of U-Boot as it > is just

Re: [PATCH u-boot-mvebu 2/5] tools: kwboot: Fix invalid UART kwbimage v1 headersz

2023-03-24 Thread Stefan Roese
On 3/23/23 20:57, Pali Rohár wrote: Ensure that UART aligned header size is always stored into kwbimage v1 header. It is needed for proper UART booting. Calculation of headersz field was broken in commit d656f5a0ee22 ("tools: kwboot: Calculate real used space in kwbimage header when calling

Re: [PATCH u-boot-mvebu 3/5] tools: kwboot: Fix inserting UART data checksum without -B option

2023-03-24 Thread Stefan Roese
On 3/23/23 20:57, Pali Rohár wrote: Commit 7665ed2fa04e ("tools: kwboot: Fix parsing UART image without data checksum") added fixup code to insert place for data checksum if UART image does not have it. Together with option -B (change baudrate), kwboot calculates this checksum. Without option

Re: [PATCH u-boot-mvebu 4/5] tools: kwboot: Fix sending very small images

2023-03-24 Thread Stefan Roese
On 3/23/23 20:57, Pali Rohár wrote: Sending of very small images (smaller than 128 bytes = xmodem block size) cause out-of-bound memory read access. Fix this issue by ensuring that hdrsz when sending image is not larger than total size of the image. Issue was introduced in commit f8017c37799c

[PATCH v6 4/4] arm: mach-k3: Increase SYSFW max image size

2023-03-24 Thread Manorit Chawdhry
From: Dave Gerlach When booting with HS silicon, the system firmware image is 278270, which is slightly larger than currently allocated amount. This can cause unexpected behavior if this overlap interferes with other things in memory, so increase this with a slightly margin added as well to

Re: [PATCH u-boot-mvebu 5/5] tools: kwboot: Workaround A38x BootROM bug for images with a gap

2023-03-24 Thread Stefan Roese
On 3/23/23 20:57, Pali Rohár wrote: A38x BootROM has a bug which cause that BootROM loads data part of UART image into RAM target address increased by one byte when source address and header size stored in the image header are not same. Workaround this bug by completely removing a gap between

Re: [PATCH 6/7] serial: msm_geni: Use upstream Linux bindings

2023-03-24 Thread Konrad Dybcio
On 24.03.2023 07:13, Sumit Garg wrote: > On Fri, 24 Mar 2023 at 06:10, Konrad Dybcio wrote: >> >> The name "se" is used in upstream Linux device trees and has been for >> ages, long before this U-Boot-ism was introduced. Same goes for the >> existing compatible. Get rid of that. >> >>

Re: [PATCH] stm32mp: fix various array bounds checks

2023-03-24 Thread Patrice CHOTARD
Hi Rasmus On 3/24/23 08:55, Rasmus Villemoes wrote: > In all these cases, the index on the LHS is immediately afterwards > used to access the array appearing in the ARRAY_SIZE() on the RHS - so > if that index is equal to the array size, we'll access > one-past-the-end of the array. > >

Re: [PATCH v2 0/4] NFSv1 support

2023-03-24 Thread Christian Gmeiner
Hi Peter, Am Fr., 24. März 2023 um 11:10 Uhr schrieb Peter Robinson : > > On Fri, Mar 24, 2023 at 9:35 AM Christian Gmeiner > wrote: > > > > Hi Peter, > > > > > > > > > > This patch series adds support for NFSv1 and is more > > > > or less a rebased version of an older series. > > > > > > > >

WIP: Signing TI x509 certificates using binman

2023-03-24 Thread Neha Malcom Francis
Hi Simon, Before I roll out the entire series that works for packaging K3 bootloader images, wanted to get some reviews and comments regarding the implementation of the signing etype [1] . I believe I've taken into consideration what we've discussed earlier [2]. Let me know your thoughts.

Re: [PATCH 3/7] serial: msm: Always bind before relocation

2023-03-24 Thread Konrad Dybcio
On 24.03.2023 07:04, Sumit Garg wrote: > On Fri, 24 Mar 2023 at 07:27, Konrad Dybcio wrote: >> >> In preparation for supporting upstream Linux device trees on Qualcomm >> platforms, make this the default behavior. >> >> Signed-off-by: Konrad Dybcio >> --- >> >> drivers/serial/serial_msm.c |

Re: [PATCH v2 0/4] NFSv1 support

2023-03-24 Thread Christian Gmeiner
Hi Peter, > > > > This patch series adds support for NFSv1 and is more > > or less a rebased version of an older series. > > > > During V1 there was a discussion if it really makes sense > > to bring more features into the network stack of U-Boot as it > > is just a bootloader. As TCP support

Re: [PATCH 2/7] serial: msm: Match clocks through "clocks" property

2023-03-24 Thread Konrad Dybcio
On 24.03.2023 07:00, Sumit Garg wrote: > On Fri, 24 Mar 2023 at 06:10, Konrad Dybcio wrote: >> >> "clocks" is the standard property used in Linux, "clock" seems to be >> an U-Boot invention. Use the one that's more standardized. >> >> Signed-off-by: Konrad Dybcio >> --- >> >>

Re: [PATCH v2 0/4] NFSv1 support

2023-03-24 Thread Peter Robinson
On Fri, Mar 24, 2023 at 9:35 AM Christian Gmeiner wrote: > > Hi Peter, > > > > > > > This patch series adds support for NFSv1 and is more > > > or less a rebased version of an older series. > > > > > > During V1 there was a discussion if it really makes sense > > > to bring more features into the

[PATCH v6 0/4] J721E HS Fixes

2023-03-24 Thread Manorit Chawdhry
/j721e_hs_evm_r5_defconfig | 176 --- doc/board/ti/j721e_evm.rst | 43 8 files changed, 59 insertions(+), 392 deletions(-) --- base-commit: c84a00a647057d83ecfb081ca03c4865e4c1c1be change-id: 20230324-j721e-upstream-hs-4c2808548876 Best regards, -- Manorit Chawdhry

[PATCH v6 2/4] configs: j721e: Merge the HS and non-HS defconfigs

2023-03-24 Thread Manorit Chawdhry
K3 devices have runtime type board detection. Make the default defconfig include the secure configuration. Then remove the HS specific config. Non-HS devices will continue to boot due to runtime device type detection. If TI_SECURE_DEV_PKG is not set the build will emit warnings, for non-HS

[PATCH v6 3/4] Kconfig: j721e: Change K3_MCU_SCRATCHPAD_BASE to non firewalled region

2023-03-24 Thread Manorit Chawdhry
In non-combined boot flow for K3, all the firewalls are locked by default until sysfw comes up. Rom configures some of the firewall for its usage along with the SRAM for R5 but the PSRAM region is still locked. The K3 MCU Scratchpad for j721e was set to a PSRAM region triggering the firewall

[PATCH v6 1/4] arm: k3: config.mk: Add missing dependencies on tispl.bin HS

2023-03-24 Thread Manorit Chawdhry
From: Andrew Davis When building for secure devices using non-buildman based image generation the signed tispl.bin file is called tispl.bin_HS. Also build the unsigned tispl.bin file as expected. Signed-off-by: Andrew Davis Signed-off-by: Manorit Chawdhry --- arch/arm/mach-k3/config.mk | 2

Re: [PATCH u-boot-mvebu] arm: mvebu: Cleanup get_boot_device() code

2023-03-24 Thread Stefan Roese
Hi Pali, On 3/4/23 11:41, Pali Rohár wrote: Show correct information in debug() output and use correct names for variables. No functional change. Signed-off-by: Pali Rohár --- arch/arm/mach-mvebu/cpu.c | 13 - 1 file changed, 8 insertions(+), 5 deletions(-) diff --git

Re: [PATCH v2 1/3] starfive: pci: Add StarFive JH7110 pcie driver

2023-03-24 Thread Minda Chen
On 2023/3/24 2:19, Pali Rohár wrote: > On Thursday 23 March 2023 18:51:38 Minda Chen wrote: >> On 2023/3/11 1:42, Pali Rohár wrote: >> > On Friday 10 March 2023 18:36:44 Minda Chen wrote: >> >> On 2023/3/8 15:31, Pali Rohár wrote: >> >> > Hello! See few comments below. >> >> > >> >> > On

Re: [PATCH v6 0/7] fwu: gpt: implement read_mdata and write_mdata callbacks

2023-03-24 Thread Sughosh Ganu
On Tue, 7 Mar 2023 at 04:48, wrote: > > From: Jassi Brar > > The patchset reduces ~400 lines of code, while keeping the functionality same > and making > meta-data operations much faster (by using cached structures). > > Issue: > meta-data copies (primary and secondary) are being handled by

Please pull u-boot-marvell/next

2023-03-24 Thread Stefan Roese
Hi Tom, please pull the following Marvell MVEBU related patches into next: - mvebu: kwboot: Fix UART booting (Pali) - mvebu: doc: Misc updates / fixes (Pali) - kirkwood: Early init enhancements, e.g. for DEBUG UART (Pali & Tony) -

Pull request: rpi-2023.04

2023-03-24 Thread Peter Robinson
Hi Tom, Please pull the updates for the Raspberry Pi: - Fixes for booting newer revs of the SoC in the Raspberry Pi 4 - Propagate some firmware DT properties to the loaded DT - Update the Zero2W upstream DT name These would be useful to get into the 2023.04 release as they fix some issues with

Re: [PATCH u-boot-mvebu 0/5] mvebu: Fix UART booting

2023-03-24 Thread Stefan Roese
On 3/23/23 20:57, Pali Rohár wrote: This patch series contains kwboot fixes for booting non-UART-generated images over UART. Pali Rohár (5): tools: kwbimage: Fix invalid UART kwbimage v1 headersz tools: kwboot: Fix invalid UART kwbimage v1 headersz tools: kwboot: Fix inserting UART

Re: [PATCH u-boot-mvebu] tools: kwboot: Document information about NOR XIP

2023-03-24 Thread Stefan Roese
On 3/23/23 21:00, Pali Rohár wrote: Signed-off-by: Pali Rohár Applied to u-boot-marvell/next Thanks, Stefan --- tools/kwboot.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tools/kwboot.c b/tools/kwboot.c index 2b92966919da..db917708a8e8 100644 ---

Re: [PATCH 5/5] board: qualcomm: Add support for QRB4210-RB2

2023-03-24 Thread Tom Rini
On Fri, Mar 24, 2023 at 01:34:18PM +0530, Bhupesh Sharma wrote: > Add support for Qualcomm QRB4210-RB2 evaluation board > (based on Qualcomm QRB4210 SoC). > > Features: >- Qualcomm Snapdragon QRB4210 (Robotics version of SM6115 SoC). >- 2GiB RAM (on-board) [max: 8 GiB]. >- 16GiB

Re: [PATCH] arm: mvebu: Enable NAND flash for Thecus N2350 board

2023-03-24 Thread Stefan Roese
On 2/25/23 04:23, Tony Dinh wrote: Enable 512MB PXA3XX NAND flash when u-boot is running. Signed-off-by: Tony Dinh Applied to u-boot-marvell/next Thanks, Stefan --- configs/n2350_defconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configs/n2350_defconfig

Re: [PATCH u-boot-mvebu] ddr: marvell: a38x: Remove unused file seq_exec.h

2023-03-24 Thread Stefan Roese
On 3/4/23 13:26, Pali Rohár wrote: DDR code does not use seq_exec.h, so remove it. Signed-off-by: Pali Rohár Applied to u-boot-marvell/next Thanks, Stefan --- drivers/ddr/marvell/a38x/ddr3_init.h | 1 - drivers/ddr/marvell/a38x/seq_exec.h | 64 2 files

Re: [PATCH] arm: kirkwood: Enable Debug UART for Zyxel NSA310S

2023-03-24 Thread Stefan Roese
On 3/13/23 04:35, Tony Dinh wrote: It's useful to enable Debug UART for future DM Serial regression tests for Kirkwood boards. Also, see background discussion in this thread: https://lists.denx.de/pipermail/u-boot/2023-March/512010.html Signed-off-by: Tony Dinh Applied to

Re: [PATCH] powerpc: Suppress 'executable stack' warning at link

2023-03-24 Thread Tom Rini
On Fri, Mar 24, 2023 at 02:10:35PM +0100, Christophe Leroy wrote: > Following warning is observed at link. > > powerpc-linux-ld.bfd: warning: arch/powerpc/lib/reloc.o: missing > .note.GNU-stack section implies executable stack > powerpc-linux-ld.bfd: NOTE: This behaviour is deprecated and

Re: [PATCH 4/7] arch: snapdragon: clock: Always bind before relocation

2023-03-24 Thread Tom Rini
On Fri, Mar 24, 2023 at 11:36:24AM +0530, Sumit Garg wrote: > On Fri, 24 Mar 2023 at 07:27, Konrad Dybcio wrote: > > > > In preparation for supporting upstream Linux device trees on Qualcomm > > platforms, make this the default behavior. > > > > Signed-off-by: Konrad Dybcio > > --- > > > >

Re: [RESEND PATCH] arm: mvebu: Set common SPI flash default speed and mode

2023-03-24 Thread Stefan Roese
On 3/3/23 04:27, Tony Dinh wrote: CONFIG_SF_DEFAULT_SPEED is used in SPL SPI to configure and probe the flash device during DM SPI uclass probing process, if the spi-max-frequency is not available in the DTB. Currently the max frequency is not available, because of the probing mechanism in SPI

Re: [PATCH u-boot-mvebu] doc/kwboot.1: Update Armada 38x BootROM bug description

2023-03-24 Thread Stefan Roese
On 3/11/23 11:42, Pali Rohár wrote: Replace SPI-NOR by default boot source location as bug is not SPI-NOR related. Signed-off-by: Pali Rohár Applied to u-boot-marvell/next Thanks, Stefan --- doc/kwboot.1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/kwboot.1

Re: [PATCH RFC u-boot-mvebu] arm: kirkwood: Move internal registers in arch_very_early_init() function

2023-03-24 Thread Stefan Roese
On 3/11/23 11:57, Pali Rohár wrote: Same change as was done for mvebu in commit 5bb2c550b11e ("arm: mvebu: Move internal registers in arch_very_early_init() function") but for kirkwood. Signed-off-by: Pali Rohár Applied to u-boot-marvell/next Thanks, Stefan --- Hello! Please test this RFC

[PATCH 2/2] rockchip: video: Add support for RK3568 DSI Host

2023-03-24 Thread Chris Morgan
From: Chris Morgan Add support for DSI Host controller on Rockchip RK3568. This driver is heavily based on the Rockchip dw_mipi_dsi_rockchip.c driver in Linux and the stm32_dsi.c driver in U-Boot. It should be easy to add support for other SoCs as the only missing component from the mainline

[PATCH 0/2] rockchip: Add DSI support for RK3568

2023-03-24 Thread Chris Morgan
From: Chris Morgan This patch series is to add DSI support for the RK3568 SoC. DSI and DSI-DPHY support is needed in my use case so that I may read the panel ID via DSI commands prior to loading Linux in order to differentiate between different panels and correct the device tree. The drivers

[PATCH] doc: sandbox: replace sgdisk input with options

2023-03-24 Thread Corentin Guillevic
The input provided to sgdisk is in fact aimed for sfdisk. The use of sgdisk and sfdisk, coming from different projects, is not the same. So, this commit translates the sfdisk-formatted input into sgdisk-compatible options. Partitions are not modified. Signed-off-by: Corentin Guillevic ---

[PATCH v2 3/3] arm: mvebu: clearfog: Detect MMC vs SDHC and fixup fdt

2023-03-24 Thread Martin Rowe
[upstream of vendor commit 19a96f7c40a8fc1d0a6546ac2418d966e5840a99] The Clearfog devices have only one SDHC device. This is either eMMC if it is populated on the SOM or SDHC if not. The Linux device tree assumes the SDHC case. Detect if the device is an eMMC and fixup the device-tree so it will

[PATCH v2 1/3] arm: mvebu: clearfog: Fix MMC detection

2023-03-24 Thread Martin Rowe
A388 Clearfog MMC is either SD Card or eMMC with different behaviour for both. Setting the device to non-removable in the u-boot.dtsi allows both to correctly detect the device. Signed-off-by: Martin Rowe --- arch/arm/dts/armada-388-clearfog-u-boot.dtsi | 1 + 1 file changed, 1 insertion(+)

[PATCH v2 2/3] arm: mvebu: clearfog: Add defconfig for SPI booting

2023-03-24 Thread Martin Rowe
This new clearfog_spi_defconfig file is a copy of existing clearfog_defconfig file modified to instruct build system to generate final kwbimage for SPI booting and to store the environment in SPI. Signed-off-by: Martin Rowe --- configs/{clearfog_defconfig => clearfog_spi_defconfig} | 2 +- 1

[PATCH v2 0/3] arm: mvebu: clearfog: defconfig and eMMC updates

2023-03-24 Thread Martin Rowe
Minor defconfig and eMMC updates for SolidRun's A388 Clearfog devices. Changes since v1: - Omitted defconfig canonicalization changes - Removed unneeded defconfig changes - Set non-removable in u-boot dtsi instead of MMC_BROKEN_CD - Reworked FDT patch logic Changes since initial discussion:

[v4 4/7] boot: Create a common BOOT_DEFAULTS for distro and bootstd

2023-03-24 Thread Tom Rini
From: Simon Glass These two features use a lot of common options. Move them into a common CONFIG to reduce duplication. Use 'select' for most options since these are things that boards aren't supposed to override. For now it is not possible to disable BOOT_DEFAULTS but we may take another look

[v4 0/7] Fix Rockchip RK3399 bootstd migration

2023-03-24 Thread Tom Rini
Hey all, I took a look at Simon's v3 series to fix the rk3399 bootstd migration, and it changed too much for everything else. I took about half of that series and then reworked a few things. Now only rk3399 platforms change at all and aside from bootcmd changes, the only thing is they now disable

[PATCH 1/2] drivers: phy: add Innosilicon DSI-DPHY driver

2023-03-24 Thread Chris Morgan
From: Chris Morgan Add support for the Innosilicon DSI-DPHY driver for Rockchip SOCs. The driver was ported from Linux and tested on a Rockchip RK3566 based device to query the panel ID via a DSI command. Signed-off-by: Chris Morgan --- drivers/phy/rockchip/Kconfig | 8 +

[v4 5/7] rockchip: Disable DISTRO_DEFAULTS for rk3399 boards

2023-03-24 Thread Tom Rini
From: Simon Glass These board have moved to standard boot but the old 'distro_bootcmd' command is still active. Disable DISTRO_DEFAULTS to fix this. Signed-off-by: Simon Glass Tested-by: Vagrant Cascadian --- Changes in v4: None. --- arch/arm/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1

Re: Bug#1033301: linux: arm64 kernel size increased from 31 to 39 MB, causing u-boot-rpi to fail

2023-03-24 Thread Vagrant Cascadian
Adding u-boot maintainers for rpi (Matthias Brugger, Peter Robinson) platforms and u-boot list to CC. On 2023-03-22, Salvatore Bonaccorso wrote: > Thanks for tracking this down. I would like to loop in Masahiro and > upstream to see if something can/should be done on upstream side. > > Masahiro,

Re: [v4 5/7] rockchip: Disable DISTRO_DEFAULTS for rk3399 boards

2023-03-24 Thread Vagrant Cascadian
On 2023-03-24, Tom Rini wrote: > These board have moved to standard boot but the old 'distro_bootcmd' > command is still active. Disable DISTRO_DEFAULTS to fix this. I successfully tested the v4 series against v2023.04-rc4 on rockpro64-rk3399 and pinebook-pro-rk3399, and for good measure

[v4 2/7] Move DISTRO_DEFAULTS into boot/

2023-03-24 Thread Tom Rini
From: Simon Glass This relates to booting so move it in to that Kconfig file, before changing it. Signed-off-by: Simon Glass --- Changes in v4: None. --- Kconfig | 27 --- boot/Kconfig | 27 +++ 2 files changed, 27 insertions(+), 27

[v4 1/7] rockchip: Drop bootstage stash in TPL and SPL for rockpro64

2023-03-24 Thread Tom Rini
From: Simon Glass Unfortunately the IRAM used to stash the bootstage records in TPL becomes inaccessible after SPL runs. Presumably this is because of ATF taking it over. We could move the stash to another address in SPL, before passing it to U-Boot proper. But it seems easier to wait until we

[v4 3/7] lmb: Enable LMB if SYS_BOOT_RAMDISK_HIGH

2023-03-24 Thread Tom Rini
From: Simon Glass Ramdisk relocation requires LMB, so enable it automatically to avoid build errors. Signed-off-by: Simon Glass --- Changes in v4: None. --- boot/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/boot/Kconfig b/boot/Kconfig index 170ab63f27dc..8fa3181d7e23 100644 ---

[v4 7/7] rockchip: rk3399: Drop altbootcmd

2023-03-24 Thread Tom Rini
The defined altbootcmd was specific to distro_bootcmd which is not longer in use on these platforms, so drop it. Signed-off-by: Tom Rini --- Changes in v4: - New patch Cc: Kever Yang Cc: Simon Glass Cc: Jonas Karlman --- include/configs/rk3399_common.h | 5 + 1 file changed, 1

[v4 6/7] rockchip: Use BOOTSTD_DEFAULTS if not DISTRO_DEFAULTS

2023-03-24 Thread Tom Rini
When we do not enable DISTRO_DEFAULTS (generally, to get distro_bootcmd) we instea do want to imply BOOTSTD_DEFAULTS so that when using bootstd the general distro boot functionality will still work. Signed-off-by: Tom Rini --- Changes in v4: - New patch --- arch/arm/Kconfig | 1 + 1 file

Re: Pull request: rpi-2023.04

2023-03-24 Thread Tom Rini
On Fri, Mar 24, 2023 at 03:14:28PM +, Peter Robinson wrote: > Hi Tom, > > Please pull the updates for the Raspberry Pi: > - Fixes for booting newer revs of the SoC in the Raspberry Pi 4 > - Propagate some firmware DT properties to the loaded DT > - Update the Zero2W upstream DT name > >

Re: [PATCH v2 0/4] NFSv1 support

2023-03-24 Thread Peter Robinson
On Fri, Mar 24, 2023 at 10:42 AM Christian Gmeiner wrote: > > Hi Peter, > > Am Fr., 24. März 2023 um 11:10 Uhr schrieb Peter Robinson > : > > > > On Fri, Mar 24, 2023 at 9:35 AM Christian Gmeiner > > wrote: > > > > > > Hi Peter, > > > > > > > > > > > > > This patch series adds support for NFSv1

Re: [PATCH v1 0/5] Add Ethernet driver for StarFive JH7110 SoC

2023-03-24 Thread Torsten Duwe
On Fri, 17 Mar 2023 09:05:31 +0800 Yanhong Wang wrote: > This series adds ethernet support for the StarFive JH7110 RISC-V SoC. > The series includes PHY and MAC drivers. The PHY model is > YT8531 (from Motorcomm Inc), and the MAC version is dwmac-5.20 > (from Synopsys DesignWare). > > The

Re: [PATCH 1/7] mmc: msm_sdhci: Match clocks through "clocks" property

2023-03-24 Thread Bhupesh Sharma
Hi Konrad, On Fri, 24 Mar 2023 at 06:10, Konrad Dybcio wrote: > > "clocks" is the standard property used in Linux, "clock" seems to be > an U-Boot invention. Use the one that's more standardized. > > Signed-off-by: Konrad Dybcio > --- > > drivers/mmc/msm_sdhci.c | 2 +- > 1 file changed, 1

[PATCH 0/5] New boards support: Qualcomm RB2 board

2023-03-24 Thread Bhupesh Sharma
Add initial support for Qualcomm RB2 robotics board (see [1]). It is based on the Robotics version of the Snapdragon SM4250 Soc, i.e. QRB4210. Currently it supports standard u-boot and booting upstream linux kernel Subsequent patchset(s) will add more peripherals like USB, uSD card etc. As with

[PATCH 5/5] board: qualcomm: Add support for QRB4210-RB2

2023-03-24 Thread Bhupesh Sharma
Add support for Qualcomm QRB4210-RB2 evaluation board (based on Qualcomm QRB4210 SoC). Features: - Qualcomm Snapdragon QRB4210 (Robotics version of SM6115 SoC). - 2GiB RAM (on-board) [max: 8 GiB]. - 16GiB eMMC, uSD slot. U-boot is chain loaded by ABL in 64-bit mode as part of boot.img.

[PATCH 1/5] dt-bindings: clock: Import qcom,gcc-sm6115.h

2023-03-24 Thread Bhupesh Sharma
Import qcom,gcc-sm6115.h from Linux to allow standard macros to be used as clock ids. Signed-off-by: Bhupesh Sharma --- include/dt-bindings/clock/qcom,gcc-sm6115.h | 201 1 file changed, 201 insertions(+) create mode 100644 include/dt-bindings/clock/qcom,gcc-sm6115.h diff

[PATCH 2/5] clocks: qcom: Add clock driver for SM6115 SoC

2023-03-24 Thread Bhupesh Sharma
Currently the SM6115 clock driver initializes clocks for debug UART only. Along with this import "qcom,gcc-sm6115.h" header from Linux mainline to support DT bindings. Signed-off-by: Bhupesh Sharma --- arch/arm/mach-snapdragon/Makefile| 1 +

[PATCH 3/5] reset: qcom: Add support for SM6115 SoC reset table

2023-03-24 Thread Bhupesh Sharma
Signed-off-by: Bhupesh Sharma --- drivers/reset/reset-qcom.c | 18 ++ 1 file changed, 18 insertions(+) diff --git a/drivers/reset/reset-qcom.c b/drivers/reset/reset-qcom.c index 94315e76d5..046d2c083b 100644 --- a/drivers/reset/reset-qcom.c +++ b/drivers/reset/reset-qcom.c @@

[PATCH 4/5] pinctrl: qcom: Add pinctrl driver for SM6115 SoC

2023-03-24 Thread Bhupesh Sharma
Currently this pinctrl driver only supports debug UART specific pin configuration. Signed-off-by: Bhupesh Sharma --- arch/arm/mach-snapdragon/Makefile | 1 + .../arm/mach-snapdragon/pinctrl-qrb4210-rb2.c | 59 +++ arch/arm/mach-snapdragon/pinctrl-snapdragon.c | 1 +

[PATCH] spi: Kconfig: add dependency on CONFIG_MPC85xx for FSL_ESPI entry

2023-03-24 Thread Corentin Guillevic
The Freescale ESPI driver (CONFIG_FSL_ESPI) relies to the MPC85xx platform (PowerPC) through arch/powerpc/include/asm/immap_85xx.h. The driver can't compile on another architecture/platform. Signed-off-by: Corentin Guillevic --- drivers/spi/Kconfig | 1 + 1 file changed, 1 insertion(+) diff

Re: No USB with CM4 module

2023-03-24 Thread Charles Steinkuehler
I use U-Boot with the CM4 and had to apply a minor patch to get USB working. I also have a patch which copies some of the firmware modified device-tree into a U-Boot loaded device tree you may find helpful: https://github.com/cdsteinkuehler/br2rauc/tree/master/patches/uboot I also got a list

Re: [PATCH v2 0/4] NFSv1 support

2023-03-24 Thread Christian Gmeiner
Hi Peter > > > > Hi Peter, > > > > Am Fr., 24. März 2023 um 11:10 Uhr schrieb Peter Robinson > > : > > > > > > On Fri, Mar 24, 2023 at 9:35 AM Christian Gmeiner > > > wrote: > > > > > > > > Hi Peter, > > > > > > > > > > > > > > > > This patch series adds support for NFSv1 and is more > > > > > >

[PATCH] powerpc: Suppress 'executable stack' warning at link

2023-03-24 Thread Christophe Leroy
Following warning is observed at link. powerpc-linux-ld.bfd: warning: arch/powerpc/lib/reloc.o: missing .note.GNU-stack section implies executable stack powerpc-linux-ld.bfd: NOTE: This behaviour is deprecated and will be removed in a future version of the linker Add -zexecstack to

Re: [PATCH v2 0/4] NFSv1 support

2023-03-24 Thread Peter Robinson
On Fri, Mar 24, 2023 at 1:05 PM Christian Gmeiner wrote: > > Hi Peter > > > > > > > Hi Peter, > > > > > > Am Fr., 24. März 2023 um 11:10 Uhr schrieb Peter Robinson > > > : > > > > > > > > On Fri, Mar 24, 2023 at 9:35 AM Christian Gmeiner > > > > wrote: > > > > > > > > > > Hi Peter, > > > > > > >