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

2023-09-25 Thread Michal Simek
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 variable and record proper size based on used entries. Fixes: be16fc81b2ed ("trace: Update proftool to

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

2023-09-25 Thread Manorit Chawdhry
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 string") Reported-by: Aniket Limaye

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 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 "mxsloader u-boot.sb". > In fact, mxsloader returns immediately on trying to load

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

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

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

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

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

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:

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

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

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

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

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

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 >

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

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

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: [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: 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=results > > > The following changes since commit

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

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

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

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

[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

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

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

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

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

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

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

[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

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

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

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

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 >

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

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

Re: [PATCH 1/2] serial: serial-uclass.c: move definition of _serial_flush up a bit

2023-09-25 Thread Simon Glass
On Mon, 25 Sept 2023 at 05:01, Rasmus Villemoes wrote: > > Preparation for next patch. > > Signed-off-by: Rasmus Villemoes > --- > drivers/serial/serial-uclass.c | 24 > 1 file changed, 12 insertions(+), 12 deletions(-) Reviewed-by: Simon Glass

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 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 variable and record

[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(+)

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

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

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

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

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

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

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

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

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

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

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 >

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

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

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?

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

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

[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

[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

[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

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

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!

[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

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

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

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

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

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

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

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

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] dt-bindings: mtd: Add a schema for binman

2023-09-25 Thread Miquel Raynal
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 Herring wrote: > > > > On Fri, Sep 22, 2023 at 1:12 PM Simon Glass wrote: > > > > > > Hi Rob, > > > > > > On Fri, 22 Sept 2023 at 11:46, Rob Herring wrote: > > > > > > >

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

2023-09-25 Thread Stefan Roese
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. Signed-off-by: Tony Dinh Reviewed-by: Stefan Roese Thanks, Stefan --- drivers/ata/sata_mv.c |

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

2023-09-25 Thread Rasmus Villemoes
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 CONFIG_SPL_STACK_R) doesn't work as >> expected: The SIMPLE option means that all

[PATCH 3/5] arm64: zynqmp: rename overlay sources to .dtso

2023-09-25 Thread Rasmus Villemoes
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 the linux tree, all device tree overlay sources have been renamed to

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

2023-09-25 Thread Rasmus Villemoes
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 the linux tree, all device tree overlay sources have been renamed to

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

2023-09-25 Thread Rasmus Villemoes
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 changed, 4 insertions(+), 4 deletions(-) diff --git

[PATCH 0/5] use .dtso for device tree overlay sources

2023-09-25 Thread Rasmus Villemoes
All device tree overlay sources in the kernel tree have been renamed to .dtso and, since v6.5 (commit 81d362732bac), the .dts -> .dtbo rules is gone from linux' Kbuild. Let's follow the lead of linux and do the renaming, and sooner rather than later to reduce the amount of churn. This is not

[PATCH 1/5] arm: dts: imx8mm-cl-iot-gate: rename overlay sources to .dtso

2023-09-25 Thread Rasmus Villemoes
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 the linux tree, all device tree overlay sources have been renamed to

[PATCH 2/5] iot2050: rename overlay sources to .dtso

2023-09-25 Thread Rasmus Villemoes
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 the linux tree, all device tree overlay sources have been renamed to

  1   2   >