Re: commit 787f04bb6a - imx: add USB2_BOOT type

2023-04-16 Thread Rasmus Villemoes
On 26/10/2022 01.42, Rasmus Villemoes wrote: > On 18/10/2022 02.43, Peng Fan wrote: >> + Stefano & Fabio >> > > > Is there any chance you could make some information on that ROM API > public so it's possible for outsiders to understand what's going on? >> >> What could only help is to

Re: [PATCH V3 2/2] ARM: dts: rockchip: rk3588s-u-boot: Add rng node

2023-04-16 Thread Sughosh Ganu
hi Chris, On Thu, 13 Apr 2023 at 19:43, Chris Morgan wrote: > > From: Chris Morgan > > Add a node for the trng found on RK3588 SoCs. > > Changes in V3: > - Added Reviewed-By tag. > > Changes in V2: > - None Same comment for the changelog lines as in the other patch. Other than that Acked-by

Re: [PATCH V3 1/2] rockchip: rng: add trngv1 for rk3588

2023-04-16 Thread Sughosh Ganu
hi Chris, On Thu, 13 Apr 2023 at 19:43, Chris Morgan wrote: > > From: Chris Morgan > > This adds support for the TRNG found in the RK3588 SoC to the > rockchip_rng driver so that it can be used for things such as > seeding randomness to Linux. > > Changes in V3: > - Moved notes from commit to c

Re: [PATCH v4 3/6] tools: Add mkfwumdata tool for FWU metadata image

2023-04-16 Thread Michal Simek
On 4/14/23 17:02, Jassi Brar wrote: On Fri, Apr 14, 2023 at 8:53 AM Michal Simek wrote: On 4/10/23 06:05, Jassi Brar wrote: On Wed, 29 Mar 2023 at 07:29, Michal Simek wrote: On 3/27/23 23:16, jassisinghb...@gmail.com wrote: diff --git a/tools/mkfwumdata.c b/tools/mkfwumdata.c new fi

[PATCH] arm: mach-k3: j7200: Fix firewall warnings at boot time

2023-04-16 Thread Manorit Chawdhry
J721E and J7200 have same file j721e_init.c which had the firewall configs for J721E being applied on J7200 causing the warnings. Split the firewalls for both the boards to remove those warnings. Signed-off-by: Manorit Chawdhry --- arch/arm/mach-k3/j721e_init.c | 6 ++ 1 file changed, 6 inse

Re: [PATCH] riscv: Add a 64-bit image type

2023-04-16 Thread Bin Meng
Hi Leo, On Mon, Apr 17, 2023 at 1:22 PM Leo Liang wrote: > > Hi Bin, > > On Thu, Apr 13, 2023 at 06:06:29PM +0800, Bin Meng wrote: > > On Mon, Apr 10, 2023 at 3:25 PM Rick Chen wrote: > > > > > > > From: Simon Glass > > > > Sent: Monday, April 03, 2023 4:28 AM > > > > To: U-Boot Mailing List >

Re: [PATCH u-boot 2/4] cmd: mvebu/bubt: Validate EXT_CSD[179] eMMC register in mmc_burn_image()

2023-04-16 Thread Stefan Roese
On 4/13/23 23:10, Pali Rohár wrote: When determining eMMC boot partition for a bootloader, validate that EXT_CSD[179] eMMC register is set to recognized value. This prevent situation that EXT_CSD[179] Boot Enable value is improperly parsed and passed into EXT_CSD[179] Partition Access. Signed-o

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

2023-04-16 Thread Neha Malcom Francis
Hi Manorit On 24/03/23 15:45, Manorit Chawdhry wrote: K3 devices have runtime type board detection. Make the default defconfig include the secure configuration. Then remove the HS specific config. Non-HS devices will continue to boot due to runtime device type detection. If TI_SECURE_DEV_PKG is

Re: [PATCH V7 14/14] common: Replace #ifdef and #if with if's

2023-04-16 Thread Devarsh Thakkar
Hi Nikhil, Thanks for the patch. On 10/04/23 12:58, Nikhil M Jain wrote: > Remove #ifdef in header file to avoid multiple definitions while multiple definitions doesnt seem to be right phrase as that will give compilation error anyway. > compilation. To improve code readability use if() rather t

Re: [PATCH] riscv: Add a 64-bit image type

