Re: [PATCH v1 0/2] arm64: Fix building failure for Xen target

2023-05-17 Thread Leo Yan
On Thu, May 04, 2023 at 03:54:57PM +0800, Leo Yan wrote: > This patch series is for building Xen target with Clang. > > The first patch is to fix building failure for Xen target, the second > patch is to add info for a linkage known issue when use Clang as > compiler. Gentle ping ... I saw my

Re: [PATCH v2 4/9] pci: pcie_dw_rockchip: Speed up link probe

2023-05-17 Thread Kever Yang
On 2023/5/18 06:53, Jonas Karlman wrote: Use a similar pattern and delay values as the linux mainline driver to speed up failing when nothing is connected. Reduce fail speed from around 5+ seconds down to around one second on a Radxa ROCK 3 Model A, where pcie2x1 is probed before pcie3x2 M2

Re: [PATCH v2 3/9] pci: pcie_dw_rockchip: Use regulator_set_enable_if_allowed

2023-05-17 Thread Kever Yang
Hi Jonas, On 2023/5/18 06:53, Jonas Karlman wrote: The vpcie3v3 regulator is typically a fixed regulator controlled using gpio. Change to use enable and disable calls on the regulator instead of trying to set a voltage value. Also remove the delay to match linux driver, for a fixed regulator

Re: [PATCH v2 1/9] core: read: add dev_read_addr_size_index_ptr function

2023-05-17 Thread Kever Yang
On 2023/5/18 06:53, Jonas Karlman wrote: Add dev_read_addr_size_index_ptr function with the same functionality as dev_read_addr_size_index, but instead a return pointer is given. Use map_sysmem() function as cast for the return. Signed-off-by: Jonas Karlman Reviewed-by: Kever Yang Thanks,

[PATCH] [u-boot, v2023.05-aspeed-openbmc] ARM: dts: aspeed: add Meta greatlakes board (AST2600)

2023-05-17 Thread Delphine CC Chiu
Add initial version of device tree for Meta Greatlakes BMC which is equipped with Aspeed AST2600 BMC SoC. Signed-off-by: Delphine CC Chiu --- arch/arm/dts/Makefile | 1 + arch/arm/dts/ast2600-greatlakes.dts | 205 ++

[PATCH] ARM: dts: aspeed: add Meta greatlakes board (AST2600)

2023-05-17 Thread Delphine CC Chiu
From: Delphine CC Chiu Add initial version of device tree for Meta Greatlakes BMC which is equipped with Aspeed AST2600 BMC SoC. Signed-off-by: Delphine CC Chiu --- arch/arm/dts/Makefile | 1 + arch/arm/dts/ast2600-greatlakes.dts | 191 ++

Re: [PATCH 2/2] configs: rock5b-rk3588: add rtl8169 driver

2023-05-17 Thread Kever Yang
On 2023/4/25 21:06, Eugen Hristev wrote: Add the rtl8169 driver, which supports the rtl8125b device, which is connected on the pciE bus on this board. Enable also CONFIG_SYS_HAS_NONCACHED_MEMORY to have the descriptors stored. Signed-off-by: Eugen Hristev Reviewed-by: Kever Yang Thanks, -

Re: [PATCH] rockchip: Pinebook Pro: Fix emmc default configuration

2023-05-17 Thread Kever Yang
On 2023/5/1 15:43, Wolfgang Zarre wrote: If u-boot is installed on the internal emmc, then this will allow to boot without failure. Signed-off-by: Wolfgang Zarre Reviewed-by: Kever Yang Thanks, - Kever --- configs/pinebook-pro-rk3399_defconfig | 12 ++-- 1 file changed, 10

Re: [PATCH v2 13/13] rockchip: rk3588-rock-5b: Enable boot from SPI NOR flash

2023-05-17 Thread Kever Yang
Hi Jonas, On 2023/5/18 02:26, Jonas Karlman wrote: Add sfc and flash node to device tree and config options to enable support for booting from SPI NOR flash on Radxa ROCK 5 Model B. Signed-off-by: Jonas Karlman Reviewed-by: Kever Yang --- v2: - Add and use BROM_BOOTSOURCE_SPINOR_RK3588 enum

Re: [PATCH v6] configs: rockchip: rock5b-rk3588: enable USB and regulators

2023-05-17 Thread Jonas Karlman
Hi Eugen, On 2023-05-17 12:34, Eugen Hristev wrote: > On 5/17/23 12:38, Kever Yang wrote: >> Hi Eugen, >> >> Applied, thanks. >> >> >> - Kever >> > > Hi Kever, > > Any other patches that you wish me to resend ? > > Also, Jonas, > > I have one thing in my tree that may be already sent by you,

[PATCH v2 9/9] rockchip: rk356x: Update PCIe config, IO and memory regions

2023-05-17 Thread Jonas Karlman
Update config, IO and memory regions used based on [1] with pcie3x2 config reg address and reg size corrected. Before this change: PCI Autoconfig: Bus Memory region: [0-3eef], PCI Autoconfig: Bus I/O region: [3ef0-3eff], After this change: PCI Autoconfig: Bus Memory region:

[PATCH v2 8/9] rockchip: rk3568-rock-3a: Enable PCIe and NVMe support

