Re: [PATCH v3 0/2] tools: Fix build without host OpenSSL

2023-12-20 Thread Alexander Dahl
Hello, Am Thu, Dec 21, 2023 at 08:26:09AM +0100 schrieb Alexander Dahl: > Hei hei, > > both patches of the series got a review and this is my last work day of > the year, so I just incorporated the feedback, collected the tags, and > send this out before returning to office in January. > > Link

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

2023-12-20 Thread Ilias Apalodimas
Hi Simon, On Wed, 20 Dec 2023 at 19:33, Simon Glass wrote: > > Hi Ilias, > > On Wed, 20 Dec 2023 at 00:26, Ilias Apalodimas > wrote: > > > > Hi Simon, > > > > On Mon, 18 Dec 2023 at 23:07, Simon Glass wrote: > > > > > > Hi Neil, > > > > > > On Mon, 18 Dec 2023 at 08:37, wrote: > > > > > > > >

[PATCH v3 2/2] tools: fix build without LIBCRYPTO support

2023-12-20 Thread Alexander Dahl
From: Paul-Erwan Rio Commit cb9faa6f98ae ("tools: Use a single target-independent config to enable OpenSSL") introduced a target-independent configuration to build crypto features in host tools. But since commit 2c21256b27d7 ("hash: Use Kconfig to enable hashing in host tools and SPL") the

[PATCH v3 0/2] tools: Fix build without host OpenSSL

2023-12-20 Thread Alexander Dahl
Hei hei, both patches of the series got a review and this is my last work day of the year, so I just incorporated the feedback, collected the tags, and send this out before returning to office in January. Link to v2 with whole motivation text:

[PATCH v3 1/2] tools: kwbimage: Allow disabling build on non-mvebu platforms

2023-12-20 Thread Alexander Dahl
Some users want to build with CONFIG_TOOLS_LIBCRYPTO disabled, which in general is possible for at least some boards. 32-bit mvebu however requires kwbimage for building SPL, and kwbimage has a hard dependency to host OpenSSL. The new symbol CONFIG_TOOLS_KWBIMAGE allows disabling kwbimage build

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

2023-12-20 Thread Ilias Apalodimas
Hi Shantur On Thu, 21 Dec 2023 at 00:57, Shantur Rathore wrote: > > Hi Illias, > > On Wed, Dec 20, 2023 at 3:43 PM Peter Robinson wrote: > > > > 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: >

Re: Passing boot logs to Linux?

2023-12-20 Thread Dragan Simic
On 2023-12-21 02:44, Dragan Simic wrote: On 2023-12-21 02:37, Dragan Simic wrote: On 2023-12-21 02:03, Daniel Golle wrote: On Thu, Dec 21, 2023 at 12:55:20AM +0100, Dragan Simic wrote: On 2023-12-21 00:27, Csókás Bence wrote: > Not every system has eMMC/uSD, and as you said, these arguments

Re: Passing boot logs to Linux?

2023-12-20 Thread Dragan Simic
On 2023-12-21 02:37, Dragan Simic wrote: On 2023-12-21 02:03, Daniel Golle wrote: On Thu, Dec 21, 2023 at 12:55:20AM +0100, Dragan Simic wrote: On 2023-12-21 00:27, Csókás Bence wrote: > Not every system has eMMC/uSD, and as you said, these arguments don't > hold for a 4 MB SPI NAND, for

Re: Passing boot logs to Linux?

2023-12-20 Thread Dragan Simic
On 2023-12-21 02:03, Daniel Golle wrote: On Thu, Dec 21, 2023 at 12:55:20AM +0100, Dragan Simic wrote: On 2023-12-21 00:27, Csókás Bence wrote: > Not every system has eMMC/uSD, and as you said, these arguments don't > hold for a 4 MB SPI NAND, for example, one you might find in an OpenWrt >

Re: Passing boot logs to Linux?