2023-04-16 Thread Leo Liang
Hi Bin, On Thu, Apr 13, 2023 at 06:06:29PM +0800, Bin Meng wrote: > On Mon, Apr 10, 2023 at 3:25 PM Rick Chen wrote: > > > > > From: Simon Glass > > > Sent: Monday, April 03, 2023 4:28 AM > > > To: U-Boot Mailing List > > > Cc: Sean Anderson ; Bin Meng ; > > > Rick Jian-Zhi Chen(陳建志) ; Leo Yu-

Re: [PATCH u-boot 3/3] pci: mpc85xx: Do not try to access extended PCIe registers

2023-04-16 Thread Heiko Schocher
Hello Pali, On 13.04.23 22:41, Pali Rohár wrote: > Driver pci_mpc85xx.c is PCI controller driver for old PCI Local Bus, > which does not support access to extended PCIe registers (above 0xff), > as opposite of the PCIe driver pcie_fsl.c for the same platform. > > So do not try to access extended

Re: [PATCH u-boot 2/3] pci: mpc85xx: Allow 8/16-bit access to PCI config space

2023-04-16 Thread Heiko Schocher
Hello Pali, On 13.04.23 22:41, Pali Rohár wrote: > This Freescale mpc85xx PCI controller should support 8-bit and 16-bit read > and write access to PCI config space as described in more Freescale > reference manuals. > > This change fixes issue that 8-bit and 16-bit write to PCI config space > ca

Re: [PATCH u-boot 1/3] pci: mpc85xx: Add missing sync() after writing to PCI config space

2023-04-16 Thread Heiko Schocher
Hello Pali, On 13.04.23 22:41, Pali Rohár wrote: > On PowerPC we should use barrier after store operation to HW register. > > Signed-off-by: Pali Rohár > --- > drivers/pci/pci_mpc85xx.c | 1 + > 1 file changed, 1 insertion(+) Good catch, thanks! Reviewed-by: Heiko Schocher Tested-by: Heiko S

Re: [PATCH u-boot 0/3] pci: mpc85xx: Fixes for PCI config space

2023-04-16 Thread Heiko Schocher
Hello Pali, On 13.04.23 22:41, Pali Rohár wrote: > This patch series contains small fixes for mpc85xx old PCI Local Bus driver. > > Heiko: Are you able to test these changes? Has your Socrates board > available old PCI Local Bus support? > > Pali Rohár (3): > pci: mpc85xx: Add missing sync() a

Re: [PATCH v2 1/2] ARM: dts: rk3588-rock-5b-u-boot: add u-boot, dm-spl to pinctrl for sdmmc

2023-04-16 Thread Kever Yang
On 2023/4/14 17:45, Eugen Hristev wrote: On 4/14/23 11:55, Kever Yang wrote: On 2023/3/18 00:29, Eugen Hristev wrote: To be able to initialize the pinctrl correctly at SPL level and read u-boot proper from SD-Card, the pinctrl must be initialized. Signed-off-by: Eugen Hristev Reviewed-by:

Re: [PATCH 2/2] reset: rockchip: implement rk3588 lookup table

2023-04-16 Thread Kever Yang
On 2023/4/13 19:36, Eugen Hristev wrote: The current DT bindings for the rk3588 clock use a different ID than the one that is supposed to be written to the hardware registers. Thus, we cannot use directly the id provided in the phandle, but rather use a lookup table to correctly setup the hardw

Re: [PATCH 1/2] clk: rockchip: rk3588: add hardcoded assigned clocks values

2023-04-16 Thread Kever Yang
On 2023/4/13 19:36, Eugen Hristev wrote: The CRU is being probed with a default set of assigned clocks, which are not implemented in the driver at all. Hence, when clk_set_defaults is called, it fails with ENOENT. This would not be a problem, as the CRU still handles all the required clocks, an

Re: [PATCH 2/2] reset: rockchip: implement rk3588 lookup table

2023-04-16 Thread Kever Yang
Hi Sebastian and Eugen,     Thanks for your information. On 2023/4/14 21:15, Sebastian Reichel wrote: Hi Kever, On Fri, Apr 14, 2023 at 12:03:00PM +0300, Eugen Hristev wrote: On 4/14/23 10:02, Kever Yang wrote: On 2023/4/13 19:36, Eugen Hristev wrote: The current DT bindings for the rk3588

[PULL] u-boot-sh/master_sh/gen4/rswitch

