Re: [PATCH v5 18/23] arm: k3-am65x-iot2050: Use binman for tispl.bin for iot2050

2023-07-10 Thread Jan Kiszka
On 10.07.23 09:50, Neha Malcom Francis wrote: > Hi Jan > > On 07/07/23 19:08, Jan Kiszka wrote: >> On 07.07.23 14:34, Neha Malcom Francis wrote: >>> Move to using binman to generate tispl.bin which is used to generate the >>> final flash.bin bootloader for iot2050 boards. >>> >>> Signed-off-by:

RE: [PATCH] mmc: zynq_sdhci: Dll reset only for ZynqMP platform

2023-07-10 Thread Jaehoon Chung
Hi, > -Original Message- > From: Michal Simek > Sent: Monday, July 10, 2023 9:12 PM > To: u-boot@lists.denx.de; g...@xilinx.com > Cc: Ashok Reddy Soma ; Jaehoon Chung > ; Peng Fan > > Subject: [PATCH] mmc: zynq_sdhci: Dll reset only for ZynqMP platform > > From: Ashok Reddy Soma > >

Re: [PATCH v5 12/23] j721s2: yaml: Add board configs for J721S2

2023-07-10 Thread Jan Kiszka
On 07.07.23 14:34, Neha Malcom Francis wrote: > Added YAML configs for J721S2 > > Signed-off-by: Neha Malcom Francis > --- > board/ti/j721s2/board-cfg.yaml | 37 + > board/ti/j721s2/pm-cfg.yaml| 12 + > board/ti/j721s2/rm-cfg.yaml| 2901 >

Re: [PATCH v5 10/23] am64x: yaml: Add board configs for AM64x

2023-07-10 Thread Jan Kiszka
On 07.07.23 14:34, Neha Malcom Francis wrote: > Added YAML configs for AM64xx > > Signed-off-by: Neha Malcom Francis > --- > board/ti/am64x/board-cfg.yaml | 37 + > board/ti/am64x/pm-cfg.yaml| 12 + > board/ti/am64x/rm-cfg.yaml| 1400 + >

Re: [PATCH v5 01/23] binman: ti-board-config: Add support for TI board config binaries

2023-07-10 Thread Jan Kiszka
On 07.07.23 14:34, Neha Malcom Francis wrote: > The ti-board-config entry loads and validates a given YAML config file > against a given schema, and generates the board config binary. K3 > devices require these binaries to be packed into the final system > firmware images. > > Signed-off-by: Neha

Re: [PATCH] fs/erofs: Introduce new features including ztailpacking, fragments and dedupe

2023-07-10 Thread Huang Jianan
在 2023/7/7 23:52, Yifan Zhao 写道: This patch updates erofs driver code to catch up with the latest code of erofs_utils (commit e4939f9eaa177e05d697ace85d8dc283e25dc2ed). LZMA will be supported in the separate patch later. Signed-off-by: Yifan Zhao Looks good to me. Reviewed-by: Huang

Re: [PATCH 07/10] test: dm: add SCMI base protocol test

2023-07-10 Thread AKASHI Takahiro
Hi Simon, On Mon, Jul 10, 2023 at 01:45:58PM -0600, Simon Glass wrote: > Hi, > > On Sun, 9 Jul 2023 at 20:04, AKASHI Takahiro > wrote: > > > > On Fri, Jul 07, 2023 at 11:35:49AM -0600, Simon Glass wrote: > > > Hi, > > > > > > On Tue, 4 Jul 2023 at 03:35, AKASHI Takahiro > > > wrote: > > > >

Re: [ANN] U-Boot v2023.07 released

2023-07-10 Thread Tom Rini
On Mon, Jul 10, 2023 at 02:14:58PM -0400, Tom Rini wrote: > Hey all, > > It's a week after our planned release date, but, we've gotten the issues > that had delayed the release sorted out and understood. I want to thank > everyone that's contributed to this release, not just in terms of code, >

[PATCH] sunxi: H6: Enable Ethernet on Orange Pi One Plus

2023-07-10 Thread Anne Macedo
Enable Ethernet on Orange Pi One Plus by using the correct phy for Realtek RTL8211E instead of the Generic One. Also use CONFIG_MACPWR to turn on ethernet on startup. After this patch is applied, a few issues can be seen: - there's still a PHY reset timed out error that doesn't seem to cause

Re: [PATCH v4] phy: phy-imx8mq-usb: add vbus regulator support

2023-07-10 Thread Marek Vasut
On 7/11/23 00:49, Tim Harvey wrote: Add support for enabling and disabling vbus-supply regulator found on several imx8mp boards in the usb3_phy0 and usb3_phy1 nodes. Signed-off-by: Tim Harvey Reviewed-by: Adam Ford Reviewed-by: Marek Vasut --- v4: - use regulator_set_enable_if_allowed to

[PATCH v4] phy: phy-imx8mq-usb: add vbus regulator support

2023-07-10 Thread Tim Harvey
Add support for enabling and disabling vbus-supply regulator found on several imx8mp boards in the usb3_phy0 and usb3_phy1 nodes. Signed-off-by: Tim Harvey Reviewed-by: Adam Ford Reviewed-by: Marek Vasut --- v4: - use regulator_set_enable_if_allowed to handle regulator reference counting

Re: [PATCH] ARM: stm32: Fix OF_LIST on DHCOR

2023-07-10 Thread Marek Vasut
On 6/16/23 14:18, Marek Vasut wrote: On 6/16/23 13:44, Patrice CHOTARD wrote: On 5/12/23 15:58, Patrick DELAUNAY wrote: Hi, On 5/5/23 02:11, Tom Rini wrote: The ITS file used to build the images here lists three dtb files as being used. Today, these are built by the logic that will

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