2023-05-17 Thread Jonas Karlman
Add missing pinctrl and defconfig options to enable PCIe and NVMe support on Radxa ROCK 3 Model A. Use of pcie20m1_pins and pcie30x2m1_pins ensure IO mux selection M1. The following pcie_reset_h and pcie3x2_reset_h ensure GPIO func is restored to the perstn pin, a workaround to avoid having to

[PATCH v2 7/9] rockchip: clk: clk_rk3568: Add CLK_PCIEPHY2_REF support

2023-05-17 Thread Jonas Karlman
Add dummy support for the CLK_PCIEPHY2_REF clock. Signed-off-by: Jonas Karlman Reviewed-by: Kever Yang --- v2: - Collect r-b tag drivers/clk/rockchip/clk_rk3568.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/clk/rockchip/clk_rk3568.c b/drivers/clk/rockchip/clk_rk3568.c index

[PATCH v2 5/9] pci: pcie_dw_rockchip: Hide BARs of the root complex

2023-05-17 Thread Jonas Karlman
PCI Autoconfig read the Root Complex BARs and try to claim the entire 1 GiB memory region on RK3568, leaving no space for any attached device. With a memory region less than 1 GiB this was not a real issue: PCI Autoconfig: Bus Memory region: [0-3eef], PCI Autoconfig: Bus I/O region:

[PATCH v2 6/9] regulator: fixed: Add support for gpios prop

2023-05-17 Thread Jonas Karlman
The commit 12df2c182ccb ("regulator: dt-bindings: fixed-regulator: allow gpios property") in linux v6.3-rc1 added support for use of either a gpios or gpio prop with a fixed-regulator. This adds support for the new gpios prop to the fixed-regulator driver. gpios prop is used by

[PATCH v2 4/9] pci: pcie_dw_rockchip: Speed up link probe

2023-05-17 Thread Jonas Karlman
Use a similar pattern and delay values as the linux mainline driver to speed up failing when nothing is connected. Reduce fail speed from around 5+ seconds down to around one second on a Radxa ROCK 3 Model A, where pcie2x1 is probed before pcie3x2 M2 slot. Signed-off-by: Jonas Karlman --- v2: -

[PATCH v2 2/9] pci: pcie_dw_rockchip: Get config region from reg prop

2023-05-17 Thread Jonas Karlman
Get the config region to use from the reg prop. Also update the referenced region index used in comment. Signed-off-by: Jonas Karlman Reviewed-by: Kever Yang --- v2: - Use dev_read_addr_size_index_ptr - Collect r-b tag drivers/pci/pcie_dw_common.c | 10 ++

[PATCH v2 3/9] pci: pcie_dw_rockchip: Use regulator_set_enable_if_allowed

2023-05-17 Thread Jonas Karlman
The vpcie3v3 regulator is typically a fixed regulator controlled using gpio. Change to use enable and disable calls on the regulator instead of trying to set a voltage value. Also remove the delay to match linux driver, for a fixed regulator the startup-delay-us prop can be used in case a startup

[PATCH v2 1/9] core: read: add dev_read_addr_size_index_ptr function

2023-05-17 Thread Jonas Karlman
Add dev_read_addr_size_index_ptr function with the same functionality as dev_read_addr_size_index, but instead a return pointer is given. Use map_sysmem() function as cast for the return. Signed-off-by: Jonas Karlman --- v2: - New patch drivers/core/read.c | 11 +++ include/dm/read.h

[PATCH v2 0/9] rockchip: Fix PCIe and NVMe support on RK3568

2023-05-17 Thread Jonas Karlman
This series fixes and enables PCIe and NVMe support on RK3568. Patch 1 adds a dev_read_addr_size_index_ptr function. Patch 2-3 fixes main issue in the driver to be usable on RK3568. Patch 4 fixes a long wait time during probe when no device is attached. Patch 5 hides BARs of the root complex that

[PATCH] ARM: stm32: Power cycle Buck3 in reset on DHSOM

2023-05-17 Thread Marek Vasut
In case the DHSOM is in suspend state and either reset button is pushed or IWDG2 triggers a watchdog reset, then DRAM initialization could fail as follows: " RAM: DDR3L 32bits 2x4Gb 533MHz DDR invalid size : 0x4, expected 0x4000 DRAM init failed: -22 ### ERROR ### Please RESET the

Re: U-Boot OMAP GPMC ECC change

2023-05-17 Thread Colin Foster
Hi Roger, Thanks for the tests. I attached the files and commented in line... but at the bottom of this email I have some findings... On Wed, May 17, 2023 at 04:30:55PM +0300, Roger Quadros wrote: > Hi Colin, > > I just tested this on AM335x EVM which uses BCH8_CODE_HW but 8-bit NAND part. > I

Re: [PATCH v2 5/5] rockchip: rockpro64: Build u-boot-rockchip-spi.bin

2023-05-17 Thread Jonas Karlman
Hi Peter, On 2023-05-17 21:14, Peter Robinson wrote: > On Wed, May 17, 2023 at 7:41 PM Jonas Karlman wrote: >> >> Enable CONFIG_ROCKCHIP_SPI_IMAGE to build u-boot-rockchip-spi.bin. >> Define CONFIG_SYS_SPI_U_BOOT_OFFS to write u-boot.itb at the expected > > None of the other rk33* devices