2023-04-16 Thread Marek Vasut
The following changes since commit 12c1e5782401abca1a8cff578d1911a9ca7d2e7d: Merge branch 'master' of https://source.denx.de/u-boot/custodians/u-boot-marvell (2023-04-14 10:50:55 -0400) are available in the Git repository at: https://source.denx.de/u-boot/custodians/u-boot-sh.git master_sh

[PULL] u-boot-sh/master_sh/gen4/mmcfix

2023-04-16 Thread Marek Vasut
The following changes since commit 12c1e5782401abca1a8cff578d1911a9ca7d2e7d: Merge branch 'master' of https://source.denx.de/u-boot/custodians/u-boot-marvell (2023-04-14 10:50:55 -0400) are available in the Git repository at: https://source.denx.de/u-boot/custodians/u-boot-sh.git master_sh

[PULL] Please pull u-boot-coldfire/master

2023-04-16 Thread Angelo Dureghello
The following changes since commit 12c1e5782401abca1a8cff578d1911a9ca7d2e7d: Merge branch 'master' of https://source.denx.de/u-boot/custodians/u-boot-marvell (2023-04-14 10:50:55 -0400) are available in the Git repository at: git://git.denx.de/u-boot-coldfire.git master for you to fetch

Re: [PATCH] configs: m68k: Use default shell prompt

2023-04-16 Thread Angelo Dureghello
Hi Marek, On 23/03/23 1:21 AM, Marek Vasut wrote: The current shell prompt '->' interferes with CI matching on 'bdinfo' output. When CI test.py attempts to locate memory information in the 'bdinfo' output, it matches on '->' prefix which is identical to the shell prefix. Switch the prompt to def

Re: [PATCH v3 06/11] video: tegra-dc: add 180 degree panel rotation

2023-04-16 Thread Svyatoslav Ryhel
нд, 16 квіт. 2023 р. о 20:29 Dmitry Osipenko пише: > > 27.03.2023 11:11, Svyatoslav Ryhel пишет: > > @@ -370,6 +383,8 @@ static int tegra_lcd_of_to_plat(struct udevice *dev) > > return -EINVAL; > > } > > > > + priv->rotation = dev_read_bool(dev, "nvidia,180-rotation"); > >

[PATCH] pico-imx6ul: Convert to CONFIG_DM_SERIAL

2023-04-16 Thread Fabio Estevam
From: Fabio Estevam The conversion to CONFIG_DM_SERIAL is mandatory, so select this option. Signed-off-by: Fabio Estevam --- configs/pico-imx6ul_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/pico-imx6ul_defconfig b/configs/pico-imx6ul_defconfig index dcee179fcffb..4

Re: [PATCH v3 06/11] video: tegra-dc: add 180 degree panel rotation

2023-04-16 Thread Svyatoslav Ryhel
нд, 16 квіт. 2023 р. о 20:29 Dmitry Osipenko пише: > > 27.03.2023 11:11, Svyatoslav Ryhel пишет: > > @@ -370,6 +383,8 @@ static int tegra_lcd_of_to_plat(struct udevice *dev) > > return -EINVAL; > > } > > > > + priv->rotation = dev_read_bool(dev, "nvidia,180-rotation"); > >

Re: [PATCH v3 06/11] video: tegra-dc: add 180 degree panel rotation

2023-04-16 Thread Dmitry Osipenko
27.03.2023 11:11, Svyatoslav Ryhel пишет: > @@ -370,6 +383,8 @@ static int tegra_lcd_of_to_plat(struct udevice *dev) > return -EINVAL; > } > > + priv->rotation = dev_read_bool(dev, "nvidia,180-rotation"); There is no "nvidia,180-rotation" in the DT binding. It should be s

Re: [PATCH u-boot 4/4] board: purism: Use U-Boot mmc function for converting boot part to part access

2023-04-16 Thread Angus Ainslie
On 2023-04-13 14:10, Pali Rohár wrote: eMMC Boot Partition Enable bits in mmc->part_config (EXT_CSD[179]) has different coding than eMMC Partition Access bits. Use spl_mmc_emmc_boot_partition() function which does this conversion properly (hopefully). Signed-off-by: Pali Rohár Reviewed-by: A

RE: [PATCH v1 0/4] Tegra: add ASUS/Google Nexus 7 (2012) support

2023-04-16 Thread Svyatoslav Ryhel
Mailing list reduction. Tom, May I extend this patchset with adding commits for other t20/t30 devices bringup. They are all typical and look like grouper bringup. This should decrease quantity of separate patches sent involving your assist. Devices in interest are Asus Transformers, LG P8