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

2023-12-19 Thread Ilias Apalodimas
[...] > > > > [...] > > > > > > > > > > 2.40.1 > > > > > > > > > > > > > > > > From my understanding, the only thing your fallback adds is the > > > > > manufacturer ('vendor' from DT compatible = "vendor,board"), and the > > > > > product (from DT model = "..."). This is an awful lot of code to m

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

2023-12-19 Thread Ilias Apalodimas
Hi Heinrich, On Mon, 18 Dec 2023 at 10:11, Heinrich Schuchardt wrote: > > On 12/7/23 10:18, 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 smbio

Re: [PATCH v2 01/30] mtd: spi-nor: Add config to enable flash DTR

2023-12-19 Thread Jagan Teki
On Wed, Dec 6, 2023 at 3:02 PM Tejas Bhumkar wrote: > > From: T Karthik Reddy > > The spi-nor framework will set up the flash parameters by > reading the flash id table flags, which include cmd opcodes, > address width, dummy bytes, and bus width. In case, flash > supports octal DTR mode and the

Re: [PATCH V2 5/5] nvmem: layouts: add U-Boot env layout

2023-12-19 Thread Miquel Raynal
Hi Rafał, zaj...@gmail.com wrote on Tue, 19 Dec 2023 18:40:25 +0100: > From: Rafał Miłecki > > This patch moves all generic (NVMEM devices independent) code from NVMEM Nit: In general we avoid starting with "This patch does..." and instead use the imperative form, like: "Move all generic code.

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

2023-12-19 Thread Ilias Apalodimas
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, > > > > > > On Mon, 18 Dec 2023 at 02:54, wrote: > > >> > > >> On 17/12/2023 19:41, Tom Rini wrote: > > >>>

Re: [PATCH v1] spi: dw: add check for Rx FIFO overflow

2023-12-19 Thread Jagan Teki
On Mon, Dec 18, 2023 at 11:01 PM Maxim Kiselev wrote: > > Hello Jagan, > > пн, 18 дек. 2023 г. в 14:28, Jagan Teki : > > > > On Tue, Oct 17, 2023 at 12:35 PM Maksim Kiselev > > wrote: > > > > > > If even one byte is lost due to Rx FIFO overflow then we will never > > > exit the read loop. Becaus

Re: [PATCH V2 4/5] nvmem: u-boot-env: improve coding style

2023-12-19 Thread Miquel Raynal
Hi Rafał, zaj...@gmail.com wrote on Tue, 19 Dec 2023 18:40:24 +0100: > From: Rafał Miłecki > > 1. Prefer kzalloc() over kcalloc() >See memory-allocation.rst which says: "to be on the safe side it's >best to use routines that set memory to zero, like kzalloc()" > 2. Drop dev_err() for u_

Re: [PATCH V2 3/5] nvmem: u-boot-env: use more nvmem subsystem helpers

2023-12-19 Thread Miquel Raynal
Hi Rafał, zaj...@gmail.com wrote on Tue, 19 Dec 2023 19:16:37 +0100: > On 19.12.2023 19:13, Greg Kroah-Hartman wrote: > > On Tue, Dec 19, 2023 at 06:40:23PM +0100, Rafał Miłecki wrote: > >> From: Rafał Miłecki > >> > >> 1. Use nvmem_dev_size() and nvmem_device_read() to make this driver less >

Re: Passing boot logs to Linux?

2023-12-19 Thread Dragan Simic
On 2023-12-20 07:49, Csókás Bence wrote: On 2023. 12. 19. 21:33, Daniel Golle wrote: On Tue, Dec 19, 2023 at 08:08:48PM +, Csókás Bence wrote: 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 wonde

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

2023-12-19 Thread Ilias Apalodimas
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 is the > >> > new ARM protocol for talking to the secure world and hence f

Re: Passing boot logs to Linux?

2023-12-19 Thread Dragan Simic
On 2023-12-20 05:45, Sean Anderson wrote: 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 solution, which works, but is a bit hacky, so I was wondering if an offic

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

2023-12-19 Thread Simon Glass
Hi Heinrich, On Mon, 18 Dec 2023 at 13:59, Heinrich Schuchardt wrote: > > > > Am 18. Dezember 2023 16:01:44 MEZ schrieb Simon Glass : > >Hi, > > > >On Thu, 14 Dec 2023 at 12:47, Ilias Apalodimas > > wrote: > >> > >> Hi Mark, Abdellatif > >> > >> On Thu, 14 Dec 2023 at 18:47, Mark Kettenis > >>

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

2023-12-19 Thread Simon Glass
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 along with any *-u-boot.dtsi file present in arch/$(ARCH)/dts > directory.

