Re: [PATCH] efi_loader: Allow also empty capsule to be process

2023-07-26 Thread Michal Simek
On 7/26/23 15:07, Ilias Apalodimas wrote: Hi all [...] Hello Sugosh, fwu_empty_capsule() detects an empty capsule as one with a GUID fwu_guid_os_request_fw_revert or fwu_guid_os_request_fw_accept. I am not aware of a requirement in the UEFI specification to treat capsules read from fil

[PATCH v1] arm: k3: fix fdt_del_node_path implicit declaration and a missing include

2023-07-26 Thread Emanuele Ghidoli
From: Emanuele Ghidoli Fix missing declaration of fdt_del_node_path() while compiling am625_fdt.c and missing common_fdt.h include in common_fdt.c Fixes: 70aa5a94d451 ("arm: mach-k3: am62: Fixup CPU core, gpu and pru nodes in fdt") Signed-off-by: Emanuele Ghidoli --- arch/arm/mach-k3/common_f

Re: [PATCH 3/3] arm: dts: k3-am62: Bump dtsi from linux v6.5-rc1

2023-07-26 Thread Tom Rini
On Wed, Jul 26, 2023 at 07:51:15AM -0500, Nishanth Menon wrote: > On 10:15-20230726, Maxime Ripard wrote: > > On Wed, Jul 26, 2023 at 11:26:05AM +0530, Ravi Gunasekaran wrote: > > > On 7/25/23 11:47 PM, Tom Rini wrote: > > > > On Tue, Jul 25, 2023 at 09:09:34

Re: [PATCH v5 09/12] test: py: Setup capsule files for testing

2023-07-26 Thread Sughosh Ganu
hi Simon, On Wed, 26 Jul 2023 at 04:23, Simon Glass wrote: > > Hi Sughosh, > > On Tue, 25 Jul 2023 at 02:58, Sughosh Ganu wrote: > > > > Support has being added through earlier commits to build capsules and > > embed the public key needed for capsule authentication as part of > > u-boot build. >

Re: [PATCH v16 10/10] arm_ffa: efi: corstone1000: enable MM communication

2023-07-26 Thread Tom Rini
On Wed, Jul 26, 2023 at 10:45:03AM +0100, Abdellatif El Khlifi wrote: > turn on EFI MM communication > > On Corstone-1000 platform MM communication between u-boot > and the secure world (Optee) is done using the FF-A bus. > > Signed-off-by: Abdellatif El Khlifi [snip] > diff --git a/configs/cor

Re: [PATCH v1] HSD #18028953892: usb: xhci-dwc3: Fix USB3.1 controller register access in reset state

2023-07-26 Thread Marek Vasut
On 7/26/23 06:04, Chong, Teik Heng wrote: [...] Linux: (__dwc3_of_simple_teardown) https://elixir.bootlin.com/linux/latest/source/drivers/usb/dwc3/dwc3 -o f-simple.c#L98 U-Boot: (xhci_dwc3_remove) https://elixir.bootlin.com/u-boot/latest/source/drivers/usb/host/xhc i- dwc3.c#L227 So we believed

[PATCH v2 08/12] test: dm: simplify SCMI unit test on sandbox

2023-07-26 Thread AKASHI Takahiro
Adding SCMI base protocol makes it inconvenient to hold the agent instance (udevice) locally since the agent device will be re-created per each test. Just remove it and simplify the test flows. The test scenario is not changed at all. Signed-off-by: AKASHI Takahiro Reviewed-by: Simon Glass ---

Re: [PATCH 5/9] board_f: Fix corruption of relocaddr

2023-07-26 Thread Devarsh Thakkar
Hi Simon, On 26/07/23 02:58, Simon Glass wrote: > Hi Devarsh, > > On Tue, 25 Jul 2023 at 03:21, Devarsh Thakkar wrote: >> >> Hi Simon, >> >> On 24/07/23 20:22, Simon Glass wrote: >>> When the video framebuffer comes from the bloblist, we should not change >>> relocaddr to this address, since it

Re: [PATCH v2 7/7] configs: rockchip: Enable USB2PHY for RK3328 boards

