Re: [PATCH v4 4/7] arm: dts: k3-am625-sk: Enable usb port in u-boot

2024-01-16 Thread Sjoerd Simons
On Tue, 2024-01-16 at 12:17 +0100, Mattijs Korpershoek wrote: > Hi Sjoerd > > Thank you for the patch. > > On ven., janv. 12, 2024 at 09:52, Sjoerd Simons > wrote: > > > Enable usb0 in all boot phases for use with DFU > > > > Signed-off-by: Sjoerd Simo

Re: [PATCH v4 5/7] configs: am62x_evm_*: Enable USB and DFU support

2024-01-12 Thread Sjoerd Simons
On Fri, 2024-01-12 at 09:40 -0600, Nishanth Menon wrote: > On 16:06-20240112, Sjoerd Simons wrote: > [...] > > > > > > I am starting to wonder if > > > https://lore.kernel.org/u-boot/20231101170519.39627-1-...@ti.com/ > > > will help us here. > >

Re: [PATCH v4 5/7] configs: am62x_evm_*: Enable USB and DFU support

2024-01-12 Thread Sjoerd Simons
On Fri, 2024-01-12 at 07:19 -0600, Nishanth Menon wrote: > On 14:09-20240112, Sjoerd Simons wrote: > [...] > > > > > diff --git a/configs/am62x_evm_a53_defconfig > > > > b/configs/am62x_evm_a53_defconfig > > > > index aa96c1b3125..f335eb11e63 100644

Re: [PATCH v4 2/7] usb: dwc3: Switch to device mode on gadget start

2024-01-12 Thread Sjoerd Simons
On Fri, 2024-01-12 at 14:56 +0200, Roger Quadros wrote: > > > On 12/01/2024 13:06, Sjoerd Simons wrote: > > On Fri, 2024-01-12 at 12:39 +0200, Roger Quadros wrote: > > > > > > > > > On 12/01/2024 10:52, Sjoerd Simons wrote: > > > > When dr_

Re: [PATCH v4 5/7] configs: am62x_evm_*: Enable USB and DFU support

2024-01-12 Thread Sjoerd Simons
On Fri, 2024-01-12 at 06:37 -0600, Nishanth Menon wrote: > On 09:52-20240112, Sjoerd Simons wrote: > > Enable USB host as well as USB gadget and DFU support for a53; For > > the > > r5 due to the smaller available size create a config fragment for > > DFU > > su

Re: [PATCH v4 7/7] doc: board: Add document for DFU boot on am62x SoCs

2024-01-12 Thread Sjoerd Simons
On Fri, 2024-01-12 at 06:36 -0600, Nishanth Menon wrote: > On 09:52-20240112, Sjoerd Simons wrote: > > > > +DFU based boot > > +-- > > + > > +To boot the board over DFU, ensure there is no SD card inserted > > with a > > +bootloader. Hold

Re: [PATCH v4 2/7] usb: dwc3: Switch to device mode on gadget start

2024-01-12 Thread Sjoerd Simons
On Fri, 2024-01-12 at 12:39 +0200, Roger Quadros wrote: > > > On 12/01/2024 10:52, Sjoerd Simons wrote: > > When dr_mode is "otg" the dwc3 is initially configured in _OTG > > mode; > > However in this mode the gadget functionality doesn't work without

Re: [PATCH v4 6/7] beagleplay: Add DFU support

2024-01-12 Thread Sjoerd Simons
On Fri, 2024-01-12 at 12:41 +0200, Roger Quadros wrote: > > > On 12/01/2024 10:52, Sjoerd Simons wrote: > > DFU mode on a beagleplay can be used via the Type-C connector by > > holding > > the USR switch while powering on. > > > > Configuration is only add

Re: [PATCH v4 5/7] configs: am62x_evm_*: Enable USB and DFU support

2024-01-12 Thread Sjoerd Simons
On Fri, 2024-01-12 at 11:58 +0200, Roger Quadros wrote: > Hi Sjoerd, > > On 12/01/2024 10:52, Sjoerd Simons wrote: > > Enable USB host as well as USB gadget and DFU support for a53; For > > the > > r5 due to the smaller available size create a config fragment for

[PATCH v4 7/7] doc: board: Add document for DFU boot on am62x SoCs

2024-01-12 Thread Sjoerd Simons
Both AM62 SK and beagleplay support DFU boot in a similar way now; Document how to actually run DFU boot for both boards Signed-off-by: Sjoerd Simons --- Changes in v4: - New patch doc/board/beagle/am62x_beagleplay.rst | 12 + doc/board/ti/am62x_sk.rst | 37

[PATCH v4 6/7] beagleplay: Add DFU support

2024-01-12 Thread Sjoerd Simons
DFU mode on a beagleplay can be used via the Type-C connector by holding the USR switch while powering on. Configuration is only added for the A53 u-boot parts, for R5 the am62x_r5_usbdfu.config fragment should be used. Signed-off-by: Sjoerd Simons --- Changes in v4: - New patch arch/arm

[PATCH v4 5/7] configs: am62x_evm_*: Enable USB and DFU support

2024-01-12 Thread Sjoerd Simons
Enable USB host as well as USB gadget and DFU support for a53; For the r5 due to the smaller available size create a config fragment for DFU supports which disables support for persistent storage to free up space for USB support Signed-off-by: Sjoerd Simons --- Changes in v4: - Move R5 dfu

[PATCH v4 4/7] arm: dts: k3-am625-sk: Enable usb port in u-boot

2024-01-12 Thread Sjoerd Simons
Enable usb0 in all boot phases for use with DFU Signed-off-by: Sjoerd Simons --- Changes in v4: - Don't force usb0 into peripheral mode Changes in v3: - Enable usb nodes in all boot phases Changes in v2: - Only enable usb port 0 DFU in SPL arch/arm/dts/k3-am625-sk-u-boot.dts