Re: [PATCH 6/8] MAINTAINERS: Add myself as devicetree-rebasing maintainer

2023-12-19 Thread Simon Glass
On Thu, 14 Dec 2023 at 06:52, Sumit Garg wrote: > > Signed-off-by: Sumit Garg > --- > MAINTAINERS | 6 ++ > 1 file changed, 6 insertions(+) > > diff --git a/MAINTAINERS b/MAINTAINERS > index 969514468cb..253092c345c 100644 > --- a/MAINTAINERS > +++ b/MAINTAINERS > @@ -951,6 +951,12 @@ F: cmd

Re: [PATCH 5/8] doc: devicetree: Updates for devicetree-rebasing subtree

2023-12-19 Thread Simon Glass
Hi Sumit, On Thu, 14 Dec 2023 at 06:52, Sumit Garg wrote: > > Encourage SoC/board maintainers to migrate to using devicetree-rebasing > subtree and maintain a regular sync with Linux kernel devicetree files > and bindings. > > Along with that add documentation regarding how to run DT bindings > s

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

2023-12-19 Thread Simon Glass
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 arch/$(ARCH)/dts/, so statically define that common > location. > > This is

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

2023-12-19 Thread Simon Glass
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 directory to provide the DT bindings. > > Dependency: > --- > >

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

2023-12-19 Thread Simon Glass
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 > > > --- > > > .azure-pipelines.yml | 3 ++- > > > 1 file changed, 2 insertions(+), 1

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

2023-12-19 Thread Simon Glass
Hi Caleb, On Tue, 19 Dec 2023 at 09:04, Caleb Connolly wrote: > [..] > == DT loading == > > Previously, boards used the FDT blob embedded into U-Boot (via > OF_SEPARATE). However, most Qualcomm boards run U-Boot as a secondary > bootloader, so we can instead rely on the first-stage bootloader to

Re: [PATCH v4 3/9] arm: add ACPI fields to global data

2023-12-19 Thread Simon Glass
On Tue, 19 Dec 2023 at 08:04, Heinrich Schuchardt wrote: > > Add fields for the location of ACPI tables to the global data. > > Signed-off-by: Heinrich Schuchardt > --- > v4: > no change > v3: > let tables in global data depend on CONFIG_(SPL_)ACPI > v2: > new patch > ---

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

2023-12-19 Thread Simon Glass
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 Mon, 18 Dec 2023 at 02:54, wrote: > > >> > > >> On 17/12/2023 19:41, Tom Rini wrote: > > >>>

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

2023-12-19 Thread 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: > >> > >> Now it is clear that the feature actually depends on efi interfaces, > >> n

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

2023-12-19 Thread 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: > > > > > > Now it is clear that the feature actually depends on efi interfaces,

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

2023-12-19 Thread Simon Glass
Hi, On Tue, 19 Dec 2023 at 03:13, MD Danish Anwar wrote: > > This reverts commit 9e644284ab812f2db23f6185af77c0e771b0be73. > --- > drivers/core/ofnode.c | 2 +- > include/dm/ofnode.h | 8 > 2 files changed, 5 insertions(+), 5 deletions(-) > Can you please add some info more info abou

Re: [PATCH v7 2/2] schemas: Add some common reserved-memory usages

2023-12-19 Thread Simon Glass
Hi, On Mon, 11 Dec 2023 at 10:52, Simon Glass wrote: > > Hi, > > On Tue, 28 Nov 2023 at 13:31, Chiu, Chasel wrote: > > > > > > > > > > > -Original Message- > > > From: Ard Biesheuvel > > > Sent: Tuesday, November 28, 2023 10:08 AM > > > To: Chiu, Chasel > > > Cc: Simon Glass ; devicet.

Re: [RFC PATCH 14/16] tools/fdtgrep: Include __symbols__ table