2023-07-26 Thread Kever Yang
On 2023/6/7 01:09, Jagan Teki wrote: Enable USB2PHY for all RK3328 boards. => usb start starting USB... Bus usb@ff5c: USB EHCI 1.00 Bus usb@ff5d: USB OHCI 1.0 Bus usb@ff60: generic_phy_get_bulk : no phys property Register 2000140 NbrPorts 2 Starting the controller USB XHCI 1.10 Bus

Re: [PATCH v2 3/7] usb: dwc3-generic: Restrict single ctrl node for RK3328

2023-07-26 Thread Kever Yang
On 2023/6/7 01:09, Jagan Teki wrote: Like Rockchip RK3568, the RK3328 also have single node to represent the glue and ctrl for USB 3.0. So, use the driver data to use single ctrl for RK3328 DWC3. Reviewed-by: Marek Vasut Signed-off-by: Jagan Teki Reviewed-by: Kever Yang Thanks, - Kever

Re: [PATCH v2 6/7] clk: rockchip: rk3328: Handle usb480m phy clock

2023-07-26 Thread Kever Yang
On 2023/6/7 01:09, Jagan Teki wrote: Handle USB480M clock ID in set_rate() and set_parent() to allow the dt assigned-clocks and assigned-clock-parents work on rk3328.dtsi Cc: Lukasz Majewski Cc: Sean Anderson Signed-off-by: Jagan Teki Reviewed-by: Kever Yang Thanks, - Kever --- Changes

Re: [PATCH 6/6] doc: board: ti: Add beagleplay documentation