[PATCH v4 3/7] board: ti: am62x: am62x: include env for DFU

2024-01-12 Thread Sjoerd Simons
Include standard TI K3 dfu environment Signed-off-by: Sjoerd Simons --- (no changes since v3) Changes in v3: - Add dfu via environment rather then config headers Changes in v2: - Minimize config changes to just DFU configuration board/ti/am62x/am62x.env | 1 + 1 file changed, 1 insertion

[PATCH v4 2/7] usb: dwc3: Switch to device mode on gadget start

2024-01-12 Thread Sjoerd Simons
mode is renamed to dwc3_core_set_mode to avoid a conflict with the same function exposed by xhci-dwc3 Signed-off-by: Sjoerd Simons --- Changes in v4: - New patch drivers/usb/dwc3/core.c | 10 +- drivers/usb/dwc3/core.h | 1 + drivers/usb/dwc3/gadget.c | 6 ++ 3 files changed

[PATCH v4 1/7] usb: dwc3: Add dwc3 glue driver for am62

2024-01-12 Thread Sjoerd Simons
Add glue code for TI AM62 to the dwc3 driver; Most code adopted from TI vendor u-boot code. Signed-off-by: Sjoerd Simons --- Changes in v4: - Add config dependency on SYSCON - Move defines and constants outside out of function scope Changes in v2: - Switch dwc3 glue to a seperate driver

[PATCH v4 0/7] Add DFU and usb boot for TI am62x SK and beagleplay

2024-01-12 Thread Sjoerd Simons
nly enable usb port 0 DFU in SPL - Create a seperate defconfig for R5 Sjoerd Simons (7): usb: dwc3: Add dwc3 glue driver for am62 usb: dwc3: Switch to device mode on gadget start board: ti: am62x: am62x: include env for DFU arm: dts: k3-am625-sk: Enable usb port in u-boot configs: am62x_evm

Re: [PATCH v3 4/4] configs: am62x_evm_*: Enable USB and DFU support

2023-12-13 Thread Sjoerd Simons
a beagleplay is on the way, but stuck in customs atm for some  practical tests). However I think it would make sense to get this landed first and then try refactoring with config fragments for a second step? > > [0] > https://lore.kernel.org/u-boot/20231130115552.3580995-16-a-nan...@ti.com/ >   > > ~Bryan -- Sjoerd Simons Collabora Ltd.

[PATCH v3 2/4] board: ti: am62x: am62x: include env for DFU

2023-12-12 Thread Sjoerd Simons
Include standard TI K3 dfu environment Signed-off-by: Sjoerd Simons --- Changes in v3: - Add dfu via environment rather then config headers Changes in v2: - Minimize config changes to just DFU configuration board/ti/am62x/am62x.env | 1 + 1 file changed, 1 insertion(+) diff --git a/board

[PATCH v3 4/4] configs: am62x_evm_*: Enable USB and DFU support

2023-12-12 Thread Sjoerd Simons
Enable USB host as well as USB gadget and DFU support for a53; For the r5 due to the smaller available size create a new config just for DFU support Signed-off-by: Sjoerd Simons --- Changes in v3: - Run savedefconfig to adjust to more recent u-boot Changes in v2: - Create a seperate defconfig

[PATCH v3 3/4] arm: dts: k3-am625-sk: Enable usb ports in u-boot

2023-12-12 Thread Sjoerd Simons
Enable both usb0 as a peripheral for use with DFU and Signed-off-by: Sjoerd Simons --- Changes in v3: - Enable usb nodes in all boot phases Changes in v2: - Only enable usb port 0 DFU in SPL arch/arm/dts/k3-am625-sk-u-boot.dtsi | 9 + 1 file changed, 9 insertions(+) diff --git a

[PATCH v3 0/4] Add DFU and usb boot for TI am62x

2023-12-12 Thread Sjoerd Simons
DFU configuration - Only enable usb port 0 DFU in SPL - Create a seperate defconfig for R5 Sjoerd Simons (4): usb: dwc3: Add dwc3 glue driver for am62 board: ti: am62x: am62x: include env for DFU arm: dts: k3-am625-sk: Enable usb ports in u-boot configs: am62x_evm_*: Enable USB and DFU

[PATCH v3 1/4] usb: dwc3: Add dwc3 glue driver for am62

2023-12-12 Thread Sjoerd Simons
Add glue code for TI AM62 to the dwc3 driver; Most code adopted from TI vendor u-boot code. Signed-off-by: Sjoerd Simons Reviewed-by: Mattijs Korpershoek --- (no changes since v2) Changes in v2: - Switch dwc3 glue to a seperate driver rather then in dwc-generic drivers/usb/dwc3/Kconfig

Re: [PATCH v2 0/8] Add DFU, emmc and usb boot for TI am62x

2023-05-31 Thread Sjoerd Simons
On Wed, 2023-05-31 at 17:14 -0400, Tom Rini wrote: > On Thu, Apr 06, 2023 at 08:55:34PM +0200, Sjoerd Simons wrote: > > > This series adds more boot sources for the TI am62x. For that the > > dts' > > are synced from the upstream ti-next git tree (to add usb nodes),

[PATCH v2 8/8] configs: am62x_evm_*: Enable USB and DFU support

2023-04-06 Thread Sjoerd Simons
Enable USB host as well as USB gadget and DFU support for a53; For the r5 due to the smaller available size create a new config just for DFU support Signed-off-by: Sjoerd Simons --- Changes in v2: - Create a seperate defconfig for R5 configs/am62x_evm_a53_defconfig | 35

