[PATCH 3/4] board: phytec: phytec_som_detection: fix eeprom_data zero check

2023-12-20 Thread Yannic Moog
In phytec_eeprom_data_init, after reading eeprom data into buffer, it is checked whether all bytes are 0x0 by iterating over chunks of the buffer. The offset, or index of the chunk, was never changed, leading to repeated comparison of only the first chunk. Use array notation and access chunk via

[PATCH 4/4] board: phytec: phytec_som_detection: fix uninitialized bug

2023-12-20 Thread Yannic Moog
When som_type does not match any case, it is uninitialized and the function still tries to print the SoM info. Rather, this is an error condition and the function should abort prematurely. Highlight this by printing an error message and returning early. Signed-off-by: Yannic Moog ---

[PATCH 1/2] efi_loader: auto-generate boot option for each blkio device

2023-12-20 Thread Masahisa Kojima
Current efibootmgr auto-generates the boot option for all disks and partitions installing EFI_SIMPLE_FILE_SYSTEM_PROTOCOL, while EDK II reference implementation auto-generates the boot option for all devices installing EFI_BLOCK_IO_PROTOCOL with eliminating logical partitions. This commit

[PATCH 0/2] fix auto-generated boot options

2023-12-20 Thread Masahisa Kojima
This series aims to get aligned to the EDK II reference implementation for auto-generated boot options, and tries to address the following issue. https://source.denx.de/u-boot/custodians/u-boot-efi/-/issues/13 This series is based on the efi-next-20231217 tag. Masahisa Kojima (2): efi_loader:

[PATCH v1 0/3] colibri-imx8x: configure module usb hub to bypass mode

2023-12-20 Thread Andrejs Cainikovs
From: Andrejs Cainikovs This series: - Drops -u-boot.dtsi includes in apalis-imx8 and colibri-imx8x device trees. This file is included automatically since quite some time now. - Configures Toradex Colibri iMX8X SoM USB hub to bypass mode, and brings out of the reset state. Andrejs

Re: [PATCH 2/5] qemu-arm: Get bloblist from boot arguments

2023-12-20 Thread Michal Simek
On 12/19/23 22:11, Raymond Mao wrote: Add platform custom function to get bloblist from boot arguments. Check whether boot arguments aligns with the register conventions defined in FW Handoff spec v0.9. Add bloblist related options into qemu default config. Signed-off-by: Raymond Mao ---

Re: [PATCH 1/8] Azure CI: Exclude devicetree-rebasing subtree for CONFIG checks

2023-12-20 Thread Sumit Garg
On Wed, 20 Dec 2023 at 10:17, Simon Glass wrote: > > Hi Sumit, > > On Thu, 14 Dec 2023 at 07:46, Sumit Garg wrote: > > > > On Thu, 14 Dec 2023 at 19:57, Tom Rini wrote: > > > > > > On Thu, Dec 14, 2023 at 07:20:56PM +0530, Sumit Garg wrote: > > > > Signed-off-by: Sumit Garg > > > > --- > > > >

Re: [PATCH v1 3/3] colibri-imx8x: configure usb hub to bypass mode

2023-12-20 Thread Fabio Estevam
Hi Francesco, On Wed, Dec 20, 2023 at 8:30 AM Francesco Dolcini wrote: > Valid point. > > In general re-using the DTS for the kernel would not work. > > The bypass and reset signals are part of the USB HUB node [1], and we > would need to add such a driver to U-Boot to be able to properly >

[PATCH v2 2/5] board: phytec: imx8m_som_detection: fix uninitialized pointer bug

2023-12-20 Thread Yannic Moog
Pointer in phytec_imx8m_detect was accessed without checking it first. Fix this by moving the pointer check in front of any accesses. Signed-off-by: Yannic Moog --- board/phytec/common/imx8m_som_detection.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git

[PATCH v2 5/5] board: phytec: phytec_som_detection: fix uninitialized bug

2023-12-20 Thread Yannic Moog
When som_type does not match any case, it is uninitialized and the function still tries to print the SoM info. Rather, this is an error condition and the function should abort prematurely. Highlight this by printing an error message and returning early. Signed-off-by: Yannic Moog ---

[PATCH v2 4/5] board: phytec: som_detection: move definitions to source file

2023-12-20 Thread Yannic Moog
Move all function definitions in {phytec|imx8m}_som_detection from the header to the source file to prevent potential linker error regarding multiple definitions. Also move the #if blocks with the definitions. Signed-off-by: Yannic Moog --- board/phytec/common/imx8m_som_detection.c | 32

[PATCH v2 0/5] This series fixes various bugs in the phytec som_detection unit.

2023-12-20 Thread Yannic Moog
--- Changes in v2: - fixed accidental squashing of changes -> split into 2 separate patches --- Yannic Moog (5): board: phytec: imx8m_som_detection: change phytec_imx8m_detect return type board: phytec: imx8m_som_detection: fix uninitialized pointer bug board: phytec:

[PATCH v2 3/5] board: phytec: phytec_som_detection: fix eeprom_data zero check

2023-12-20 Thread Yannic Moog
In phytec_eeprom_data_init, after reading eeprom data into buffer, it is checked whether all bytes are 0x0 by iterating over chunks of the buffer. The offset, or index of the chunk, was never changed, leading to repeated comparison of only the first chunk. Use array notation and access chunk via

Re: [PATCH v3 4/4] fs: remove explicit efi configuration dependency

2023-12-20 Thread Heinrich Schuchardt
Am 20. Dezember 2023 05:46:27 MEZ schrieb Simon Glass : >Hi Heinrich, > >On Mon, 18 Dec 2023 at 15:16, Heinrich Schuchardt wrote: >> >> >> >> Am 18. Dezember 2023 16:01:40 MEZ schrieb Simon Glass : >> >Hi AKASHI, >> > >> >On Sun, 17 Dec 2023 at 19:39, AKASHI Takahiro >> > wrote: >> >> >> >>