2023-07-10 Thread Marek Vasut
On 7/4/23 23:55, Marek Vasut wrote: On 5/18/23 00:02, Marek Vasut wrote: 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,

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

2023-07-10 Thread Marek Vasut
On 6/17/23 02:36, Marek Vasut wrote: On 6/16/23 15:04, Patrick DELAUNAY wrote: Hi, Hi, [   39.426015] Disabling non-boot CPUs ... [   39.448635] Retrying again to check for CPU kill [   39.451909] CPU1 killed. U-Boot SPL 2023.07-rc4-8-g2f4664f5c3e (Jun 15 2023 - 08:36:52 +0200) RAM:

Re: [PATCH v3 07/11] CI: capsule: Setup the files needed for capsule update testing

2023-07-10 Thread Simon Glass
Hi Sughosh, On Sun, 9 Jul 2023 at 07:34, 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. > > From the testing point-of-view, this means the input files needed for >

Re: [PATCH v3 03/11] doc: capsule: Document the new mechanism to embed ESL file into dtb

2023-07-10 Thread Simon Glass
On Sun, 9 Jul 2023 at 07:33, Sughosh Ganu wrote: > > Update the document to specify how the EFI Signature List(ESL) file > can be embedded into the platform's dtb as part of the u-boot build. > > Signed-off-by: Sughosh Ganu > --- > Changes since V2: > * Highlight the need to use the u-boot.dtsi

Re: [PATCH v3 02/11] capsule: authenticate: Add capsule public key in platform's dtb

2023-07-10 Thread Simon Glass
Hi Sughosh, Heinrich, On Mon, 10 Jul 2023 at 01:24, Sughosh Ganu wrote: > > hi Heinrich, > > On Sun, 9 Jul 2023 at 19:22, Heinrich Schuchardt wrote: > > > > > > > > Am 9. Juli 2023 15:33:17 MESZ schrieb Sughosh Ganu > > : > > >The EFI capsule authentication logic in u-boot expects the public

Re: [PATCH v3 00/19] binman: Simple templating feature and mkimage conversion

2023-07-10 Thread Simon Glass
Hi Jan, On Mon, 10 Jul 2023 at 12:40, Jan Kiszka wrote: > > On 10.07.23 18:00, Simon Glass wrote: > > Hi Jan, > > > > On Sun, 9 Jul 2023 at 23:21, Jan Kiszka wrote: > >> > >> On 10.07.23 04:40, Simon Glass wrote: > >>> This series converts the mkimage entry type to be a section, i.e. based on >

Re: [BUG] fdt_pack_reg in common/fdt_support.c can cause crash from unaligned access

2023-07-10 Thread Simon Glass
Hi, On Mon, 10 Jul 2023 at 14:13, Tom Rini wrote: > > On Mon, Jul 10, 2023 at 01:45:46PM -0600, Simon Glass wrote: > > Hi David, > > > > On Sun, 9 Jul 2023 at 19:11, David Virag wrote: > > > > > > Hi, > > > > > > I'm trying to port U-Boot to a new board (Samsung JACKPOTLTE, ARMv8, > > >

Re: [PATCH v3 11/11] sandbox: capsule: Generate capsule related files through binman

2023-07-10 Thread Simon Glass
Hi, On Sun, 9 Jul 2023 at 07:34, Sughosh Ganu wrote: > > The EFI capsule files can now be generated as part of u-boot > build. This is done through binman. Add capsule entry nodes in the > u-boot.dtsi for the sandbox architecture for generating the > capsules. Remove the corresponding generation

Re: [PATCH v3 10/11] sandbox: capsule: Add a config file for generating capsules

2023-07-10 Thread Simon Glass
Hi Sughosh, On Sun, 9 Jul 2023 at 07:34, Sughosh Ganu wrote: > > Support has been added to the mkeficapsule tool to generate capsules > by parsing the capsule parameters through a config file. Add a config > file for generating capsules. These capsules will be used for testing > the capsule

Re: [PATCH v3 09/11] test: capsule: Remove public key embed logic from capsule update test

2023-07-10 Thread Simon Glass
On Sun, 9 Jul 2023 at 07:34, Sughosh Ganu wrote: > > The embedding of the public key EFI Signature List(ESL) file into the > platform's DTB is now done at the time of u-boot build. Remove this > logic from the capsule update test' configuration. > > Include the public key for the sandbox and

Re: [PATCH v3 08/11] test: py: Setup capsule files for testing

2023-07-10 Thread Simon Glass
Hi Sughosh, On Sun, 9 Jul 2023 at 07:34, 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. > > From the testing point-of-view, this means the input files needed for >

Re: [PATCH v3 06/11] binman: capsule: Add support for generating capsules

2023-07-10 Thread Simon Glass
Hi Sughosh, On Sun, 9 Jul 2023 at 07:34, Sughosh Ganu wrote: > > Add support in binman for generating capsules. The capsule parameters > can be specified either through a config file or through the capsule > binman entry. > > Signed-off-by: Sughosh Ganu > --- > Changes since V2: > * New patch

Re: [PATCH v2 01/11] binman: elf: Check for ELF_TOOLS availability and remove extra semicolon

2023-07-10 Thread Simon Glass
Hi Lukas, On Mon, 10 Jul 2023 at 07:49, Lukas Funke wrote: > > Hi Simon, > > On 07.07.2023 19:35, Simon Glass wrote: > > Hi Lukas, > > > > On Thu, 6 Jul 2023 at 09:38, wrote: > >> > >> From: Lukas Funke > >> > >> Check if elf tools are available when running DecodeElf(). Also > >> remove