[PATCH v2 7/8] arm: dts: k3-am625-sk: Enable usb ports in u-boot

2023-04-06 Thread Sjoerd Simons
Enable both usb0 as a peripheral for use with DFU and Signed-off-by: Sjoerd Simons --- Changes in v2: - Only enable usb port 0 DFU in SPL arch/arm/dts/k3-am625-sk-u-boot.dtsi | 11 +++ 1 file changed, 11 insertions(+) diff --git a/arch/arm/dts/k3-am625-sk-u-boot.dtsi b/arch/arm/dts

[PATCH v2 5/8] usb: dwc3: Add dwc3 glue driver for am62

2023-04-06 Thread Sjoerd Simons
Add glue code for TI AM62 to the dwc3 driver; Most code adopted from TI vendor u-boot code. Signed-off-by: Sjoerd Simons --- Changes in v2: - Switch dwc3 glue to a seperate driver rather then in dwc-generic drivers/usb/dwc3/Kconfig | 14 drivers/usb/dwc3/Makefile| 1

[PATCH v2 6/8] configs: am62: Add configs for enabling USB in U-Boot

2023-04-06 Thread Sjoerd Simons
Add configs for enabling USB DFU in U-Boot. Signed-off-by: Sjoerd Simons --- Changes in v2: - Minimize config changes to just DFU configuration include/configs/am62x_evm.h | 10 +- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/include/configs/am62x_evm.h b/include

[PATCH v2 4/8] arm: dts: k3-am625-sk: Enable emmc in SPL

2023-04-06 Thread Sjoerd Simons
sdhci0 on the k3-am625-sk is the emmc, enable this in SPL as well to allow booting from that media. Signed-off-by: Sjoerd Simons Reviewed-by: Tom Rini --- (no changes since v1) arch/arm/dts/k3-am625-sk-u-boot.dtsi | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm/dts/k3

[PATCH v2 3/8] arm: dts: k3-am62: Bump dtsi from linux

2023-04-06 Thread Sjoerd Simons
-boot doesn't use/support Signed-off-by: Sjoerd Simons --- Changes in v2: - Update dts sync to v6.3-rc5 arch/arm/dts/k3-am62-main.dtsi | 259 --- arch/arm/dts/k3-am62-mcu.dtsi| 49 + arch/arm/dts/k3-am62-wakeup.dtsi | 4 +- arch/arm/dts/k

[PATCH v2 2/8] arm: mach-k3: am62: Add timer0 id to the dev list

2023-04-06 Thread Sjoerd Simons
Timer0 is used by u-boot as the tick timer; Add it to the soc devices list so it can be enabled via the k3 power controller. Signed-off-by: Sjoerd Simons Reviewed-by: Tom Rini --- (no changes since v1) arch/arm/mach-k3/am62x/dev-data.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch

[PATCH v2 1/8] omap: timer: add ti,am654-timer compatibility

2023-04-06 Thread Sjoerd Simons
THe TI AM654 timer is compatible with the omap-timer implementation, so add it to the id list Signed-off-by: Sjoerd Simons Reviewed-by: Tom Rini --- (no changes since v1) drivers/timer/omap-timer.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/timer/omap-timer.c b/drivers/timer

[PATCH v2 0/8] Add DFU, emmc and usb boot for TI am62x

2023-04-06 Thread Sjoerd Simons
v6.3-rc5 - Switch dwc3 glue to a seperate driver rather then in dwc-generic - Minimize config changes to just DFU configuration - Only enable usb port 0 DFU in SPL - Create a seperate defconfig for R5 Sjoerd Simons (8): omap: timer: add ti,am654-timer compatibility arm: mach-k3: am62: Add timer0

Re: [PATCH v2 1/1] lmb: Treat a region which is a subset as equal

2023-02-14 Thread Sjoerd Simons
Hey, On Tue, 2023-02-14 at 07:57 +, Soma, Ashok Reddy wrote: > Hi Sjoerd Simons, > > Thanks for you patches. > > However even after your patches, I still see below error. > > ERROR: reserving fdt memory region failed (addr=8 > size=18000 flags=4) >

[PATCH v2 0/1] Fix boot regressions on at least TI am62x

2023-02-12 Thread Sjoerd Simons
r overview (fixes lmb tests) - Drop first 2 patches as they were applied already Sjoerd Simons (1): lmb: Treat a region which is a subset as equal lib/lmb.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) -- 2.39.1

[PATCH v2 1/1] lmb: Treat a region which is a subset as equal

2023-02-12 Thread Sjoerd Simons
t's a pure subset of one of the existing blocks. Signed-off-by: Sjoerd Simons --- Changes in v2: - Adjust calculation to prevent integer overview (fixes lmb tests) lib/lmb.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/lmb.c b/lib/lmb.c index f447c639a60..2

Re: [PATCH 3/3] lmb: Treat a region which is a subset as equal

2023-02-07 Thread Sjoerd Simons
On Mon, 2023-02-06 at 13:04 -0500, Tom Rini wrote: > On Thu, Jan 19, 2023 at 09:38:19AM +0100, Sjoerd Simons wrote: > > > In various cases logical memory blocks are coalesced; As a result > > doing > > a strict check whether memory blocks are the same doesn't

Re: [PATCH 1/3] Bump LMB_MAX_REGIONS default to 16

2023-01-26 Thread Sjoerd Simons
On Thu, 2023-01-26 at 13:28 -0500, Tom Rini wrote: > On Thu, Jan 19, 2023 at 09:38:17AM +0100, Sjoerd Simons wrote: > > > > As this is likely to impact more devices bump the default max > > regions to 16 so there is a bit more slack. > > > > Signed-off-by: Sj

Re: [PATCH 3/8] arm: dts: k3-am62: Bump dtsi from ti-next