2023-12-19 Thread Simon Glass
Hi, On Tue, 19 Dec 2023 at 03:13, MD Danish Anwar wrote: > > This is required for overlays to work at SPL. > > Loading of symbol table depends on DT Overlay support in SPL > so make it compile-time dependent. Without this SPL fails to > boot some platforms where this feature is not enabled > (e.g

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

2023-12-19 Thread Simon Glass
Hi Ivan, On Mon, 18 Dec 2023 at 14:04, Ivan T. Ivanov wrote: > > From: Dmitry Malkin > > includes: > * 1GB of RAM (from 4GB or 8GB total) > * VPU memory interface > * AXI ranges (main peripherals) > > Signed-off-by: Dmitry Malkin > Signed-off-by: Ivan T. Ivanov > --- > arch/arm/mach-bcm283x/i

Re: Passing boot logs to Linux?

2023-12-19 Thread 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 solution, which works, but is a bit hacky, so I was wondering if an official solution has been merge

Re: Proposal: U-Boot memory management

2023-12-19 Thread Simon Glass
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 01:01:51AM +0100, Heinrich Schuchardt wrote: > > >> > > >> > > >> Am 19. Dezembe

Re: Passing boot logs to Linux?

2023-12-19 Thread Simon Glass
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 solution, which works, but is a bit hacky, so I was > wondering if an official solution has been merged yet. > > I saw that there was

Re: Passing boot logs to Linux?

2023-12-19 Thread Simon Glass
+Heinrich Schuchardt On Tue, 19 Dec 2023 at 13: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 h

Re: Passing boot logs to Linux?

2023-12-19 Thread Dragan Simic
On 2023-12-19 21:33, Daniel Golle wrote: On Tue, Dec 19, 2023 at 08:08:48PM +, Csókás Bence wrote: 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 official solution has been merged ye

[PATCH] test: fs: fs-test: Move the tests to use sha256sum

2023-12-19 Thread Peter Robinson
Move the use of md5s for recording filesystem file integrity checks to sha256 hashes as they're preferred due to being less likely to produce clashing hashes. In the process generalise some of the wording to use the more generic hash term. Signed-off-by: Peter Robinson --- test/fs/fs-test.sh | 1

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

2023-12-19 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 --- board/emulation/qemu-arm/qemu-arm.c | 15 +-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/board/emulation/qemu-arm/qemu-arm.c

[PATCH 4/5] fdt: update the document and Kconfig description

2023-12-19 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 deletions

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

2023-12-19 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 2/5] qemu-arm: Get bloblist from boot arguments

2023-12-19 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 --- board/emulation/qemu-arm/Makefile| 1

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

2023-12-19 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 --- common/bloblist.c | 15 +++ include/bloblist.h | 12

[PATCH 0/5] Handoff bloblist from previous boot stage

2023-12-19 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 all

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