Re: [BUG] fdt_pack_reg in common/fdt_support.c can cause crash from unaligned access

2023-07-10 Thread Tom Rini
On Mon, Jul 10, 2023 at 01:45:46PM -0600, Simon Glass wrote: > Hi David, > > On Sun, 9 Jul 2023 at 19:11, David Virag wrote: > > > > Hi, > > > > I'm trying to port U-Boot to a new board (Samsung JACKPOTLTE, ARMv8, > > Exynos7885) but when CONFIG_ARCH_FIXUP_FDT_MEMORY is enabled, the bootm > >

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

2023-07-10 Thread Simon Glass
On Fri, 7 Jul 2023 at 13:17, 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

Re: [PATCH v4 3/3] binman: Add tests for etype encrypted

2023-07-10 Thread Simon Glass
Hi Christian, On Mon, 10 Jul 2023 at 03:26, wrote: > > From: Christian Taedcke > > Add tests to reach 100% code coverage for the added etype encrypted. > > Signed-off-by: Christian Taedcke > --- > > Changes in v4: > - fix failing test testEncryptedKeyFile > > Changes in v3: > - rebase on

Re: [PATCH 07/10] test: dm: add SCMI base protocol test

2023-07-10 Thread Simon Glass
Hi, On Sun, 9 Jul 2023 at 20:04, AKASHI Takahiro wrote: > > On Fri, Jul 07, 2023 at 11:35:49AM -0600, Simon Glass wrote: > > Hi, > > > > On Tue, 4 Jul 2023 at 03:35, AKASHI Takahiro > > wrote: > > > > > > Hi Simon, > > > > > > On Mon, Jul 03, 2023 at 02:30:57PM +0100, Simon Glass wrote: > > >

Re: [BUG] fdt_pack_reg in common/fdt_support.c can cause crash from unaligned access

2023-07-10 Thread Simon Glass
Hi David, On Sun, 9 Jul 2023 at 19:11, David Virag wrote: > > Hi, > > I'm trying to port U-Boot to a new board (Samsung JACKPOTLTE, ARMv8, > Exynos7885) but when CONFIG_ARCH_FIXUP_FDT_MEMORY is enabled, the bootm > command leads to an unaligned memory access, which results in a > synchronous

Re: [PATCH v3 01/11] nuvoton: npcm845-evb: Add a newline at the end of file

2023-07-10 Thread Simon Glass
On Sun, 9 Jul 2023 at 07:33, Sughosh Ganu wrote: > > Add a newline at the end of the dts, without which the build fails > when including the u-boot.dtsi file. > > Signed-off-by: Sughosh Ganu > --- > Changes since V2: > * New patch > > arch/arm/dts/nuvoton-npcm845-evb.dts | 2 +- > 1 file

Re: [PATCH v3 09/19] binman: Convert mkimage to Entry_section

2023-07-10 Thread Simon Glass
Hi Jonas, On Mon, 10 Jul 2023 at 11:35, Jonas Karlman wrote: > > Hi Simon, > > On 2023-07-10 04:41, Simon Glass wrote: > > From: Marek Vasut > > > > This is needed to handle mkimage with inner section located itself in a > > section. > > > > Signed-off-by: Marek Vasut > > Use

Re: [PATCH v4 2/3] binman: Allow cipher node as special section

2023-07-10 Thread Simon Glass
On Mon, 10 Jul 2023 at 03:26, wrote: > > From: Christian Taedcke > > The new encrypted etype generates a cipher node in the device tree > that should not be evaluated by binman, but still be kept in the > output device tree. > > Signed-off-by: Christian Taedcke > --- > > (no changes since v3) >

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

2023-07-10 Thread Simon Glass
On Fri, 7 Jul 2023 at 13:17, 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

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

2023-07-10 Thread Simon Glass
On Fri, 7 Jul 2023 at 13:17, 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

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

2023-07-10 Thread Simon Glass
On Fri, 7 Jul 2023 at 13:17, 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:

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

2023-07-10 Thread Simon Glass
On Fri, 7 Jul 2023 at 13:17, 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

Re: [RFC PATCH 2/2] board: ti: am65x: Move to using Extension framework

2023-07-10 Thread Simon Glass
Hi Roger, On Mon, 10 Jul 2023 at 08:51, Roger Quadros wrote: > > Support the Expansion cards via Extension framework. > This should make 'expansion' command work to scan > for expansion cards and apply DT overlays. > > Card detection code is moved to a library so > other boards can benefit from

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

2023-07-10 Thread Simon Glass
On Fri, 7 Jul 2023 at 13:17, 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 > --- > I have no idea why

Re: [PATCH v1 1/2] drivers: firmware: introduce Meson Secure Monitor driver

2023-07-10 Thread Simon Glass
Hi Alexey, On Mon, 10 Jul 2023 at 02:34, Alexey Romanov wrote: > > > Hello! > > On Fri, Jul 07, 2023 at 11:35:47AM -0600, Simon Glass wrote: > > Hi Alexey, > > > > On Fri, 7 Jul 2023 at 09:43, Alexey Romanov > > wrote: > > > > > > Hello, Simon! > > > > > > On Thu, Jul 06, 2023 at 09:58:02AM

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

2023-07-10 Thread Simon Glass
On Fri, 7 Jul 2023 at 13:17, 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

Re: [PATCH v14 05/11] log: select physical address formatting in a generic way