2023-12-20 Thread Daniel Golle
On Thu, Dec 21, 2023 at 12:55:20AM +0100, Dragan Simic wrote: > On 2023-12-21 00:27, Csókás Bence wrote: > > Not every system has eMMC/uSD, and as you said, these arguments don't > > hold for a 4 MB SPI NAND, for example, one you might find in an OpenWrt > > router for example. Whereas RAM is

[PATCH v2 9/9] qemu-arm: get FDT from bloblist

2023-12-20 Thread Raymond Mao
Get devicetree from a bloblist if it exists. If not, fallback to get FDT from the specified memory address. Signed-off-by: Raymond Mao --- Changes in v2 - Refactor of board_fdt_blob_setup(). board/emulation/qemu-arm/qemu-arm.c | 12 ++-- 1 file changed, 10 insertions(+), 2 deletions(-)

[PATCH v2 8/9] fdt: update the document and Kconfig description

2023-12-20 Thread Raymond Mao
Update the document and Kconfig to describe the behavior of board specific custom functions when CONFIG_OF_BOARD is defined. Signed-off-by: Raymond Mao --- doc/develop/devicetree/control.rst | 6 +++--- dts/Kconfig| 7 +-- 2 files changed, 8 insertions(+), 5

[PATCH v2 7/9] bloblist: Load the bloblist from the previous loader

2023-12-20 Thread Raymond Mao
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: Raymond Mao --- common/bloblist.c | 47

[PATCH v2 6/9] qemu-arm: Get bloblist from boot arguments

2023-12-20 Thread Raymond Mao
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 --- Changes in v2 - Remove low level code for

[PATCH v2 5/9] arm: armv8: save boot arguments

2023-12-20 Thread Raymond Mao
Save boot arguments x[0-3] into an array for handover of bloblist from previous boot stage. Signed-off-by: Raymond Mao --- Changes in v2 - New patch file created for v2. arch/arm/cpu/armv8/start.S | 14 ++ 1 file changed, 14 insertions(+) diff --git a/arch/arm/cpu/armv8/start.S

[PATCH v2 4/9] arm: armv7: save boot arguments

2023-12-20 Thread Raymond Mao
Save boot arguments r[0-3] into an array for handover of bloblist from previous boot stage. Signed-off-by: Raymond Mao --- Changes in v2 - New patch file created for v2. arch/arm/cpu/armv7/start.S | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm/cpu/armv7/start.S

[PATCH v2 3/9] bloblist: refactor of bloblist_reloc()

2023-12-20 Thread Raymond Mao
The current bloblist pointer and size can be retrieved from global data, so we don't need to pass them from the function arguments. This change also help to remove all external access of gd->bloblist outside of bloblist module. Signed-off-by: Raymond Mao --- Changes in v2 - New patch file

[PATCH v2 2/9] bloblist: check bloblist with specified buffer size

2023-12-20 Thread Raymond Mao
Instead of expecting the bloblist total size to be the same as the pre-allocated buffer size, practically we are more interested in whether the pre-allocated buffer size is bigger than the bloblist total size. Signed-off-by: Raymond Mao --- Changes in v2 - New patch file created for v2.

[PATCH v2 1/9] bloblist: add API to check the register conventions

2023-12-20 Thread Raymond Mao
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 --- Changes in v2 - Refactor of bloblist_check_reg_conv(). common/bloblist.c |

[PATCH v2 0/9] Handoff bloblist from previous boot stage

2023-12-20 Thread Raymond Mao
This patch set depends on another series: "[PATCH v3 00/14] Support Firmware Handoff spec via bloblist". This patch set implements Qemu-Arm platform custom functions to retrieve the bloblist (aka. Transfer List) from previous loader via boot arguments when CONFIG_OF_BOARD option is enabled and

[PATCH 1/1] cmd: fdt: check fdt address