2023-12-19 Thread Peter Robinson
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 = "Unknown"; > > >> > > > >> > for (;;) { > > >> > @@ -151,8 +151,7 @@ static int smbios_add_p

Re: Passing boot logs to Linux?

2023-12-19 Thread Daniel Golle
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 official solution has been merged yet. > > I saw th

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

2023-12-19 Thread Peter Robinson
> > > > 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 spell their own > > name consistently. > > > > > I just wonder what this informatio

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

2023-12-19 Thread Peter Robinson
> > > > > > Not always. I am not sure if x86 does that, but on the rest of the > > > > > > architectures, they are only initialized when the efi smbios code > > > > > > runs. Wasn't this something you were trying to change? > > > > > > > > > > One of those things I keep repeating is that we don't

Passing boot logs to Linux?

2023-12-19 Thread Csókás Bence
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 official solution has been merged yet. I saw that there was an option CONFIG_CONSOLE_RECORD that saves everything to a membuff, but I

Please pull u-boot-tegra staging

2023-12-19 Thread 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: https://source.denx.de/u-boot/custodians/u-boot-tegra.git staging

Re: How to boot Fedora 39

2023-12-19 Thread Peter Robinson
Hi Simon, Sorry for the delayed response, I was out with COVID. > I tried the instructions here with a rpi4: > > https://docs.fedoraproject.org/en-US/quick-docs/raspberry-pi/#_installing_fedora_on_a_raspberry_pi_for_linux_users > > xzcat Fedora-Workstation-39-1.5.aarch64.raw.xz | sudo dd > status

Re: [PATCH v12 00/24] Modernize U-Boot shell

2023-12-19 Thread Tom Rini
On Fri, Dec 08, 2023 at 11:30:01PM +0100, Francis Laniel wrote: > Hi. > > > During 2021 summer, Sean Anderson wrote a contribution to add a new shell, > based > on LIL, to U-Boot [1, 2]. > While one of the goals of this contribution was to address the fact actual > U-Boot shell, which is based

Re: [PATCH v6 00/17] Introduce initial TI's J784S4 and AM69 support

2023-12-19 Thread Apurva Nandan
On 19/12/23 23:15, Tom Rini wrote: On Wed, Dec 06, 2023 at 06:07:36PM +0530, Apurva Nandan wrote: Hello Everyone! This series will introduce basic support (SD and UART) support for Texas Instruments J784S4 EVM. The J784S4 SoC device tree patches are taken from kernel patch submissions and w

[PATCH v7 17/17] board: ti: j784s4: Add MAINTAINERS file

2023-12-19 Thread Apurva Nandan
Add maintainership for new J784S4 files added. Signed-off-by: Apurva Nandan --- board/ti/j784s4/MAINTAINERS | 25 + 1 file changed, 25 insertions(+) create mode 100644 board/ti/j784s4/MAINTAINERS diff --git a/board/ti/j784s4/MAINTAINERS b/board/ti/j784s4/MAINTAINERS new

[PATCH v7 16/17] doc: board: ti: k3: Add J784S4 EVM and AM69 SK documentation

2023-12-19 Thread Apurva Nandan
TI K3 J784S4 and AM69 are new additions to the K3 SoC family. Add documentation about the J784S4 EVM and AM69 SK. Signed-off-by: Dasnavis Sabiya Signed-off-by: Apurva Nandan --- doc/board/ti/j784s4_evm.rst | 303 doc/board/ti/k3.rst | 1 + 2 files

[PATCH v7 15/17] configs: Add am69_sk_* defconfig fragments

2023-12-19 Thread Apurva Nandan
From: Dasnavis Sabiya Add config fragments for am69_sk A72 and R5 configuration. This applies on to: j784s4_evm_a72_defconfig -> am69_sk_a72.config j784s4_evm_r5_defconfig -> am69_sk_r5.config The usage model (with the fragment) would be: make j784s4_evm_a72_defconfig am69_sk_a72.config make O

[PATCH v7 14/17] configs: j784s4_evm: Add defconfig for j784s4 evm board

2023-12-19 Thread Apurva Nandan
Add defconfigs for building R5 U-Boot SPL and A72 U-Boot. Signed-off-by: Hari Nagalla Signed-off-by: Apurva Nandan --- configs/j784s4_evm_a72_defconfig | 180 +++ configs/j784s4_evm_r5_defconfig | 163 2 files changed, 343 insertions(+)

[PATCH v7 13/17] arm: dts: Add bootph-all for memory node

2023-12-19 Thread Apurva Nandan
memory node is used by fdtdec_setup_mem_size_base() and fdtdec_setup_memory_banksize() during dram_init(), so use bootph-all to enable for all stages. Signed-off-by: Apurva Nandan --- arch/arm/dts/k3-am69-sk-u-boot.dtsi| 6 ++ arch/arm/dts/k3-j784s4-evm-u-boot.dtsi | 6 ++ 2 files ch

[PATCH v7 12/17] arm: dts: Introduce am69-sk u-boot dts files

2023-12-19 Thread Apurva Nandan
From: Dasnavis Sabiya Introduce the base dts files needed for u-boot or to augment the linux dtbs for use in the u-boot-spl and u-boot binaries. Signed-off-by: Dasnavis Sabiya Signed-off-by: Apurva Nandan --- arch/arm/dts/Makefile | 1 + arch/arm/dts/k3-am69-r5-sk.dts | 1

[PATCH v7 10/17] board: ti: j784s4: Add boot environment variables

2023-12-19 Thread Apurva Nandan
Add env file with necessary boot variables. Signed-off-by: Apurva Nandan --- board/ti/j784s4/j784s4.env | 18 ++ 1 file changed, 18 insertions(+) create mode 100644 board/ti/j784s4/j784s4.env diff --git a/board/ti/j784s4/j784s4.env b/board/ti/j784s4/j784s4.env new file mode 100

[PATCH v7 01/17] arm: dts: Introduce j784s4 dts from linux kernel

2023-12-19 Thread Apurva Nandan
Introduce the basic j784s4 SoC dts from the v6.7-rc1 tag of the linux kernel. Signed-off-by: Hari Nagalla Signed-off-by: Apurva Nandan --- arch/arm/dts/Makefile |1 + arch/arm/dts/k3-j784s4-evm.dts | 981 +++ arch/arm/dts/k3-j784s4-main.dtsi | 2068 ++

[PATCH v7 08/17] board: ti: j784s4: Add board support for J784S4 EVM

2023-12-19 Thread Apurva Nandan
Add board files for J784S4 EVM. Signed-off-by: Hari Nagalla [ add env and board specific yaml files for binman ] Signed-off-by: Neha Malcom Francis [ cleaned up the env files ] Signed-off-by: Manorit Chawdhry Signed-off-by: Dasnavis Sabiya Signed-off-by: Apurva Nandan Reviewed-by: Tom Rini -

[PATCH v7 07/17] drivers: dma: Add support for J784S4 SoC

2023-12-19 Thread Apurva Nandan
Add support for DMA in J784S4 SoC. Signed-off-by: Jayesh Choudhary Signed-off-by: Hari Nagalla Signed-off-by: Apurva Nandan --- drivers/dma/ti/Makefile | 1 + drivers/dma/ti/k3-psil-j784s4.c | 166 ++ drivers/dma/ti/k3-psil-priv.h | 1 +

[PATCH v7 06/17] arm: mach-k3: j784s4: Add clk and power support

2023-12-19 Thread Apurva Nandan
Add clk and device data which can be used by respective drivers to configure clocks and PSC. Signed-off-by: Hari Nagalla Signed-off-by: Apurva Nandan Reviewed-by: Sean Anderson --- arch/arm/mach-k3/r5/j784s4/Makefile| 7 + arch/arm/mach-k3/r5/j784s4/clk-data.c | 428

[PATCH v7 05/17] soc: ti: k3-socinfo: Add entry for J784S4 SoC

2023-12-19 Thread Apurva Nandan
Add support for J784S4 SoC Identification. Signed-off-by: Hari Nagalla Signed-off-by: Apurva Nandan --- arch/arm/mach-k3/include/mach/hardware.h | 1 + drivers/soc/soc_ti_k3.c | 3 +++ 2 files changed, 4 insertions(+) diff --git a/arch/arm/mach-k3/include/mach/hardware.h b/ar

[PATCH v7 04/17] arm: mach-k3: Sort SoC JTAG_ID entries

2023-12-19 Thread Apurva Nandan
Sort JTAG_IDs for K3 SoCs in hardware.h in alphabetical order. Signed-off-by: Apurva Nandan Reviewed-by: Nishanth Menon --- arch/arm/mach-k3/include/mach/hardware.h | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm/mach-k3/include/mach/hardware.h b/arch/arm/m

[PATCH v7 02/17] arm: dts: Introduce am69-sk dts from linux kernel

2023-12-19 Thread Apurva Nandan
From: Dasnavis Sabiya Introduce the basic am69-sk evm dts from the v6.7-rc1 tag of the linux kernel. Signed-off-by: Dasnavis Sabiya Signed-off-by: Apurva Nandan --- arch/arm/dts/Makefile | 3 +- arch/arm/dts/k3-am69-sk.dts | 900 2 files changed, 9

[PATCH v7 03/17] arm: mach-k3: Add basic support for J784S4 SoC definition

2023-12-19 Thread Apurva Nandan
Add J784S4 initialization files for initial SPL boot. Signed-off-by: Hari Nagalla [ add firewall configurations and change the R5 MCU scratchpad ] Signed-off-by: Manorit Chawdhry Signed-off-by: Dasnavis Sabiya Signed-off-by: Apurva Nandan Reviewed-by: Neha Malcom Francis --- arch/arm/mach-k3

[PATCH v7 00/17] Introduce initial TI's J784S4 and AM69 support

2023-12-19 Thread Apurva Nandan
Hello Everyone! This series will introduce basic support (SD and UART) support for Texas Instruments J784S4 EVM. The J784S4 SoC device tree patches are taken from kernel patch submissions and will be updated as they are accepted and merged to the kernel tree. All other patches are specific to SPL

Re: [PATCH V2 3/5] nvmem: u-boot-env: use more nvmem subsystem helpers

2023-12-19 Thread Rafał Miłecki
On 19.12.2023 19:13, Greg Kroah-Hartman wrote: On Tue, Dec 19, 2023 at 06:40:23PM +0100, Rafał Miłecki wrote: From: Rafał Miłecki 1. Use nvmem_dev_size() and nvmem_device_read() to make this driver less mtd dependent 2. Use nvmem_add_one_cell() to simplify adding NVMEM cells Shouldn't th

Re: [PATCH V2 3/5] nvmem: u-boot-env: use more nvmem subsystem helpers

2023-12-19 Thread Greg Kroah-Hartman
On Tue, Dec 19, 2023 at 06:40:23PM +0100, Rafał Miłecki wrote: > From: Rafał Miłecki > > 1. Use nvmem_dev_size() and nvmem_device_read() to make this driver less >mtd dependent > 2. Use nvmem_add_one_cell() to simplify adding NVMEM cells Shouldn't this be 2 different patches? thanks, greg

Re: [PATCH] arm: mach-k3: am625: Relax emmc boot condition

2023-12-19 Thread Tom Rini
On Fri, Dec 08, 2023 at 08:53:05AM +0100, Michael Trimarchi wrote: > spl_mmc_emmc_boot_partition return a number different from 0 > if the partition is a boot one. We can have the uboot img > for instance in a raw offset in emmc partition 0 so we would > like to continue to load the next stage. If

Re: [PATCH] mmc: mediatek: set b_max according CONFIG_SYS_MMC_MAX_BLK_COUNT

2023-12-19 Thread Tom Rini
On Mon, Dec 04, 2023 at 02:41:45PM +0100, Julien Masson wrote: > The block count limit on MMC based devices should be set according to > CONFIG_SYS_MMC_MAX_BLK_COUNT instead of hardcoding value. > > Signed-off-by: Julien Masson Applied to u-boot/next, thanks! -- Tom signature.asc Descriptio

Re: [PATCH v1] gpio: dw: Drop unused headers

2023-12-19 Thread Tom Rini
On Thu, Nov 30, 2023 at 12:47:31AM +0300, Maksim Kiselev wrote: > Drop headers which are not used or needed in this file. > > Signed-off-by: Maksim Kiselev Applied to u-boot/next, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH 2/2] tee: optee: don't enumerate services if there ain't any

