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
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.
> >
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
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_
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
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
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
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
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
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
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
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
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
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
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
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
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
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.
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
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
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
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
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
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),
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
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
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
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
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
-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
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
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
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
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)
>
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
---
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
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
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
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.
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
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
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
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
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
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.
> >
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
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
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
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.
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
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
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
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
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
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
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
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
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
> >
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 @@
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
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
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
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).
&
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
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
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,
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
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
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
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
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
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
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
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
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
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
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 --
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
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
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
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
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_
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
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
>
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 - 100 of 339 matches
Mail list logo