2023-12-20 Thread Heinrich Schuchardt
Trying to read a device-tree from an illegal address leads to a crash. Check that the parameter passed to 'fdt addr' is within the RAM area and non-zero. Signed-off-by: Heinrich Schuchardt --- cmd/fdt.c | 5 + 1 file changed, 5 insertions(+) diff --git a/cmd/fdt.c b/cmd/fdt.c index

Re: Passing boot logs to Linux?

2023-12-20 Thread Dragan Simic
On 2023-12-21 00:27, Csókás Bence wrote: On 2023. 12. 20. 20:58, Dragan Simic wrote: On 2023-12-20 20: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: That's what I read as well. Is there support for U-boot to write and Linux to

Re: Passing boot logs to Linux?

2023-12-20 Thread Csókás Bence
On 2023. 12. 20. 20:58, Dragan Simic wrote: > On 2023-12-20 20: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: That's what I read as well. Is there support for U-boot to write and Linux to read PStores? >>> >>> No and

Re: [PATCH 2/2] ARM: dts: imx8mm-venice: prepare for dek blob encapsulation

2023-12-20 Thread Tim Harvey
On Fri, Dec 15, 2023 at 11:06 AM Adam Ford wrote: > > On Fri, Dec 15, 2023 at 12:41 PM Fabio Estevam wrote: > > > > Hi Tim, > > > > On Fri, Dec 15, 2023 at 3:34 PM Tim Harvey wrote: > > > > > Fabio, > > > > > > The commit log details are not valid for upstream. I was basing this > > > off of

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

2023-12-20 Thread Shantur Rathore
Hi Illias, On Wed, Dec 20, 2023 at 3:43 PM Peter Robinson wrote: > > 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

Re: [PATCH] sbp1: Add support for IBM SBP1 board

2023-12-20 Thread Tom Rini
On Thu, Dec 21, 2023 at 02:38:11AM +0530, Naresh Solanki wrote: > Hi Tom > > On Thu, 21 Dec 2023 at 00:42, Tom Rini wrote: > > > > On Wed, Dec 20, 2023 at 02:42:24PM +0530, Naresh Solanki wrote: > > > From: Patrick Rudolph > > > > > > Add defconfig & devicetree for IBM SBP1 board BMC based on

Re: [PATCH] sbp1: Add support for IBM SBP1 board

2023-12-20 Thread Naresh Solanki
Hi Tom On Thu, 21 Dec 2023 at 00:42, Tom Rini wrote: > > On Wed, Dec 20, 2023 at 02:42:24PM +0530, Naresh Solanki wrote: > > From: Patrick Rudolph > > > > Add defconfig & devicetree for IBM SBP1 board BMC based on AST2600 SoC. > > > > Signed-off-by: Patrick Rudolph > > Signed-off-by: Naresh

Re: [PATCH] cmd: part: Cover both part type entries with GUID ifdef

2023-12-20 Thread Tom Rini
On Sun, Dec 10, 2023 at 10:25:07PM +0100, Marek Vasut wrote: > The 'part type' subcommand depends on GUID partition table support. > The help text exposes one of two 'part type' subcommand entries, > hide both in case GUID partition table support is not enabled to > avoid confusing users. > >

Re: [PATCH] pxe_utils: Increase feedback to user when fdt file is not found

2023-12-20 Thread Tom Rini
On Thu, Dec 07, 2023 at 03:28:19PM +0100, Michael Trimarchi wrote: > extlinux.conf can set fdtdir. fdtdir look for fdt file using > information found in the enviroment variable. The function does > not report any error in the case the file is not found > > Scanning for bootflows in all bootdevs

Re: [PATCH 2/2] command: Move command completion temporary buffer to stack

2023-12-20 Thread Tom Rini
On Sat, Dec 02, 2023 at 09:52:31PM +0100, Marek Vasut wrote: > The command completion temporary buffer seems to be only > used by the argv tokenizer, move it to stack. This saves > 2 kiB from the binary size (depends on configuration) per: > $ aarch64-linux-gnu-readelf -s u-boot | sort -n -k 3 >

