[PATCH v5 09/16] test: dm: simplify SCMI unit test on sandbox

2023-09-25 Thread AKASHI Takahiro
Adding SCMI base protocol makes it inconvenient to hold the agent instance (udevice) locally since the agent device will be re-created per each test. Just remove it and simplify the test flows. The test scenario is not changed at all. Signed-off-by: AKASHI Takahiro Reviewed-by: Simon Glass Revie

[PATCH v5 08/16] firmware: scmi: fake base protocol commands on sandbox

2023-09-25 Thread AKASHI Takahiro
This is a simple implementation of SCMI base protocol for sandbox. The main use is in SCMI unit test. Signed-off-by: AKASHI Takahiro Reviewed-by: Simon Glass Reviewed-by: Etienne Carriere --- v4 * move this patch forward in this series before installing base protocol to avoid collapsing exist

[PATCH v5 07/16] firmware: scmi: framework for installing additional protocols

2023-09-25 Thread AKASHI Takahiro
This framework allows SCMI protocols to be installed and bound to the agent so that the agent can manage and utilize them later. Signed-off-by: AKASHI Takahiro Reviewed-by: Simon Glass Reviewed-by: Etienne Carriere --- V4 * remove 'agent' variable as it should be added in the following commit v

[PATCH v5 06/16] firmware: scmi: move scmi_bind_protocols() backward

2023-09-25 Thread AKASHI Takahiro
Move the location of scmi_bind_protocols() backward for changes in later patches. There is no change in functionality. Signed-off-by: AKASHI Takahiro Reviewed-by: Simon Glass Reviewed-by: Etienne Carriere --- v4 * remove scmi_bind_protocols() from the original place. See patch#1 * s/depeding/de

[PATCH v5 05/16] firmware: scmi: implement SCMI base protocol

2023-09-25 Thread AKASHI Takahiro
SCMI base protocol is mandatory according to the SCMI specification. With this patch, SCMI base protocol can be accessed via SCMI transport layers. All the commands, except SCMI_BASE_NOTIFY_ERRORS, are supported. This is because U-Boot doesn't support interrupts and the current transport layers ar

[PATCH v5 04/16] test: dm: add protocol-specific channel test

2023-09-25 Thread AKASHI Takahiro
Any SCMI protocol may have its own channel. Test this feature on sandbox as the necessary framework was added in a prior commit. Signed-off-by: AKASHI Takahiro --- v5 * new commit --- arch/sandbox/dts/test.dts | 1 + test/dm/scmi.c| 20 ++-- 2 files changed, 19 inser

[PATCH v5 03/16] firmware: scmi: support dummy channels for sandbox agent

2023-09-25 Thread AKASHI Takahiro
In sandbox scmi agent, channels are not used at all. But in this patch, dummy channels are supported in order to test protocol-specific channels. Signed-off-by: AKASHI Takahiro --- v5 * new commit --- arch/sandbox/include/asm/scmi_test.h | 13 drivers/firmware/scmi/sandbox-scmi_agent.

[PATCH v5 02/16] firmware: scmi: use a protocol's own channel if assigned

2023-09-25 Thread AKASHI Takahiro
SCMI specification allows any protocol to have its own channel for the transport. While the current SCMI driver may assign its channel from a device tree, the core function, devm_scmi_process_msg(), doesn't use a protocol's channel, but always use an agent's channel. With this commit, devm_scmi_pr

[PATCH v5 01/16] scmi: refactor the code to hide a channel from devices

2023-09-25 Thread AKASHI Takahiro
The commit 85dc58289238 ("firmware: scmi: prepare uclass to pass channel reference") added an explicit parameter, channel, but it seems to make the code complex. Hiding this parameter will allow for adding a generic (protocol-agnostic) helper function, i.e. for PROTOCOL_VERSION, in a later patch.

[PATCH v5 00/16] firmware: scmi: add SCMI base protocol support

2023-09-25 Thread AKASHI Takahiro
This patch series allows users to access SCMI base protocol provided by SCMI server (platform). It will also be utilized in separate patches in the future to add sanity/validity checks for other protocols. See SCMI specification document v3.2 beta[1] for more details about SCMI base protocol. What

Re: [PATCH v3 04/38] spl: mx6: powerpc: Drop the condition on timer_init()

2023-09-25 Thread Christophe Leroy
Le 24/09/2023 à 21:24, Simon Glass a écrit : > It doesn't make sense to have some boards do this differently. Drop the > condition in the hope that the maintainers can figure out any run-time > problems. This was added by commit ea8256f072 ("SPL: Port SPL framework to powerpc"), and the commit

Re: [PATCH 4/4] binman: update documentation for fit,align property

2023-09-25 Thread Rasmus Villemoes
On 25/09/2023 17.14, Jonas Karlman wrote: >> fit,align >> -Indicates what alignment to use for the FIT and its external data, >> -and provides the alignment to use. This is passed to mkimage via >> -the -B flag. >> +Indicates what alignment to use for the FIT a

Re: [PATCH 0/4] Add support for sam9x60 curiosity

2023-09-25 Thread Durai.ManickamKR
On 22/09/23 12:30, Alexander Dahl wrote: > EXTERNAL EMAIL: Do not click links or open attachments unless you know the > content is safe > > Hello Durai, > > Am Thu, Sep 21, 2023 at 10:36:27PM +0530 schrieb Durai Manickam KR: >> This patch series adds boot from NAND support, configs update and >>

Re: [PATCH 0/2] arm64: ti: k3-j7: Add the ESM nodes

2023-09-25 Thread Kumar, Udit
Hi Keerthy On 9/25/2023 7:12 PM, Nishanth Menon wrote: On 18:56-20230925, Keerthy wrote: Hi Tom, https://lore.kernel.org/linux-arm-kernel/5187c590-ee9a-4c46-b326-655f4c371...@linaro.org/T/#me178708007a6b3b9695ae0ff84475fa4f49f283c I have posted the ESM patches to the linux kernel device tree