2023-12-19 Thread Tom Rini
On Wed, Nov 29, 2023 at 01:37:53PM +0100, Etienne Carriere wrote: > Change optee driver service enumeration to not enumerate (and > allocate a zero sized shared memory buffer) when OP-TEE > reports that there is no service to enumerate. > > This change fixes an existing issue that occurs when the

Re: [PATCH 1/2] tee: optee: don't fail on services enumeration failure

2023-12-19 Thread Tom Rini
On Wed, Nov 29, 2023 at 01:37:52PM +0100, Etienne Carriere wrote: > Change optee probe function to only warn when service enumeration > sequence fails instead of reporting an optee driver probe failure. > Indeed U-Boot can still use OP-TEE even if some OP-TEE services are > not discovered. > > Fi

Re: [PATCH 0/6] Add support for MediaTek MT8365 EVK Board

2023-12-19 Thread Tom Rini
On Mon, 04 Dec 2023 11:48:49 +0100, Julien Masson wrote: > This patch series add the support for the MediaTek MT8365 EVK Board [1]. > Most of the code have been copied/adapted from Linux tag v6.7-rc2. > > For now we only enable/test these features: > Boot, UART, Watchdog and MMC. > > [1] https:/

Re: [PATCH v2] remoteproc: k3-dsp: Avoid reloading of firmware