Re: [PATCH v2 3/5] rockchip: rockpro64: Use SDMA to boost eMMC performance

2023-05-17 Thread Jonas Karlman
Hi Peter, On 2023-05-17 21:07, Peter Robinson wrote: > On Wed, May 17, 2023 at 7:41 PM Jonas Karlman wrote: >> >> Enable the use of SDMA mode to boost eMMC performance on RockPro64. >> Also add missing flags to indicate the supported MMC modes. >> >> Using mmc read command to read 32 MiB data

Re: [PATCH v2 0/5] rockchip: Fix eMMC performance regression

2023-05-17 Thread Jonas Karlman
Hi Peter, On 2023-05-17 21:05, Peter Robinson wrote: > On Wed, May 17, 2023 at 7:40 PM Jonas Karlman wrote: >> >> The eMMC performance on RK3399 was reduced sigificant by the >> commit 2cc6cde647e2 ("mmc: rockchip_sdhci: Limit number of blocks read >> in a single command"). >> >> That workaround

Re: [PATCH v2 5/5] rockchip: rockpro64: Build u-boot-rockchip-spi.bin

2023-05-17 Thread Peter Robinson
On Wed, May 17, 2023 at 7:41 PM Jonas Karlman wrote: > > Enable CONFIG_ROCKCHIP_SPI_IMAGE to build u-boot-rockchip-spi.bin. > Define CONFIG_SYS_SPI_U_BOOT_OFFS to write u-boot.itb at the expected None of the other rk33* devices enable this offset yet my Pinebook Pro works fine booting from SPI

Re: [PATCH v2 3/5] rockchip: rockpro64: Use SDMA to boost eMMC performance

2023-05-17 Thread Peter Robinson
On Wed, May 17, 2023 at 7:41 PM Jonas Karlman wrote: > > Enable the use of SDMA mode to boost eMMC performance on RockPro64. > Also add missing flags to indicate the supported MMC modes. > > Using mmc read command to read 32 MiB data shows following improvement: > > => time mmc read 1000

Re: [PATCH v2 0/5] rockchip: Fix eMMC performance regression

2023-05-17 Thread Peter Robinson
On Wed, May 17, 2023 at 7:40 PM Jonas Karlman wrote: > > The eMMC performance on RK3399 was reduced sigificant by the > commit 2cc6cde647e2 ("mmc: rockchip_sdhci: Limit number of blocks read > in a single command"). > > That workaround should only have been applied to RK3568 and RK3588. > This

Re: Pull Request / Patch: Enable Usage of ECC with DDR on AM654x

2023-05-17 Thread Roytburd, Benjamin
Enabling ECC has not given me any problems in running my applications, I have even performed poison tests with SECDED that have been effective. No problems besides the increased boot time due to priming are occurring. But agreed, for a patch we should definitely use DMA as opposed to a for

[PATCH v2 4/5] rockchip: rock-pi-4: Use SDMA to boost eMMC performance

2023-05-17 Thread Jonas Karlman
Enable the use of SDMA mode to boost eMMC performance on ROCK Pi 4. Also add missing flags to indicate the supported MMC modes. Using mmc read command to read 32 MiB data shows following improvement: => time mmc read 1000 2000 1 Before: time: 3.178 seconds After: time: 0.402 seconds

[PATCH v2 5/5] rockchip: rockpro64: Build u-boot-rockchip-spi.bin

2023-05-17 Thread Jonas Karlman
Enable CONFIG_ROCKCHIP_SPI_IMAGE to build u-boot-rockchip-spi.bin. Define CONFIG_SYS_SPI_U_BOOT_OFFS to write u-boot.itb at the expected offset. Enable CONFIG_LTO to reduce size of SPL so that the mkimage output fit before the 0x6 offset in u-boot-rockchip-spi.bin. => sf probe SF:

[PATCH v2 3/5] rockchip: rockpro64: Use SDMA to boost eMMC performance

2023-05-17 Thread Jonas Karlman
Enable the use of SDMA mode to boost eMMC performance on RockPro64. Also add missing flags to indicate the supported MMC modes. Using mmc read command to read 32 MiB data shows following improvement: => time mmc read 1000 2000 1 Before: time: 3.178 seconds After: time: 0.402 seconds

[PATCH v2 2/5] mmc: rockchip_sdhci: Disable DMA mode using a device tree property

2023-05-17 Thread Jonas Karlman
Loading part of TF-A into SRAM from eMMC using DMA fails on RK3399 similar to other Rockchip SoCs. Checksum validation fails with: ## Checking hash(es) for Image atf-2 ... sha256 error! Bad hash value for 'hash' hash node in 'atf-2' image node spl_load_simple_fit: can't load image loadables

[PATCH v2 1/5] mmc: rockchip_sdhci: Skip blocks read workaround on RK3399

2023-05-17 Thread Jonas Karlman
The workaround to limit number of blocks to read in a single command should only be applied to RK3568 and RK3588. Change to be more strict when to apply the workaround. Fixes: 2cc6cde647e2 ("mmc: rockchip_sdhci: Limit number of blocks read in a single command") Suggested-by: Simon Glass

[PATCH v2 0/5] rockchip: Fix eMMC performance regression