2023-01-24 Thread Sjoerd Simons
On Tue, 2023-01-24 at 15:47 -0500, Tom Rini wrote: > On Sat, Jan 21, 2023 at 04:54:29PM +0100, Sjoerd Simons wrote: > > > Update the am62 and am625 device-trees from current ti-k3-next ... > These need to come from linux-next or similar, not a TI tree. What's > the

[PATCH 6/8] configs: am62: Add configs for enabling USB in U-Boot

2023-01-21 Thread Sjoerd Simons
From: Aswath Govindraju Add configs for enabling USB host MSC and USB DFU in U-Boot. Signed-off-by: Aswath Govindraju [ rebase from vendor u-boot to upstream ] Signed-off-by: Sjoerd Simons --- include/configs/am62x_evm.h | 10 +- 1 file changed, 9 insertions(+), 1 deletion(-) diff

[PATCH 3/8] arm: dts: k3-am62: Bump dtsi from ti-next

2023-01-21 Thread Sjoerd Simons
n the linux dtsi that u-boot doesn't use/support Signed-off-by: Sjoerd Simons --- arch/arm/dts/k3-am62-main.dtsi | 259 --- arch/arm/dts/k3-am62-mcu.dtsi| 49 + arch/arm/dts/k3-am62-wakeup.dtsi | 4 +- arch/arm/dts/k3-am625-r5-sk.dts

[PATCH 8/8] configs: am62x_evm_*: Enable USB and DFU support

2023-01-21 Thread Sjoerd Simons
Enable USB host as well as USB gadget and DFU support; This allows using a single set binaries to load both the u-boot chain and linux from USB DFU, SD card and emmc. Signed-off-by: Sjoerd Simons --- configs/am62x_evm_a53_defconfig | 33 ++--- configs

[PATCH 4/8] arm: dts: k3-am625-sk: Enable emmc in SPL

2023-01-21 Thread Sjoerd Simons
sdhci0 on the k3-am625-sk is the emmc, enable this in SPL as well to allow booting from that media. Signed-off-by: Sjoerd Simons --- arch/arm/dts/k3-am625-sk-u-boot.dtsi | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm/dts/k3-am625-sk-u-boot.dtsi b/arch/arm/dts/k3-am625-sk

[PATCH 7/8] arm: dts: k3-am625-sk: Enable usb ports in u-boot

2023-01-21 Thread Sjoerd Simons
Enable both usb0 as a peripheral for use with DFU and usb1 as a host port for usage with e.g. usb storage. Signed-off-by: Sjoerd Simons --- arch/arm/dts/k3-am625-sk-u-boot.dtsi | 23 +++ 1 file changed, 23 insertions(+) diff --git a/arch/arm/dts/k3-am625-sk-u-boot.dtsi b

[PATCH 5/8] usb: dwc3: Add dwc3 glue for am62

2023-01-21 Thread Sjoerd Simons
Add glue code for TI AM62 to the dwc3 driver; Most code adopted from TI vendor u-boot code. Signed-off-by: Sjoerd Simons --- drivers/usb/dwc3/dwc3-generic.c | 102 1 file changed, 102 insertions(+) diff --git a/drivers/usb/dwc3/dwc3-generic.c b/drivers/usb

[PATCH 2/8] arm: mach-k3: am62: Add timer0 id to the dev list

2023-01-21 Thread Sjoerd Simons
Timer0 is used by u-boot as the tick timer; Add it to the soc devices list so it can be enabled via the k3 power controller. Signed-off-by: Sjoerd Simons --- arch/arm/mach-k3/am62x/dev-data.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mach-k3/am62x/dev-data.c b/arch/arm/mach

[PATCH 1/8] omap: timer: add ti,am654-timer compatibility

2023-01-21 Thread Sjoerd Simons
THe TI AM654 timer is compatible with the omap-timer implementation, so add it to the id list Signed-off-by: Sjoerd Simons --- drivers/timer/omap-timer.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/timer/omap-timer.c b/drivers/timer/omap-timer.c index aa2e4360c1b..9b6d97dae67

[PATCH 0/8] Add DFU, emmc and usb boot for TI am62x

2023-01-21 Thread Sjoerd Simons
am62: Add configs for enabling USB in U-Boot Sjoerd Simons (7): omap: timer: add ti,am654-timer compatibility arm: mach-k3: am62: Add timer0 id to the dev list arm: dts: k3-am62: Bump dtsi from ti-next arm: dts: k3-am625-sk: Enable emmc in SPL usb: dwc3: Add dwc3 glue for am62 arm: dt

[PATCH 3/3] lmb: Treat a region which is a subset as equal

2023-01-19 Thread Sjoerd Simons
t's a pure subset of one of the existing blocks. Signed-off-by: Sjoerd Simons --- lib/lmb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/lmb.c b/lib/lmb.c index f447c639a60..b09a043f4c2 100644 --- a/lib/lmb.c +++ b/lib/lmb.c @@ -248,7 +248,7 @@ s

[PATCH 2/3] lmb: Set correct lmb flags for EFI memory map entries

2023-01-19 Thread Sjoerd Simons
When adding reserved memory areas from the EFI memory map set the NOMAP flag when applicable. When this isn't done adding "no-map" flagged entries from the fdt after receiving the same from the EFI memory map fails due to non-matching flags. Signed-off-by: Sjoerd Simons ---

[PATCH 1/3] Bump LMB_MAX_REGIONS default to 16

2023-01-19 Thread Sjoerd Simons
s case on an TI am62 which has an fdt with 4 reserved regions (in practice 3 lmb entries due to adjecent ranges). As this is likely to impact more devices bump the default max regions to 16 so there is a bit more slack. Signed-off-by: Sjoerd Simons --- lib/Kconfig | 2 +- 1 file changed, 1