Re: [RFC PATCH 11/16] arm: dts: k3-am654-base-board: Add ICSSG2 Ethernet support

2023-12-20 Thread Roger Quadros
On 19/12/2023 12:34, MD Danish Anwar wrote: > ICSSG2 provides dual Gigabit Ethernet support. > Add ICSSG2 ethernet node to an overlay k3-am654-icssg2.dtso > > Signed-off-by: MD Danish Anwar > --- > arch/arm/dts/Makefile | 3 +- > arch/arm/dts/k3-am654-icssg2.dtso | 145

Re: Passing boot logs to Linux?

2023-12-20 Thread Mark Kettenis
> Date: Tue, 19 Dec 2023 23:45:48 -0500 > From: Sean Anderson > > On 12/19/23 23:11, Simon Glass wrote: > > Hi Csókás, > > > > On Tue, 19 Dec 2023 at 13:15, Csókás Bence wrote: > >> > >> Hi! > >> > >> Is passing the U-Boot boot log to Linux supported yet? We are working > >> with a third-party

Re: [PATCH v1 3/3] colibri-imx8x: configure usb hub to bypass mode

2023-12-20 Thread Francesco Dolcini
Hello Fabio, On Wed, Dec 20, 2023 at 07:48:50AM -0300, Fabio Estevam wrote: > On Wed, Dec 20, 2023 at 7:39 AM Andrejs Cainikovs > wrote: > > > diff --git a/arch/arm/dts/fsl-imx8qxp-colibri-u-boot.dtsi > > b/arch/arm/dts/fsl-imx8qxp-colibri-u-boot.dtsi > > index a6af4e5e2b7..6ab6b1f9ee6 100644

[PATCH 0/4] This series fixes various bugs in the phytec som_detection unit.

2023-12-20 Thread Yannic Moog
--- Yannic Moog (4): board: phytec: imx8m_som_detection: change phytec_imx8m_detect return type board: phytec: imx8m_som_detection: fix uninitialized pointer bug board: phytec: phytec_som_detection: fix eeprom_data zero check board: phytec: phytec_som_detection: fix

[PATCH 1/4] board: phytec: imx8m_som_detection: change phytec_imx8m_detect return type

2023-12-20 Thread Yannic Moog
phytec_imx8m_detect returns -1 on error, but the return type is u8 leading to 255 return values. Fix this by changing the return type to int; there is no reason to keep it as u8 . Signed-off-by: Yannic Moog --- board/phytec/common/imx8m_som_detection.c | 2 +-

[PATCH 2/4] board: phytec: imx8m_som_detection: fix uninitialized pointer bug

2023-12-20 Thread Yannic Moog
Pointer in phytec_imx8m_detect was accessed without checking it first. Fix this by moving the pointer check in front of any accesses. Signed-off-by: Yannic Moog --- board/phytec/common/imx8m_som_detection.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git

Re: [PATCH v3 4/7] bcm2835: brcm,bcm2708-fb device is using r5g6b5 format