2023-12-19 Thread Tom Rini
On Sat, Nov 25, 2023 at 11:59:39PM +0530, Udit Kumar wrote: > DSP core is going into abnormal state when load callback is called > after starting of DSP core. > Reload of firmware needs core to be stopped first, followed by > load. > So avoid loading of firmware, when core is started. > > Signed-

Re: [PATCH] arm: vexpress64: juno: Allow boot from VirtIO

2023-12-19 Thread Tom Rini
On Thu, Nov 23, 2023 at 06:22:58PM +, robert.cather...@foss.arm.com wrote: > From: Robert Catherall > > The AEM and Juno FVPs (Fixed Virtual Platforms) support a VirtIO > disc interface. Adding VIRTIO to the list of boot devices allows > these FastModel platforms to boot from 'disc' in the s

Re: [PATCH v3 0/2] Fix J7200 kernel boot when using upstream u-boot

2023-12-19 Thread Tom Rini
On Thu, 07 Dec 2023 10:52:09 -0600, Reid Tonking wrote: > Since the 09.01.00.002 release of ti-linux-firmware [0] upstream uboot > has led to the kernel hanging during boot [1] for the TI J7200 S0C. The > issue was found to be a few patches that had be added to ti-u-boot, but not > yet upstreamed.

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

2023-12-19 Thread Tom Rini
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 sourced from an internal clock mux that can be > sourced

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

2023-12-19 Thread Tom Rini
On Tue, Dec 19, 2023 at 05:50:51PM +0530, Love Kumar wrote: > Add below test cases for mdio commands: > mdio_list - To list MDIO buses > mdio_read - To read PHY's register at . > mdio_write - To write PHY's register at . > > Signed-off-by: Love Kumar Reviewed-by: Tom Rini -- Tom signature.

Re: [PATCH v3 1/2] board: phytec: am62x: Add PHYTEC phyCORE-AM62x SoM

2023-12-19 Thread Tom Rini
On Fri, Dec 08, 2023 at 04:33:10PM +0100, Wadim Egorov wrote: > Add basic support for PHYTEC phyCORE-AM62x SoM. > > Supported features: > - 2GB DDR4 RAM > - eMMC Flash > - OSPI NOR Flash > - external uSD > - Ethernet > - debug UART > > Product page SoM: https://www.phytec.com/product

Re: [PATCH v6 00/17] Introduce initial TI's J784S4 and AM69 support