[PATCH 0/3] Fix boot regressions on at least TI am62x

2023-01-19 Thread Sjoerd Simons
out that this is caused by commit 06d514d77c37 ("lmb: consider EFI memory map") due to injecting both extra and some similar memory regions via a different path into the lmb. The following series fixes the apparent fallout from that ;) Sjoerd Simons (3): Bump LMB_MAX_REGIONS default t

Re: [PATCH 1/2] Revert "patman: invoke the checkpatch.pl script with '--u-boot' and '--strict'"

2023-01-16 Thread Sjoerd Simons
s reverts fixes the reported issue: Tested-by: Sjoerd Simons > > Reported-by: Sjoerd Simons > Signed-off-by: Maxim Cournoyer > --- > >  tools/patman/checkpatch.py | 2 +- >  1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/tools/patman/checkpatch.py b/too

Re: [PATCH v3 3/8] patman: invoke the checkpatch.pl script with '--u-boot' and '--strict'

2023-01-13 Thread Sjoerd Simons
v2: > - Reword the commit message with a better explanation of the problem > - Add the '--strict' argument to script invocation > >  tools/patman/checkpatch.py | 2 +- >  1 file changed, 1 insertion(+), 1 deletion(-) > > Applied to u-boot-dm/next, thanks! -- Sjoerd Simons Collabora Ltd.

[PATCH v2 3/4] arm: dts: k3-am625-sk: Enable first ethernet port

2022-12-20 Thread Sjoerd Simons
The K3 am625 sk EVM has two ethernet ports; Enable the first one for usage in u-boot. Signed-off-by: Sjoerd Simons --- (no changes since v1) arch/arm/dts/k3-am625-sk-u-boot.dtsi | 22 ++ 1 file changed, 22 insertions(+) diff --git a/arch/arm/dts/k3-am625-sk-u-boot.dtsi b

[PATCH v2 2/4] configs: am62x_evm_*: Run savedefconfig

2022-12-20 Thread Sjoerd Simons
Clean configuration for am62x_evm using savedefconfig Signed-off-by: Sjoerd Simons --- (no changes since v1) configs/am62x_evm_a53_defconfig | 4 ++-- configs/am62x_evm_r5_defconfig | 32 +++- 2 files changed, 17 insertions(+), 19 deletions(-) diff --git a

[PATCH v2 4/4] configs: am62x_evm_a53: Enable ethernet

2022-12-20 Thread Sjoerd Simons
Enable ethernet support for u-boot on am62x evm Signed-off-by: Sjoerd Simons --- Changes in v2: - Split out config cleanup from ethernet changes configs/am62x_evm_a53_defconfig | 6 ++ 1 file changed, 6 insertions(+) diff --git a/configs/am62x_evm_a53_defconfig b/configs

[PATCH v2 1/4] configs: am62x_evm_*: Correct SPI configuration option

2022-12-20 Thread Sjoerd Simons
In f422c4bec the configuration option to support s28hs512t SPI flashes was changed from CONFIG_SPI_FLASH_S28HS512T to CONFIG_SPI_FLASH_S28HX_T to support the wider family. Follow this change in the AM62x EVM configurations. Signed-off-by: Sjoerd Simons --- (no changes since v1) configs

[PATCH v2 0/4] Enable ethernet for ti am62x

2022-12-20 Thread Sjoerd Simons
savedefconfig), the last two actually enable ethernet support Changes in v2: - Split out config cleanup from ethernet changes Sjoerd Simons (4): configs: am62x_evm_*: Correct SPI configuration option configs: am62x_evm_*: Run savedefconfig arm: dts: k3-am625-sk: Enable first ethernet port configs

Re: [PATCH 2/2] configs: am62x_evm_a53: Enable ethernet

2022-12-19 Thread Sjoerd Simons
On Tue, 2022-12-20 at 10:17 +0530, Dhruva Gole wrote: > > > On 19/12/22 21:45, Sjoerd Simons wrote: > > Enable configuration ethernet for u-boot on am62x; Some unrelated > > things > > also got moved around due to running through savedefconfig. > >

[PATCH 1/2] arm: dts: k3-am625-sk: Enable first ethernet port

2022-12-19 Thread Sjoerd Simons
The K3 am625 sk EVM has two ethernet ports; Enable the first one for usage in u-boot. Signed-off-by: Sjoerd Simons --- arch/arm/dts/k3-am625-sk-u-boot.dtsi | 22 ++ 1 file changed, 22 insertions(+) diff --git a/arch/arm/dts/k3-am625-sk-u-boot.dtsi b/arch/arm/dts/k3-am625

[PATCH 2/2] configs: am62x_evm_a53: Enable ethernet

2022-12-19 Thread Sjoerd Simons
Enable configuration ethernet for u-boot on am62x; Some unrelated things also got moved around due to running through savedefconfig. Signed-off-by: Sjoerd Simons --- configs/am62x_evm_a53_defconfig | 11 --- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/configs

[PATCH 0/2] Enable ethernet for ti am62x

2022-12-19 Thread Sjoerd Simons
These patches enable ethernet from u-boot on the ti am62x EVM. They are based on the u-boot next branch (9c955393) to take advantage of recent dts sync of these boards with linux Sjoerd Simons (2): arm: dts: k3-am625-sk: Enable first ethernet port configs: am62x_evm_a53: Enable ethernet

Re: [PATCH 1/2] rpi: Copy properties from firmware dtb to the loaded dtb

2022-09-06 Thread Sjoerd Simons
y i wrote the patch in the first place as some folks in our team were hitting issues with them :) So i can confirm my patch solves the issue there as well; Unfortunately i don't have newer revisions RPI4's myself, but behaviour wise they seem the same as the RPI 400 as they share the same SoC revision -- Sjoerd Simons Collabora Ltd.