Re: [PATCH 1/2] command: Allocate history buffer using calloc()

2023-12-20 Thread Tom Rini
On Sat, Dec 02, 2023 at 09:52:30PM +0100, Marek Vasut wrote: > The history buffer is currently a static array which can be some > 10-40 kiB depending on configuration, and so adds considerably to > the U-Boot binary size. Allocate it dynamically instead to reduce > the U-Boot binary size. > >

Re: [PATCH] bootflow: Allow setting a cmdline arg with no value

2023-12-20 Thread Tom Rini
On Wed, Nov 29, 2023 at 10:31:19AM -0700, Simon Glass wrote: > This is supposed to be supported by the 'bootflow cmd' command, at > least according to the help. There is a 'bootflow cmd clear' but it is > often more intuitive to use 'bootcmd cmd set' with an empty value. > > Update the command

Re: [PATCH v2 1/1] bootm: Fix flags used for bootargs string substitution

2023-12-20 Thread Tom Rini
On Fri, Nov 24, 2023 at 05:30:46PM +0100, Piotr Kubik wrote: > Commit 51bb33846ad2 ("bootm: Support string substitution in > bootargs") introduced a feature of bootargs string substitution > and changed a flag used in bootm_process_cmdline_env() call > to be either true or false. With this flag

Re: [PATCH 1/1] arm: afs: Set the filesize env. var. on load

2023-12-20 Thread Tom Rini
On Thu, Nov 23, 2023 at 02:16:01PM +, Robert Catherall wrote: > The `afs load` command copies data to RAM. Set the filesize > environment variable to record how much data was 'loaded' > > Signed-off-by: Robert Catherall > Reviewed-by: Andre Przywara > Tested-by: Andre Przywara Applied to

Re: [PATCH] rsa: use pkcs11 uri as defined in rfc7512

2023-12-20 Thread Tom Rini
On Sat, Aug 26, 2023 at 01:53:29PM +0200, Ayoub Zaki wrote: > pkcs11 : change engine uri to use full pk11-URI as defined in: > > https://www.rfc-editor.org/rfc/rfc7512.html > Signed-off-by: Ayoub Zaki Applied to u-boot/next, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH v2] imxtract: specify max gunzip size

2023-12-20 Thread Tom Rini
On Mon, Dec 19, 2022 at 11:05:27AM +0300, Nikita Shubin wrote: > From: Nikita Shubin > > Specify max gunzip size from config to override SYS_XIMG_LEN > default value wich is 0x80. In case we have a large portion of FIT > image, for example gzipped kernel with decompressed size large than >

Re: [PATCH 0/2 v3] Provide a fallback to smbios tables

2023-12-20 Thread Tom Rini
On Thu, Dec 07, 2023 at 11:18:48AM +0200, Ilias Apalodimas wrote: > Hi, > > This is v3 of the smbios series [0]. > v3 has a bigger cleanup in the existing smbios code, folding in > smbios_add_string() that were sprinkled around to smbios_add_prop(). > > The latter is now the only caller of

Re: Pull request: Please pull u-boot-imx-next-20231220

2023-12-20 Thread Tom Rini
On Wed, Dec 20, 2023 at 03:21:19PM -0300, Fabio Estevam wrote: > Hi Tom, > > Please pull this u-boot-imx material targetted for 'next', thanks. > > The following changes since commit f7655af980dc376783bbdac833e450a86e3255f4: > > Merge tag 'u-boot-amlogic-next-

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

2023-12-20 Thread Tom Rini
x.de/u-boot/custodians/u-boot-imx (2023-12-15 08:22:31 > -0500) > > are available in the Git repository 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 1f25c75619d7fdacbaa8c2c9c152ebc9a

Re: Passing boot logs to Linux?

