Re: [PATCH v2] efi_loader: Fix warnings for unaligned accesses

2023-05-11 Thread Ilias Apalodimas
Akashi-san, On Fri, May 12, 2023 at 09:05:05AM +0900, AKASHI Takahiro wrote: > Hi Ilias, > > On Thu, May 11, 2023 at 08:00:32PM +0300, Ilias Apalodimas wrote: > > Hi Heinrich, > > > > On Thu, 11 May 2023 at 19:56, Heinrich Schuchardt > > wrote: > > > > > > On 5/11/23 18:40, Ilias Apalodimas

Re: [PATCH] imx: imx8mp: Add support for Polyhex Debix Model A SBC

2023-05-11 Thread Peng Fan
Hi Gilles, only some minor comments, overall looks good. On 4/13/2023 9:17 PM, Gilles Talis wrote: Add support for the Polyhex Debix Model A SBC board. It is an industrial grade single board computer based on NXP's i.MX 8M Plus. Currently supported interfaces are: - Serial console - Micro SD -

Re: [PATCH v2] efi_loader: Fix warnings for unaligned accesses

2023-05-11 Thread AKASHI Takahiro
Hi Ilias, On Thu, May 11, 2023 at 08:00:32PM +0300, Ilias Apalodimas wrote: > Hi Heinrich, > > On Thu, 11 May 2023 at 19:56, Heinrich Schuchardt wrote: > > > > On 5/11/23 18:40, Ilias Apalodimas wrote: > > > Tom reports that when building with clang we see this warning: > > > field guid within

[PATCH v2] ARM: stm32: Add IWDG handling into PSCI suspend code

2023-05-11 Thread Marek Vasut
In case the IWDG is enabled by either U-Boot or Linux, the IWDG can never be disabled again. That includes low power states, which means that if the IWDG is enabled, the SoC would reset itself after a while in suspend via the IWDG. This is not desired behavior. It is possible to enable IWDG

Re: [PATCH v3 14/23] fdt_support: always define fdt_fixup_mtdparts

2023-05-11 Thread Tom Rini
On Mon, Mar 13, 2023 at 02:31:36PM -0700, Troy Kisky wrote: > SPL code wants fdt_fixup_mtdparts defined as a NOP > when the function isn't linked in. > > Prepare for ifdef CONFIG_OF_LIBFDT being converted to > if CONFIG_IS_ENABLED(OF_LIBFDT) > > Signed-off-by: Troy Kisky > Reviewed-by: Simon

Re: [PATCH v3 00/23] CONFIG_IS_ENABLED vs IS_ENABLED

2023-05-11 Thread Tom Rini
On Mon, Mar 13, 2023 at 02:31:22PM -0700, Troy Kisky wrote: > This patch set gets ready to checks the usage of > CONFIG_IS_ENABLED/IS_ENABLED. > > After the set has been applied, you can delete > test/usage_of_is_enabled_todo.txt > and run test/usage_of_is_enabled_commit.sh > > The script

Re: [PATCH v3 22/23] power: pmic: add dm style definitions if not CONFIG_IS_ENABLED(POWER_LEGACY)

2023-05-11 Thread Tom Rini
On Mon, Mar 13, 2023 at 02:31:44PM -0700, Troy Kisky wrote: > This avoids an error in converting to CONFIG_IS_ENABLED(DM_PMIC). > Many boards SPL code needs these definitions to compile, even if > the functions are not linked. > > Signed-off-by: Troy Kisky > Reviewed-by: Simon Glass Applied

Re: [PATCH v3 20/23] arm: mach-imx: use CONFIG_$(SPL_)SATA instead of CONFIG_SATA

2023-05-11 Thread Tom Rini
On Mon, Mar 13, 2023 at 02:31:42PM -0700, Troy Kisky wrote: > This avoid an error with enable_sata_clock when > defined(CONFIG_SATA) is changed to CONFIG_IS_ENABLED(SATA). > > Signed-off-by: Troy Kisky > Reviewed-by: Simon Glass Applied to u-boot/next, thanks! -- Tom signature.asc

Re: [PATCH v3 19/23] wandboard: use CONFIG_IS_ENABLED(SATA) instead of ifdef CONFIG_SATA

2023-05-11 Thread Tom Rini
On Mon, Mar 13, 2023 at 02:31:41PM -0700, Troy Kisky wrote: > Prepare for linking setup_sata only when CONFIG_SATA/CONFIG_SPL_SATA > is defined. > > Signed-off-by: Troy Kisky Applied to u-boot/next, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH v3 18/23] solidrun: mx6cuboxi: use CONFIG_IS_ENABLED(SATA) instead of ifdef CONFIG_SATA