2023-12-19 Thread Tom Rini
On Wed, Dec 06, 2023 at 06:07:36PM +0530, Apurva Nandan wrote: > Hello Everyone! > > This series will introduce basic support (SD and UART) support for Texas > Instruments J784S4 EVM. > > The J784S4 SoC device tree patches are taken from kernel patch submissions > and will be updated as they are

Re: [PATCH v2 10/10] Makefile: Use the fdtgrep -u flag

2023-12-19 Thread Tom Rini
On Tue, Dec 19, 2023 at 07:21:25AM -0700, Simon Glass wrote: > Use this flag so that the bootph binding is obeyed correctly. > > Add a comment about what is going on. > > Signed-off-by: Simon Glass > Fixes: https://source.denx.de/u-boot/custodians/u-boot-dm/-/issues/12 Reviewed-by: Tom Rini

[PATCH V2 5/5] nvmem: layouts: add U-Boot env layout

2023-12-19 Thread Rafał Miłecki
From: Rafał Miłecki This patch moves all generic (NVMEM devices independent) code from NVMEM device driver to NVMEM layout driver. Then it adds a simple NVMEM layout code on top of it. Thanks to proper layout it's possible to support U-Boot env data stored on any kind of NVMEM device. For backw

[PATCH V2 4/5] nvmem: u-boot-env: improve coding style

2023-12-19 Thread Rafał Miłecki
From: Rafał Miłecki 1. Prefer kzalloc() over kcalloc() See memory-allocation.rst which says: "to be on the safe side it's best to use routines that set memory to zero, like kzalloc()" 2. Drop dev_err() for u_boot_env_add_cells() fail It can fail only on -ENOMEM. We don't want to print er

[PATCH V2 3/5] nvmem: u-boot-env: use more nvmem subsystem helpers

2023-12-19 Thread Rafał Miłecki
From: Rafał Miłecki 1. Use nvmem_dev_size() and nvmem_device_read() to make this driver less mtd dependent 2. Use nvmem_add_one_cell() to simplify adding NVMEM cells Signed-off-by: Rafał Miłecki Reviewed-by: Miquel Raynal --- V2: Don't introduce memleak when handling nvmem_device_read() fai

[PATCH V2 2/5] nvmem: core: add nvmem_dev_size() helper

2023-12-19 Thread Rafał Miłecki
From: Rafał Miłecki This is required by layouts that need to read whole NVMEM content. It's especially useful for NVMEM devices without hardcoded layout (like U-Boot environment data block). Signed-off-by: Rafał Miłecki Reviewed-by: Miquel Raynal --- drivers/nvmem/core.c | 13 ++

[PATCH V2 1/5] dt-bindings: nvmem: layouts: add U-Boot environment variables layout

2023-12-19 Thread Rafał Miłecki
From: Rafał Miłecki U-Boot env data is a way of storing firmware variables. It's a format that can be used of top of various storage devices. Its binding should be an NVMEM layout instead of a standalone device. This patch adds layout binding which allows using it on top of MTD NVMEM device as w

Re: [PATCH v3 03/14] bloblist: Change the magic value

2023-12-19 Thread Ilias Apalodimas
On Mon, 18 Dec 2023 at 20:19, Raymond Mao wrote: > > From: Simon Glass > > This uses a new value with spec v0.9 so change it. > > Signed-off-by: Simon Glass > Co-developed-by: Raymond Mao > Signed-off-by: Raymond Mao > --- > Changes in v2 > - Update the bloblist magic to align to FW handoff sp

Re: [PATCH v4 3/9] arm: add ACPI fields to global data

2023-12-19 Thread Ilias Apalodimas
On Tue, 19 Dec 2023 at 17:04, Heinrich Schuchardt wrote: > > Add fields for the location of ACPI tables to the global data. > > Signed-off-by: Heinrich Schuchardt > --- > v4: > no change > v3: > let tables in global data depend on CONFIG_(SPL_)ACPI > v2: > new patch > ---

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

2023-12-19 Thread Caleb Connolly
Y_CTL" in uart_dm_init() on db410c and db820c and I don't notice any issues with setting that bit unconditionally. If it's definitely needed for your board then I'd be ok with a patch to always set it with a comment offering some context. [1]: https://lore.kernel.org/u-boo

Re: [PATCH 4/4] mtd: nand: raw: atmel: Remove duplicate definitions

2023-12-19 Thread Alexander Dahl
Hello Eugen, Am Tue, Dec 19, 2023 at 04:32:07PM +0200 schrieb Eugen Hristev: > On 12/12/23 18:04, Alexander Dahl wrote: > > These removed definitions were specific to some sam9 SoCs, but not > > generic over all at91 SoCs. The correct SoC specific definitions for > > ATMEL_BASE_PMECC are spread o

