Skip to contentSkip to conversation

configs: zynqmp: Add usb_pgood_delay for SOM boards

PATCH Michal Simek 1 participant 1 message Jan 14, 2025 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
Quoted 28 lines · Prasad Kummari

Add usb_pgood_delay to ensure proper detection of USB devices. Increase the USB power good delay on the SOM boards, as this is required for certain USB sticks otherwise, they may not be detected.

---
  board/xilinx/zynqmp/zynqmp_kria.env | 1 +
  include/configs/xilinx_zynqmp.h     | 1 +
  2 files changed, 2 insertions(+)
board/xilinx/zynqmp/zynqmp_kria.env +1 -0
index ff3a0924de..c0a22fbf67 100644
@@ -43,6 +43,7 @@ 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
+usb_pgood_delay=1000
 
  # SOM specific boot methods
  usb_boot_devices='usb0 usb1 usb2 usb3 usb4'
include/configs/xilinx_zynqmp.h +0 -0
index bb0db7c5ca..13941ba358 100644

include/configs/xilinx_zynqmp.h line 185

Quoted 7 lines
include/configs/xilinx_zynqmp.h +1 -0
@@ -179,6 +179,7 @@
  #ifndef CFG_EXTRA_ENV_SETTINGS
  #define CFG_EXTRA_ENV_SETTINGS \
  	ENV_MEM_LAYOUT_SETTINGS \
+	"usb_pgood_delay=1000\0" \
  	BOOTENV
  #endif
 

The patch looks good but it didn't land in u-boot mailing list and lore. Can you please send it again?

Thanks,
Michal