2023-05-17 Thread Jonas Karlman
The eMMC performance on RK3399 was reduced sigificant by the commit 2cc6cde647e2 ("mmc: rockchip_sdhci: Limit number of blocks read in a single command"). That workaround should only have been applied to RK3568 and RK3588. This series fixes that and also help boost eMMC performance on two RK3399

Re: Pull Request / Patch: Enable Usage of ECC with DDR on AM654x

2023-05-17 Thread Nishanth Menon
On 14:23-20230505, Roytburd, Benjamin wrote: > Nishanth, > Gentle reminder: Please do not top post - email etiquette in upstream mailing as well as please do not use flowed formatting. See [1] (I use neomutt personally with 70 char line break) > Agreed, this is very expensive for boot time, I

[PATCH v2 13/13] rockchip: rk3588-rock-5b: Enable boot from SPI NOR flash

2023-05-17 Thread Jonas Karlman
Add sfc and flash node to device tree and config options to enable support for booting from SPI NOR flash on Radxa ROCK 5 Model B. Signed-off-by: Jonas Karlman Reviewed-by: Kever Yang --- v2: - Add and use BROM_BOOTSOURCE_SPINOR_RK3588 enum value - Rebased to resolve conflicts - Collect r-b tag

[PATCH v2 12/13] rockchip: rk3588-rock-5b: Add bootph prop to pinctrl for uart2 and sdhci

2023-05-17 Thread Jonas Karlman
Enable pinctrl for sdhci in SPL to support loading of FIT image from SD and eMMC storage when booting from SPI NOR flash. Signed-off-by: Jonas Karlman Reviewed-by: Kever Yang --- v2: - Reorder nodes alphabetically - Rebased to resolve conflicts - Collect r-b tag

[PATCH v2 10/13] rockchip: rk3588-evb: Update defconfig

2023-05-17 Thread Jonas Karlman
Update defconfig for rk3588-evb with new defaults. Add CONFIG_SPL_FIT_SIGNATURE=y to let SPL verify an auto generated hash of FIT images. This help indicate if there is an issue loading any of the images to DRAM or SRAM. Extend SPL_MAX_SIZE to 0x4, SPL is loaded to 0x0 and TF-A is loaded to

[PATCH v2 11/13] rockchip: rk3588-rock-5b: Update defconfig

2023-05-17 Thread Jonas Karlman
Update defconfig for rk3588-rock-5b with new defaults. Remove the SPL_ROCKCHIP_BACK_TO_BROM=y option, SPL is expected to load next stage from a FIT image and then jump to next stage not back to BootRom. Extend SPL_MAX_SIZE to 0x4, SPL is loaded to 0x0 and TF-A is loaded to 0x4, use the

[PATCH v2 09/13] rockchip: rk3588: Select DM_RESET and DM_REGULATOR_FIXED in arch Kconfig

2023-05-17 Thread Jonas Karlman
Like other Rockchip SoCs, DM_RESET and DM_REGULATOR_FIXED is useful across RK3588 platform. Select them from arch Kconfig. Signed-off-by: Jonas Karlman Reviewed-by: Kever Yang --- v2: - Rsync using moveconfig.py - Rebased to resolve conflicts - Collect r-b tag arch/arm/mach-rockchip/Kconfig

[PATCH v2 07/13] rockchip: rk3568-rock-3a: Use pinctrl for sdmmc and sdhci in SPL

2023-05-17 Thread Jonas Karlman
Enable pinctrl for sdmmc and sdhci in SPL to support loading of FIT image from SD and eMMC storage when booting from SPI NOR flash. Signed-off-by: Jonas Karlman Reviewed-by: Kever Yang --- v2: - Use bootph-all in pinctrl nodes - Reorder nodes alphabetically - Collect r-b tag

[PATCH v2 08/13] rockchip: rk3568-rock-3a: Enable boot from SPI NOR flash

2023-05-17 Thread Jonas Karlman
Add sfc and flash node to device tree and config options to enable support for booting from SPI NOR flash on Radxa ROCK 3 Model A. Unlike prior generation SoCs the BootRom in RK3568 can read all data and look for idbloader at 0x8000, same as on SD and eMMC. Use the rksd format and modify the

[PATCH v2 06/13] rockchip: rk3568-rock-3a: Update defconfig

2023-05-17 Thread Jonas Karlman
Update defconfig for rk3568-rock-3a with new defaults. Remove the SPL_ROCKCHIP_BACK_TO_BROM=y option, SPL is expected to load next stage from a FIT image and then jump to next stage not back to BootRom. Add CONFIG_SPL_FIT_SIGNATURE=y to let SPL verify an auto generated hash of FIT images. This

[PATCH v2 05/13] rockchip: rk3568-evb: Update defconfig

2023-05-17 Thread Jonas Karlman
Update defconfig for rk3568-evb with new defaults. Remove the SPL_ROCKCHIP_BACK_TO_BROM=y option, SPL is expected to load next stage from a FIT image and then jump to next stage not back to BootRom. Add CONFIG_SPL_FIT_SIGNATURE=y to let SPL verify an auto generated hash of FIT images. This help

[PATCH v2 04/13] rockchip: rk3566-radxa-cm3-io: Use pinctrl for sdmmc and sdhci in SPL