2023-05-11 Thread Tom Rini
On Mon, Mar 13, 2023 at 02:31:40PM -0700, Troy Kisky wrote: > Prepare for linking setup_sata only when CONFIG_SATA/CONFIG_SPL_SATA > is defined. > > Signed-off-by: Troy Kisky > Reviewed-by: Simon Glass Applied to u-boot/next, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH v3 16/23] freescale: common: pfuze: define pfuze_mode_init only if defined(CONFIG_DM_PMIC)

2023-05-11 Thread Tom Rini
On Mon, Mar 13, 2023 at 02:31:38PM -0700, Troy Kisky wrote: > pfuze_mode_init calls pmic_reg_read which is only available from > > obj-$(CONFIG_$(SPL_TPL_)DM_PMIC) += pmic-uclass.o > > Prepare for conversion of defined(CONFIG_DM_PMIC) to > CONFIG_IS_ENABLED(DM_PMIC). > > Signed-off-by: Troy

Re: [PATCH v3 15/23] m53menlo: define ft_board_setup only if CONFIG_IS_ENABLED(OF_LIBFDT)

2023-05-11 Thread Tom Rini
On Mon, Mar 13, 2023 at 02:31:37PM -0700, Troy Kisky wrote: > The function ft_board_setup calls do_fixup_by_path_string > which is only available on CONFIG_IS_ENABLED(OF_LIBFDT). > This prepares for the conversion. > > ft_board_setup is only called from image-fdt which is linked by >

Re: [PATCH v3 13/23] ofnode: fdt_support definitions needed if OF_CONTROL is enabled

2023-05-11 Thread Tom Rini
On Mon, Mar 13, 2023 at 02:31:35PM -0700, Troy Kisky wrote: > With the use of CONFIG_IS_ENABLED in code, instead of at the preprocessor > level, these defines are still needed if OF_CONTROL is enabled. > > Signed-off-by: Troy Kisky > Reviewed-by: Simon Glass Applied to u-boot/next, thanks!

Re: [PATCH v3 12/23] config_distro_bootcmd: remove booting environment variables from SPL environment

2023-05-11 Thread Tom Rini
On Mon, Mar 13, 2023 at 02:31:34PM -0700, Troy Kisky wrote: > SPL environments don't need commands that they can never use. > Avoid errors with CONFIG_IS_ENABLED conversions by skipping them now. > > Signed-off-by: Troy Kisky > Reviewed-by: Simon Glass Applied to u-boot/next, thanks! -- Tom

Re: [PATCH v3 11/23] x86: cpu: qemu: qemu: remove SPL use with CONFIG_IS_ENABLED

2023-05-11 Thread Tom Rini
On Mon, Mar 13, 2023 at 02:31:33PM -0700, Troy Kisky wrote: > CONFIG_IS_ENABLED(SPL_X86_32BIT_INIT) > would check for CONFIG_SPL_SPL_X86_32BIT_INIT for SPL builds > > Signed-off-by: Troy Kisky > Reviewed-by: Simon Glass Applied to u-boot/next, thanks! -- Tom signature.asc Description: PGP

Re: [PATCH v3 02/23] cmd: nvedit: remove error check, handle with Kconfig

2023-05-11 Thread Tom Rini
On Mon, Mar 13, 2023 at 02:31:24PM -0700, Troy Kisky wrote: > Avoid error messages when SPL,TPL,VPL build don't > have the environment options of the main build. > This is needed when defined(CONFIG_ENV_IS_IN_xxx) is changed > to CONFIG_IS_ENABLED(ENV_IS_IN_xxx). > > Signed-off-by: Troy Kisky

Re: [PATCH v3 21/23] x86: cpu: i386: cpu: only set pci_ram_top if CONFIG_IS_ENABLED(PCI)

2023-05-11 Thread Tom Rini
On Mon, Mar 13, 2023 at 02:31:43PM -0700, Troy Kisky wrote: > This avoids an error when ifdef CONFIG_PCI is changed to > if CONFIG_IS_ENABLED(PCI) > > Signed-off-by: Troy Kisky > --- > > (no changes since v2) > > Changes in v2: > - use an accessor function gd_set_pci_ram_top > >

Re: [PATCH v3 03/23] lib: crc32: prepare for CONFIG_IS_ENABLED changes