Re: [PATCH 5/7] hmibsc: Enable RAUC support

2023-12-19 Thread Caleb Connolly
Hi Sumit, Please add a description to this patch (what is RAUC?). On 18/12/2023 07:24, Sumit Garg wrote: > Signed-off-by: Sumit Garg > --- > include/configs/hmibsc.h | 38 ++ > 1 file changed, 38 insertions(+) > > diff --git a/include/configs/hmibsc.h b/incl

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

2023-12-19 Thread Caleb Connolly
) patch). You should also switch to an upstream board DTS based on my series, and drop the "-uboot.dtsi" file. [1]: https://lore.kernel.org/u-boot/20231219-b4-qcom-common-target-v2-0-b6dd97042...@linaro.org/ Kind regards, > > -Sumit > >> >>> difference from db410c is seri

Re: [PATCH v2 16/32] mach-snapdragon: dynamic load addresses

2023-12-19 Thread Caleb Connolly
On 19/12/2023 16:04, Caleb Connolly wrote: > Heavily inspired by Apple board code. Use the LMB allocator to configure > load addresses at runtime, and implement a lookup table for selecting a > devicetree. > > As some Qualcomm RBx boards have different RAM capacities and base > addresses, it is

Re: [PATCH v6 00/17] Introduce initial TI's J784S4 and AM69 support

2023-12-19 Thread Apurva Nandan
On 18/12/23 15:05, Apurva Nandan wrote: On 15/12/23 15:40, Enric Balletbo i Serra wrote: Hello Apurva, On Wed, Dec 6, 2023 at 1:38 PM Apurva Nandan wrote: Hello Everyone! This series will introduce basic support (SD and UART) support for Texas Instruments J784S4 EVM. The J784S4 SoC de

[PATCH 0/4] arm64: zymqmp: DT alignments

2023-12-19 Thread Michal Simek
Hi, sending couple of patches to get in sync with Linux kernel and they are already in linux-next. The last patch is based on the latest proposed update in dt binding. When dt binding is reviewed this patch can be merged to U-Boot too but I want to make it available earlier. Thanks, Michal Mich

[PATCH 4/4] arm64: zynqmp: Rename i2c?-gpio to i2c?-gpio-grp

2023-12-19 Thread Michal Simek
Anything ending with gpio/gpios is taken as gpio phande/description which is reported as the issue coming from gpio-consumer.yaml schema. That's why rename the gpio suffix to gpio-grp to avoid name collision. Signed-off-by: Michal Simek --- Dt binding change has been sent here. https://lore.kern

[PATCH 3/4] arm64: zynqmp: Remove mt25qu512a compatible string from SOM

2023-12-19 Thread Michal Simek
mt25qu512a is not documented in DT binding that's why remove it. Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp-sm-k26-revA.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/dts/zynqmp-sm-k26-revA.dts b/arch/arm/dts/zynqmp-sm-k26-revA.dts index 1d62c48e062e.

[PATCH 1/4] arm64: zynqmp: Move fixed clock to / for kv260

2023-12-19 Thread Michal Simek
fixed clock nodes can't be on the bus because they are missing reg property. That's why move them to root. And because it is root it is good to have it as the first node in a file. Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp-sck-kv-g-revA.dtso | 38 arch/arm/dts

[PATCH 2/4] arm64: zynqmp: Fix clock node name in kv260 cards

2023-12-19 Thread Michal Simek
node name shouldn't use '_' that's why convert it to '-'. Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp-sck-kv-g-revA.dtso | 12 ++-- arch/arm/dts/zynqmp-sck-kv-g-revB.dtso | 12 ++-- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/arch/arm/dts/zynqmp-sck-

How to boot FreeBSD as a domU using u-boot.bin as a kernel bootloader on my ARM Chromebook

2023-12-19 Thread Mario Marietto
Hello. I'm trying to boot FreeBSD for arm32 bit as DomU on my ARM Chromebook. Basically there are two ways to accomplish this task : 1) to write a patch that allows the FreeBSD kernel to boot as a zImage file. This could be accomplished applying this patch to a specific file that's on the source

[PATCH v2 28/32] dts: msm8996: replace with upstream DTS

2023-12-19 Thread Caleb Connolly
Drop the U-Boot specific dragonboard820c.dts file in favour of the upstream apq8096-db820c.dts and an additional -u-boot.dtsi with the U-Boot specific additions. Signed-off-by: Caleb Connolly --- arch/arm/dts/Makefile |2 +- arch/arm/dts/apq8096-db820c-u-boot.dtsi | 10 +

  1   2   3   >