2023-07-10 Thread Simon Glass
Hi Abdellatif, On Mon, 10 Jul 2023 at 08:49, Abdellatif El Khlifi wrote: > > Hi Simon, > > On Mon, Jul 10, 2023 at 08:17:41AM -0600, Simon Glass wrote: > > Hi Abdellatif, > > > > On Mon, 10 Jul 2023 at 06:15, Abdellatif El Khlifi > > wrote: > > > > > > Hi Simon, > > > > > > On Fri, Jul 07, 2023

Re: [PATCH 0/7] rockchip: veyron: Synchronize changes for veyron boards

2023-07-10 Thread Simon Glass
Hi Alper, On Fri, 7 Jul 2023 at 13:17, Alper Nebi Yasak wrote: > > There have been bug fixes and new features for some veyron-based boards > which are applicable to others because they share most of the underlying > hardware. This series tries to synchronize changes across all veyron > boards. >

Re: [PATCH] board: stm32mp1: add splash screen with stmicroelectronics logo

2023-07-10 Thread Dario Binacchi
Hi Patrick, On Mon, Jul 10, 2023 at 1:31 PM Patrick Delaunay wrote: > > Display the STMicroelectronics logo with features VIDEO_LOGO and > SPLASH_SCREEN on STMicroelectronics boards. > > With CONFIG_SYS_VENDOR = "st", the logo st.bmp is selected, loaded at the > address indicated by splashimage

Re: [PATCH v2] powerpc: Add support for CZ.NIC Turris 1.x routers

2023-07-10 Thread Marek Behún
On Mon, 10 Jul 2023 16:19:32 +0200 Pali Rohár wrote: > On Monday 12 June 2023 14:07:24 Tom Rini wrote: > > On Wed, Aug 17, 2022 at 10:56:22PM +0200, Pali Rohár wrote: > > > > > CZ.NIC Turris 1.0 and 1.1 are open source routers, they have dual-core > > > PowerPC Freescale P2020 CPU and are

Re: [PATCH v3 00/19] binman: Simple templating feature and mkimage conversion

2023-07-10 Thread Jan Kiszka
On 10.07.23 18:00, Simon Glass wrote: > Hi Jan, > > On Sun, 9 Jul 2023 at 23:21, Jan Kiszka wrote: >> >> On 10.07.23 04:40, Simon Glass wrote: >>> This series converts the mkimage entry type to be a section, i.e. based on >>> the entry_Section class. This makes it more consistent in its

[ANN] U-Boot v2023.07 released

2023-07-10 Thread Tom Rini
Hey all, It's a week after our planned release date, but, we've gotten the issues that had delayed the release sorted out and understood. I want to thank everyone that's contributed to this release, not just in terms of code, but documentation, testing and otherwise ensuring things go as

Re: [PATCH v3 09/19] binman: Convert mkimage to Entry_section

2023-07-10 Thread Jonas Karlman
Hi Simon, On 2023-07-10 04:41, Simon Glass wrote: > From: Marek Vasut > > This is needed to handle mkimage with inner section located itself in a > section. > > Signed-off-by: Marek Vasut > Use BuildSectionData() instead of ObtainContents(), add tests and a few > other minor fixes: >

Re: [PATCH v3] phy: phy-imx8mq-usb: add vbus regulator support

2023-07-10 Thread Jonas Karlman
Hi Tim, On 2023-07-10 19:14, Tim Harvey wrote: > Add support for enabling and disabling vbus-supply regulator found > on several imx8mp boards in the usb3_phy0 and usb3_phy1 nodes. > > Signed-off-by: Tim Harvey > Reviewed-by: Adam Ford > --- > v3: > - change pr_err to dev_err > - add #if

Re: [PATCH v3] phy: phy-imx8mq-usb: add vbus regulator support

2023-07-10 Thread Marek Vasut
On 7/10/23 19:14, Tim Harvey wrote: Add support for enabling and disabling vbus-supply regulator found on several imx8mp boards in the usb3_phy0 and usb3_phy1 nodes. Signed-off-by: Tim Harvey Reviewed-by: Adam Ford Reviewed-by: Marek Vasut Thanks !

Re: [PATCH 1/2] rockchip: Add initial support for the PineTab2 from PINE64

2023-07-10 Thread Jonas Karlman
Hi David, On 2023-07-10 13:05, David Hewitt wrote: > Specification: > - Rockchip RK3566 > - 4 or 8GB LPDDR4 > - 64 or 128 GB eMMC storage > - mSD card slot > - 128Mbit (16Mb) SPI Flash > - BES2600 for WiFi + BT > - 10.1 inch 1280*800 MIPI display > - Front and rear cameras > - USB 3.0, 2.0 Type-C

[PATCH v3] phy: phy-imx8mq-usb: add vbus regulator support

2023-07-10 Thread Tim Harvey
Add support for enabling and disabling vbus-supply regulator found on several imx8mp boards in the usb3_phy0 and usb3_phy1 nodes. Signed-off-by: Tim Harvey Reviewed-by: Adam Ford --- v3: - change pr_err to dev_err - add #if CONFIG_IS_ENABLED around vbus_supply in struct - add fail path to

Re: [PATCH v2] phy: phy-imx8mq-usb: add vbus regulator support

2023-07-10 Thread Tim Harvey
On Mon, Jul 10, 2023 at 9:33 AM Marek Vasut wrote: > > On 7/10/23 17:58, Tim Harvey wrote: > > On Mon, Jul 10, 2023 at 8:44 AM Marek Vasut wrote: > >> > >> On 7/10/23 17:26, Tim Harvey wrote: > >>> On Sat, Jul 8, 2023 at 1:55 PM Marek Vasut wrote: > > On 6/9/23 19:28, Tim Harvey

