All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] arm64: zynqmp: Start usb automatically via preboot on Kria
@ 2025-04-10  8:14 Michal Simek
  2025-04-16 11:36 ` Michal Simek
  0 siblings, 1 reply; 2+ messages in thread
From: Michal Simek @ 2025-04-10  8:14 UTC (permalink / raw)
  To: u-boot, git
  Cc: Venkatesh Yadav Abbarapu, Ilias Apalodimas, John Vicky Vykuntapu,
	Prasad Kummari, Tom Rini

From: Venkatesh Yadav Abbarapu <venkatesh.abbarapu@amd.com>

U-Boot configures the USB config object which enables power for
the IP, without this the linux usb driver won't work.
So add "usb start" as part of preboot command.

Fixes: dd4a82201694 ("arm64: zynqmp: Introduce kria SOM defconfig")
Signed-off-by: Venkatesh Yadav Abbarapu <venkatesh.abbarapu@amd.com>
Signed-off-by: Michal Simek <michal.simek@amd.com>
---

 board/xilinx/zynqmp/zynqmp_kria.env | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/board/xilinx/zynqmp/zynqmp_kria.env b/board/xilinx/zynqmp/zynqmp_kria.env
index 75b604a1f767..89f48c035863 100644
--- a/board/xilinx/zynqmp/zynqmp_kria.env
+++ b/board/xilinx/zynqmp/zynqmp_kria.env
@@ -42,7 +42,7 @@ script_offset_f=0x3e80000
 script_size_f=0x80000
 scriptaddr=0x20000000
 usb_boot=usb start; if usb dev ${devnum}; then devtype=usb; run scan_dev_for_boot_part; fi
-preboot=setenv boot_targets; setenv modeboot; run board_setup
+preboot=setenv boot_targets; setenv modeboot; run board_setup; usb start
 usb_pgood_delay=1000
 
 # SOM specific boot methods
-- 
2.43.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] arm64: zynqmp: Start usb automatically via preboot on Kria
  2025-04-10  8:14 [PATCH] arm64: zynqmp: Start usb automatically via preboot on Kria Michal Simek
@ 2025-04-16 11:36 ` Michal Simek
  0 siblings, 0 replies; 2+ messages in thread
From: Michal Simek @ 2025-04-16 11:36 UTC (permalink / raw)
  To: u-boot, git
  Cc: Venkatesh Yadav Abbarapu, Ilias Apalodimas, John Vicky Vykuntapu,
	Prasad Kummari, Tom Rini

On 4/10/25 10:14, Michal Simek wrote:
> From: Venkatesh Yadav Abbarapu <venkatesh.abbarapu@amd.com>
> 
> U-Boot configures the USB config object which enables power for
> the IP, without this the linux usb driver won't work.
> So add "usb start" as part of preboot command.
> 
> Fixes: dd4a82201694 ("arm64: zynqmp: Introduce kria SOM defconfig")
> Signed-off-by: Venkatesh Yadav Abbarapu <venkatesh.abbarapu@amd.com>
> Signed-off-by: Michal Simek <michal.simek@amd.com>
> ---
> 
>   board/xilinx/zynqmp/zynqmp_kria.env | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/board/xilinx/zynqmp/zynqmp_kria.env b/board/xilinx/zynqmp/zynqmp_kria.env
> index 75b604a1f767..89f48c035863 100644
> --- a/board/xilinx/zynqmp/zynqmp_kria.env
> +++ b/board/xilinx/zynqmp/zynqmp_kria.env
> @@ -42,7 +42,7 @@ script_offset_f=0x3e80000
>   script_size_f=0x80000
>   scriptaddr=0x20000000
>   usb_boot=usb start; if usb dev ${devnum}; then devtype=usb; run scan_dev_for_boot_part; fi
> -preboot=setenv boot_targets; setenv modeboot; run board_setup
> +preboot=setenv boot_targets; setenv modeboot; run board_setup; usb start
>   usb_pgood_delay=1000
>   
>   # SOM specific boot methods

Applied.
M

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-04-16 11:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-10  8:14 [PATCH] arm64: zynqmp: Start usb automatically via preboot on Kria Michal Simek
2025-04-16 11:36 ` Michal Simek

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.