[PATCH] configs: rock-pi-4: Enable rockchip efuse support

2021-11-25 Thread Sjoerd Simons
Enable efuse support for reading the cpuid#, serial# and generate a board unique mac address Signed-off-by: Sjoerd Simons --- configs/rock-pi-4-rk3399_defconfig | 1 + configs/rock-pi-4c-rk3399_defconfig | 1 + 2 files changed, 2 insertions(+) diff --git a/configs/rock-pi-4-rk3399_defconfig

[RESEND PATCH] rpi: Copy properties from firmware dtb to the loaded dtb

2021-11-25 Thread Sjoerd Simons
the blconfig stored. Copy those over so it can be enabled. * /chosen/kaslr-seed: The firmware generates a kaslr seed, take advantage of that. Signed-off-by: Sjoerd Simons --- board/raspberrypi/rpi/rpi.c | 48 + 1 file changed, 48 insertions(+) diff --git

[PATCH] rpi: Copy properties from firmware dtb to the loaded dtb

2021-08-22 Thread Sjoerd Simons
the blconfig stored. Copy those over so it can be enabled. * /chosen/kaslr-seed: The firmware generates a kaslr seed, take advantage of that. Signed-off-by: Sjoerd Simons --- board/raspberrypi/rpi/rpi.c | 47 + 1 file changed, 47 insertions(+) diff --git

Re: [U-Boot] [PATCH 2/2] mx6: mx6sabre common: Add distro boot config

2019-07-18 Thread Sjoerd Simons
On Fri, 2019-07-12 at 10:51 -0300, Fabio Estevam wrote: > Hi Sjoerd, > > Subject says 2/2, but I don't see a 1/2. 1/2 is https://patchwork.ozlabs.org/patch/1119776/ guess patman didn't cc you. > On Thu, Jun 20, 2019 at 5:35 PM Sjoerd Simons > wrote: > > Allow mx

[U-Boot] [PATCH 2/2] mx6: mx6sabre common: Add distro boot config

2019-06-20 Thread Sjoerd Simons
Allow mx6 sabreauto and sabresd to boot via the default distro boot commands to make it easier to support general distributions. The previous boot setup is still supported via legacy boot targets. Signed-off-by: Sjoerd Simons --- configs/mx6sabreauto_defconfig| 2 ++ include/configs

[U-Boot] [PATCH 1/2] mx6: mx6sabre common: Use more conventional spelling of fdtfile

2019-06-20 Thread Sjoerd Simons
Both the distro boot configuration as well as the general pxe support standardized on fdtfile as the variable to hold the dtb filename. Adjust to follow that such that e.g. "pxe boot" will just work. Signed-off-by: Sjoerd Simons --- include/configs/mx6sabre_com

Re: [U-Boot] [PATCH v2 3/3] usb: gadget: f_sdp: Allow SPL to load and boot FIT via SDP

2019-06-19 Thread Sjoerd Simons
d > Recommendations application note: > https://www.nxp.com/docs/en/application-note/AN12263.pdf > > The U-Boot docs in NXP BSP U-Boot also provides an overview: > https://source.codeaurora.org/external/imx/uboot-imx/tree/doc/imx/habv4?h=imx_v2018.03_4.14.98_2.0.0_ga Right all those

[U-Boot] [PATCH] imx :hab: Add hab version command

2019-06-18 Thread Sjoerd Simons
THe RVT data includes a major and minor version in its header parameter. Add a new command to print this out. Signed-off-by: Sjoerd Simons --- Unfortunately there doesn't seem to be a way to get the minor version of the hab ROM. While there is a get_version function pointer in the vector

Re: [U-Boot] [PATCH] spl, Makefile: Take external offset into account for fit images

2019-06-18 Thread Sjoerd Simons
On Tue, 2019-06-18 at 22:20 +0200, Marek Vasut wrote: > On 6/18/19 10:13 PM, Sjoerd Simons wrote: > > When building a FIT image for SPL to load also take into account > > the > > configured external offset. This allows the SPL to load the u-boot > > FIT > >

[U-Boot] [PATCH] spl, Makefile: Take external offset into account for fit images

2019-06-18 Thread Sjoerd Simons
ut it does allow an unsigned SPL/u-boot with secure boot support eanbled to boot on open device. Signed-off-by: Sjoerd Simons --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index c55ffa265f..a8808aeefd 100644 --- a/Makefile +++ b/Makefile @@ -1240,6 +1240,7 @@

Re: [U-Boot] [PATCH] am335x, guardian: update the maintainer list

2019-06-18 Thread Sjoerd Simons
On Tue, 2019-06-18 at 13:54 +, bollavarapumoses.christop...@in.bosch.com wrote: > From: Moses Christopher > > Signed-off-by: Moses Christopher < > bollavarapumoses.christop...@in.bosch.com> Acked-by: Sjoerd Simons > --- > board/bosch/guardian/MAINTAINERS | 2

Re: [U-Boot] [PATCH v2 3/3] usb: gadget: f_sdp: Allow SPL to load and boot FIT via SDP

2019-06-17 Thread Sjoerd Simons
On Tue, 2019-06-04 at 18:56 -0300, Fabio Estevam wrote: > On Tue, Jun 4, 2019 at 5:41 PM Sjoerd Simons > wrote: > We have been using imx_usb_loader for a long time. After DM / fit > comvesion the IVT piece is not added into the final .img. > > From the main Ma

Re: [U-Boot] [PATCH v2 3/3] usb: gadget: f_sdp: Allow SPL to load and boot FIT via SDP