Re: [PATCH v2 2/2] mmc: Add quirk to disable PWREN for dw_mmc

2023-07-10 Thread Jonas Karlman
Hi David, On 2023-07-10 15:08, David Hewitt wrote: > This is required for correct booting of the PINE64 PineTab2. If > PWREN is pulled high on this device, the SD card cannot be detected. This quirk is not needed when SPL properly perform pinconfig to let the fixed regulator control this gpio

Re: [PATCH v2] phy: phy-imx8mq-usb: add vbus regulator support

2023-07-10 Thread Marek Vasut
On 7/10/23 17:58, Tim Harvey wrote: On Mon, Jul 10, 2023 at 8:44 AM Marek Vasut wrote: On 7/10/23 17:26, Tim Harvey wrote: On Sat, Jul 8, 2023 at 1:55 PM Marek Vasut wrote: On 6/9/23 19:28, Tim Harvey wrote: Add support for enabling and disabling vbus-supply regulator found on several

Re: [GIT PULL] Please pull fsl-qoirq-2023-7-6 for next

2023-07-10 Thread Tom Rini
On Mon, Jul 10, 2023 at 01:52:51AM +, Peng Fan wrote: > Hi Tom, > > Please pull fsl-qoriq-2023-7-6 for next > Applied to u-boot/next, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH v14 11/11] arm_ffa: efi: corstone1000: enable MM communication

2023-07-10 Thread Tom Rini
On Mon, Jul 10, 2023 at 04:03:22PM +0100, Abdellatif El Khlifi wrote: > Hi Simon, Tom, > > > > > > #include > > > > > > > > > > +#define FFA_SHARED_MM_BUFFER_SIZE SZ_4K /* 4 KB */ > > > > > + > > > > > +/* > > > > > + * shared buffer physical address used for communication between > > > >

Re: [PATCH u-boot 0/3] Revert broken Bootmenu commits

2023-07-10 Thread Stefan Roese
On 7/10/23 17:17, Tom Rini wrote: On Mon, Jul 10, 2023 at 04:10:39PM +0200, Pali Rohár wrote: On Sunday 25 June 2023 21:08:19 Tom Rini wrote: On Sun, Jun 25, 2023 at 05:15:34PM +0200, Pali Rohár wrote: On Sunday 25 June 2023 10:52:13 Tom Rini wrote: On Sun, Jun 25, 2023 at 09:50:39AM +0200,

Re: [PATCH v3 00/19] binman: Simple templating feature and mkimage conversion

2023-07-10 Thread Simon Glass
Hi Jan, On Sun, 9 Jul 2023 at 23:21, Jan Kiszka wrote: > > On 10.07.23 04:40, Simon Glass wrote: > > This series converts the mkimage entry type to be a section, i.e. based on > > the entry_Section class. This makes it more consistent in its behaviour, > > e.g. allowing symbol writing and

Re: [PATCH v2] phy: phy-imx8mq-usb: add vbus regulator support

2023-07-10 Thread Tim Harvey
On Mon, Jul 10, 2023 at 8:44 AM Marek Vasut wrote: > > On 7/10/23 17:26, Tim Harvey wrote: > > On Sat, Jul 8, 2023 at 1:55 PM Marek Vasut wrote: > >> > >> On 6/9/23 19:28, Tim Harvey wrote: > >>> Add support for enabling and disabling vbus-supply regulator found > >>> on several imx8mp boards in

Re: [PATCH] spl: Add function called after fpga image upload

2023-07-10 Thread Marek Vasut
On 7/10/23 17:47, Simon Glass wrote: Hi, On Mon, 10 Jul 2023 at 09:15, Taedcke, Christian wrote: Am 10.07.2023 um 15:44 schrieb Marek Vasut: On 7/10/23 15:02, Taedcke, Christian wrote: Am 10.07.2023 um 13:41 schrieb Michal Simek: On 6/27/23 11:04, christian.taedcke-...@weidmueller.com

Re: [PATCH] spl: Add function called after fpga image upload

2023-07-10 Thread Simon Glass
Hi, On Mon, 10 Jul 2023 at 09:15, Taedcke, Christian wrote: > > > > Am 10.07.2023 um 15:44 schrieb Marek Vasut: > > On 7/10/23 15:02, Taedcke, Christian wrote: > >> Am 10.07.2023 um 13:41 schrieb Michal Simek: > >>> > >>> > >>> On 6/27/23 11:04, christian.taedcke-...@weidmueller.com wrote: >

Re: [PATCH v2] phy: phy-imx8mq-usb: add vbus regulator support

2023-07-10 Thread Marek Vasut
On 7/10/23 17:26, Tim Harvey wrote: On Sat, Jul 8, 2023 at 1:55 PM Marek Vasut wrote: On 6/9/23 19:28, Tim Harvey wrote: Add support for enabling and disabling vbus-supply regulator found on several imx8mp boards in the usb3_phy0 and usb3_phy1 nodes. Signed-off-by: Tim Harvey Reviewed-by:

Re: [PATCH] spl: Add function called after fpga image upload

2023-07-10 Thread Marek Vasut
On 7/10/23 17:15, Taedcke, Christian wrote: Am 10.07.2023 um 15:44 schrieb Marek Vasut: On 7/10/23 15:02, Taedcke, Christian wrote: Am 10.07.2023 um 13:41 schrieb Michal Simek: On 6/27/23 11:04, christian.taedcke-...@weidmueller.com wrote: From: Christian Taedcke This way custom logic

Re: [PATCH v2 00/11] Remove unnecessary USBx dr_mode configuration.