[PULL] u-boot-riscv/master

2023-09-25 Thread Leo Liang
Hi Tom, The following changes since commit 15155ab0a3d1f839509bcac620bfb38f950bead6: Merge tag 'u-boot-imx-20230923' of https://source.denx.de/u-boot/custodians/u-boot-imx (2023-09-24 17:15:31 -0400) are available in the Git repository at: https://source.denx.de/u-boot/custodians/u-boot-ri

Re: [PATCH v2] riscv: enable multi-range memory layout

2023-09-25 Thread Anup Patel
On Thu, Sep 14, 2023 at 12:49 PM Heinrich Schuchardt wrote: > > On 9/14/23 08:48, Wu, Fei wrote: > > On 9/14/2023 2:05 PM, Heinrich Schuchardt wrote: > >> > >> > >> Am 14. September 2023 07:30:55 MESZ schrieb Fei Wu : > >>> In order to enable PCIe passthrough on qemu riscv, the physical memory > >

Re: Trying to boot custom kernel on Wink Hub (i.MX28)

2023-09-25 Thread Rogan Dawes
Hi Fabio, That prints "LLC", but does not print "Pref". Rogan On Tue, 26 Sept 2023 at 02:15, Fabio Estevam wrote: > Hi Rogan, > > On Mon, Sep 25, 2023 at 4:27 PM Rogan Dawes wrote: > > > > That outputs LLC about a second after the mxsldr terminates (kinda > slowly, the individual characters

Re: [PATCH v4 5/8] efi_loader: set EFI HTTP Boot download buffer as reserved

2023-09-25 Thread Masahisa Kojima
Hi Ilias, On Mon, 25 Sept 2023 at 21:46, Ilias Apalodimas wrote: > > Kojima-san, > > [...] > > /* Carve out DT reserved memory ranges */ > > void efi_carve_out_dt_rsv(void *fdt); > > /* Purge unused kaslr-seed */ > > diff --git a/lib/efi_loader/efi_bootmgr.c b/lib/efi_loader/efi_bootmgr.c > >

Re: [PATCH v4 7/8] doc: uefi: add HTTP Boot support

2023-09-25 Thread Masahisa Kojima
On Mon, 25 Sept 2023 at 21:12, Ilias Apalodimas wrote: > > On Fri, Sep 22, 2023 at 04:11:18PM +0900, Masahisa Kojima wrote: > > This adds the description about HTTP Boot. > > > > Signed-off-by: Masahisa Kojima > > --- > > doc/develop/uefi/uefi.rst | 30 ++ > > 1 file

Re: [PATCH v4 4/8] efi_loader: support boot from URI device path

2023-09-25 Thread Masahisa Kojima
Hi Ilias, On Mon, 25 Sept 2023 at 21:37, Ilias Apalodimas wrote: > > On Fri, Sep 22, 2023 at 04:11:15PM +0900, Masahisa Kojima wrote: > > This supports to boot from the URI device path. > > When user selects the URI device path, bootmgr downloads > > the file using wget into the address specified

Re: Trying to boot custom kernel on Wink Hub (i.MX28)

2023-09-25 Thread Fabio Estevam
Hi Rogan, On Mon, Sep 25, 2023 at 4:27 PM Rogan Dawes wrote: > > That outputs LLC about a second after the mxsldr terminates (kinda slowly, > the individual characters can be seen being emitted one at a time), and then > about 5 seconds later, "Pref". But nothing after that point. > > At least

Re: [PATCH] dt-bindings: mtd: Add a schema for binman

2023-09-25 Thread Simon Glass
Hi Rob, On Mon, 25 Sept 2023 at 12:49, Rob Herring wrote: > > On Mon, Sep 25, 2023 at 11:25 AM Simon Glass wrote: > > > > Hi Miquel, > > > > On Mon, 25 Sept 2023 at 09:24, Miquel Raynal > > wrote: > > > > > > Hi Simon, > > > > > > > > > > > > > > > I was assuming that I should create a top-lev

[PATCH] mmc: Add SPL_MMC_PWRSEQ to fix link issue when building SPL

2023-09-25 Thread Jonas Karlman
With MMC_PWRSEQ enabled the following link issue may happen when building SPL and SPL_PWRSEQ is not enabled. aarch64-linux-gnu-ld.bfd: drivers/mmc/meson_gx_mmc.o: in function `meson_mmc_probe': drivers/mmc/meson_gx_mmc.c:295: undefined reference to `pwrseq_set_power' Fix this by adding a SPL

Re: [PATCH v2 0/7] rockchip: rk3568: Fix use of PCIe bifurcation

2023-09-25 Thread Jonas Karlman
Hi Kever, It would be nice to get some feedback and plans for this and the following series :-) rockchip: rk3568: Fix use of PCIe bifurcation (this series) https://patchwork.ozlabs.org/cover/1816140/ rockchip: rk3568-nanopi-r5: Add missing PCIe options https://patchwork.ozlabs.org/cover/1816147/

Re: [PATCH v3 00/38] spl: Preparation for Universal Payload

2023-09-25 Thread Tom Rini
On Sun, Sep 24, 2023 at 01:24:45PM -0600, Simon Glass wrote: > This series tidies up SPL a little and adds some core ofnode functions > needed to support Universal Payload. It also includes a few minor fix-ups > for sandbox. > > For SPL the changes include CONFIG naming, removing various #ifdefs

[PATCH 1/3] net: Get pxe config file from dhcp option 209

2023-09-25 Thread seanedmond
From: Sean Edmond Allow dhcp server pass pxe config file full path by using option 209 Signed-off-by: Sean Edmond --- cmd/Kconfig | 4 cmd/pxe.c | 10 ++ net/bootp.c | 21 + 3 files changed, 35 insertions(+) diff --git a/cmd/Kconfig b/cmd/Kconfig index 43ca

[PATCH 3/3] net: bootp: add config option BOOTP_RANDOM_XID