2023-05-17 Thread Jonas Karlman
Enable pinctrl for sdmmc and sdhci in SPL to support loading of FIT image from SD and eMMC storage when booting from SPI NOR flash. Signed-off-by: Jonas Karlman Reviewed-by: Kever Yang --- v2: - Use bootph-all in pinctrl nodes - Reorder nodes alphabetically - Collect r-b tag

[PATCH v2 03/13] rockchip: rk3566-radxa-cm3-io: Update defconfig

2023-05-17 Thread Jonas Karlman
Update defconfig for rk3566-radxa-cm3-io with new defaults. Also add missing supported mmc modes to sdhci node. Remove the SPL_ROCKCHIP_BACK_TO_BROM=y option, SPL is expected to load next stage from a FIT image and then jump to next stage not back to BootRom. Add CONFIG_SPL_FIT_SIGNATURE=y to

[PATCH v2 01/13] spi: rockchip_sfc: Use linux rockchip,sfc-no-dma prop

2023-05-17 Thread Jonas Karlman
Use the same prop as linux to control the use of fifo or dma mode. Also add a u-boot,spl-sfc-no-dma prop to control the same in SPL. Signed-off-by: Jonas Karlman Reviewed-by: Kever Yang --- v2: - Use IS_ENABLED(CONFIG_SPL_BUILD) instead of ifdef - Collect r-b tag drivers/spi/rockchip_sfc.c |

[PATCH v2 00/13] rockchip: rk35xx: Update defconfigs and enable boot from SPI NOR flash

2023-05-17 Thread Jonas Karlman
This series sync some defconfig options across the different rk35xx boards and enables boot from SPI NOR flash on rk3568-rock-3a and rk3588-rock-5b. Patch 1 fixes use of sfc-no-dma prop in rockchip sfc driver. Patch 2-7 updates defconfig for rk356x boards. Patch 8 enables boot from SPI NOR flash

[PATCH v2 02/13] rockchip: rk356x-u-boot: Add xin24m clock node to SPL

2023-05-17 Thread Jonas Karlman
Add bootph-all prop to xin24m clock node, it is referenced by cru node. Signed-off-by: Jonas Karlman Reviewed-by: Kever Yang --- v2: - Collect r-b tag arch/arm/dts/rk356x-u-boot.dtsi | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/dts/rk356x-u-boot.dtsi

Re: [External] : Re: [PATCH] usb: kbd: dwc2: Increase wait for dwc2 controller reset by 125us

2023-05-17 Thread Filip Žaludek
Hi Marek, On 5/15/23 20:56, Filip Žaludek wrote: Hi Marek, On 5/15/23 20:09, Marek Vasut wrote: On 5/15/23 16:53, Filip Zaludek wrote: Two following performance patches applied together occasionally harm usb keyboard on RPi3. 'dwc2: use the nonblock argument in submit_int_msg' commit

Re: [PATCH v3 4/5] spl: Support loading a FIT from ext FS

2023-05-17 Thread Heinrich Schuchardt
Am 17. Mai 2023 16:41:47 MESZ schrieb Tom Rini : >On Thu, May 04, 2023 at 03:23:26PM +0530, Mayuresh Chitale wrote: > >> Detect a FIT when loading from an ext File system and handle it using >> the FIT SPL support. >> >> Signed-off-by: Mayuresh Chitale >> --- >> common/spl/spl_ext.c | 33

Re: [UBOOT PATCH 0/3] Port the usb reset patches from linux

2023-05-17 Thread Marek Vasut
On 5/17/23 08:37, Michal Simek wrote: Hi, Hi, On 5/8/23 13:56, Marek Vasut wrote: On 5/8/23 05:00, Venkatesh Yadav Abbarapu wrote: Port the usb reset patches from linux kernel. What kind of patches are these ? What sort of problem are those patches attempting to address ? Venkatesh

Re: [RFC PATCH 08/17] sunxi: introduce NCAT2 generation model

2023-05-17 Thread Maxim Kiselev
Hi Sam, > I might have to start pushing for room for SPI drivers > in the SPL soon. :) As Andre already pointed out, I have a patch which adds boot support from SPI-NOR for D1/T113 SoCs. Maybe I can share it somewhere to avoid double work?

[PATCH v2] atmel_sdhci: Force card-detect if MMC_CAP_NONREMOVABLE.

2023-05-17 Thread Zixun LI
If the device attached to the MMC bus is not removable, set force card-detect bit to bypass card detection procedure, so card detection pin can be used for other purposes. It's also a workaround for SAMA5D2 who doesn't drive CMD if using GPIO for card detection. Signed-off-by: Zixun LI ---

Re: [PATCH v3 4/5] spl: Support loading a FIT from ext FS

2023-05-17 Thread Tom Rini
On Thu, May 04, 2023 at 03:23:26PM +0530, Mayuresh Chitale wrote: > Detect a FIT when loading from an ext File system and handle it using > the FIT SPL support. > > Signed-off-by: Mayuresh Chitale > --- > common/spl/spl_ext.c | 33 + > 1 file changed, 33

Re: [PATCH v3 2/2] firmware: zynqmp: Move permission to change config object message