2023-07-10 Thread Roger Quadros
On 10/07/2023 16:54, Julien Panis wrote: > For all TI platforms handled in this series, USBx dr_mode > was configured as peripheral in '-u-boot.dtsi'. > This series removes these fragments, since USBx dual-role > feature is already handled as peripheral only in > 'dwc3_glue_bind_common()'

Re: [PATCH v2] phy: phy-imx8mq-usb: add vbus regulator support

2023-07-10 Thread Tim Harvey
On Sat, Jul 8, 2023 at 1:55 PM Marek Vasut wrote: > > On 6/9/23 19:28, Tim Harvey wrote: > > Add support for enabling and disabling vbus-supply regulator found > > on several imx8mp boards in the usb3_phy0 and usb3_phy1 nodes. > > > > Signed-off-by: Tim Harvey > > Reviewed-by: Adam Ford > > ---

Re: [PATCH 10/10] arm: dts: keystone-k2e-evm-u-boot: Remove usb1 mode configuration

2023-07-10 Thread Tom Rini
On Mon, Jul 10, 2023 at 10:57:19AM +0200, Julien Panis wrote: > Hi Roger, > > On 7/10/23 09:53, Roger Quadros wrote: > > Hi Julien, > > > > On 06/07/2023 19:07, Julien Panis wrote: > > > USB1 dual-role feature is already handled as peripheral only > > > in dwc3-generic driver. > > > > > >

Re: [PATCH u-boot 0/3] Revert broken Bootmenu commits

2023-07-10 Thread Tom Rini
On Mon, Jul 10, 2023 at 04:10:39PM +0200, Pali Rohár wrote: > On Sunday 25 June 2023 21:08:19 Tom Rini wrote: > > On Sun, Jun 25, 2023 at 05:15:34PM +0200, Pali Rohár wrote: > > > On Sunday 25 June 2023 10:52:13 Tom Rini wrote: > > > > On Sun, Jun 25, 2023 at 09:50:39AM +0200, Pali Rohár wrote: >

Re: [PATCH] spl: Add function called after fpga image upload

2023-07-10 Thread Taedcke, Christian
Am 10.07.2023 um 15:44 schrieb Marek Vasut: On 7/10/23 15:02, Taedcke, Christian wrote: Am 10.07.2023 um 13:41 schrieb Michal Simek: On 6/27/23 11:04, christian.taedcke-...@weidmueller.com wrote: From: Christian Taedcke This way custom logic can be implemented per board after the fpga

Re: [PATCH] common: Kconfig: Fix CMD_BMP/BMP dependency

2023-07-10 Thread Tom Rini
On Sun, Jul 09, 2023 at 07:18:10PM -0400, Samuel Dionne-Riel wrote: > Using `default y` will not select BMP when CMD_BMP has been enabled, if > it was already configured. > > By using `select`, if `CMD_BMP` is turned on, it will force the presence > of `BMP`. > > Fixes:

Re: [PATCH v14 11/11] arm_ffa: efi: corstone1000: enable MM communication

2023-07-10 Thread Abdellatif El Khlifi
Hi Simon, Tom, > > > > #include > > > > > > > > +#define FFA_SHARED_MM_BUFFER_SIZE SZ_4K /* 4 KB */ > > > > + > > > > +/* > > > > + * shared buffer physical address used for communication between > > > > + * u-boot and the MM SP > > > > + */ > > > > +#define FFA_SHARED_MM_BUFFER_ADDR

[PATCH 1/2] arm: dts: k3-am64: Sync DT with Linux

2023-07-10 Thread Roger Quadros
Sync all am642-evm/am642-sk related DT files with Linux. Signed-off-by: Roger Quadros --- arch/arm/dts/k3-am64-main.dtsi| 171 +++-- arch/arm/dts/k3-am64-mcu.dtsi | 53 +++- arch/arm/dts/k3-am64-thermal.dtsi | 33 + arch/arm/dts/k3-am64.dtsi

[PATCH 2/2] board: ti: am64x: Recognize AM64-HSEVM

2023-07-10 Thread Roger Quadros
AM64-HSEVM is AM64-GPEVM with High Security Device. Gets rid of "Unidentified board claims AM64-HSEVM in eeprom header". Signed-off-by: Roger Quadros --- board/ti/am64x/evm.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/board/ti/am64x/evm.c b/board/ti/am64x/evm.c index

[PATCH 0/2] arm: dts: k3-am6: Sync DT with Linux

2023-07-10 Thread Roger Quadros
Hi, This series syncs AM64/AM62 DT files with Linux. cheeers, -roger Roger Quadros (2): arm: dts: k3-am64: Sync DT with Linux board: ti: am64x: Recognize AM64-HSEVM arch/arm/dts/k3-am64-main.dtsi| 171 +++-- arch/arm/dts/k3-am64-mcu.dtsi | 53 +++-

[RFC PATCH 2/2] board: ti: am65x: Move to using Extension framework

2023-07-10 Thread Roger Quadros
Support the Expansion cards via Extension framework. This should make 'expansion' command work to scan for expansion cards and apply DT overlays. Card detection code is moved to a library so other boards can benefit from it. Signed-off-by: Roger Quadros --- board/ti/am65x/evm.c |

[RFC PATCH 1/2] board: ti: common: Add CONFIG_TI_CAPE_DETECT for cape detection

2023-07-10 Thread Roger Quadros
CONFIG_CMD_EXTENSION may be used on other TI boards that may not require Cape detection logic. Add CONFIG_TI_CAPE_DETECT for Cape detection logic so it can be enabled independently. Enable it by default only for platforms that require it. i.e. AM335X Signed-off-by: Roger Quadros ---

[RFC PATCH 0/2] board: ti: Use Extension framework