2023-12-20 Thread Matthias Brugger
On 19/12/2023 09:51, Ivan T. Ivanov wrote: On 12-18 23:32, Stefan Wahren wrote: static const struct udevice_id bcm2835_video_ids[] = { - { .compatible = "brcm,bcm2835-hdmi" }, - { .compatible = "brcm,bcm2711-hdmi0" }, - { .compatible = "brcm,bcm2708-fb" }, + {

Re: [RFC PATCH 00/16] Introduce ICSSG Ethernet driver

2023-12-20 Thread Roger Quadros
Hi, On 19/12/2023 12:11, MD Danish Anwar wrote: > Introduce ICSSG PRUETH support in uboot. The ICSSG driver is used in TI > AM654 SR2.0. > > The ICSSG PRU Sub-system runs on EMAC firmware. This series Introduces > support for ICSSG driver in uboot. This series also adds the driver's >

Re: [PATCH 3/5] bloblist: Load the bloblist from the previous loader

2023-12-20 Thread Michal Simek
On 12/19/23 22:11, Raymond Mao wrote: During bloblist initialization, when CONFIG_OF_BOARD is defined, invoke the platform custom function to load the bloblist via boot arguments from the previous loader. If the bloblist exists, copy it into the fixed bloblist memory region. Signed-off-by:

Re: [PATCH 3/4] board: phytec: phytec_som_detection: fix eeprom_data zero check

2023-12-20 Thread Teresa Remmet
Hello Yannic, Am Mittwoch, dem 20.12.2023 um 09:19 +0100 schrieb Yannic Moog: > In phytec_eeprom_data_init, after reading eeprom data into buffer, it > is > checked whether all bytes are 0x0 by iterating over chunks of the > buffer. The offset, or index of the chunk, was never changed, leading >

Re: [PATCH 1/2 v2] smbios: Simplify reporting of unknown values

2023-12-20 Thread Ilias Apalodimas
Hi Simon, The discussion is mostly on v3 now, so I assume this is outdated? Thanks /Ilias On Mon, 18 Dec 2023 at 17:02, Simon Glass wrote: > > Hi Ilias, > > On Wed, 6 Dec 2023 at 04:36, Ilias Apalodimas > wrote: > > > > [...] > > > > > > > >> > > >> > str = "Unknown"; > > >> >

[PATCH 2/2] efi_loader: auto-generate removable media boot option first

2023-12-20 Thread Masahisa Kojima
This commit auto-generates the boot option for removable block io devices followed by fixed block io devices. This is what EDK II reference implementation does. Signed-off-by: Masahisa Kojima --- lib/efi_loader/efi_bootmgr.c | 37 1 file changed, 29

[PATCH 1/1] Makefile: pass -ansi option to cmd_gen_envp

2023-12-20 Thread Sébastien Szymanski
Without the '-ansi' option, the 'linux' string in env. files is replaced with the string '1 '. For example, in the board/armadeus/opos6uldev/opos6uldev.env file, kernelimg=opos6ul-linux.bin becomes kernelimg=opos6ul-1 .bin in the include/generated/env.in. That's because 'linux' is a

[PATCH v2 1/1] Makefile: pass -ansi option to cmd_gen_envp

2023-12-20 Thread Sébastien Szymanski
Without the '-ansi' option, the 'linux' string in env. files is replaced with the string '1 '. For example, in the board/armadeus/opos6uldev/opos6uldev.env file, kernelimg=opos6ul-linux.bin becomes kernelimg=opos6ul-1 .bin in the include/generated/env.in file. That's because 'linux' is a

Re: [PATCH 2/8] Makefile: Add support for DT bindings schema checks

2023-12-20 Thread Sumit Garg
On Wed, 20 Dec 2023 at 10:17, Simon Glass wrote: > > Hi Sumit, > > On Thu, 14 Dec 2023 at 06:51, Sumit Garg wrote: > > > > This adds the build infrastructure for checking DT binding schema > > documents and validating dtb files using the binding schema. Here we use > > devicetree-rebasing

Re: [PATCH v3 1/7] rpi5: add initial memory map for bcm2712

2023-12-20 Thread Ivan T. Ivanov
On 12-19 21:45, Simon Glass wrote: > > > > +static struct mm_region bcm2712_mem_map[MEM_MAP_MAX_ENTRIES] = { > > Would it be possible to read these from the devicetree? If there is a devicetree passed, yes, it will be possible. I have not done this just because I can't test all possible

Re: [PATCH v2 1/1] Makefile: pass -ansi option to cmd_gen_envp

2023-12-20 Thread Rasmus Villemoes
On 20/12/2023 09.59, Sébastien Szymanski wrote: > Without the '-ansi' option, the 'linux' string in env. files is replaced > with the string '1 '. For example, in the > board/armadeus/opos6uldev/opos6uldev.env file, > > kernelimg=opos6ul-linux.bin > > becomes > > kernelimg=opos6ul-1 .bin > >

Re: [RFC PATCH 14/16] configs: am65x_evm_a53_defconfig: add SPL_LOAD_FIT_APPLY_OVERLAY

2023-12-20 Thread Roger Quadros
On 19/12/2023 12:34, MD Danish Anwar wrote: > We want SPL to apply DTB overlays (e.g. NAND card overlay) so > enable SPL_LOAD_FIT_APPLY_OVERLAY. > Increase SPL_LOAD_FIT_APPLY_OVERLAY_BUF_SZ and > SPL_STACK_R_MALLOC_SIMPLE_LEN. Without this SPL hangs. > > Signed-off-by: MD Danish Anwar > --- >

[PATCH v1 2/3] colibri-imx8x: remove -u-boot.dtsi include

2023-12-20 Thread Andrejs Cainikovs
From: Andrejs Cainikovs This file is included automatically since quite some time now. >From documentation: U-Boot automatically looks for and includes a file with updates to the standard devicetree for your board, searching for them in the same directory as the main file, in this order:

[PATCH v1 3/3] colibri-imx8x: configure usb hub to bypass mode

2023-12-20 Thread Andrejs Cainikovs
From: Andrejs Cainikovs This change configures Toradex Colibri iMX8X SoM USB hub to bypass mode, and brings out of the reset state. Signed-off-by: Andrejs Cainikovs --- arch/arm/dts/fsl-imx8qxp-colibri-u-boot.dtsi | 15 +++ arch/arm/dts/fsl-imx8qxp-colibri.dts | 2 --

[PATCH v1 1/3] apalis-imx8: remove -u-boot.dtsi include

2023-12-20 Thread Andrejs Cainikovs
From: Andrejs Cainikovs This file is included automatically since quite some time now. >From documentation: U-Boot automatically looks for and includes a file with updates to the standard devicetree for your board, searching for them in the same directory as the main file, in this order:

Re: [PATCH 7/8] dts: meson-gxbb: Switch to using upstream DT

2023-12-20 Thread neil . armstrong
On 14/12/2023 14:51, Sumit Garg wrote: Although there were still some variations in board DTS files based on meson-gxbb SoC but I think those were minor differences from upstream and shouldn't impact boot on these devices. So switch to upstream DT via mirroring amlogic/ directory from

Re: Please pull u-boot-tegra staging

2023-12-20 Thread Svyatoslav Ryhel
вт, 19 груд. 2023 р. о 22:14 Svyatoslav Ryhel пише: > > Dear Tom, > > The following changes since commit 936d0f9dd713a913fe952eae576c893e1d5ecbd1: > > Merge patch series "Fix J7200 kernel boot when using upstream u-boot" > (2023-12-19 11:42:03 -0500) > > are available in the Git repository at:

Re: Passing boot logs to Linux?

2023-12-20 Thread Dragan Simic
On 2023-12-20 08:52, Csókás Bence wrote: On 2023. 12. 20. 8:09, Dragan Simic wrote: On 2023-12-20 07:49, Csókás Bence wrote: On 2023. 12. 19. 21:33, Daniel Golle wrote: What comes to mind is that CONFIG_CONSOLE_RECORD also captures ANSI sequences during menu or count-down before boot, so we'd

[PATCH v2 1/5] board: phytec: imx8m_som_detection: change phytec_imx8m_detect return type

2023-12-20 Thread Yannic Moog
phytec_imx8m_detect returns -1 on error, but the return type is u8 leading to 255 return values. Fix this by changing the return type to int; there is no reason to keep it as u8 . Signed-off-by: Yannic Moog --- board/phytec/common/imx8m_som_detection.c | 2 +-

[GIT PULL] Please pull u-boot-amlogic-next-20231220

2023-12-20 Thread Neil Armstrong
next' of https://source.denx.de/u-boot/custodians/u-boot-riscv into next (2023-12-18 09:56:58 -0500) are available in the Git repository at: https://source.denx.de/u-boot/custodians/u-boot-amlogic.git tags/u-boot-amlogic-next-20231220 for you to fetch change

Re: [PATCH 0/8] An effort to bring DT bindings compliance within U-boot

2023-12-20 Thread Michal Simek
Hi Sumit, On 12/14/23 14:50, Sumit Garg wrote: Prerquisite --- This patch series requires devicetree-rebasing git repo to be added as a subtree to the main U-boot repo via: $ git subtree add --prefix devicetree-rebasing \

Re: New TPM commands.

2023-12-20 Thread Ilias Apalodimas
Hi Niek On Wed, 20 Dec 2023 at 09:11, niek.nooij...@omron.com wrote: > > Hi There > > I added some new commands to the TPM2 command to allow read/writes to > nv_memory. I also implemented the nv_define and nv_undefine commands so > spaces can be created/deleted. > Still need to test with PCR

Re: [PATCH 3/4] board: phytec: phytec_som_detection: fix eeprom_data zero check

2023-12-20 Thread Yannic Moog
Hello Teresa, On Wed, 2023-12-20 at 09:24 +0100, Teresa Remmet wrote: > Hello Yannic, > > Am Mittwoch, dem 20.12.2023 um 09:19 +0100 schrieb Yannic Moog: > > In phytec_eeprom_data_init, after reading eeprom data into buffer, it > > is > > checked whether all bytes are 0x0 by iterating over

Re: [PATCH v1 3/3] colibri-imx8x: configure usb hub to bypass mode

2023-12-20 Thread Francesco Dolcini
On Wed, Dec 20, 2023 at 08:39:38AM -0300, Fabio Estevam wrote: > Hi Francesco, > > On Wed, Dec 20, 2023 at 8:30 AM Francesco Dolcini > wrote: > > > Valid point. > > > > In general re-using the DTS for the kernel would not work. > > > > The bypass and reset signals are part of the USB HUB node

[PATCH v4 2/2] doc: board: phytec: Add phyCORE-AM62x

2023-12-20 Thread Wadim Egorov
Add documentation for PHYTEC phyCORE-AM62x SoM. Signed-off-by: Wadim Egorov Reviewed-by: Dhruva Gole --- doc/board/phytec/index.rst | 1 + doc/board/phytec/phycore-am62x.rst | 158 + doc/board/ti/k3.rst| 1 + 3 files changed, 160

[PATCH v4 0/2] *** Add support for phyCORE-AM62x ***

2023-12-20 Thread Wadim Egorov
v4: - Rebase on current next - Drop schema file overrides from binman v3: https://lists.denx.de/pipermail/u-boot/2023-December/539779.html v2: https://lists.denx.de/pipermail/u-boot/2023-November/538971.html v1: https://lists.denx.de/pipermail/u-boot/2023-October/535750.html Wadim Egorov

Re: [PATCH v3 3/4] net: tftp: remove explicit efi configuration dependency

2023-12-20 Thread Heinrich Schuchardt
Am 20. Dezember 2023 05:46:16 MEZ schrieb Simon Glass : >Hi, > >On Mon, 18 Dec 2023 at 17:17, AKASHI Takahiro > wrote: >> >> Hi Simon, >> >> On Mon, Dec 18, 2023 at 08:01:46AM -0700, Simon Glass wrote: >> > Hi AKASHI, >> > >> > On Sun, 17 Dec 2023 at 19:39, AKASHI Takahiro >> > wrote: >> > >

Re: [RFC PATCH 12/16] arm: dts: k3-am65x-binman: Add ICSSG2 overlay and configuration

2023-12-20 Thread Roger Quadros
On 19/12/2023 12:34, MD Danish Anwar wrote: > Add ICSSG2 overlay and configuration to tispl and u-boot images. > > Signed-off-by: MD Danish Anwar > --- > arch/arm/dts/k3-am65x-binman.dtsi | 85 +++ > 1 file changed, 85 insertions(+) > > diff --git

Re: [PATCH v1 3/3] colibri-imx8x: configure usb hub to bypass mode

2023-12-20 Thread Fabio Estevam
Hi Andrejs, On Wed, Dec 20, 2023 at 7:39 AM Andrejs Cainikovs wrote: > diff --git a/arch/arm/dts/fsl-imx8qxp-colibri-u-boot.dtsi > b/arch/arm/dts/fsl-imx8qxp-colibri-u-boot.dtsi > index a6af4e5e2b7..6ab6b1f9ee6 100644 > --- a/arch/arm/dts/fsl-imx8qxp-colibri-u-boot.dtsi > +++

Re: [PATCH 5/5] qemu-arm: get FDT from bloblist

2023-12-20 Thread Michal Simek
On 12/19/23 22:11, Raymond Mao wrote: Get devicetree from a bloblist if it exists. If not, fallback to get FDT from the specified memory address. Signed-off-by: Raymond Mao --- board/emulation/qemu-arm/qemu-arm.c | 15 +-- 1 file changed, 13 insertions(+), 2 deletions(-)

Re: [PATCH 3/8] scripts/Makefile.lib: Statically define *-u-boot.dtsi files location

2023-12-20 Thread Sumit Garg
On Wed, 20 Dec 2023 at 10:17, Simon Glass wrote: > > Hi Sumit, > > On Thu, 14 Dec 2023 at 06:52, Sumit Garg wrote: > > > > Allow u-boot to build DTB from a different directory tree such that > > *-u-boot.dtsi files can be included from a common location. Currently > > that location is

[PATCH] arm: dts: k3-j721e-binman: Add support for HS-SE 2.0

2023-12-20 Thread Neha Malcom Francis
Add support for J721E HS-SE 2.0 device. Make use of the existing templates and override the phandles for sysfw.itb so that builds do not fail. Signed-off-by: Neha Malcom Francis --- Boot log: https://gist.github.com/nehamalcom/44082b0c94059737e8d5d1ab16b2f55f arch/arm/dts/k3-j721e-binman.dtsi

Re: [PATCH v3 4/4] fs: remove explicit efi configuration dependency

2023-12-20 Thread Tom Rini
On Tue, Dec 19, 2023 at 09:46:27PM -0700, Simon Glass wrote: > Hi Heinrich, > > On Mon, 18 Dec 2023 at 15:16, Heinrich Schuchardt wrote: > > > > > > > > Am 18. Dezember 2023 16:01:40 MEZ schrieb Simon Glass : > > >Hi AKASHI, > > > > > >On Sun, 17 Dec 2023 at 19:39, AKASHI Takahiro > > > wrote: >

Re: [PATCH 0/7] Add SE HMBSC board support

2023-12-20 Thread Sumit Garg
On Tue, 19 Dec 2023 at 21:56, Caleb Connolly wrote: > > > > On 19/12/2023 06:25, Sumit Garg wrote: > > Hi Simon, > > > > On Mon, 18 Dec 2023 at 20:32, Simon Glass wrote: > >> > >> Hi Sumit, > >> > >> On Mon, 18 Dec 2023 at 00:24, Sumit Garg wrote: > >>> > >>> SE HMIBSC board is based on Qcom

Re: [PATCH 3/8] scripts/Makefile.lib: Statically define *-u-boot.dtsi files location

2023-12-20 Thread Sumit Garg
On Wed, 20 Dec 2023 at 18:59, Tom Rini wrote: > > On Wed, Dec 20, 2023 at 05:00:20PM +0530, Sumit Garg wrote: > > On Wed, 20 Dec 2023 at 10:17, Simon Glass wrote: > > > > > > Hi Sumit, > > > > > > On Thu, 14 Dec 2023 at 06:52, Sumit Garg wrote: > > > > > > > > Allow u-boot to build DTB from a

Re: Adding EFI runtime support to the Arm's FF-A bus

2023-12-20 Thread Peter Robinson
On Wed, Dec 20, 2023 at 6:37 AM Ilias Apalodimas wrote: > > Hi Michael > > On Tue, 19 Dec 2023 at 14:47, Michael Walle wrote: > > > > Hi Mark, > > > > >> > Any runtime device drivers for variable storage should not be in the > > >> > U-Boot runtime but live in the secure world (e.g. OP-TEE) FF-A

New TPM commands.

2023-12-20 Thread niek.nooij...@omron.com
Hi There I added some new commands to the TPM2 command to allow read/writes to nv_memory. I also implemented the nv_define and nv_undefine commands so spaces can be created/deleted. Still need to test with PCR policies, but at least for now we can store values in the TPM. Here's the patch:

Re: Passing boot logs to Linux?

2023-12-20 Thread Csókás Bence
On 2023. 12. 20. 8:09, Dragan Simic wrote: > On 2023-12-20 07:49, Csókás Bence wrote: >> On 2023. 12. 19. 21:33, Daniel Golle wrote: >>> What comes to mind is that CONFIG_CONSOLE_RECORD also captures ANSI >>> sequences during menu or count-down before boot, so we'd have to either >>> introduce a

[PATCH] sbp1: Add support for IBM SBP1 board

2023-12-20 Thread Naresh Solanki
From: Patrick Rudolph Add defconfig & devicetree for IBM SBP1 board BMC based on AST2600 SoC. Signed-off-by: Patrick Rudolph Signed-off-by: Naresh Solanki --- Changes: - Update MAINTAINERS --- arch/arm/dts/Makefile| 4 +- arch/arm/dts/ast2600-sbp1.dts| 96

Re: Passing boot logs to Linux?

2023-12-20 Thread Csókás Bence
On 2023. 12. 19. 21:33, Daniel Golle wrote: > Hi Bence, > > On Tue, Dec 19, 2023 at 08:08:48PM +, Csókás Bence wrote: >> Hi! >> >> Is passing the U-Boot boot log to Linux supported yet? We are working >> with a third-party solution, which works, but is a bit hacky, so I was >> wondering if an

Re: [RFC PATCH 16/16] Revert "dm: core: Report bootph-pre-ram/sram node as pre-reloc after relocation"

2023-12-20 Thread MD Danish Anwar
Hi Simon, Please ignore this thread. This patch is actually not part of the series and I mistakenly posted it. I have reposted this series. Please review that. Sorry for the inconvinience. On 20/12/23 10:16 am, Simon Glass wrote: > Hi, > > On Tue, 19 Dec 2023 at 03:13, MD Danish Anwar wrote: >>

Re: [PATCH v7 0/6] spi-nor: Add parallel and stacked memories support

2023-12-20 Thread Michal Simek
Hi, On 12/19/23 05:15, Venkatesh Yadav Abbarapu wrote: This series adds support for Xilinx qspi parallel and stacked memeories. In parallel mode, the current implementation assumes that a maximum of two flashes are connected. The QSPI controller splits the data evenly between both the

Re: [PATCH v3 1/7] rpi5: add initial memory map for bcm2712

2023-12-20 Thread Ivan T . Ivanov
Hi, On 12-18 23:03, Ivan T. Ivanov wrote: > > +static struct mm_region bcm2712_mem_map[MEM_MAP_MAX_ENTRIES] = { > + { > + .virt = 0xUL, > + .phys = 0xUL, > + .size = 0x3f80UL, Something that I realized just now. This memory map is

Re: [PATCH 1/5] bloblist: add API to check the register conventions

2023-12-20 Thread Ilias Apalodimas
Hi Raymond, On Tue, 19 Dec 2023 at 23:11, Raymond Mao wrote: > > Add bloblist_check_reg_conv() to check whether the bloblist is compliant > to the register conventions defined in Firmware Handoff specification. > This API can be used for all Arm platforms. > > Signed-off-by: Raymond Mao > --- >

Re: [PATCH v2] test/py: i2c: Add tests for i2c command

2023-12-20 Thread Tom Rini
On Tue, Nov 21, 2023 at 05:28:43PM +0530, Love Kumar wrote: > Add below test cases for i2c commands: > i2c_bus - To show i2c bus info, > i2c_dev - To set or show the current bus, > i2c_probe - To probe the i2c device, > i2c_eeprom - To test i2c eeprom device, > i2c_probe_all_buses - To list down

Re: [PATCH 2/2 v3] smbios: Fallback to the default DT if sysinfo nodes are missing

2023-12-20 Thread Tom Rini
On Tue, Dec 19, 2023 at 09:46:22PM -0700, Simon Glass wrote: > Hi again, > > On Mon, 18 Dec 2023 at 14:07, Simon Glass wrote: > > > > Hi Neil, > > > > On Mon, 18 Dec 2023 at 08:37, wrote: > > > > > > Hi, > > > > > > On 18/12/2023 16:01, Simon Glass wrote: > > > > Hi Neil, > > > > > > > > On

Re: [RFC PATCH 10/16] arm: dts: k3-am65-main: Add ICSSG IEP nodes

2023-12-20 Thread Anwar, Md Danish
On 12/20/2023 6:22 PM, Nishanth Menon wrote: > On 10:17-20231220, MD Danish Anwar wrote: >> Hi Tom, >> >> On 19/12/23 11:16 pm, Tom Rini wrote: >>> On Tue, Dec 19, 2023 at 04:04:12PM +0530, MD Danish Anwar wrote: >>> >>>> The ICSSG IP on AM65x

Re: [PATCH 2/7] serial_msm: Add support for RS232 GPIOs

2023-12-20 Thread Sumit Garg
On Tue, 19 Dec 2023 at 22:17, Caleb Connolly wrote: > > I guess these GPIOs are RTS/CTS? Missing description... No, these GPIOs (99 and 100) on HMIBSC board rather act as a mux to control UART mode out of rs232/422/485. I will add a corresponding description. > > Given that you just set them to

Re: [PATCH 3/5] bloblist: Load the bloblist from the previous loader

2023-12-20 Thread Raymond Mao
Hi Michal, Other vendors should add their own custom function under the "./board/" directory. The inline function here is just to avoid the building errors on other platforms which do not yet implement the custom function. Otherwise we have to create a function "board_bloblist_from_boot_arg()"

[PATCH] riscv: Extend board compatible string with "qemu,mbv"

2023-12-20 Thread Michal Simek
Extend compatible string to match the latest change in dt binding. Fixes: 7576ab2facae ("riscv: Add support for AMD/Xilinx MicroBlaze V") Signed-off-by: Michal Simek --- dt binding patch is available here.

Re: [PATCH 2/5] qemu-arm: Get bloblist from boot arguments

2023-12-20 Thread Raymond Mao
Hi Michal, Yes, I can put this part as armv8/v7 common functions. Thanks and regards, Raymond On Wed, 20 Dec 2023 at 06:03, Michal Simek wrote: > > > On 12/19/23 22:11, Raymond Mao wrote: > > Add platform custom function to get bloblist from boot arguments. > > Check whether boot arguments

Re: [PATCH 4/8] dts: Add alternative location for upstream DTB builds

2023-12-20 Thread Sumit Garg
Hi Simon, On Wed, 20 Dec 2023 at 10:17, Simon Glass wrote: > > Hi Sumit, > > On Thu, 14 Dec 2023 at 06:52, Sumit Garg wrote: > > > > Allow platform owners to mirror devicetree files from devitree-rebasing > > directory into dts/arch/$(ARCH) (special case for dts/arch/arm64). Then > > build then

Re: Problem with CROSS_COMPILE

2023-12-20 Thread Alexander Dahl
Hei hei, Am Tue, Dec 19, 2023 at 11:03:12PM -0300 schrieb Kledson Silva: > Hi, > I need help, if possible with for compile and install VxWorks in my > Raspbery 4 > > I follow the steps in page of WindRiver, but this step > (CROSS_COMPILE=aarch64-linux-gnu- > make), i have the problem below: > >

Re: Passing boot logs to Linux?

2023-12-20 Thread Dragan Simic
On 2023-12-20 11:31, Mark Kettenis wrote: Date: Tue, 19 Dec 2023 23:45:48 -0500 From: Sean Anderson On 12/19/23 23:11, Simon Glass wrote: > On Tue, 19 Dec 2023 at 13:15, Csókás Bence wrote: >> Is passing the U-Boot boot log to Linux supported yet? We are working >> with a third-party

Re: [PATCH 7/8] dts: meson-gxbb: Switch to using upstream DT

2023-12-20 Thread Sumit Garg
On Wed, 20 Dec 2023 at 16:23, wrote: > > On 14/12/2023 14:51, Sumit Garg wrote: > > Although there were still some variations in board DTS files based on > > meson-gxbb SoC but I think those were minor differences from upstream > > and shouldn't impact boot on these devices. > > > > So switch to

Re: [RFC PATCH 10/16] arm: dts: k3-am65-main: Add ICSSG IEP nodes

2023-12-20 Thread Nishanth Menon
On 10:17-20231220, MD Danish Anwar wrote: > Hi Tom, > > On 19/12/23 11:16 pm, Tom Rini wrote: > > On Tue, Dec 19, 2023 at 04:04:12PM +0530, MD Danish Anwar wrote: > > > >> The ICSSG IP on AM65x SoCs have two Industrial Ethernet Peripherals (IEPs) > >>

Re: Problem with CROSS_COMPILE

2023-12-20 Thread Kledson Silva
Perfectly, Thanks for your help! Em qua., 20 de dez. de 2023 às 09:19, Alexander Dahl escreveu: > Hei hei, > > Am Tue, Dec 19, 2023 at 11:03:12PM -0300 schrieb Kledson Silva: > > Hi, > > I need help, if possible with for compile and install VxWorks in my > > Raspbery 4 > > > > I follow the

Re: [PATCH 3/8] scripts/Makefile.lib: Statically define *-u-boot.dtsi files location

2023-12-20 Thread Tom Rini
On Wed, Dec 20, 2023 at 05:00:20PM +0530, Sumit Garg wrote: > On Wed, 20 Dec 2023 at 10:17, Simon Glass wrote: > > > > Hi Sumit, > > > > On Thu, 14 Dec 2023 at 06:52, Sumit Garg wrote: > > > > > > Allow u-boot to build DTB from a different directory tree such that > > > *-u-boot.dtsi files can

Re: [PATCH v2 13/32] board: dragonboard410c: import board code from mach-snapdragon

2023-12-20 Thread Sumit Garg
Hi Caleb, On Tue, 19 Dec 2023 at 21:34, Caleb Connolly wrote: > > Some of the db410c board support code was written to be generic and > placed in mach-snapdragon. However, as the db410c is the only board > using this, move the code out of mach-snapdragon. This makes is more > obvious what code

Re: [PATCH v1 3/3] colibri-imx8x: configure usb hub to bypass mode

2023-12-20 Thread Fabio Estevam
On Wed, Dec 20, 2023 at 8:45 AM Francesco Dolcini wrote: > Understood. Yes, this is some real work that someone should take up. > Just doing the sync will likely break everything now. Exactly. > At the moment the situation with i.MX8QXP/i.MX8QM is not as good as > i.MX8M* neither in U-Boot nor

Re: [RFC PATCH 11/16] arm: dts: k3-am654-base-board: Add ICSSG2 Ethernet support

2023-12-20 Thread Anwar, Md Danish
On 12/20/2023 3:38 PM, Roger Quadros wrote: > > > On 19/12/2023 12:34, MD Danish Anwar wrote: >> ICSSG2 provides dual Gigabit Ethernet support. >> Add ICSSG2 ethernet node to an overlay k3-am654-icssg2.dtso >> >> Signed-off-by: MD Danish Anwar >> --- >> arch/arm/dts/Makefile | 3

Re: [PATCH 0/8] An effort to bring DT bindings compliance within U-boot

2023-12-20 Thread Sumit Garg
Hi Michal, On Wed, 20 Dec 2023 at 16:14, Michal Simek wrote: > > Hi Sumit, > > On 12/14/23 14:50, Sumit Garg wrote: > > Prerquisite > > --- > > > > This patch series requires devicetree-rebasing git repo to be added as a > > subtree to the main U-boot repo via: > > > > $ git subtree add

Re: [PATCH v4 9/9] arm: enable support for QEMU firmware tables

2023-12-20 Thread Ilias Apalodimas
On Tue, 19 Dec 2023 at 17:04, Heinrich Schuchardt wrote: > > Enable the QEMU firmware interface if ACPI tables are to be supported on > the QEMU platform. > > Signed-off-by: Heinrich Schuchardt > Reviewed-by: Simon Glass > --- > v4: > no change > v3: > no change > v2: >

Re: [PATCH v2 00/32] Qualcomm generic board support

2023-12-20 Thread Sumit Garg
Hi Caleb, On Tue, 19 Dec 2023 at 21:34, Caleb Connolly wrote: > > Historically, Qualcomm boards in U-Boot have all had their own > board/qualcomm/xyz directory, their own CONFIG_TARGET_XYZ option, their > own hardcoded sysmap-xyz.c file, and their own U-Boot specific > devicetree with little/no

Re: [PATCH 5/5] qemu-arm: get FDT from bloblist

2023-12-20 Thread Ilias Apalodimas
On Tue, Dec 19, 2023 at 01:11:12PM -0800, Raymond Mao wrote: > Get devicetree from a bloblist if it exists. > If not, fallback to get FDT from the specified memory address. > > Signed-off-by: Raymond Mao > --- > board/emulation/qemu-arm/qemu-arm.c | 15 +-- > 1 file changed, 13

Re: Please pull u-boot-tegra staging

2023-12-20 Thread Tom Rini
On Tue, Dec 19, 2023 at 10:13:53PM +0200, Svyatoslav Ryhel wrote: > Dear Tom, > > The following changes since commit 936d0f9dd713a913fe952eae576c893e1d5ecbd1: > > Merge patch series "Fix J7200 kernel boot when using upstream u-boot" > (2023-12-19 11:42:03 -0500) > > are available in the Git

Re: [PATCH 1/5] bloblist: add API to check the register conventions

2023-12-20 Thread Raymond Mao
Hi Ilias, The rzero refers to the boot argument that must be 0 according to the register conventions of FW Handoff spec. Yes, you are right. I should check this at the beginning of the function. Thanks and regards, Raymond On Wed, 20 Dec 2023 at 07:54, Ilias Apalodimas wrote: > Hi Raymond, >

Re: [PATCH v1 1/1] drivers: misc: Add socfpga_dtreg driver for Intel SoCFPGA

2023-12-20 Thread Marek Vasut
On 12/20/23 04:09, Lau, Wan Yee wrote: Hi, can you trim the CC list to relevant people ? [...] +++ b/drivers/misc/socfpga_dtreg.c @@ -0,0 +1,117 @@ +// SPDX-License-Identifier: GPL-2.0 +/* + * Copyright (C) 2023 Intel Corporation */ + +#include +#include +#include +#include Please

RE: [PATCH v1 1/1] drivers: misc: Add socfpga_dtreg driver for Intel SoCFPGA

2023-12-20 Thread Lau, Wan Yee
> -Original Message- > From: Marek Vasut > Sent: Tuesday, December 19, 2023 5:54 PM > To: Chee, Tien Fong ; Lau, Wan Yee > ; u-boot@lists.denx.de > Cc: Simon Glass ; Kever Yang ; > Bin Meng ; Jonas Karlman ; Jean- > Marie Lemetayer ; Peng Fan ; > Vladimir Zapolskiy ; Konrad Dybcio > ;

Problem with CROSS_COMPILE

2023-12-20 Thread Kledson Silva
Hi, I need help, if possible with for compile and install VxWorks in my Raspbery 4 I follow the steps in page of WindRiver, but this step (CROSS_COMPILE=aarch64-linux-gnu- make), i have the problem below: include/image.h:1397:12: fatal error: openssl/evp.h: No such file or directory 1397 | #

Re: [RFC PATCH 10/16] arm: dts: k3-am65-main: Add ICSSG IEP nodes

2023-12-20 Thread MD Danish Anwar
Hi Tom, On 19/12/23 11:16 pm, Tom Rini wrote: > On Tue, Dec 19, 2023 at 04:04:12PM +0530, MD Danish Anwar wrote: > >> The ICSSG IP on AM65x SoCs have two Industrial Ethernet Peripherals (IEPs) >> to manage/generate Industrial Ethernet functions such as time stamping. >> Each IEP sub-module is

Re: [GIT PULL] Please pull u-boot-amlogic-next-20231220

2023-12-20 Thread Tom Rini
ttps://source.denx.de/u-boot/custodians/u-boot-amlogic.git > tags/u-boot-amlogic-next-20231220 > > for you to fetch changes up to 4d4fbf04158a5b2d4fff5a35ea0a2d6c18d250cb: > > ARM: dts: sync Amlogic GX DT to Linux v6.4 (2023-12-19 11:24:38 +0100) > Applied to u-boot/next, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH 3/5] bloblist: Load the bloblist from the previous loader

2023-12-20 Thread Michal Simek
Hi Raymond, On 12/20/23 15:53, Raymond Mao wrote: Hi Michal, please avoid top posting. Other vendors should add their own custom function under the "./board/" directory. The inline function here is just to avoid the building errors on other platforms which do not yet implement the custom

Re: [PATCH v2] test/py: i2c: Add tests for i2c command

2023-12-20 Thread Michal Simek
On 12/20/23 16:46, Tom Rini wrote: On Tue, Nov 21, 2023 at 05:28:43PM +0530, Love Kumar wrote: Add below test cases for i2c commands: i2c_bus - To show i2c bus info, i2c_dev - To set or show the current bus, i2c_probe - To probe the i2c device, i2c_eeprom - To test i2c eeprom device,

Re: [PATCH v1] android_ab: don't ignore ab_control_store return code

2023-12-20 Thread Mattijs Korpershoek
Hi Alexey, Thank you for your patch. I'm looping in the Android AB reviewers and maintainers (Sam and Igor). They were not automatically add due to a stale MAINTAINERS entry[1] [1] https://lore.kernel.org/all/20231220-maintainers-fix-ab-v1-1-dd16fc528...@baylibre.com/ On Tue, Nov 28, 2023

Re: [PATCH] include: env: ti: ti_common: Run main_cpsw0_qsgmii_phyinit conditionally

2023-12-20 Thread Mattijs Korpershoek
On Mon, Dec 11, 2023 at 16:12, Siddharth Vadapalli wrote: > From: Manorit Chawdhry > > The main_cpsw0_qsgmii_phyinit command is defined only for certain TI > SoCs which have the do_main_cpsw0_qsgmii_phyinit variable set. > > Add a check to ensure that the main_cpsw0_qsgmii_phyinit command is

Pull request: Please pull u-boot-imx-master-20231220

2023-12-20 Thread Fabio Estevam
at: https://gitlab.denx.de/u-boot/custodians/u-boot-imx.git tags/u-boot-imx-master-20231220 for you to fetch changes up to 1f25c75619d7fdacbaa8c2c9c152ebc9aec807b3: ARM: dts: imx: Power off display output on Data Modul i.MX8M Mini/Plus eDM SBC (2023-12-18 20:25:57 -0300) u-boot-imx-master

Re: [PATCH 3/5] bloblist: Load the bloblist from the previous loader

2023-12-20 Thread Raymond Mao
Hi Michal, On Wed, 20 Dec 2023 at 11:41, Michal Simek wrote: > Hi Raymond, > > On 12/20/23 15:53, Raymond Mao wrote: > > Hi Michal, > > > > please avoid top posting. > > > Other vendors should add their own custom function under the > > "./board/" directory. > > The inline function here is just

Re: [PATCH 1/2 v2] smbios: Simplify reporting of unknown values

2023-12-20 Thread Tom Rini
On Wed, Dec 20, 2023 at 10:32:26AM -0700, Simon Glass wrote: > Hi Peter, > > On Tue, 19 Dec 2023 at 13:40, Peter Robinson wrote: > > > > Hi Simon, > > > > On Mon, Dec 18, 2023 at 3:02 PM Simon Glass wrote: > > > > > > Hi Ilias, > > > > > > On Wed, 6 Dec 2023 at 04:36, Ilias Apalodimas > > >

Re: Passing boot logs to Linux?

2023-12-20 Thread Dragan Simic
On 2023-12-20 21:03, Sean Anderson wrote: On 12/20/23 14:24, Csókás Bence wrote: On 2023. 12. 20. 9:29, Dragan Simic wrote: On 2023-12-20 08:52, Csókás Bence wrote: On 2023. 12. 20. 8:09, Dragan Simic wrote: On 2023-12-20 07:49, Csókás Bence wrote: That's what I read as well. Is there

  1   2   >