2023-12-20 Thread Csókás Bence
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: I don't think that would be a huge problem, Linux userspace can filter ANSI control codes if it wants to. For

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

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 Sean Anderson
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: I don't think that would be a huge problem, Linux userspace can filter ANSI control

Re: Passing boot logs to Linux?

2023-12-20 Thread Dragan Simic
On 2023-12-20 20: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: I don't think that would be a huge problem, Linux userspace can filter ANSI control

[PATCH v2] cmd: mtd: OTP access support

2023-12-20 Thread Arseniy Krasnov
Add access to OTP region. It supports info, dump, write and lock operations. Signed-off-by: Arseniy Krasnov --- Changelog: v1 -> v2: * Remove warning that OTP can't be erased after write. cmd/Kconfig | 1 + cmd/mtd.c | 224 2 files

Re: Proposal: U-Boot memory management

2023-12-20 Thread Tom Rini
On Tue, Dec 19, 2023 at 09:15:21PM -0700, Simon Glass wrote: > Hi, > > On Tue, 19 Dec 2023 at 05:46, Tom Rini wrote: > > > > On Tue, Dec 19, 2023 at 03:15:38AM +0100, Heinrich Schuchardt wrote: > > > > > > > > > Am 19. Dezember 2023 02:26:00 MEZ schrieb Tom Rini : > > > >On Tue, Dec 19, 2023 at

Re: [PATCH] sbp1: Add support for IBM SBP1 board

2023-12-20 Thread Tom Rini
On Wed, Dec 20, 2023 at 02:42:24PM +0530, Naresh Solanki wrote: > 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 > --- >

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

2023-12-20 Thread Tom Rini
On Wed, Dec 20, 2023 at 05:45:24PM +0100, Michal Simek wrote: > > > 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

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

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

2023-12-20 Thread Fabio Estevam
Hi Tom, Please pull this u-boot-imx material targetted for 'next', thanks. The following changes since commit f7655af980dc376783bbdac833e450a86e3255f4: Merge tag 'u-boot-amlogic-next-20231220' of https://source.denx.de/u-boot/custodians/u-boot-amlogic into next (2023-12-20 08:34:12 -0500

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

2023-12-20 Thread Fabio Estevam
On Wed, Dec 20, 2023 at 5:45 AM Yannic Moog wrote: > > > --- > 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:

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

2023-12-20 Thread Fabio Estevam
On Wed, Dec 20, 2023 at 7:39 AM Andrejs Cainikovs wrote: > > 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

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

2023-12-20 Thread Simon Glass
Hi Ilias, On Wed, 20 Dec 2023 at 00:26, Ilias Apalodimas wrote: > > Hi Simon, > > On Mon, 18 Dec 2023 at 23: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, > > > > > > > >

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

2023-12-20 Thread Simon Glass
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 > > wrote: > > > > > > [...] > > > > > > > > > > >> > > > >> > str =

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

2023-12-20 Thread Simon Glass
Hi Peter, On Tue, 19 Dec 2023 at 13:23, Peter Robinson wrote: > > > > > > What do you mean wrong, exactly? > > > > > > > > "raspberrypi" instead of "Raspberry Pi", for example, or "friendlyarm" > > > > instead of "FriendlyElec" > > > > > > Heh, well, even in the x86 world vendors can't even

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

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 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,

[PATCH] MAINTAINERS: Fix ANDROID AB unknown file entry

2023-12-20 Thread Mattijs Korpershoek
id_ab.c F: doc/android/ab.rst F: include/android_ab.h F: test/py/tests/test_android/test_ab.py --- base-commit: 9e53e45292ee2f1d9d2ccc59914b161bef9b10d7 change-id: 20231220-maintainers-fix-ab-2afa7cee97bd Best regards, -- Mattijs Korpershoek

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 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 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: 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

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 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 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 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: [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 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 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 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: [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 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: [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 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 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: 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 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: [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: 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 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: [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: [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 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: [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: 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: 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: [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

[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. 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

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. 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: [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: [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: [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 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

  1   2   >