2023-07-10 Thread Roger Quadros
Hi, RFC as only build tested. Need to get early feedback before I spend more time on this. Newer TI boards (AM6/J7) are using a custom logic to detect expansion cards and set a 'name_overlays' environment variable. Then DT overlays are applied by again custom environment scripts during boot.

Re: [PATCH v14 05/11] log: select physical address formatting in a generic way

2023-07-10 Thread Abdellatif El Khlifi
Hi Simon, On Mon, Jul 10, 2023 at 08:17:41AM -0600, Simon Glass wrote: > Hi Abdellatif, > > On Mon, 10 Jul 2023 at 06:15, Abdellatif El Khlifi > wrote: > > > > Hi Simon, > > > > On Fri, Jul 07, 2023 at 06:34:14PM +0100, Simon Glass wrote: > > > Hi Abdellatif, > > > > > > On Fri, 7 Jul 2023 at

Re: [PATCH 2/6] nokia_rx51: Correct tstc() implementation

2023-07-10 Thread Simon Glass
Hi Pali, On Mon, 10 Jul 2023 at 08:01, Pali Rohár wrote: > > On Saturday 17 June 2023 11:49:49 Simon Glass wrote: > > This returns false even when there are keys in the buffer. > > This is not truth. After scanning HW buffer it returns the correct > information if some key is in SW buffer, even

Re: [PATCH 0/6] nokia_nx51: Attempts to debug keyboard

2023-07-10 Thread Simon Glass
Hi Pali, On Mon, 10 Jul 2023 at 08:08, Pali Rohár wrote: > > With this patch series applied, pressing DOWN key on UART prints this > "garbage" on the UART: > > [c=1b] > > [i=0 1] P/DOWN to move, ENTER to select, ESC to quit > > [c=5b] > > [i=0 2] > > [c=42] > > [i=e 0] > [got bkey 0] > >

Re: [PATCH v2] powerpc: Add support for CZ.NIC Turris 1.x routers

2023-07-10 Thread Pali Rohár
On Monday 12 June 2023 14:07:24 Tom Rini wrote: > On Wed, Aug 17, 2022 at 10:56:22PM +0200, Pali Rohár wrote: > > > CZ.NIC Turris 1.0 and 1.1 are open source routers, they have dual-core > > PowerPC Freescale P2020 CPU and are based on Freescale P2020RDB-PC-A board. > > > > Hardware design is

Re: [PATCH v14 05/11] log: select physical address formatting in a generic way

2023-07-10 Thread Simon Glass
Hi Abdellatif, On Mon, 10 Jul 2023 at 06:15, Abdellatif El Khlifi wrote: > > Hi Simon, > > On Fri, Jul 07, 2023 at 06:34:14PM +0100, Simon Glass wrote: > > Hi Abdellatif, > > > > On Fri, 7 Jul 2023 at 15:44, Abdellatif El Khlifi > > wrote: > > > > > > sets the log formatting according to the

Re: [PATCH u-boot 0/3] Revert broken Bootmenu commits

2023-07-10 Thread Simon Glass
Hi Pali, On Mon, 10 Jul 2023 at 08:10, Pali Rohár wrote: > > On Sunday 25 June 2023 21:08:19 Tom Rini wrote: > > On Sun, Jun 25, 2023 at 05:15:34PM +0200, Pali Rohár wrote: > > > On Sunday 25 June 2023 10:52:13 Tom Rini wrote: > > > > On Sun, Jun 25, 2023 at 09:50:39AM +0200, Pali Rohár wrote: >

Re: [PATCH u-boot 0/3] Revert broken Bootmenu commits

2023-07-10 Thread Pali Rohár
On Sunday 25 June 2023 21:08:19 Tom Rini wrote: > On Sun, Jun 25, 2023 at 05:15:34PM +0200, Pali Rohár wrote: > > On Sunday 25 June 2023 10:52:13 Tom Rini wrote: > > > On Sun, Jun 25, 2023 at 09:50:39AM +0200, Pali Rohár wrote: > > > > On Saturday 24 June 2023 12:58:07 Tom Rini wrote: > > > > > On

[PATCH v2] xilinx: zynqmp: Extract aes operation into new file

2023-07-10 Thread christian . taedcke-oss
From: Christian Taedcke This moves the aes operation that is performed by the pmu into a separate file. This way it can be called not just from the shell command, but also e.g. from board initialization code. Signed-off-by: Christian Taedcke --- Changes in v2: - convert doxygen comments to

Re: [PATCH 0/6] nokia_nx51: Attempts to debug keyboard