2019-06-05 Thread Sjoerd Simons
On Wed, 2019-06-05 at 11:40 +0200, Lukasz Majewski wrote: > Hi Fabio, Sjoerd > > > On Tue, Jun 4, 2019 at 5:41 PM Sjoerd Simons > > wrote: > > > > > Small steps right; Ooi what imx_usb_loader configuration/commands > > > are you using to test

Re: [U-Boot] [PATCH v2 3/3] usb: gadget: f_sdp: Allow SPL to load and boot FIT via SDP

2019-06-05 Thread Sjoerd Simons
On Tue, 2019-06-04 at 18:56 -0300, Fabio Estevam wrote: > On Tue, Jun 4, 2019 at 5:41 PM Sjoerd Simons > wrote: > > > Small steps right; Ooi what imx_usb_loader configuration/commands > > are > > you using to test this? (I find its config rather tricky to grasp). &

Re: [U-Boot] [PATCH v2 3/3] usb: gadget: f_sdp: Allow SPL to load and boot FIT via SDP

2019-06-04 Thread Sjoerd Simons
On Tue, 2019-06-04 at 17:19 -0300, Fabio Estevam wrote: > Hi Sjoerd, > > On Tue, Jun 4, 2019 at 4:58 PM Sjoerd Simons > wrote: > > From: Frieder Schrempf > > > > Add support for loading u-boot FIT images over the USB SDP protocol > > in > > the SP

Re: [U-Boot] [PATCH 2/5] mx6sabreauto: Select pinctrl driver

2019-06-04 Thread Sjoerd Simons
On Tue, 2019-06-04 at 11:15 -0300, Fabio Estevam wrote: > Hi Sjoerd, > > On Mon, Jun 3, 2019 at 4:01 PM Sjoerd Simons > wrote: > > With the conversion to DM we should select the pinctrl driver. > > > > Signed-off-by: Sjoerd Simons > > I did the same for mx

Re: [U-Boot] [PATCH] imx: Select the pinctrl drivers when DM is used

2019-06-04 Thread Sjoerd Simons
he pinctrl drivers. > > Instead of doing the pinctrl driver selection in each individual > defconfig file, select it at SoC level when DM is used. > > Signed-off-by: Fabio Estevam Reviewed-by: Sjoerd Simons > --- > arch/arm/Kconfig | 8 > 1 file changed,

[U-Boot] [PATCH v2 3/3] usb: gadget: f_sdp: Allow SPL to load and boot FIT via SDP

2019-06-04 Thread Sjoerd Simons
From: Frieder Schrempf Add support for loading u-boot FIT images over the USB SDP protocol in the SPL Signed-off-by: Frieder Schrempf [Various build fixes] Signed-off-by: Sjoerd Simons --- Changes in v2: - Fix build with CMD_USB_SDP - Add SoB from Frieder Schrempf common/spl/spl_sdp.c

[U-Boot] [PATCH v2 1/3] mx6sabreauto: Remove CONFIG_SPL_DM to decrease the SPL size

2019-06-04 Thread Sjoerd Simons
The i.mx6 SPL binary cannot be bigger then 68K, while with the current defconfig for sabreauto it's only about 56K as soon as USB support gets added the size will overflows. Signed-off-by: Sjoerd Simons --- Changes in v2: None configs/mx6sabreauto_defconfig | 1 - 1 file changed, 1 del

[U-Boot] [PATCH v2 0/3] Enable usage of SDP for i.MX6 Sabre Auto Boards