2023-07-26 Thread Tom Rini
On Wed, Jul 26, 2023 at 09:59:16AM -0500, Andrew Davis wrote: > On 7/25/23 5:45 PM, Tom Rini wrote: > > On Tue, Jul 25, 2023 at 05:00:15PM -0500, Nishanth Menon wrote: > > > On 17:35-20230725, Tom Rini wrote: > > > > On Tue, Jul 25, 2023 at 01:52:53PM -0500, Nishanth Menon wrote: > > > > > > > [..

[PATCH v2 00/12] firmware: scmi: add SCMI base protocol support

2023-07-26 Thread AKASHI Takahiro
This patch series allows users to access SCMI base protocol provided by SCMI server (platform). It will also be utilized in separate patches in the future to add sanity/validity checks for other protocols. See SCMI specification document v3.2 beta[1] for more details about SCMI base protocol. What

Re: [PATCH 2/2] power: regulator: rk8xx: Add 500us delay after LDO regulator is enabled

2023-07-26 Thread Kever Yang
Hi Jonas, On 2023/7/2 20:41, Jonas Karlman wrote: A quick power cycle of a LDO regulator during dw-mmc signal voltage change has shown that SD-card does not always get recognized. Linux driver use an enable_time of 400us for LDO regulators. Apply a 500us delay when a LDO regulator is enabled to

[PATCH 1/1] fat: correct sign for deletion mark

2023-07-26 Thread Heinrich Schuchardt
The FAT file systems uses character '\xe5' to mark a deleted directory entry. If a file name starts with this character, it is substituted by '\x05' in the directory entry. While (signed char)'\xe5' is a negative number 0xe5 is a positive integer number. We therefore have define a constant DELETED

Re: [PATCH 4/4] rockchip: rk356x-u-boot: Use relaxed u-boot,spl-boot-order

2023-07-26 Thread Kever Yang
On 2023/7/3 01:34, Jonas Karlman wrote: BootRom will try to load TPL+SPL from media in the following order: - SPI NOR Flash - SPI NAND Flash - NAND Flash - eMMC - SDMMC SPL will try to load FIT from media in the order defined in the device tree u-boot,spl-boot-order property. Change the defau

Re: [PATCH 3/4] rockchip: rk356x-u-boot: Add bootph-all to common pinctrl nodes

2023-07-26 Thread Kever Yang
On 2023/7/3 01:34, Jonas Karlman wrote: Add bootph-all prop to common pinctrl nodes for eMMC, FSPI, SD-card and UART2 that are typically used by multiple boards. Unreferenced nodes are removed from the SPL device tree during a normal build. Signed-off-by: Jonas Karlman Reviewed-by: Kever Yan

Re: [PATCH 2/4] rockchip: rk3566-radxa-cm3-io: Sync dts from linux v6.4

2023-07-26 Thread Kever Yang
On 2023/7/3 01:34, Jonas Karlman wrote: Sync rk3566-radxa-cm3-io.dts from linux v6.4. Signed-off-by: Jonas Karlman Reviewed-by: Kever Yang Thanks, - Kever --- arch/arm/dts/rk3566-radxa-cm3-io.dts | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm/dts/rk3566-radxa-cm3-

Re: [PATCH 1/4] rockchip: rk356x: Sync dtsi from linux v6.4

2023-07-26 Thread Kever Yang
On 2023/7/3 01:34, Jonas Karlman wrote: Sync rk356x.dtsi from linux v6.4. Signed-off-by: Jonas Karlman Reviewed-by: Kever Yang Thanks, - Kever --- arch/arm/dts/rk3568-pinctrl.dtsi | 94 arch/arm/dts/rk356x.dtsi | 14 +++-- 2 files changed, 102

Re: [PATCH v2 1/2] arm64: dts: rockchip: Sync DT from linux-next

2023-07-26 Thread Jagan Teki
On Wed, 26 Jul 2023 at 13:42, Kever Yang wrote: > > Hi Jagan, > > On 2023/7/19 16:17, Jagan Teki wrote: > > Sync the linux-next from below commit, > > commit <1642bf66e270> ("arm64: dts: rockchip: add USB2 to > > rk3588s-rock5a") > > How much difference for the linux-next and the latest linux rele

Re: [PATCH v2 2/2] rockchip: edgeble-neu6: Append eMMC into spl-boot-order

2023-07-26 Thread Kever Yang
Hi Jagan, On 2023/7/19 16:17, Jagan Teki wrote: Now, edgeble-neu6 NCM IO boards support eMMC and SDMMC. So, Update the spl-boot-order to include both. Signed-off-by: Jagan Teki --- Changes for v2: - None arch/arm/dts/rk3588-edgeble-neu6a-io-u-boot.dtsi | 10 ++ arch/arm/dts/rk3588

Re: [PATCH 3/3] arm: dts: k3-am62: Bump dtsi from linux v6.5-rc1

2023-07-26 Thread Maxime Ripard
On Wed, Jul 26, 2023 at 11:26:05AM +0530, Ravi Gunasekaran wrote: > On 7/25/23 11:47 PM, Tom Rini wrote: > > On Tue, Jul 25, 2023 at 09:09:34AM -0500, Nishanth Menon wrote: > >> On 15:56-20230725, Maxime Ripard wrote: > >>> Hi, > >>> > >>> On Tue, Jul 25, 2023 at 07:58:56AM -0500, Nishanth Menon wr

Re: [PATCH v2 1/2] arm64: dts: rockchip: Sync DT from linux-next

2023-07-26 Thread Kever Yang
Hi Jagan, On 2023/7/19 16:17, Jagan Teki wrote: Sync the linux-next from below commit, commit <1642bf66e270> ("arm64: dts: rockchip: add USB2 to rk3588s-rock5a") How much difference for the linux-next and the latest linux release version? It would be better if we can have sync with a release

Re: [bug report] fs: fat: create correct short names

2023-07-26 Thread Heinrich Schuchardt
On 26.07.23 09:02, Dan Carpenter wrote: Hello Heinrich Schuchardt, The patch 28cef9ca2e86: "fs: fat: create correct short names" from Nov 20, 2020, leads to the following Smatch static checker warning: fs/fat/fat_write.c:61 str2fat() warn: impossible condition '(c > 127) => ((-128)-12

Re: [PATCH 3/3] arm: dts: k3-am62: Bump dtsi from linux v6.5-rc1

2023-07-26 Thread Roger Quadros
Nishanth, On 25/07/2023 15:58, Nishanth Menon wrote: > Update the am62 and am625 device-trees from linux v6.3-rc5 This needed the > followin > tweaks to the u-boot specific dtsi as well: > - Switch tick-timer to the main_timer as it's now defined in the main dtsi > - Secure proxies are defined in

Re: [PATCH v2 5/5] optee: Support Rockchip OP-TEE binaries

2023-07-26 Thread Kever Yang
On 2023/7/20 15:39, Alex Bee wrote: Hi Kever, Am 19.07.23 um 09:28 schrieb Kever Yang: Hi Alex, On 2023/7/18 22:57, Alex Bee wrote: Currently the only ARM Rockchip SoC which is supported by upstream optee-os is RK322x. For all other ARM SoCs a vendor-provided OP-TEE binary has to be used t

Re: [PATCH 7/7] rockchip: chromebook_speedy: Enable sound

2023-07-26 Thread Kever Yang
On 2023/7/8 03:16, Alper Nebi Yasak wrote: Commit ec107f04b619 ("rockchip: chromebook_minnie: Enable sound") and commit 2d0c01b8f0ad ("sound: rockchip: Add sound support for jerry") enable audio support for chromebook_minnie and chromebook_jerry. Enable it for chromebook_speedy as well, but put

Re: [PATCH 6/7] rockchip: chromebook_jerry: Re-enable MAX98090 codec driver

2023-07-26 Thread Kever Yang
On 2023/7/8 03:16, Alper Nebi Yasak wrote: Sound support for chromebook_jerry needs the MAX98090 codec driver. This was enabled in commit 2d0c01b8f0ad ("sound: rockchip: Add sound support for jerry"), but apparently lost in commit 7ae2729401bb ("configs: Resync with savedefconfig"). Enable it a

Re: [PATCH 5/7] rockchip: veyron: Use TrueType fonts

2023-07-26 Thread Kever Yang
On 2023/7/8 03:16, Alper Nebi Yasak wrote: Commit 815ed79d8338 ("video: rockchip: Use TrueType fonts with jerry") enables makes chromebook_jerry use TrueType fonts. Make other veyron boards switch to it as well. Signed-off-by: Alper Nebi Yasak Reviewed-by: Kever Yang Thanks, - Kever --- I

Re: [PATCH] pci: rockchip: Release resources on failing probe

2023-07-26 Thread Kever Yang
On 2023/7/12 07:13, Jonas Karlman wrote: The PCIe driver for RK3399 is affected by a similar issue that was fixed for RK35xx in the commit e04b67a7f4c1 ("pci: pcie_dw_rockchip: release resources on failing probe"). Resources are not released on failing probe, e.g. regulators may be left enable

Re: [PATCH 4/7] rockchip: veyron: Add serial, logging, silent console support

2023-07-26 Thread Kever Yang
On 2023/7/8 03:16, Alper Nebi Yasak wrote: Commit eba768c54587 ("rockchip: jerry: Add serial support") enables ROCKCHIP_SERIAL for chromebook_jerry to make the serial console work correctly. Enable it also for other veyron boards. Also enable logging and disable scrolling multiple lines at onc

Re: [PATCH 3/7] rockchip: veyron: Unify u-boot.dtsi bootph-all fragments

2023-07-26 Thread Kever Yang
On 2023/7/8 03:16, Alper Nebi Yasak wrote: The rk3288-veyron-speedy-u-boot.dtsi file duplicates the bootphase dts fragments from rk3288-veyron-u-boot.dtsi even though it #inclues that. Deduplicate these into the latter file, which should also make the eMMC available to the other veyron boards'

Re: [PATCH 1/7] rockchip: veyron: Enable RESET driver

2023-07-26 Thread Kever Yang
On 2023/7/8 03:16, Alper Nebi Yasak wrote: Commit 70e351bdfeee ("rockchip: jerry: Enable RESET driver") enables DM_RESET for chromebook_jerry to fix its display as required by changes to the Rockchip video drivers. Enable it for other veyron boards as well. Fixes: cd529f7ad62 ("rockchip: video

Re: [PATCH 5/5] board: rockchip: Add Edgeble Neural Compute Module 6B

2023-07-26 Thread Kever Yang
On 2023/6/11 14:57, Jagan Teki wrote: Neural Compute Module 6B(Neu6B) is a 96boards SoM-CB compute module based on Rockchip RK3588J from Edgeble AI. Add support for this SoM and IO board. Signed-off-by: Jagan Teki Reviewed-by: Kever Yang Thanks, - Kever --- .../dts/rk3588-edgeble-neu6b

Re: [PATCH 4/5] arm64: dts: rockchip: Add rk3588 Edgeble Neu6B

2023-07-26 Thread Kever Yang
On 2023/6/11 14:57, Jagan Teki wrote: Neural Compute Module 6B(Neu6B) is a 96boards SoM-CB compute module based on Rockchip RK3588J from Edgeble AI. General features: - Rockchip RK3588J - up to 32GB LPDDR4x - up to 128GB eMMC - 2x MIPI CSI2 FPC - On module WiFi6/BT Neural Compute Module 6B(Ne

Re: [PATCH 2/7] rockchip: veyron: Enable building SPI ROM images

2023-07-26 Thread Kever Yang
On 2023/7/8 03:16, Alper Nebi Yasak wrote: Commit 9b312e26fc77 ("rockchip: Enable building a SPI ROM image on jerry") produces a u-boot.rom file for chromebook_jerry, intended to be written to SPI flash. Build this file for other veyron boards as well, especially because they are already config

Re: [PATCH 2/5] arm64: dts: rockchip: Add Rockchip RK3588J

2023-07-26 Thread Kever Yang
On 2023/6/11 14:57, Jagan Teki wrote: Rockchip RK3588J is the industrial-grade version of RK3588 SoC and is operated with -40 °C to +85 °C temparature. Add rk3588j specific dtsi for adding rk3588j specific operating points and other changes to be add in future. Kernel commit: commit <8274a04f

Re: [PATCH 3/5] ARM: dts: rockchip: Add rk3588j-u-boot.dtsi

2023-07-26 Thread Kever Yang
On 2023/6/11 14:57, Jagan Teki wrote: Add rk3588j-u-boot.dtsi for adding U-Boot specific nodes and properties for Rockchip RK3588J SoC. Signed-off-by: Jagan Teki Reviewed-by: Kever Yang Thanks, - Kever --- arch/arm/dts/rk3588j-u-boot.dtsi | 6 ++ 1 file changed, 6 insertions(+) c

Re: [PATCH 1/5] arch: rockchip: rk3588: Fix missing suffix 'A' for Edgeble Neu6A

2023-07-26 Thread Kever Yang
On 2023/6/11 14:57, Jagan Teki wrote: Add missing suffix 'A' for Edgeble Neu6A SoM and IO boards. Fixes: <15b2d1fb727> ("board: rockchip: Add Edgeble Neural Compute Module 6") Signed-off-by: Jagan Teki Reviewed-by: Kever Yang Thanks, - Kever --- arch/arm/mach-rockchip/rk3588/Kconfig | 1

Re: [PATCH 4/4] configs: rock5b-rk3588: enable USB 3.0 controller, command, gadget

2023-07-26 Thread Kever Yang
On 2023/5/29 18:01, Eugen Hristev wrote: Enable configuration for USB 3.0 controller, the commands required, and the gadget drivers. Signed-off-by: Eugen Hristev Reviewed-by: Kever Yang Thanks, - Kever --- configs/rock5b-rk3588_defconfig | 14 ++ 1 file changed, 14 insertio

Re: [PATCH 3/4] ARM: dts: rockchip: rk3588-rock-5b-u-boot: add USB3 support

2023-07-26 Thread Kever Yang
On 2023/5/29 18:01, Eugen Hristev wrote: Enable the USB3.0 host node, and gadget node. The gadget is available through the USB type C connector on the board. The connector is tied to a Fairchild fusb302b device, which currently does not have a driver in U-boot, but the node is here for correct

Re: [PATCH 2/4] ARM: dts: rockchip: rk3588: add support for USB 3.0 devices

2023-07-26 Thread Kever Yang
On 2023/5/29 18:01, Eugen Hristev wrote: From: Joseph Chen Add support for the USB 3.0 devices in rk3588: - USB DRD(dual role device) 3.0 #0 as usbdrd3_0 which is available in rk3588s - USB DRD(dual role device) 3.0 #1 as usbdrd3_1 which is available in rk3588 only - USB DP PHY (combo USB3.0

Re: [PATCH 00/18] K3 HS Support along with fixes

2023-07-26 Thread Jan Kiszka
On 26.07.23 09:25, Manorit Chawdhry wrote: > On 12:17-20230726, Manorit Chawdhry wrote: >> Hi Jan, >> >> On 08:42-20230726, Jan Kiszka wrote: >>> On 14.07.23 07:52, Manorit Chawdhry wrote: >>>> The series focuses on fixes for various boards along with

Re: [PATCH v1] configs: rockchip: rock5b-rk3588: Enable CONFIG_PCI_INIT_R

2023-07-26 Thread Kever Yang
On 2023/7/3 18:41, Christopher Obbard wrote: Enable CONFIG_PCI_INIT_R for rock5b pci enumeration during boot in order to autodetect the PCI ethernet NIC during the boot process. Signed-off-by: Christopher Obbard Reviewed-by: Kever Yang Thanks, - Kever --- configs/rock5b-rk3588_defconfi

Re: [PATCH 1/4] phy: rockchip: add usbdp combo phy driver

2023-07-26 Thread Kever Yang
On 2023/5/29 18:01, Eugen Hristev wrote: From: Frank Wang This adds a new USBDP combo PHY with Samsung IP block driver. The PHY is a combo between USB 3.0 and DisplayPort alt mode. Signed-off-by: Frank Wang [eugen.hris...@collabora.com: ported to 2023.07, clean-up] Signed-off-by: Eugen Hris

Re: [PATCH v4 2/2] board: rockchip: add Radxa ROCK5A Rk3588 board

2023-07-26 Thread Kever Yang
On 2023/7/5 03:05, Eugen Hristev wrote: ROCK 5A is a Rockchip RK3588S based SBC (Single Board Computer) by Radxa. There are tree variants depending on the DRAM size : 4G, 8G and 16G. Specifications: Rockchip Rk3588S SoC 4x ARM Cortex-A76, 4x ARM Cortex-A55 4/8/16GB memory L

Re: [PATCH 00/18] K3 HS Support along with fixes

2023-07-26 Thread Manorit Chawdhry
On 12:17-20230726, Manorit Chawdhry wrote: > Hi Jan, > > On 08:42-20230726, Jan Kiszka wrote: > > On 14.07.23 07:52, Manorit Chawdhry wrote: > > > The series focuses on fixes for various boards along with moving to > > > standards and enabling the FIT_SIGNA

Re: [PATCH] efi_loader: Fix memory corruption on 32bit systems

2023-07-26 Thread Ilias Apalodimas
Hi Dan On Wed, 26 Jul 2023 at 09:55, Dan Carpenter wrote: > > It's pretty unlikely that anyone is going to be using EFI authentication > on a 32bit system. However, if you did, the efi_prepare_aligned_image() > function would write 8 bytes of data to the &efi_size variable and it > can only hold

Re: [PATCH v4 1/2] ARM: dts: rockchip: rk3588: Move bootph-all props to common file

2023-07-26 Thread Kever Yang
On 2023/7/5 03:05, Eugen Hristev wrote: Move bootph-all prop to common SoC dt file, because they are typically used by multiple boards. Unreferenced nodes are removed from the SPL device tree during a normal build. Suggested-by: Jonas Karlman Signed-off-by: Eugen Hristev Reviewed-by: Kever

Re: rk3588 status

2023-07-26 Thread Jagan Teki
Hi Kever, On Wed, 26 Jul 2023 at 07:06, Kever Yang wrote: > > Hi Simon, > > These pending patches are on my todo list and suppose to be > handled in this week. Not really, [As you are aware] Some patches arrived ML in even before MW and developers send the patches in MW as those are new f

<    1   2   3