2023-07-10 Thread Pali Rohár
With this patch series applied, pressing DOWN key on UART prints this "garbage" on the UART: [c=1b] [i=0 1] P/DOWN to move, ENTER to select, ESC to quit [c=5b] [i=0 2] [c=42] [i=e 0] [got bkey 0] And nothing happens. Pressing it second time prints this "garbage": [c=1b] [Press

Re: [PATCH 0/6] nokia_nx51: Attempts to debug keyboard

2023-07-10 Thread Pali Rohár
On Monday 26 June 2023 10:07:35 Simon Glass wrote: > Hi Pali, > > On Sat, 24 Jun 2023 at 09:44, Pali Rohár wrote: > > > > On Saturday 17 June 2023 11:49:47 Simon Glass wrote: > > > This series is an attempt to get the keyboard working properly with > > > bootmenu. > > > > > > It fixes the

Re: [PATCH 2/6] nokia_rx51: Correct tstc() implementation

2023-07-10 Thread Pali Rohár
On Saturday 17 June 2023 11:49:49 Simon Glass wrote: > This returns false even when there are keys in the buffer. This is not truth. After scanning HW buffer it returns the correct information if some key is in SW buffer, even when function did not read anything from HW buffer. So, NAK. > Fix

[PATCH v2 10/11] arm: dts: k3-j721e-common-proc-board-u-boot: Remove usb0 mode configuration

2023-07-10 Thread Julien Panis
USB0 dual-role feature is already handled as peripheral only in dwc3-generic driver. Signed-off-by: Julien Panis --- arch/arm/dts/k3-j721e-common-proc-board-u-boot.dtsi | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm/dts/k3-j721e-common-proc-board-u-boot.dtsi

[PATCH v2 11/11] arm: dts: keystone-k2e-evm-u-boot: Remove usb1 mode configuration

2023-07-10 Thread Julien Panis
USB1 dual-role feature is already handled as peripheral only in dwc3-generic driver. Signed-off-by: Julien Panis --- arch/arm/dts/keystone-k2e-evm-u-boot.dtsi | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm/dts/keystone-k2e-evm-u-boot.dtsi

[PATCH v2 09/11] arm: dts: k3-j7200-common-proc-board-u-boot: Remove usb0 mode configuration

2023-07-10 Thread Julien Panis
USB0 dual-role feature is already handled as peripheral only in dwc3-generic driver. Signed-off-by: Julien Panis --- arch/arm/dts/k3-j7200-common-proc-board-u-boot.dtsi | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm/dts/k3-j7200-common-proc-board-u-boot.dtsi

[PATCH v2 08/11] arm: dts: k3-am654-r5-base-board-u-boot: Remove usb mode configuration

2023-07-10 Thread Julien Panis
USB0 and USB1 dual-role feature is already handled as peripheral only in dwc3-generic driver. Signed-off-by: Julien Panis --- arch/arm/dts/k3-am654-r5-base-board-u-boot.dtsi | 5 - 1 file changed, 5 deletions(-) diff --git a/arch/arm/dts/k3-am654-r5-base-board-u-boot.dtsi

[PATCH v2 07/11] arm: dts: k3-am642-evm-u-boot: Remove usb0 mode configuration

2023-07-10 Thread Julien Panis
USB0 dual-role feature is already handled as peripheral only in dwc3-generic driver. Signed-off-by: Julien Panis --- arch/arm/dts/k3-am642-evm-u-boot.dtsi | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm/dts/k3-am642-evm-u-boot.dtsi b/arch/arm/dts/k3-am642-evm-u-boot.dtsi index

[PATCH v2 06/11] arm: dts: dra76-evm-u-boot: Remove usb1 mode configuration

2023-07-10 Thread Julien Panis
USB1 dual-role feature is already handled as peripheral only in dwc3-generic driver. Signed-off-by: Julien Panis --- arch/arm/dts/dra76-evm-u-boot.dtsi | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm/dts/dra76-evm-u-boot.dtsi b/arch/arm/dts/dra76-evm-u-boot.dtsi index

[PATCH v2 05/11] arm: dts: dra72-evm-u-boot: Remove usb1 mode configuration

2023-07-10 Thread Julien Panis
USB1 dual-role feature is already handled as peripheral only in dwc3-generic driver. Signed-off-by: Julien Panis --- arch/arm/dts/dra72-evm-u-boot.dtsi | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm/dts/dra72-evm-u-boot.dtsi b/arch/arm/dts/dra72-evm-u-boot.dtsi index

[PATCH v2 04/11] arm: dts: dra72-evm-revc-u-boot: Remove usb1 mode configuration

2023-07-10 Thread Julien Panis
USB1 dual-role feature is already handled as peripheral only in dwc3-generic driver. Signed-off-by: Julien Panis --- arch/arm/dts/dra72-evm-revc-u-boot.dtsi | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm/dts/dra72-evm-revc-u-boot.dtsi b/arch/arm/dts/dra72-evm-revc-u-boot.dtsi

[PATCH v2 02/11] arm: dts: dra7-evm-u-boot: Remove usb1 mode configuration

2023-07-10 Thread Julien Panis
USB1 dual-role feature is already handled as peripheral only in dwc3-generic driver. Signed-off-by: Julien Panis --- arch/arm/dts/dra7-evm-u-boot.dtsi | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm/dts/dra7-evm-u-boot.dtsi b/arch/arm/dts/dra7-evm-u-boot.dtsi index

[PATCH v2 01/11] usb: dwc3: Handle unknown mode as otg

2023-07-10 Thread Julien Panis
In case dr_mode attribute is not passed via DT, USB DRD controllers should default to OTG. Signed-off-by: Julien Panis --- drivers/usb/dwc3/dwc3-generic.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/usb/dwc3/dwc3-generic.c b/drivers/usb/dwc3/dwc3-generic.c

[PATCH v2 03/11] arm: dts: dra71-evm-u-boot: Remove usb1 mode configuration

2023-07-10 Thread Julien Panis
USB1 dual-role feature is already handled as peripheral only in dwc3-generic driver. Signed-off-by: Julien Panis --- arch/arm/dts/dra71-evm-u-boot.dtsi | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm/dts/dra71-evm-u-boot.dtsi b/arch/arm/dts/dra71-evm-u-boot.dtsi index

[PATCH v2 00/11] Remove unnecessary USBx dr_mode configuration.

2023-07-10 Thread Julien Panis
For all TI platforms handled in this series, USBx dr_mode was configured as peripheral in '-u-boot.dtsi'. This series removes these fragments, since USBx dual-role feature is already handled as peripheral only in 'dwc3_glue_bind_common()' function of 'dwc3-generic.c' driver: static int

  1   2   >