2019-06-04 Thread Sjoerd Simons
t-dtb.img -addr 0x1000 SDPU: jump -addr 0x1000 SDPU: done ``` Changes in v2: - Fix build with CMD_USB_SDP - Add SoB from Frieder Schrempf Frieder Schrempf (1): usb: gadget: f_sdp: Allow SPL to load and boot FIT via SDP Sjoerd Simons (2): mx6sabreauto: Remove CONFIG_SPL_DM to decrease the

[U-Boot] [PATCH v2 2/3] mx6sabreauto: Enable SPL SDP support

2019-06-04 Thread Sjoerd Simons
To allow loading u-boot over USB enable SDP support in the SPL. Signed-off-by: Sjoerd Simons --- Changes in v2: None configs/mx6sabreauto_defconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configs/mx6sabreauto_defconfig b/configs/mx6sabreauto_defconfig index f9c70c5189

[U-Boot] [PATCH] usb: gadget: error out if g_dnl registration fails

2019-06-04 Thread Sjoerd Simons
If g_dnl_register fails return an error rather then stubornly continuing onwards. Signed-off-by: Sjoerd Simons --- cmd/usb_gadget_sdp.c | 11 --- common/spl/spl_sdp.c | 6 +- 2 files changed, 13 insertions(+), 4 deletions(-) diff --git a/cmd/usb_gadget_sdp.c b/cmd

[U-Boot] [PATCH 2/3] mx6sabreauto: set SYS_MALLOC_F for video

2019-06-04 Thread Sjoerd Simons
erve_video to work. This is similar to the change Peng Fan did for mx6sabresd (9002e735e717) Signed-off-by: Sjoerd Simons Reviewed-by: Peng Fan --- configs/mx6sabreauto_defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configs/mx6sabreauto_defconfig b/configs/m

[U-Boot] [PATCH 3/3] arm: dts: imx6qdl-u-boot: Alias usb0 to usbotg

2019-06-04 Thread Sjoerd Simons
need to be done for each board separately. This fixes regressions wrt. usb gadget functionality in several boards that have gadget functions enabled in their config, but no usb0 alias in their device-tree. Signed-off-by: Sjoerd Simons --- arch/arm/dts/imx6qdl-u-boot.dtsi | 4 1 file

[U-Boot] [PATCH 1/3] mx6sabreauto: Select pinctrl driver

2019-06-04 Thread Sjoerd Simons
With the conversion to DM we should select the pinctrl driver. Signed-off-by: Sjoerd Simons Reviewed-by: Peng Fan --- configs/mx6sabreauto_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configs/mx6sabreauto_defconfig b/configs/mx6sabreauto_defconfig index d0f302e9d0

[U-Boot] [PATCH 0/3] i.mx6 (sabre auto) fixes for 2019.07

2019-06-04 Thread Sjoerd Simons
of various mx6 board that were converted to DM_USB. Sjoerd Simons (3): mx6sabreauto: Select pinctrl driver mx6sabreauto: set SYS_MALLOC_F for video arm: dts: imx6qdl-u-boot: Alias usb0 to usbotg arch/arm/dts/imx6qdl-u-boot.dtsi | 4 configs/mx6sabreauto_defconfig | 4 +++- 2 files

Re: [U-Boot] [PATCH 4/5] usb: gadget: f_sdp: Allow SPL to load and boot FIT via SDP

2019-06-03 Thread Sjoerd Simons
On Mon, 2019-06-03 at 16:17 -0300, Fabio Estevam wrote: > Hi Sjoerd, > > On Mon, Jun 3, 2019 at 4:02 PM Sjoerd Simons > wrote: > > From: Frieder Schrempf > > > > Add support for loading u-boot FIT images over the USB SPD protocol > > in > > the SPL &g

[U-Boot] [PATCH 1/5] mx6sabreauto: Remove CONFIG_SPL_DM to decrease the SPL size

2019-06-03 Thread Sjoerd Simons
The i.mx6 SPL binary cannot be bigger then 68K, while with the current defconfig for sabreauto it's only about 56K as soon as USB support gets added the size will overflows. Signed-off-by: Sjoerd Simons --- configs/mx6sabreauto_defconfig | 1 - 1 file changed, 1 deletion(-) diff --

[U-Boot] [PATCH 3/5] mx6sabreauto: Enable SPL SDP support

2019-06-03 Thread Sjoerd Simons
To allow loading u-boot over USB enable SPD support in the SPL. Signed-off-by: Sjoerd Simons --- configs/mx6sabreauto_defconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configs/mx6sabreauto_defconfig b/configs/mx6sabreauto_defconfig index 91ea1ca9e4..6903048d85 100644 --- a

[U-Boot] [PATCH 5/5] mx6sabreauto: set SYS_MALLOC_F for video

2019-06-03 Thread Sjoerd Simons
erve_video to work. This is similar to the change Peng Fan did for mx6sabresd (9002e735e717) Signed-off-by: Sjoerd Simons --- configs/mx6sabreauto_defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configs/mx6sabreauto_defconfig b/configs/mx6sabreauto_defconfig

[U-Boot] [PATCH 4/5] usb: gadget: f_sdp: Allow SPL to load and boot FIT via SDP

2019-06-03 Thread Sjoerd Simons
From: Frieder Schrempf Add support for loading u-boot FIT images over the USB SPD protocol in the SPL [Small fixes to build] Signed-off-by: Sjoerd Simons --- common/spl/spl_sdp.c | 11 -- drivers/usb/gadget/f_sdp.c | 41 -- include/sdp.h

[U-Boot] [PATCH 2/5] mx6sabreauto: Select pinctrl driver

2019-06-03 Thread Sjoerd Simons
With the conversion to DM we should select the pinctrl driver. Signed-off-by: Sjoerd Simons --- configs/mx6sabreauto_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configs/mx6sabreauto_defconfig b/configs/mx6sabreauto_defconfig index bf163a2a6e..91ea1ca9e4 100644 --- a/configs

[U-Boot] [PATCH 0/5] Enable usage of SDP for i.MX6 Sabre Auto Boards

2019-06-03 Thread Sjoerd Simons
d and boot FIT via SDP Sjoerd Simons (4): mx6sabreauto: Remove CONFIG_SPL_DM to decrease the SPL size mx6sabreauto: Select pinctrl driver mx6sabreauto: Enable SPL SDP support mx6sabreauto: set SYS_MALLOC_F for video common/spl/spl_sdp.c | 11 +++-- configs/mx6sabreauto_

[U-Boot] [PATCH v2] Kconfig: Enlarge default SYS_MALLOC_F_LEN for AM33XX

2018-04-12 Thread Sjoerd Simons
o panic as CONFIG_REQUIRE_SERIAL_CONSOLE is set... Resolve this by resizing the default size of the pre-relocation malloc pool for AM335X platforms. Signed-off-by: Sjoerd Simons --- Changes in v2: - Set the default in the toplevel kConfig file rather then the omap2plus one Kconfig | 1 + 1 file

Re: [U-Boot] [PATCH] arm: mach-omap2: Enlarge SYS_MALLOC_F_LEN

2018-04-12 Thread Sjoerd Simons
On Wed, 2018-04-11 at 16:58 -0400, Tom Rini wrote: > On Wed, Apr 11, 2018 at 09:26:40PM +0200, Sjoerd Simons wrote: > > > Since commit 8e14ba7bd524 ("gpio: omap_gpio: Add DM_FLAG_PRE_RELOC > > flag") omap GPIO gets bound before relocation. Unfortunately due >

[U-Boot] [PATCH] arm: mach-omap2: Enlarge SYS_MALLOC_F_LEN

2018-04-11 Thread Sjoerd Simons
o panic as CONFIG_REQUIRE_SERIAL_CONSOLE is set... Resolve this by doubling the default size of the pre-relocation malloc pool on mach-omap2. Signed-off-by: Sjoerd Simons --- arch/arm/mach-omap2/Kconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/mach-omap2/Kconfig b/arch/arm/

  1   2   3   4   >