2023-05-11 Thread Tom Rini
On Mon, Mar 13, 2023 at 02:31:25PM -0700, Troy Kisky wrote: > We need to include in order to include > files that use CONFIG_IS_ENABLED. TO prepare for that > be more direct with using defined(USE_HOSTCC). > > Signed-off-by: Troy Kisky > Reviewed-by: Simon Glass > --- > > (no changes since

[PATCH] arm: Remove ti816x_evm board and ti816x SoC support

2023-05-11 Thread Tom Rini
This platform is currently unmaintained and untested, so remove it. Further, as it is the only TI816X SoC example, remove related files as well. Signed-off-by: Tom Rini --- arch/arm/dts/Makefile | 1 - arch/arm/dts/dm8168-evm-u-boot.dtsi | 12 -

Re: [PATCH v2] efi_loader: Fix warnings for unaligned accesses

2023-05-11 Thread Ilias Apalodimas
Hi Heinrich, On Thu, 11 May 2023 at 19:56, Heinrich Schuchardt wrote: > > On 5/11/23 18:40, Ilias Apalodimas wrote: > > Tom reports that when building with clang we see this warning: > > field guid within 'struct efi_hii_keyboard_layout' is less aligned than > > 'efi_guid_t' and is usually due

Re: [PATCH v2] efi_loader: Fix warnings for unaligned accesses

2023-05-11 Thread Heinrich Schuchardt
On 5/11/23 18:40, Ilias Apalodimas wrote: Tom reports that when building with clang we see this warning: field guid within 'struct efi_hii_keyboard_layout' is less aligned than 'efi_guid_t' and is usually due to 'struct efi_hii_keyboard_layout' being packed, which can lead to unaligned

[PATCH] mips: only produce jr.hb if CPU support Release 2

2023-05-11 Thread Yangyu Chen
The jr.hb was introduced since MIPS32/64 Release 2. If this instruction is executed on Release 1 CPU will lead to Reserved Instruction Exception, so avoid this instruction when the CPU does not support Release 2. Signed-off-by: Yangyu Chen --- arch/mips/include/asm/system.h | 2 ++ 1 file

Re: [PATCH] arm: mach-k3: arm64-mmu: do not map ATF and OPTEE regions in A53 MMU

2023-05-11 Thread Andrew Davis
On 5/11/23 4:58 AM, kaml...@ti.com wrote: From: Kamlesh Gurudasani Do not include ATF and OPTEE regions in MMU table for am64, am62, am62a as access to those regions is not allowed anyway. Commit messages should include the "why" we are doing this. Create separate table as ATF region are

[PATCH v2] efi_loader: Fix warnings for unaligned accesses

2023-05-11 Thread Ilias Apalodimas
Tom reports that when building with clang we see this warning: field guid within 'struct efi_hii_keyboard_layout' is less aligned than 'efi_guid_t' and is usually due to 'struct efi_hii_keyboard_layout' being packed, which can lead to unaligned accesses [-Wunaligned-access] This happens because

Re: Please pull u-boot-x86

2023-05-11 Thread Tom Rini
On Thu, May 11, 2023 at 04:16:00PM +0800, Bin Meng wrote: > Hi Tom, > > This PR includes the following x86 changes for v2023.07 release: > > - Various fixes for Google chromebooks > - Various minor enhancements for coreboot > > Azure CI : PASS >

[PATCH] mmc: rpmb: realign frames before passing to MMC driver

2023-05-11 Thread Pavel Löbl
MMC driver requires request and response frame buffers to be properly aligned for DMA transfers. Fix already implemented reallocation for request frame and also add realigment for response frame if needed. Signed-off-by: Pavel Löbl --- drivers/mmc/rpmb.c | 17 +++-- 1 file changed,

Re: [RFC PATCH 0/5] LWIP stack integration

2023-05-11 Thread Maxim Uvarov
On Mon, 8 May 2023 at 17:23, Simon Glass wrote: > > Hi Maxim, > > On Fri, 5 May 2023 at 04:50, Maxim Uvarov wrote: > > > > Greetings, > > > > This RFC patchset is an attempt to try to use an already existing IP > > network stack inside U-boot. > > U-Boot recently got basic TCP/IP support,

Re: [PATCH] efi: fix semihosting EFI payload booting

2023-05-11 Thread Ilias Apalodimas
Hi Andre, Heinrich, Apologies for being late to the party. On Thu, 11 May 2023 at 18:23, Heinrich Schuchardt wrote: > > On 5/11/23 10:59, Andre Przywara wrote: > > On Thu, 11 May 2023 08:22:30 +0200 > > Heinrich Schuchardt wrote: > > > >> On 5/11/23 02:00, Andre Przywara wrote: > >>> On Wed,

Re: [PATCH] efi: fix semihosting EFI payload booting

2023-05-11 Thread Heinrich Schuchardt
On 5/11/23 10:59, Andre Przywara wrote: On Thu, 11 May 2023 08:22:30 +0200 Heinrich Schuchardt wrote: On 5/11/23 02:00, Andre Przywara wrote: On Wed, 10 May 2023 23:19:33 +0200 Heinrich Schuchardt wrote: Hi, On 5/10/23 19:26, Andre Przywara wrote: On Wed, 10 May 2023 17:58:06 +0200

[PATCH] drivers: core: ofnode: fix typo in panel timing decode

2023-05-11 Thread Patrick Delaunay
From: Raphael Gallais-Pou In case where a single timing resolution is implemented in the device-tree, the property is named "panel-timing", as specify in Linux kernel binding file: Documentation/devicetree/bindings/display/panel/panel-common.yaml # Display Timings panel-timing:

[PATCH] dt-bindings: u-boot: Add variables for bootscript location

2023-05-11 Thread Michal Simek
From: Algapally Santosh Sagar Add bootscr-address and offset-from-ram-start properties to help in easier picking of boot script file when automated flows are used. The bootscr-address holds the full 64 bit address of the bootscript file. The bootscr-offset-from-ram-start holds the offset

Re: envtools lack extra settings since commit 86b9c3e4e4 ("env: Allow U-Boot scripts to be placed in

2023-05-11 Thread Tom Rini
On Thu, May 11, 2023 at 01:32:23PM +, Christophe Leroy wrote: > > > Le 11/05/2023 à 14:50, Tom Rini a écrit : > > On Thu, May 11, 2023 at 08:16:49AM +0200, Christophe Leroy wrote: > > > >> After converting my targets from CFG_EXTRA_ENV_SETTINGS to > >> CONFIG_EXTRA_ENV_TEXT as suggested by

Re: [RFC PATCH 0/5] LWIP stack integration

2023-05-11 Thread Tom Rini
On Fri, May 05, 2023 at 10:25:24AM +, Maxim Uvarov wrote: > Greetings, > > This RFC patchset is an attempt to try to use an already existing IP network > stack inside U-boot. > U-Boot recently got basic TCP/IP support, implementing wget, but in order to > get a full IP stack > with new

Re: [RFC PATCH 4/5] add doc/README.lwip.size

2023-05-11 Thread Tom Rini
On Fri, May 05, 2023 at 10:25:28AM +, Maxim Uvarov wrote: > Add doc with size calculation accoding to original u-boot. > > Signed-off-by: Maxim Uvarov > --- > doc/README.lwip.size | 291 +++ > 1 file changed, 291 insertions(+) > create mode 100644

Re: [RFC PATCH 3/5] add doc/README.lwip

2023-05-11 Thread Tom Rini
On Fri, May 05, 2023 at 10:25:27AM +, Maxim Uvarov wrote: > Signed-off-by: Maxim Uvarov > --- > doc/README.lwip | 56 + > 1 file changed, 56 insertions(+) > create mode 100644 doc/README.lwip This needs to be rST. -- Tom signature.asc

Re: [RFC PATCH 1/5] add lwip-external submodule

2023-05-11 Thread Tom Rini
On Fri, May 05, 2023 at 10:25:25AM +, Maxim Uvarov wrote: > Signed-off-by: Maxim Uvarov > --- > .gitmodules| 3 +++ > lib/lwip/lwip-external | 1 + > 2 files changed, 4 insertions(+) > create mode 100644 .gitmodules > create mode 16 lib/lwip/lwip-external > > diff --git

Re: [RFC PATCH 1/5] add lwip-external submodule

2023-05-11 Thread Tom Rini
On Wed, May 10, 2023 at 03:46:31PM +0100, Peter Robinson wrote: > On Wed, May 10, 2023 at 8:40 AM Ilias Apalodimas > wrote: > > > > Hi Simon, > > > > On Mon, May 08, 2023 at 08:43:14AM -0600, Simon Glass wrote: > > > Hi Maxim, > > > > > > On Fri, 5 May 2023 at 04:50, Maxim Uvarov wrote: > > > >

Re: envtools lack extra settings since commit 86b9c3e4e4 ("env: Allow U-Boot scripts to be placed in

2023-05-11 Thread Christophe Leroy
Le 11/05/2023 à 14:50, Tom Rini a écrit : > On Thu, May 11, 2023 at 08:16:49AM +0200, Christophe Leroy wrote: > >> After converting my targets from CFG_EXTRA_ENV_SETTINGS to >> CONFIG_EXTRA_ENV_TEXT as suggested by Tom, I discovered that >> fw_setenv doesn't set the entire defaut environment

Re: [PATCH 0/8] Updats SPL splashscreen framework for AM62x

2023-05-11 Thread Tom Rini
On Thu, May 11, 2023 at 03:29:50PM +0530, Nikhil M Jain wrote: > This patch series aims at updating SPL splashscreen framework for AM62x. > > Nikhil M Jain (8): > common: spl: spl: Update stack pointer address > arch: arm: mach-k3: common: Return a pointer after setting page table > board:

Re: envtools lack extra settings since commit 86b9c3e4e4 ("env: Allow U-Boot scripts to be placed in

2023-05-11 Thread Tom Rini
On Thu, May 11, 2023 at 08:16:49AM +0200, Christophe Leroy wrote: > After converting my targets from CFG_EXTRA_ENV_SETTINGS to > CONFIG_EXTRA_ENV_TEXT as suggested by Tom, I discovered that > fw_setenv doesn't set the entire defaut environment anymore. > > I tried to fix it with the below patch,

[PATCH v4] mtd: cfi: respect reg address length

2023-05-11 Thread Nuno Sá
flash_get_size() will get the flash size from the device itself and go through all erase regions to read protection status. However, the device mappable region (eg: devicetree reg property) might be lower than the device full size which means that the above cycle will result in a data bus

Re: [EXTERNAL] Re: [PATCH] usb: cdns3: gadget.c: Set fast access bit

2023-05-11 Thread Ravi Gunasekaran
Pawel, On 11/05/23 11:00 am, Pawel Laszczak wrote: >> >> +Pawel & Peter >> >> On 09/05/2023 08:58, Ravi Gunasekaran wrote: >>> Hi Roger, >>> >>> On 05/05/23 6:02 pm, Roger Quadros wrote: Hi Ravi, On 05/05/2023 15:13, Ravi Gunasekaran wrote: > From: Aswath Govindraju >

RE: [EXTERNAL] Re: [PATCH] usb: cdns3: gadget.c: Set fast access bit

2023-05-11 Thread Pawel Laszczak
> >+Pawel & Peter > >On 09/05/2023 08:58, Ravi Gunasekaran wrote: >> Hi Roger, >> >> On 05/05/23 6:02 pm, Roger Quadros wrote: >>> Hi Ravi, >>> >>> On 05/05/2023 15:13, Ravi Gunasekaran wrote: From: Aswath Govindraju When the device port is in a low power state [U3/L2/Not

[PATCH 2/2] arm: mach-k3: j721s2: clk-data.c: Add main_uart5 clock data

2023-05-11 Thread Bhavya Kapoor
Add main_uart5 clocks in clk-data.c for J721S2. Now, main_uart5 clocks will be set up while booting the J721S2 SoC. Signed-off-by: Bhavya Kapoor --- arch/arm/mach-k3/j721s2/clk-data.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/arch/arm/mach-k3/j721s2/clk-data.c

[PATCH 1/2] arm: mach-k3: j721s2: dev-data.c: Add main_uart5 device data

2023-05-11 Thread Bhavya Kapoor
Add device data for main_uart5 in dev-data.c for J721S2. Now, main_uart5 will be powered on while booting the J721S2 SoC. Signed-off-by: Bhavya Kapoor --- arch/arm/mach-k3/j721s2/dev-data.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm/mach-k3/j721s2/dev-data.c

[PATCH 0/2] arm: mach-k3: j721s2: Add main_uart5 device and clock data

2023-05-11 Thread Bhavya Kapoor
Add device data and clock data for main_uart5 for J721S2 SoC so that main_uart5 will be powered on and its clock will be set up while booting the J721S2 SoC. Bhavya Kapoor (2): arm: mach-k3: j721s2: dev-data.c: Add main_uart5 device data arm: mach-k3: j721s2: clk-data.c: Add main_uart5 clock

[PATCH 2/2] arm: mach-k3: j721e: clk-data.c: Add main_uart2 clock data

2023-05-11 Thread Bhavya Kapoor
Add main_uart2 clocks in clk-data.c for J721E. Now, main_uart2 clocks will be set up while booting the J721E SoC. Signed-off-by: Bhavya Kapoor --- arch/arm/mach-k3/j721e/clk-data.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/arch/arm/mach-k3/j721e/clk-data.c

[PATCH 0/2] arm: mach-k3: j721e: Add main_uart2 device and clock data

2023-05-11 Thread Bhavya Kapoor
Add device data and clock data for main_uart2 for J721E SoC so that main_uart2 will be powered on and its clock will be set up while booting the J721E SoC. Bhavya Kapoor (2): arm: mach-k3: j721e: dev-data.c: Add main_uart2 device data arm: mach-k3: j721e: clk-data.c: Add main_uart2 clock data

[PATCH 1/2] arm: mach-k3: j721e: dev-data.c: Add main_uart2 device data

2023-05-11 Thread Bhavya Kapoor
Add device data for main_uart2 in dev-data.c for J721E. Now, main_uart2 will be powered on while booting the J721E SoC. Signed-off-by: Bhavya Kapoor --- arch/arm/mach-k3/j721e/dev-data.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm/mach-k3/j721e/dev-data.c

Re: [PATCH] usb: cdns3: gadget.c: Set fast access bit

2023-05-11 Thread Roger Quadros
On 05/05/2023 15:13, Ravi Gunasekaran wrote: > From: Aswath Govindraju > > When the device port is in a low power state [U3/L2/Not Connected], > accesses to usb device registers may take a long time. This could lead to > potential core hang when the controller registers are accessed after the

[PATCH] arm: mach-k3: arm64-mmu: do not map ATF and OPTEE regions in A53 MMU

2023-05-11 Thread kamlesh
From: Kamlesh Gurudasani Do not include ATF and OPTEE regions in MMU table for am64, am62, am62a as access to those regions is not allowed anyway. Create separate table as ATF region are at different location for am64 and am62/am62a. Signed-off-by: Kamlesh Gurudasani ---

Re: riscv: asm update for building ubifs

2023-05-11 Thread Conor Dooley
Hey Ben, On Fri, May 05, 2023 at 09:02:04AM +0100, Ben Dooks wrote: > Fix misisng atomic and test_and_{set,clear}_bit macros to allow > the ubi/ubifs code to be built for riscv. These are fairly simple > but are not being used outside of ubifs on our builds. We've been running something a fair

Re: [PATCH] ARM: stm32: Add IWDG handling into PSCI suspend code

2023-05-11 Thread Marek Vasut
On 5/11/23 08:39, Patrice CHOTARD wrote: Hi, On 5/11/23 02:22, Marek Vasut wrote: In case the IWDG is enabled by either U-Boot or Linux, the IWDG can never be disabled again. That includes low power states, which means that if the IWDG is enabled, the SoC would reset itself after a while in

Re: [PATCH 1/2] x86: video: Add a driver for QEMU bochs emulation

2023-05-11 Thread Bin Meng
Hi Simon, On Sun, Apr 30, 2023 at 10:32 AM Simon Glass wrote: > > Bochs is convenient with QEMU on x86 since it does not require a video > BIOS. Add a driver for it. > > Signed-off-by: Simon Glass > --- > > drivers/video/Kconfig | 30 ++ > drivers/video/Makefile | 2 + >

Re: [PATCH v2 1/3] doc: board: ti: add documenation for j7200

2023-05-11 Thread Heinrich Schuchardt
On 5/11/23 11:17, Udit Kumar wrote: This patch adds documentation for j7200. TRM link https://www.ti.com/lit/pdf/spruiu1 Signed-off-by: Udit Kumar HTML docs build without problems. Formatting looks correct. Thank you for the documentation. Tested-by: Heinrich Schuchardt

[PATCH 8/8] configs: am62x_evm_a53: Add bloblist address

2023-05-11 Thread Nikhil M Jain
Define bloblist address. Signed-off-by: Nikhil M Jain --- configs/am62x_evm_a53_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/am62x_evm_a53_defconfig b/configs/am62x_evm_a53_defconfig index 7c3bc184cf..5c572dfb33 100644 --- a/configs/am62x_evm_a53_defconfig +++

[PATCH 7/8] common: spl: spl: Remove video driver

2023-05-11 Thread Nikhil M Jain
Use config SPL_VIDEO_REMOVE to remove video driver at SPL stage before jumping to next stage, in place of CONFIG_SPL_VIDEO, to allow user to remove video if required. Signed-off-by: Nikhil M Jain --- common/spl/spl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH 5/8] common: board_f: Pass frame buffer info from SPL to u-boot

2023-05-11 Thread Nikhil M Jain
When video is set up in SPL, U-Boot proper needs to use the correct frame buffer address to reserve particular location in memory, to avoid displaying artifacts on the screen. Put the framebuffer address and size in a bloblist to make them available at u-boot proper, if in u-boot proper

[PATCH 4/8] include: video: Reserve video using blob

2023-05-11 Thread Nikhil M Jain
Add method to reserve video using blob. Signed-off-by: Nikhil M Jain --- drivers/video/video-uclass.c | 12 include/video.h | 9 + 2 files changed, 21 insertions(+) diff --git a/drivers/video/video-uclass.c b/drivers/video/video-uclass.c index

[PATCH 6/8] drivers: video: Kconfig: Add config remove video

2023-05-11 Thread Nikhil M Jain
Add VIDEO_REMOVE configs to allow user to control removing of video driver, in between stages. Signed-off-by: Nikhil M Jain --- drivers/video/Kconfig | 12 1 file changed, 12 insertions(+) diff --git a/drivers/video/Kconfig b/drivers/video/Kconfig index fcc0e85d2e..c5863f4dd5

[PATCH 2/8] arch: arm: mach-k3: common: Return a pointer after setting page table

2023-05-11 Thread Nikhil M Jain
In spl_dcache_enable after setting up page table, set gd->relocaddr pointer with 64KB alignment, to get next location to reserve memory. Signed-off-by: Nikhil M Jain --- arch/arm/mach-k3/common.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/mach-k3/common.c

[PATCH 3/8] board: ti: am62x: evm: Update function calls for splash screen

2023-05-11 Thread Nikhil M Jain
Use spl_dcache_enable, in place of setup_dram, arch_reserve_mmu to set up pagetable, initialise DRAM and enable Dcache. Signed-off-by: Nikhil M Jain --- arch/arm/mach-k3/am625_init.c | 1 + board/ti/am62x/evm.c | 46 ++- 2 files changed, 19

[PATCH 1/8] common: spl: spl: Update stack pointer address

2023-05-11 Thread Nikhil M Jain
At SPL stage when stack is relocated, the stack pointer needs to be updated, the stack pointer may point to stack in on chip memory even though stack is relocated. Signed-off-by: Nikhil M Jain --- common/spl/spl.c | 1 + 1 file changed, 1 insertion(+) diff --git a/common/spl/spl.c

[PATCH 0/8] Updats SPL splashscreen framework for AM62x

2023-05-11 Thread Nikhil M Jain
This patch series aims at updating SPL splashscreen framework for AM62x. Nikhil M Jain (8): common: spl: spl: Update stack pointer address arch: arm: mach-k3: common: Return a pointer after setting page table board: ti: am62x: evm: Update function calls for splash screen include: video:

Re: [Uboot-stm32] [PATCH v2 1/2] media: dt-bindings: media: Add macros for video interface bus types

2023-05-11 Thread Patrice CHOTARD
Hi Patrick On 4/24/23 16:21, Patrick Delaunay wrote: > Add a new dt-bindings/media/video-interfaces.h header that defines > macros corresponding to the bus types from media/video-interfaces.yaml. > This allows avoiding hardcoded constants in device tree sources. > > Based on linux commit

[PATCH v2 3/3] arch: arm: mach-k3: j721e: add support for UDA FS

2023-05-11 Thread Udit Kumar
When selecting UDA partition for booting. MMC read mode was selected as RAW. Due to growing/changing size of u-boot and tispl images. It will be better change to FS in case of UDA FS instead of adjusting offsets with new change. Signed-off-by: Udit Kumar --- arch/arm/mach-k3/j721e_init.c | 2

[PATCH v2 2/3] configs: j7200: correct mmc offset

2023-05-11 Thread Udit Kumar
This patch corrects the MMC raw mode sector offset. Current allocated size for tiboot3 is 1MB and 2MB for tispl. Without this correct offset eMMC boot will fail. Fixes: f8c1e893c82 (configs: j7200_evm_a72: Add Initial suppot) Fixes: 02dff65efe7 (configs: j7200_evm_r5: Add initial support)

[PATCH v2 1/3] doc: board: ti: add documenation for j7200

2023-05-11 Thread Udit Kumar
This patch adds documentation for j7200. TRM link https://www.ti.com/lit/pdf/spruiu1 Signed-off-by: Udit Kumar --- doc/board/ti/j7200_evm.rst | 332 + doc/board/ti/k3.rst| 1 + 2 files changed, 333 insertions(+) create mode 100644

[PATCH v2 0/3] arch: arm: mach-k3: j7200 document and emmc update

2023-05-11 Thread Udit Kumar
This patch set create the documentation for J7200. Also corrects emmc raw offset as per current allocated size, along with adding support for UDA FS boot. Changelog: Change from v1: https://lore.kernel.org/all/20230503052821.1257467-1-u-kum...@ti.com/ 1) Added board specific documentation as

Re: [PATCH] efi: fix semihosting EFI payload booting

2023-05-11 Thread Andre Przywara
On Thu, 11 May 2023 08:22:30 +0200 Heinrich Schuchardt wrote: > On 5/11/23 02:00, Andre Przywara wrote: > > On Wed, 10 May 2023 23:19:33 +0200 > > Heinrich Schuchardt wrote: > > > > Hi, > > > >> On 5/10/23 19:26, Andre Przywara wrote: > >>> On Wed, 10 May 2023 17:58:06 +0200 > >>> Heinrich

Re: [PATCH v3 0/3] initial support for the Videostrong KII Pro

2023-05-11 Thread Neil Armstrong
Hi, On Sun, 07 May 2023 12:42:15 +, Ferass El Hafidi wrote: > The Videostrong KII Pro is a set-top box based on the Amlogic p201 > reference board and with the following specification: > * Amlogic S905 ARM Cortex-A53 quad-core SoC @ 1.5GHz > * ARM Mali 450 GPU > * 2GB DDR3 SDRAM > * 16GB

Please pull u-boot-x86

2023-05-11 Thread Bin Meng
Hi Tom, This PR includes the following x86 changes for v2023.07 release: - Various fixes for Google chromebooks - Various minor enhancements for coreboot Azure CI : PASS https://dev.azure.com/bmeng/GitHub/_build/results?buildId=485=results The following changes since commit

Re: [PATCH v10] core: fdtaddr: use map_sysmem() as cast for the return (part 2)

2023-05-11 Thread Johan Jonker
On 5/11/23 09:12, Kever Yang wrote: > Hi Johan, > >     The patch v9 has merged, it will be better to send a new patch if more > change needed, Merging logic with 2 maintainers... This is a separate new patch for Simon. He applied that (part 1) first, then the nfc serie was merged. And now

Re: [PATCH] ARM: stm32: Add IWDG handling into PSCI suspend code

2023-05-11 Thread Ilias Apalodimas
On Thu, 11 May 2023 at 09:39, Patrice CHOTARD wrote: > > > > On 5/11/23 02:22, Marek Vasut wrote: > > In case the IWDG is enabled by either U-Boot or Linux, the IWDG can never > > be disabled again. That includes low power states, which means that if the > > IWDG is enabled, the SoC would reset

Re: [PATCH v10] core: fdtaddr: use map_sysmem() as cast for the return (part 2)

2023-05-11 Thread Kever Yang
Hi Johan,     The patch v9 has merged, it will be better to send a new patch if more change needed, but not a v10 patch. Thanks, - Kever On 2023/5/11 05:48, Johan Jonker wrote: For the devfdt_get_addr_size_index_ptr() function use map_sysmem() function as cast for the return for use in

Re: [PATCH] ARM: stm32: Add IWDG handling into PSCI suspend code

2023-05-11 Thread Patrice CHOTARD
On 5/11/23 02:22, Marek Vasut wrote: > In case the IWDG is enabled by either U-Boot or Linux, the IWDG can never > be disabled again. That includes low power states, which means that if the > IWDG is enabled, the SoC would reset itself after a while in suspend via > the IWDG. This is not

Re: [PATCH] efi: fix semihosting EFI payload booting

2023-05-11 Thread Heinrich Schuchardt
On 5/11/23 02:00, Andre Przywara wrote: On Wed, 10 May 2023 23:19:33 +0200 Heinrich Schuchardt wrote: Hi, On 5/10/23 19:26, Andre Przywara wrote: On Wed, 10 May 2023 17:58:06 +0200 Heinrich Schuchardt wrote: Hi, On 5/10/23 16:13, Andre Przywara wrote: At the moment any naive attempt to

envtools lack extra settings since commit 86b9c3e4e4 ("env: Allow U-Boot scripts to be placed in

2023-05-11 Thread Christophe Leroy
After converting my targets from CFG_EXTRA_ENV_SETTINGS to CONFIG_EXTRA_ENV_TEXT as suggested by Tom, I discovered that fw_setenv doesn't set the entire defaut environment anymore. I tried to fix it with the below patch, but it fails qemu-x86 CI test, see

Re: [PATCH 1/2] x86: video: Add a driver for QEMU bochs emulation

2023-05-11 Thread Bin Meng
Hi Simon, On Sun, Apr 30, 2023 at 10:32 AM Simon Glass wrote: > > Bochs is convenient with QEMU on x86 since it does not require a video > BIOS. Add a driver for it. > > Signed-off-by: Simon Glass > --- > > drivers/video/Kconfig | 30 ++ > drivers/video/Makefile | 2 + >