2023-09-25 Thread seanedmond
From: Sean Edmond The new config option BOOTP_RANDOM_XID will randomize the transaction ID for each new BOOT/DHCPv4 exchange. Signed-off-by: Sean Edmond --- cmd/Kconfig | 7 +++ net/bootp.c | 31 +-- 2 files changed, 24 insertions(+), 14 deletions(-) diff --gi

[PATCH 2/3] net: bootp: BOOTP/DHCPv4 retransmission improvements

2023-09-25 Thread seanedmond
From: Sean Edmond This patch introduces 3 improvements to align with RFC 951: - retransmission backoff interval maximum is configurable - initial retranmission backoff interval is configurable - transaction ID is kept the same for each BOOTP/DHCPv4 request In applications where thousands of node

[PATCH 0/3] BOOTP/DHCPv4 enhancements

2023-09-25 Thread seanedmond
From: Sean Edmond In our datacenter application, a single DHCP server is servicing 36000+ clients. Improvements are required to the DHCPv4 retransmission behavior to align with RFC and ensure less pressure is exerted on the server: - retransmission backoff interval maximum is configurable (env

Re: [PATCH v3 38/38] pci: serial: Support reading PCI-register size with base

2023-09-25 Thread Tom Rini
On Sun, Sep 24, 2023 at 01:25:23PM -0600, Simon Glass wrote: > The PCI helpers read only the base address for a PCI region. In some cases > the size is needed as well, e.g. to pass along to a driver which needs to > know the size of its register area. > > Update the functions to allow the size to

bootstd: Scanning for USB bootflow will remove existing SCSI bootflow

2023-09-25 Thread Tony Dinh
Hi Simon, Here is an observation during testing the bootflow command. If there is a SCSI bootflow, scanning for USB bootflow will remove that existing SCSI bootflow. To bring it back, I scanned for SCSI bootflow again, and it was back to normal. Perhaps there is some kind of indexing problem? Pl

Re: [PATCH v3 16/38] spl: Remove #ifdefs with BOOTSTAGE

2023-09-25 Thread Tom Rini
On Sun, Sep 24, 2023 at 01:25:01PM -0600, Simon Glass wrote: > This feature has some helpers in its header file so that its functions > resolve to nothing when the feature is disabled. Add a few more and use > these to simplify the code. > > With this there are no more #ifdefs in board_init_r() >

Re: [PATCH v2 30/32] fdt: Allow the devicetree to come from a bloblist

2023-09-25 Thread Ilias Apalodimas
Hi Simon, I commented on the v1 thread, but let's continue the discussion here On Thu, 21 Sept 2023 at 04:58, Simon Glass wrote: > > Standard passage provides for a bloblist to be passed from one firmware > phase to the next. That can be used to pass the devicetree along as well. > Add an option

Re: [PATCH v3 08/38] spl: Create proper symbols for enabling the malloc() pool

2023-09-25 Thread Tom Rini
On Sun, Sep 24, 2023 at 01:24:53PM -0600, Simon Glass wrote: > For U-Boot proper we have CONFIG_SYS_MALLOC_F which indicates that a > malloc() pool is available before relocation. > > For SPL we only have CONFIG_SPL_SYS_MALLOC_F_LEN which indicates the > size of the pool. > > In various places w

Re: Trying to boot custom kernel on Wink Hub (i.MX28)

2023-09-25 Thread Rogan Dawes
That outputs LLC about a second after the mxsldr terminates (kinda slowly, the individual characters can be seen being emitted one at a time), and then about 5 seconds later, "Pref". But nothing after that point. At least it looks like there is something happening, which is excellent! Thank you!

Re: [PATCH] smegw01: Fix inverted CONFIG_SYS_BOOT_LOCKED logic

2023-09-25 Thread Tom Rini
On Mon, Sep 25, 2023 at 01:32:59PM -0300, Fabio Estevam wrote: > From: Eduard Strehlau > > CONFIG_SYS_BOOT_LOCKED means that a restricted boot environment will > be used. In this case, hab_auth_img_or_fail should be called to prevent > U-Boot to continue running when the fitImage authentication

Re: [PATCH] arm: mvebu: sata_mv: Add bootstd hook to enable sata_bootdev

2023-09-25 Thread Tony Dinh
Thanks Stefan! All the best, Tony On Mon, Sep 25, 2023 at 1:14 AM Stefan Roese wrote: > > On 9/6/23 07:22, Tony Dinh wrote: > > Add hook in sata_mv probe to enable bootstd bootdev. > > > > Note: bootdev_setup_for_sibling_blk() invocation is a noop if bootsd is > > not enabled for ahci sata yet.

Re: [PATCH] scripts/Makefile.lib: also consider $(CONFIG_SYS_BOARD)-u-boot.dtsi

2023-09-25 Thread Rasmus Villemoes
On 25/09/2023 20.19, Tom Rini wrote: > On Mon, Sep 25, 2023 at 10:27:43AM +0200, Rasmus Villemoes wrote: >> On 04/05/2023 14.35, Rasmus Villemoes wrote: >>> On 03/05/2023 16.54, Tom Rini wrote: >> The one last problem now is on stm32mp15_dhcor_basic which is a defconfig missing one from O

Re: [PATCH] dt-bindings: mtd: Add a schema for binman

2023-09-25 Thread Rob Herring
On Mon, Sep 25, 2023 at 11:25 AM Simon Glass wrote: > > Hi Miquel, > > On Mon, 25 Sept 2023 at 09:24, Miquel Raynal > wrote: > > > > Hi Simon, > > > > > > > > > > > > > I was assuming that I should create a top-level > > > > > > > > > > > compatible = "binman" > > > > > > > > > > > node, with s

Re: [PATCH] scripts/Makefile.lib: also consider $(CONFIG_SYS_BOARD)-u-boot.dtsi

2023-09-25 Thread Tom Rini
On Mon, Sep 25, 2023 at 10:27:43AM +0200, Rasmus Villemoes wrote: > On 04/05/2023 14.35, Rasmus Villemoes wrote: > > On 03/05/2023 16.54, Tom Rini wrote: > > >> The one last problem now is on stm32mp15_dhcor_basic which is a > >> defconfig missing one from OF_LIST but including it in the its file,

Re: [PATCH 0/3] common: Remove a few more header files

2023-09-25 Thread Tom Rini
On Mon, Sep 25, 2023 at 10:18:55AM -0600, Simon Glass wrote: > Hi Tom, > > On Mon, 25 Sept 2023 at 09:13, Tom Rini wrote: > > > > On Mon, Sep 25, 2023 at 08:35:44AM -0600, Simon Glass wrote: > > > Hi Tom, > > > > > > On Mon, 25 Sept 2023 at 08:08, Tom Rini wrote: > > > > > > > > On Sun, Sep 24,

Re: [PATCH] lmb: remove overlapping region with next range

2023-09-25 Thread Kumar, Udit
Thanks Simon On 9/25/2023 9:39 PM, Simon Glass wrote: Hi Udit, On Sun, 24 Sept 2023 at 22:10, Kumar, Udit wrote: On 9/24/2023 7:21 PM, Heinrich Schuchardt wrote: Am 24. September 2023 13:18:32 MESZ schrieb Udit Kumar : [..] Assumption Thanks Heinrich will fix this typo in v2. Let me wa

Re: [PATCH] lmb: remove overlapping region with next range

2023-09-25 Thread Kumar, Udit
Hi Mark/Tom On 9/25/2023 9:01 PM, Tom Rini wrote: On Mon, Sep 25, 2023 at 05:27:26PM +0200, Mark Kettenis wrote: Date: Mon, 25 Sep 2023 11:21:26 -0400 From: Tom Rini On Sun, Sep 24, 2023 at 04:48:32PM +0530, Udit Kumar wrote: In case of new memory range to be added is coalesced with any alr

Re: [PATCH v3 0/3] enable power and clock Kconfig conditionally

2023-09-25 Thread Kumar, Udit
Hi Tom, On 9/13/2023 10:09 AM, Udit Kumar wrote: This series, updates enabling mutually exclusive power and clock configs for TI SOCs. Sorry to push clock and power changes in one series, managed by two maintainers. But In my quick grep, I am not able to active PR raise from both trees. So cop

Re: [PATCH v3 01/38] spl: Use CONFIG_SPL... instead of CONFIG_..._SPL_...

2023-09-25 Thread Simon Glass
Hi Felix, On Mon, 25 Sept 2023 at 08:56, Felix Brack wrote: > > Hi Simon, > > On 24.09.23 21:24, Simon Glass wrote: > > We like to put the SPL first so it is clear that it relates to SPL. Rename > > various malloc-related options which have crept in, to stick to this > > convention. > > > > Signe

[PATCH] smegw01: Fix inverted CONFIG_SYS_BOOT_LOCKED logic

2023-09-25 Thread Fabio Estevam
From: Eduard Strehlau CONFIG_SYS_BOOT_LOCKED means that a restricted boot environment will be used. In this case, hab_auth_img_or_fail should be called to prevent U-Boot to continue running when the fitImage authentication fails. Fix the logic accordingly. Additionally, select CONFIG_SYS_BOOT_L

Re: [PATCH] dt-bindings: mtd: Add a schema for binman

2023-09-25 Thread Simon Glass
Hi Miquel, On Mon, 25 Sept 2023 at 09:24, Miquel Raynal wrote: > > Hi Simon, > > > > > > > > > > > I was assuming that I should create a top-level compatible > > > > > > > > > > = "binman" > > > > > > > > > > node, with subnodes like compatible = "binman,bl31-atf", > > > > > > > > > > for examp

Re: [PATCH 0/3] common: Remove a few more header files

2023-09-25 Thread Simon Glass
Hi Tom, On Mon, 25 Sept 2023 at 09:13, Tom Rini wrote: > > On Mon, Sep 25, 2023 at 08:35:44AM -0600, Simon Glass wrote: > > Hi Tom, > > > > On Mon, 25 Sept 2023 at 08:08, Tom Rini wrote: > > > > > > On Sun, Sep 24, 2023 at 08:39:49PM -0600, Simon Glass wrote: > > > > > > > This series removes tw

Re: [PATCH] lmb: remove overlapping region with next range

2023-09-25 Thread Simon Glass
Hi Udit, On Sun, 24 Sept 2023 at 22:10, Kumar, Udit wrote: > > On 9/24/2023 7:21 PM, Heinrich Schuchardt wrote: > > > > Am 24. September 2023 13:18:32 MESZ schrieb Udit Kumar : > >> In case of new memory range to be added is coalesced > >> with any already added non last lmb region. > >> > >> And

Re: Config fragments

2023-09-25 Thread Simon Glass
Hi, On Mon, 25 Sept 2023 at 09:12, Svyatoslav Ryhel wrote: > > пн, 25 вер. 2023 р. о 18:05 Tom Rini пише: > > > > On Mon, Sep 25, 2023 at 04:18:45PM +0300, Svyatoslav Ryhel wrote: > > > > > > > > > 23 серпня 2023 р. 18:55:58 GMT+03:00, Tom Rini > > > написав(-ла): > > > >On Wed, Aug 23, 2023 a

[PATCH v2 2/2] clk: Add clock driver for Amlogic A1

2023-09-25 Thread Igor Prusov
This patch adds basic clock driver for Amlogic A1 Family which supports enabling/disabling some gates, getting frequencies and setting rate with limited reparenting. Signed-off-by: Igor Prusov Reviewed-by: Simon Glass --- arch/arm/include/asm/arch-meson/clock-a1.h | 23 + drivers/clk/meson/Kco

[PATCH v2 1/2] dt-bindings: clock: Add Amlogic A1 clock bindings

2023-09-25 Thread Igor Prusov
Add clock bindings for Amlogic A1 from linux-next next-20230821. Signed-off-by: Igor Prusov Reviewed-by: Simon Glass --- .../clock/amlogic,a1-peripherals-clkc.h | 168 ++ .../dt-bindings/clock/amlogic,a1-pll-clkc.h | 25 +++ 2 files changed, 193 insertions(+) create mo

[PATCH v2 0/2] clk: amlogic: a1: Add Amlogic A1 clock driver

2023-09-25 Thread Igor Prusov
This series adds dt-bindings and driver implementation for Amlogic A1 PLL and Peripherals clock controllers. V1: https://lore.kernel.org/all/20230917101308.1250-1-ivpru...@salutedevices.com/ V1 -> V2: - Add more verbose comments for driver Igor Prusov (2): dt-bindings: clock: Add Amlogic A1

Re: Trying to boot custom kernel on Wink Hub (i.MX28)

2023-09-25 Thread Fabio Estevam
On Mon, Sep 25, 2023 at 11:00 AM Rogan Dawes wrote: > I see absolutely nothing in the console. > > I’m wondering whether I can possibly execute the vendor SPL with a modern > u-boot? The old U-Boot vendor does not use SPL. It uses an old mechanism called bootlets. I suggest that we start from

Re: [PATCH] lmb: remove overlapping region with next range

2023-09-25 Thread Tom Rini
On Mon, Sep 25, 2023 at 05:27:26PM +0200, Mark Kettenis wrote: > > Date: Mon, 25 Sep 2023 11:21:26 -0400 > > From: Tom Rini > > > > On Sun, Sep 24, 2023 at 04:48:32PM +0530, Udit Kumar wrote: > > > > > In case of new memory range to be added is coalesced > > > with any already added non last lmb

Re: [PATCH] lmb: remove overlapping region with next range

2023-09-25 Thread Mark Kettenis
> Date: Mon, 25 Sep 2023 11:21:26 -0400 > From: Tom Rini > > On Sun, Sep 24, 2023 at 04:48:32PM +0530, Udit Kumar wrote: > > > In case of new memory range to be added is coalesced > > with any already added non last lmb region. > > > > And there is possibility that, then region in which new mem

Re: [PATCH] dt-bindings: mtd: Add a schema for binman

2023-09-25 Thread Miquel Raynal
Hi Simon, > > > > > > > > > I was assuming that I should create a top-level compatible = > > > > > > > > > "binman" > > > > > > > > > node, with subnodes like compatible = "binman,bl31-atf", for > > > > > > > > > example. > > > > > > > > > I should use the compatible string to indicate the conte

Re: [PATCH] lmb: remove overlapping region with next range

2023-09-25 Thread Tom Rini
On Sun, Sep 24, 2023 at 04:48:32PM +0530, Udit Kumar wrote: > In case of new memory range to be added is coalesced > with any already added non last lmb region. > > And there is possibility that, then region in which new memory > range added is not adjacent to next region. But have some > section

Re: [PATCH 4/4] binman: update documentation for fit,align property

2023-09-25 Thread Jonas Karlman
Hi Rasmus, On 2023-09-19 13:37, Rasmus Villemoes wrote: > Eliminate the repetition "what alignment to use ... and provides the > alignment to use", and indicate that fit,align can both be used by > itself and together with fit,external-offset. > > Signed-off-by: Rasmus Villemoes > --- > tools/b

Re: [PATCH 0/3] common: Remove a few more header files

2023-09-25 Thread Tom Rini
On Mon, Sep 25, 2023 at 08:35:44AM -0600, Simon Glass wrote: > Hi Tom, > > On Mon, 25 Sept 2023 at 08:08, Tom Rini wrote: > > > > On Sun, Sep 24, 2023 at 08:39:49PM -0600, Simon Glass wrote: > > > > > This series removes two more header files from the common.h header. It > > > also tidies up code

Re: Config fragments

2023-09-25 Thread Svyatoslav Ryhel
пн, 25 вер. 2023 р. о 18:05 Tom Rini пише: > > On Mon, Sep 25, 2023 at 04:18:45PM +0300, Svyatoslav Ryhel wrote: > > > > > > 23 серпня 2023 р. 18:55:58 GMT+03:00, Tom Rini > > написав(-ла): > > >On Wed, Aug 23, 2023 at 09:30:31AM -0600, Simon Glass wrote: > > > > > >> Hi, > > >> > > >> Up until

Re: Config fragments

2023-09-25 Thread Tom Rini
On Mon, Sep 25, 2023 at 04:18:45PM +0300, Svyatoslav Ryhel wrote: > > > 23 серпня 2023 р. 18:55:58 GMT+03:00, Tom Rini > написав(-ла): > >On Wed, Aug 23, 2023 at 09:30:31AM -0600, Simon Glass wrote: > > > >> Hi, > >> > >> Up until 2023.04 it has been possible to build all the defconfigs but >

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

2023-09-25 Thread Simon Glass
Hi Rob, On Thu, 21 Sept 2023 at 10:45, Simon Glass wrote: > > Hi Rob, > > On Thu, 21 Sept 2023 at 09:20, Rob Herring wrote: > > > > On Thu, Sep 21, 2023 at 9:38 AM Simon Glass wrote: > > > > > > Hi Rob, > > > > > > On Thu, 21 Sept 2023 at 08:25, Rob Herring wrote: > > > > > > > > On Thu, Sep 7

Re: [PATCH v3 01/38] spl: Use CONFIG_SPL... instead of CONFIG_..._SPL_...

2023-09-25 Thread Felix Brack
Hi Simon, On 24.09.23 21:24, Simon Glass wrote: > We like to put the SPL first so it is clear that it relates to SPL. Rename > various malloc-related options which have crept in, to stick to this > convention. > > Signed-off-by: Simon Glass > Reviewed-by: Marcel Ziswiler > Reviewed-by: Martyn W

Re: [PATCH] dt-bindings: mtd: Add a schema for binman

2023-09-25 Thread Simon Glass
Hi Miquel, On Mon, 25 Sept 2023 at 08:47, Miquel Raynal wrote: > > Hi Simon, > > s...@chromium.org wrote on Mon, 25 Sep 2023 06:33:14 -0600: > > > Hi Miquel, > > > > On Mon, 25 Sept 2023 at 01:21, Miquel Raynal > > wrote: > > > > > > Hi Simon, > > > > > > s...@chromium.org wrote on Fri, 22 Sep

Re: [PATCH] dt-bindings: mtd: Add a schema for binman

2023-09-25 Thread Miquel Raynal
Hi Simon, s...@chromium.org wrote on Mon, 25 Sep 2023 06:33:14 -0600: > Hi Miquel, > > On Mon, 25 Sept 2023 at 01:21, Miquel Raynal > wrote: > > > > Hi Simon, > > > > s...@chromium.org wrote on Fri, 22 Sep 2023 13:51:14 -0600: > > > > > Hi Rob, > > > > > > On Fri, 22 Sept 2023 at 13:43, Rob

Re: [PATCH v2 3/3] trace: Fix alignment logic in flyrecord header

2023-09-25 Thread Michal Simek
On 9/25/23 16:28, Tom Rini wrote: On Mon, Sep 25, 2023 at 08:01:41AM -0600, Simon Glass wrote: Hi Michal, On Mon, 25 Sept 2023 at 07:38, Michal Simek wrote: On 9/25/23 15:10, Simon Glass wrote: Hi Michal, On Mon, 25 Sept 2023 at 00:06, Michal Simek wrote: Hi Simon, On 9/23/23 20:

Re: [PATCH 0/3] common: Remove a few more header files

2023-09-25 Thread Simon Glass
Hi Tom, On Mon, 25 Sept 2023 at 08:08, Tom Rini wrote: > > On Sun, Sep 24, 2023 at 08:39:49PM -0600, Simon Glass wrote: > > > This series removes two more header files from the common.h header. It > > also tidies up code style for time.h functions, to simplify similar > > maintenance in future. >

Re: [PATCH v2 3/3] trace: Fix alignment logic in flyrecord header

2023-09-25 Thread Tom Rini
On Mon, Sep 25, 2023 at 04:21:17PM +0200, Michal Simek wrote: > > > On 9/25/23 16:19, Tom Rini wrote: > > On Mon, Sep 25, 2023 at 04:10:38PM +0200, Michal Simek wrote: > > > Hi Simon, > > > > > > On 9/25/23 16:01, Simon Glass wrote: > > > > Hi Michal, > > > > > > > > On Mon, 25 Sept 2023 at 07:

Re: [PATCH v2 3/3] trace: Fix alignment logic in flyrecord header

2023-09-25 Thread Tom Rini
On Mon, Sep 25, 2023 at 08:01:41AM -0600, Simon Glass wrote: > Hi Michal, > > On Mon, 25 Sept 2023 at 07:38, Michal Simek wrote: > > > > > > > > On 9/25/23 15:10, Simon Glass wrote: > > > Hi Michal, > > > > > > On Mon, 25 Sept 2023 at 00:06, Michal Simek wrote: > > >> > > >> Hi Simon, > > >> > >

Re: [PATCH] bmips: Add Inteno XG6846 board

2023-09-25 Thread Tom Rini
On Mon, Sep 25, 2023 at 03:56:07PM +0200, Linus Walleij wrote: > On Thu, Sep 21, 2023 at 7:25 PM Tom Rini wrote: > > On Thu, Sep 21, 2023 at 04:00:24PM +0200, Daniel Schwierzeck wrote: > > > > [snip] > > > I just tested it, you can simply add an empty > > > board/inteno/xg6846/Makefile and > > >

Re: [PATCH v2 3/3] trace: Fix alignment logic in flyrecord header

2023-09-25 Thread Michal Simek
On 9/25/23 16:19, Tom Rini wrote: On Mon, Sep 25, 2023 at 04:10:38PM +0200, Michal Simek wrote: Hi Simon, On 9/25/23 16:01, Simon Glass wrote: Hi Michal, On Mon, 25 Sept 2023 at 07:38, Michal Simek wrote: On 9/25/23 15:10, Simon Glass wrote: Hi Michal, On Mon, 25 Sept 2023 at 00:06,

Re: [PATCH v2 3/3] trace: Fix alignment logic in flyrecord header

2023-09-25 Thread Tom Rini
On Mon, Sep 25, 2023 at 04:10:38PM +0200, Michal Simek wrote: > Hi Simon, > > On 9/25/23 16:01, Simon Glass wrote: > > Hi Michal, > > > > On Mon, 25 Sept 2023 at 07:38, Michal Simek wrote: > > > > > > > > > > > > On 9/25/23 15:10, Simon Glass wrote: > > > > Hi Michal, > > > > > > > > On Mon,

Re: [PATCH v2 3/3] trace: Fix alignment logic in flyrecord header

2023-09-25 Thread Michal Simek
Hi Simon, On 9/25/23 16:01, Simon Glass wrote: Hi Michal, On Mon, 25 Sept 2023 at 07:38, Michal Simek wrote: On 9/25/23 15:10, Simon Glass wrote: Hi Michal, On Mon, 25 Sept 2023 at 00:06, Michal Simek wrote: Hi Simon, On 9/23/23 20:13, Simon Glass wrote: Current alignment which is

Re: [PATCH 0/3] common: Remove a few more header files

2023-09-25 Thread Tom Rini
On Sun, Sep 24, 2023 at 08:39:49PM -0600, Simon Glass wrote: > This series removes two more header files from the common.h header. It > also tidies up code style for time.h functions, to simplify similar > maintenance in future. > > > Simon Glass (3): > Fix code style for time functions > co

Re: [PATCH v3 1/6] arm: mach-k3: j721e: dev-data: Add mcu_timer0 ID

2023-09-25 Thread Nishanth Menon
On 16:09-20230922, Neha Malcom Francis wrote: > U-Boot uses mcu_timer0 as the tick-timer, so add it to device list. > > Signed-off-by: Neha Malcom Francis > Reviewed-by: Manorit Chawdhry Reviewed-by: Nishanth Menon [...] -- Regards, Nishanth Menon Key (0xDDB5849D1736249D) / Fingerprint: F8A2

Re: [PATCH v3 2/6] arm: mach-k3: j721e_init: Move clk_k3 probe before loading TIFS

2023-09-25 Thread Nishanth Menon
On 16:09-20230922, Neha Malcom Francis wrote: > When setting boot media to load the TIFS binary in legacy boot flow > (followed by J721E), get_timer() is called which eventually calls > dm_timer_init() to grab the tick-timer, which is mcu_timer0. Since we > need to set up the clocks before using th

Re: [PATCH v3 3/6] drivers: firmware: ti_sci: Get SCI revision only if TIFS/SYSFW is up

2023-09-25 Thread Nishanth Menon
On 16:09-20230922, Neha Malcom Francis wrote: > When setting up boot media to load the TIFS binary in legacy boot flow > (followed by J721E), get_timer() is called which calls dm_timer_init() > which then gets the tick-timer: mcu_timer0. mcu_timer0 uses k3_clks > (clock controller) and k3_pds (powe

Re: [PATCH 2/3] common: Drop time.h from common header

2023-09-25 Thread Tom Rini
On Sun, Sep 24, 2023 at 08:39:51PM -0600, Simon Glass wrote: > Move this out of the common header and include it only where needed. > > Signed-off-by: Simon Glass [snip] > diff --git a/cmd/cyclic.c b/cmd/cyclic.c > index 946f1d78184d..f12edfa6b727 100644 > --- a/cmd/cyclic.c > +++ b/cmd/cyclic.c

Re: [PATCH 2/3] common: Drop time.h from common header

2023-09-25 Thread Tom Rini
On Sun, Sep 24, 2023 at 08:39:51PM -0600, Simon Glass wrote: > Move this out of the common header and include it only where needed. > > Signed-off-by: Simon Glass [snip] > diff --git a/arch/arm/include/asm/arch-tegra/timer.h > b/arch/arm/include/asm/arch-tegra/timer.h > index 1c4decacd338..c5e9

Re: Pull request: please pull u-boot-imx-20230905

2023-09-25 Thread Tom Rini
On Sat, Sep 23, 2023 at 08:56:14PM +0200, Stefano Babic wrote: > Hi Tom, > > some fixes for the release, please pull from u-boot-imx, thanks ! > > The following changes since commit 4cb31a9f3560b293670de95e76c1f3cf2f9e1ca8: > > Merge branch '2023-09-22-assorted-bugfixes' (2023-09-22 18:25:37

Re: Please pull u-boot-dm

2023-09-25 Thread Tom Rini
On Sat, Sep 23, 2023 at 12:16:40PM -0600, Simon Glass wrote: > Hi Tom, > > https://source.denx.de/u-boot/custodians/u-boot-dm/-/pipelines/17830 > https://dev.azure.com/simon0972/u-boot/_build/results?buildId=48&view=results > > > The following changes since commit 4cb31a9f3560b293670de95e76c1f3

Re: [PATCH v3 6/6] arm: dts: k3-j721e: Sync with v6.6-rc1

2023-09-25 Thread Nishanth Menon
On 16:09-20230922, Neha Malcom Francis wrote: > Sync k3-j721e DTS with kernel.org v6.6-rc1. Give a summary of changes here - for example hbmc was disabled. > > Signed-off-by: Neha Malcom Francis > --- > .../k3-j721e-common-proc-board-u-boot.dtsi| 153 +-- > arch/arm/dts/k3-j721e-common-pr

Re: [PATCH 1/3] Fix code style for time functions

2023-09-25 Thread Tom Rini
On Sun, Sep 24, 2023 at 08:39:50PM -0600, Simon Glass wrote: > Fix the code style used for some time functions. > > Signed-off-by: Simon Glass Reviewed-by: Tom Rini -- Tom signature.asc Description: PGP signature

Re: [PATCH v2 3/3] trace: Fix alignment logic in flyrecord header

2023-09-25 Thread Simon Glass
Hi Michal, On Mon, 25 Sept 2023 at 07:38, Michal Simek wrote: > > > > On 9/25/23 15:10, Simon Glass wrote: > > Hi Michal, > > > > On Mon, 25 Sept 2023 at 00:06, Michal Simek wrote: > >> > >> Hi Simon, > >> > >> > >> On 9/23/23 20:13, Simon Glass wrote: > >>> Current alignment which is using 16 b

Re: Trying to boot custom kernel on Wink Hub (i.MX28)

2023-09-25 Thread Rogan Dawes
Hi Fabio, On Mon, 25 Sep 2023 at 15:04, Fabio Estevam wrote: > Hi Rogan, > > On Mon, Sep 25, 2023 at 6:52 AM Rogan Dawes wrote: > > > > Hi Fabio, > > > > I used the following diff with "make mx28evk_defconfig", but > unfortunately still get absolutely nothing on the DUART when running > "mxsloa

Re: [PATCH] bmips: Add Inteno XG6846 board

2023-09-25 Thread Linus Walleij
On Thu, Sep 21, 2023 at 7:25 PM Tom Rini wrote: > On Thu, Sep 21, 2023 at 04:00:24PM +0200, Daniel Schwierzeck wrote: > > [snip] > > I just tested it, you can simply add an empty board/inteno/xg6846/Makefile > > and > > remove board/inteno/xg6846/xg6846.c. But you can also remove the Makefile. >

Re: [PATCH 0/2] arm64: ti: k3-j7: Add the ESM nodes

2023-09-25 Thread Nishanth Menon
On 18:56-20230925, Keerthy wrote: > Hi Tom, > > https://lore.kernel.org/linux-arm-kernel/5187c590-ee9a-4c46-b326-655f4c371...@linaro.org/T/#me178708007a6b3b9695ae0ff84475fa4f49f283c > > I have posted the ESM patches to the linux kernel device tree mailing > list. These are ne

Re: [PATCH v2 3/3] trace: Fix alignment logic in flyrecord header

2023-09-25 Thread Michal Simek
On 9/25/23 15:10, Simon Glass wrote: Hi Michal, On Mon, 25 Sept 2023 at 00:06, Michal Simek wrote: Hi Simon, On 9/23/23 20:13, Simon Glass wrote: Current alignment which is using 16 bytes is not correct in connection to trace_clocks description and it's length. That's why use start_addr

Re: [PATCH v3] env: ti: ti_common.env: Fix get_overlaystring for FIT Image

2023-09-25 Thread Andrew Davis
On 9/25/23 1:23 AM, Manorit Chawdhry wrote: After the refactor with conf- nodes in fitImage, overlaystring wasn't didn't handle the new conf- nodes in FIT Booting. Fix get_overlaystring to handle conf- nodes. Fixes: 837833a724b7 ("environment: ti: Add get_fit_config command to get FIT config st

[PATCH 2/2] arm64: dts: ti: k3-j7200: Add MCU domain ESM instance

2023-09-25 Thread Keerthy
Patch adds the ESM instance for MCU domian of j7200. Signed-off-by: Keerthy --- arch/arm/dts/k3-j7200-mcu-wakeup.dtsi | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/dts/k3-j7200-mcu-wakeup.dtsi b/arch/arm/dts/k3-j7200-mcu-wakeup.dtsi index 1044ec6c4b..2b185fa350 100644 ---

[PATCH 1/2] arm64: dts: ti: k3-j721s2: Add ESM instances

2023-09-25 Thread Keerthy
Patch adds the ESM instances for j721s2. It has 3 instances. One in the main domain and two in the mcu-wakeup domian. Signed-off-by: Keerthy --- arch/arm/dts/k3-j721s2-main.dtsi | 7 +++ arch/arm/dts/k3-j721s2-mcu-wakeup.dtsi | 14 ++ 2 files changed, 21 insertions(+) dif

[PATCH 0/2] arm64: ti: k3-j7: Add the ESM nodes

2023-09-25 Thread Keerthy
Hi Tom, https://lore.kernel.org/linux-arm-kernel/5187c590-ee9a-4c46-b326-655f4c371...@linaro.org/T/#me178708007a6b3b9695ae0ff84475fa4f49f283c I have posted the ESM patches to the linux kernel device tree mailing list. These are neeeded in R5 SPL to enable watchdog support. Keerthy (2): arm64:

Re: [PATCH 1/4] mkimage: also honour -B even without external data

2023-09-25 Thread Rasmus Villemoes
On 25/09/2023 15.10, Simon Glass wrote: > Hi Rasmus, > > On Mon, 25 Sept 2023 at 02:47, Rasmus Villemoes > wrote: >> Since patches 2,3,4 touch binman code, could you take all four? > > Yes, will do. I didn't pick them up in the most recent PR as I try to > have things sit for a week before appl

Re: Config fragments

2023-09-25 Thread Svyatoslav Ryhel
23 серпня 2023 р. 18:55:58 GMT+03:00, Tom Rini написав(-ла): >On Wed, Aug 23, 2023 at 09:30:31AM -0600, Simon Glass wrote: > >> Hi, >> >> Up until 2023.04 it has been possible to build all the defconfigs but >> with 2023.07 that changed. Tom mentioned this to me recently. > >I'm adding Svyato

Re: [PATCH 0/2] make CONFIG_SPL_SYS_MALLOC_SIMPLE && CONFIG_SYS_SPL_MALLOC actually work

2023-09-25 Thread Simon Glass
Hi Rasmus, On Mon, 25 Sept 2023 at 02:54, Rasmus Villemoes wrote: > > On 21/09/2023 03.02, Simon Glass wrote: > > Hi Rasmus, > > > > On Fri, 15 Sept 2023 at 11:51, Rasmus Villemoes > > wrote: > >> > >> Currently, setting both CONFIG_SPL_SYS_MALLOC_SIMPLE and > >> CONFIG_SYS_SPL_MALLOC (but not C

Re: [PATCH v2] arm: rpi: remove boot_targets for default standard boot

2023-09-25 Thread Simon Glass
On Sat, 23 Sept 2023 at 20:59, Date Huang wrote: > > Raspberry pi supports standard boot without boot_targets > > Signed-off-by: Date Huang > --- > board/raspberrypi/rpi/rpi.env | 2 -- > 1 file changed, 2 deletions(-) Reviewed-by: Simon Glass > > diff --git a/board/raspberrypi/rpi/rpi.env b

Re: [PATCH 4/5] sandbox: rename overlay sources to .dtso

2023-09-25 Thread Simon Glass
On Mon, 25 Sept 2023 at 02:10, Rasmus Villemoes wrote: > > Distinguish more clearly between source files meant for producing .dtb > from those meant for producing .dtbo. No functional change, as we > currently have rules for producing a foo.dtbo from either foo.dts or > foo.dtso. > > Note that in

Re: [PATCH 5/5] doc: use .dtso as extension for device tree overlay sources

2023-09-25 Thread Simon Glass
On Mon, 25 Sept 2023 at 02:10, Rasmus Villemoes wrote: > > Moving towards using .dtso for overlay sources, update the > documentation examples to follow that pattern. > > Signed-off-by: Rasmus Villemoes > --- > doc/develop/uefi/uefi.rst | 4 ++-- > doc/usage/fdt_overlays.rst | 4 ++-- > 2 files

Re: [PATCH 1/4] mkimage: also honour -B even without external data

2023-09-25 Thread Simon Glass
Hi Rasmus, On Mon, 25 Sept 2023 at 02:47, Rasmus Villemoes wrote: > > On 22/09/2023 17.26, Simon Glass wrote: > > >>> Shouldn't this be fdt_open_into()? > >> > >> I honestly just copy-pasted fit_extract_data() and shaved it down to the > >> part that does the "align the FDT part of the file". > >

  1   2   >