2023-05-17 Thread Stefan Herbrechtsmeier
Am 17.05.2023 um 14:12 schrieb Michal Simek: On 5/16/23 16:05, Stefan Herbrechtsmeier wrote: From: Stefan Herbrechtsmeier Move the permission to change a config object message from zynqmp_pmufw_load_config_object function to zynqmp_pmufw_node function to simplify the code and check the

Re: U-Boot OMAP GPMC ECC change

2023-05-17 Thread Roger Quadros
Hi Colin, On 12/05/2023 19:05, Colin Foster wrote: > Hi Roger, > > On Fri, May 12, 2023 at 02:53:07PM +0300, Roger Quadros wrote: >> >> >> On 10/05/2023 18:38, Colin Foster wrote: >>> >>> This is still out-of-U-Boot. I have an include/configs/our_product.h >>> file with this: >>> >>> """ >>>

Re: [PATCH v2] atmel_sdhci: Force card-detect if MMC_CAP_NONREMOVABLE.

2023-05-17 Thread Eugen Hristev
Hi Zixun, On 5/15/23 15:07, Zixun LI wrote: Signed-off-by: Zixun LI Can you provide a small explanation about what is the commit doing and why ? It will be recorded in the commit message for future reference. Can you also fix this warning: WARNING: Use a single space after

Re: [PATCH v3 2/2] firmware: zynqmp: Move permission to change config object message

2023-05-17 Thread Michal Simek
On 5/16/23 16:05, Stefan Herbrechtsmeier wrote: From: Stefan Herbrechtsmeier Move the permission to change a config object message from zynqmp_pmufw_load_config_object function to zynqmp_pmufw_node function to simplify the code and check the permission only if required. Signed-off-by:

Re: [PATCH] global: Use proper project name U-Boot

2023-05-17 Thread Ilias Apalodimas
On Wed, 17 May 2023 at 10:18, Michal Simek wrote: > > Use proper project name in comments, Kconfig, readmes. > > Signed-off-by: Michal Simek > --- > > I am ignoring these for now because they can break automated scripts or > user setting that's why they should be fixed separately. > >

Re: [PATCH] global: Use proper project name U-Boot

2023-05-17 Thread Stefan Roese
On 5/17/23 09:17, Michal Simek wrote: Use proper project name in comments, Kconfig, readmes. Signed-off-by: Michal Simek Reviewed-by: Stefan Roese Thanks, Stefan --- I am ignoring these for now because they can break automated scripts or user setting that's why they should be fixed

[PATCH] global: Use proper project name U-Boot

2023-05-17 Thread Michal Simek
Use proper project name in comments, Kconfig, readmes. Signed-off-by: Michal Simek --- I am ignoring these for now because they can break automated scripts or user setting that's why they should be fixed separately. arch/arm/dts/am335x-igep0033.dtsi:178: label = "U-boot";

Re: [PATCH 1/2] net: rtl8169: add minimal support for 8125B variant

2023-05-17 Thread Eugen Hristev
On 4/30/23 22:44, Ramon Fried wrote: On Tue, Apr 25, 2023 at 10:47 PM Eugen Hristev wrote: On 4/25/23 22:22, Ramon Fried wrote: On Tue, Apr 25, 2023 at 4:17 PM Eugen Hristev wrote: On 4/25/23 16:06, Eugen Hristev wrote: Add minimal support for 8125B version. Changes are based on the

Re: [PATCH 2/2] configs: rock5b-rk3588: add rtl8169 driver

2023-05-17 Thread Eugen Hristev
On 5/15/23 16:16, Tom Rini wrote: On Mon, May 15, 2023 at 03:57:14PM +0300, Eugen Hristev wrote: On 5/15/23 15:52, Tom Rini wrote: On Mon, May 15, 2023 at 03:36:24PM +0300, Eugen Hristev wrote: On 5/6/23 01:03, Tom Rini wrote: On Tue, Apr 25, 2023 at 04:06:59PM +0300, Eugen Hristev wrote:

[PATCH] net: rtl8169: add depends on PCI

2023-05-17 Thread Eugen Hristev
The rtl8169 driver uses calls to dm_pci_bus_to_phys, which are compiled under CONFIG_PCI. Without CONFIG_PCI, this happens: drivers/net/rtl8169.o: in function `rtl_recv_common': drivers/net/rtl8169.c:555: undefined reference to `dm_pci_bus_to_phys' It is only natural that this driver depends on

Re: [PATCH v6] configs: rockchip: rock5b-rk3588: enable USB and regulators

2023-05-17 Thread Eugen Hristev
On 5/17/23 12:38, Kever Yang wrote: Hi Eugen, Applied, thanks. - Kever Hi Kever, Any other patches that you wish me to resend ? Also, Jonas, I have one thing in my tree that may be already sent by you, but let's double check: adding gpio command to rock5b config, have you sent that

[PATCH 1/1] fs: fix smh_fs_read_at()

2023-05-17 Thread Heinrich Schuchardt
The return value of smh_flen() is written to size and not to ret. But ret is checked. We can avoid calling smh_flen() by setting maxsize to LONG_MAX if it is not set yet. Check input parameters. Fixes: f676b45151c3 ("fs: Add semihosting filesystem") Signed-off-by: Heinrich Schuchardt ---

Re: [PATCH resend v3 3/3] configs: rock5b-rk3588: add PCI drivers and command

2023-05-17 Thread Kever Yang
On 2023/5/17 18:01, Eugen Hristev wrote: Add drivers for PCIe , phy, and command. Signed-off-by: Eugen Hristev Reviewed-by: Kever Yang Thanks, - Kever --- configs/rock5b-rk3588_defconfig | 4 1 file changed, 4 insertions(+) diff --git a/configs/rock5b-rk3588_defconfig

Re: [PATCH resend v3 2/3] ARM: dts: rockchip: rock5b: enable pcie2x1l2 and associated combphy

2023-05-17 Thread Kever Yang
On 2023/5/17 18:01, Eugen Hristev wrote: From: Christopher Obbard Enable the PCIe 2x1l 2 device and associated combphy. On this bus, the Rock5B has an Ethernet transceiver connected. Signed-off-by: Christopher Obbard [eugen.hris...@collabora.com: minor tweaks] Signed-off-by: Eugen Hristev

Re: [PATCH resend v3 1/3] ARM: dts: rockchip: rk3588s-u-boot: add pcie2x1l2 with PHY

2023-05-17 Thread Kever Yang
On 2023/5/17 18:01, Eugen Hristev wrote: From: Joseph Chen Add the node for PCIe 2x1l 2 device together with the corresponding combphy. Signed-off-by: Joseph Chen [eugen.hris...@collabora.com: moved to -u-boot.dtsi, minor adaptations] Signed-off-by: Eugen Hristev [jo...@kwiboo.se: adapt

[PATCH resend v3 3/3] configs: rock5b-rk3588: add PCI drivers and command

2023-05-17 Thread Eugen Hristev
Add drivers for PCIe , phy, and command. Signed-off-by: Eugen Hristev --- configs/rock5b-rk3588_defconfig | 4 1 file changed, 4 insertions(+) diff --git a/configs/rock5b-rk3588_defconfig b/configs/rock5b-rk3588_defconfig index fc76d9347db1..f8a9c783764b 100644 ---

[PATCH resend v3 2/3] ARM: dts: rockchip: rock5b: enable pcie2x1l2 and associated combphy

2023-05-17 Thread Eugen Hristev
From: Christopher Obbard Enable the PCIe 2x1l 2 device and associated combphy. On this bus, the Rock5B has an Ethernet transceiver connected. Signed-off-by: Christopher Obbard [eugen.hris...@collabora.com: minor tweaks] Signed-off-by: Eugen Hristev [jo...@kwiboo.se: add PCIe pins]

[PATCH resend v3 1/3] ARM: dts: rockchip: rk3588s-u-boot: add pcie2x1l2 with PHY

2023-05-17 Thread Eugen Hristev
From: Joseph Chen Add the node for PCIe 2x1l 2 device together with the corresponding combphy. Signed-off-by: Joseph Chen [eugen.hris...@collabora.com: moved to -u-boot.dtsi, minor adaptations] Signed-off-by: Eugen Hristev [jo...@kwiboo.se: adapt to kernel node] Signed-off-by: Jonas Karlman

Re: [PATCH v6] configs: rockchip: rock5b-rk3588: enable USB and regulators

2023-05-17 Thread Kever Yang
Hi Eugen, Applied, thanks. - Kever On 2023/5/17 17:21, Eugen Hristev wrote: Enable USB command, USB drivers, PHY and regulators, for USB host operations. Reviewed-by: Kever Yang Signed-off-by: Eugen Hristev --- Changes in v6: - removed accidentaly added line '+# CONFIG_BINMAN_FDT is not

Re: [PATCH 00/14] rockchip: rk35xx: Update defconfigs and enable boot from SPI NOR flash

2023-05-17 Thread Eugen Hristev
On 5/17/23 05:20, Kever Yang wrote: Hi Jonas, On 2023/5/10 14:48, Jonas Karlman wrote: Looks like the following two commits in your enablement efforts tree may be a source of some of these dependency conflicts. - rockchip: rk3588-rock-5b: Add spi nor flash node - ARM: dts: rockchip:

[PATCH v6] configs: rockchip: rock5b-rk3588: enable USB and regulators

2023-05-17 Thread Eugen Hristev
Enable USB command, USB drivers, PHY and regulators, for USB host operations. Reviewed-by: Kever Yang Signed-off-by: Eugen Hristev --- Changes in v6: - removed accidentaly added line '+# CONFIG_BINMAN_FDT is not set' configs/rock5b-rk3588_defconfig | 17 + 1 file changed, 17

Re: [RFC PATCH 08/17] sunxi: introduce NCAT2 generation model

2023-05-17 Thread Andre Przywara
On Wed, 17 May 2023 01:43:12 +0100 Andre Przywara wrote: +Maksim, as he was interested in the U-Boot series as well and had some plans for SPI-NOR booting, IIUC. Cheers, Andre > On Tue, 16 May 2023 17:53:38 -0600 > Sam Edwards wrote: > > Hi Sam, > > > On 5/16/23 15:08, Andre Przywara wrote:

[PATCH 4/6] video: zynqmp: Driver for Xilinx ZynqMP DisplayPort Subsystem

2023-05-17 Thread Michal Simek
From: Venkatesh Yadav Abbarapu The Xilinx ZynqMP SoC has a hardened display pipeline named DisplayPort Subsystem. It includes a buffer manager, blender, an audio mixer and a DisplayPort source controller (transmitter). The DisplayPort controller can source data from memory (non-live input) or

[PATCH 6/6] video: zynqmp: Enable 1024x768 resolution

2023-05-17 Thread Michal Simek
Add support for 1024x768 60p resolution and set it up this resolution by default. This resolution is still able to use only one GT line. But for example 800x600 60p has some issues with settings. That's why extend this table by tested resolutions. Signed-off-by: Michal Simek ---

[PATCH 5/6] xilinx: zynqmp: Enable the vidconsole by default

2023-05-17 Thread Michal Simek
From: Venkatesh Yadav Abbarapu Add the vidconsole flags for video serial console. Signed-off-by: Venkatesh Yadav Abbarapu Signed-off-by: Michal Simek --- include/configs/xilinx_zynqmp.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/configs/xilinx_zynqmp.h

[PATCH 3/6] video: move zynqmp files to subdirectory

2023-05-17 Thread Michal Simek
From: Venkatesh Yadav Abbarapu Place zynqmp files and headers in custom driver subdirectory. Signed-off-by: Venkatesh Yadav Abbarapu Signed-off-by: Michal Simek --- drivers/video/Kconfig | 9 + drivers/video/Makefile| 2 +-

[PATCH 2/6] video: bmp: Support rgba8888 pixel format

2023-05-17 Thread Michal Simek
Adding the support for RGBA format for BMP decoding. Signed-off-by: Michal Simek Signed-off-by: Venkatesh Yadav Abbarapu --- drivers/video/video_bmp.c | 36 1 file changed, 36 insertions(+) diff --git a/drivers/video/video_bmp.c

[PATCH 1/6] video: Add support for RGBA8888 format

2023-05-17 Thread Michal Simek
Add support for RGBA 32bpp format where pixels are picked in 32-bit integers, where the colors are stored in memory such that R is at lowest address, G after that, B after that, and A last. Signed-off-by: Michal Simek Signed-off-by: Venkatesh Yadav Abbarapu ---

[PATCH 0/6] video: zynqmp: Add support for ZynqMP DP

2023-05-17 Thread Michal Simek
Hi, this series is adding initial support for Diplay port. As of today it is working on fixed configuration but working on making it more flexible to be able to fully configure it via DT only. Thanks, Michal Michal Simek (3): video: Add support for RGBA format video: bmp: Support

Re: mmc: Read eMMC partition access bits before card reset

2023-05-17 Thread Stefan Roese
Hi Pali, On 5/17/23 00:30, Pali Rohár wrote: On Tuesday 16 May 2023 14:56:46 Tom Rini wrote: On Tue, May 16, 2023 at 08:52:23PM +0200, Pali Rohár wrote: On Tuesday 16 May 2023 11:36:20 Tom Rini wrote: On Tue, May 16, 2023 at 09:04:27AM +0200, Pali Rohár wrote: On Sunday 07 May 2023 22:36:16

[PATCH] mmc: zynq: Sync with upstream DT binding

2023-05-17 Thread Michal Simek
Versal NET is not in production yet that's why no need to keep backward compatible with previously used compatible string. Signed-off-by: Michal Simek Link: https://lore.kernel.org/r/20230403102551.3763054-2-sai.krishna.potth...@amd.com --- drivers/mmc/zynq_sdhci.c | 10 +- 1 file

[PATCH] arm64: versal-net: Add support for SPP production version

2023-05-17 Thread Michal Simek
Production version restarting platform version field from 0 that's why add new calculation to be able to use different DT for these platforms. Requested DT names for production silicons for IPP/SPP and EMU platform are versal-net-ipp-rev2.0.dts and versal-net-emu-rev2.0.dts. If platform version

Re: [PATCH 1/5] mtd/spinand: rework detect procedure for different READ_ID operation

2023-05-17 Thread Frieder Schrempf
Hi Michael, hi Dario, On 15.05.23 23:33, Michael Nazzareno Trimarchi wrote: > Hi > > Il lun 15 mag 2023, 23:12 Tom Rini > ha scritto: > > On Tue, May 09, 2023 at 09:09:28AM +0200, Frieder Schrempf wrote: > > Hi Michael, hi Dario, > > > > On 18.04.23

Re: [PATCH 1/1] config: CONFIG_SPL_SIZE_LIMIT for VisionFive 2

2023-05-17 Thread Heinrich Schuchardt
On 5/17/23 02:17, Bo Gan wrote: @Heinrich Some background information I discovered by experimenting with my vf2 board: The only reasonable place to load SPL is the L2 LIM, which is 2M in size mapped at 0x800. This region consists of 16 0x2 sized regions, each one can be used as

Re: [UBOOT PATCH 0/3] Port the usb reset patches from linux

2023-05-17 Thread Michal Simek
Hi, On 5/8/23 13:56, Marek Vasut wrote: On 5/8/23 05:00, Venkatesh Yadav Abbarapu wrote: Port the usb reset patches from linux kernel. What kind of patches are these ? What sort of problem are those patches attempting to address ? Venkatesh Yadav Abbarapu (3):    usb: dwc3: core: improve