All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH 0/7] arm64: versal: Enable several features
@ 2019-10-14 11:04 Michal Simek
  2019-10-14 11:04 ` [U-Boot] [PATCH 1/7] arm64: versal: Enable LIBFDT_OVERLAY Michal Simek
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: Michal Simek @ 2019-10-14 11:04 UTC (permalink / raw)
  To: u-boot

Hi,

time is coming up and more and more features are validated and enabled on
this platform. This patches enable things which are already in mainline.

Thanks,
Michal


Michal Simek (2):
  arm64: versal: Enable LIBFDT_OVERLAY
  arm64: versal: Enable USB driver support

Siva Durga Prasad Paladugu (5):
  arm64: versal: Enable CLK command
  arm64: versal: Increase SYS_MALLOC_F_LEN
  arm64: versal: Update boot delay to perform autoboot
  arm64: versal: Enable bit stream loading support for versal platform.
  arm64: versal: Enable UHS support

 configs/xilinx_versal_virt_defconfig | 33 ++++++++++++++++++++++++++--
 1 file changed, 31 insertions(+), 2 deletions(-)

-- 
2.17.1

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

* [U-Boot] [PATCH 1/7] arm64: versal: Enable LIBFDT_OVERLAY
  2019-10-14 11:04 [U-Boot] [PATCH 0/7] arm64: versal: Enable several features Michal Simek
@ 2019-10-14 11:04 ` Michal Simek
  2019-10-14 11:04 ` [U-Boot] [PATCH 2/7] arm64: versal: Enable USB driver support Michal Simek
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: Michal Simek @ 2019-10-14 11:04 UTC (permalink / raw)
  To: u-boot

Enable device tree overlay to build all dtbs for Versal with -@ flag to
enable applying overlays.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
---

 configs/xilinx_versal_virt_defconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/configs/xilinx_versal_virt_defconfig b/configs/xilinx_versal_virt_defconfig
index f5ce8a0a1e88..2c6c17481368 100644
--- a/configs/xilinx_versal_virt_defconfig
+++ b/configs/xilinx_versal_virt_defconfig
@@ -70,4 +70,5 @@ CONFIG_PL01X_SERIAL=y
 CONFIG_SPI=y
 CONFIG_DM_SPI=y
 CONFIG_FAT_WRITE=y
+CONFIG_OF_LIBFDT_OVERLAY=y
 CONFIG_EFI_LOADER_BOUNCE_BUFFER=y
-- 
2.17.1

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

* [U-Boot] [PATCH 2/7] arm64: versal: Enable USB driver support
  2019-10-14 11:04 [U-Boot] [PATCH 0/7] arm64: versal: Enable several features Michal Simek
  2019-10-14 11:04 ` [U-Boot] [PATCH 1/7] arm64: versal: Enable LIBFDT_OVERLAY Michal Simek
@ 2019-10-14 11:04 ` Michal Simek
  2019-10-14 11:04 ` [U-Boot] [PATCH 3/7] arm64: versal: Enable CLK command Michal Simek
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: Michal Simek @ 2019-10-14 11:04 UTC (permalink / raw)
  To: u-boot

This patch adds usb host and device mode support for Xilinx
Versal virtual platform. By default USB host functionality
is enabled. To use in usb device mode, set dr_mode property
in DT to peripheral.

Signed-off-by: Siva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
---

 configs/xilinx_versal_virt_defconfig | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/configs/xilinx_versal_virt_defconfig b/configs/xilinx_versal_virt_defconfig
index 2c6c17481368..348ea17cf109 100644
--- a/configs/xilinx_versal_virt_defconfig
+++ b/configs/xilinx_versal_virt_defconfig
@@ -17,12 +17,14 @@ CONFIG_SYS_PROMPT="Versal> "
 CONFIG_CMD_BOOTMENU=y
 CONFIG_CMD_MEMTEST=y
 CONFIG_SYS_ALT_MEMTEST=y
+CONFIG_CMD_DFU=y
 CONFIG_CMD_DM=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_GPIO=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_MMC=y
 CONFIG_CMD_SF=y
+CONFIG_CMD_USB=y
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_TFTPPUT=y
 CONFIG_CMD_MII=y
@@ -44,9 +46,11 @@ CONFIG_NET_RANDOM_ETHADDR=y
 CONFIG_IP_DEFRAG=y
 CONFIG_TFTP_BLOCKSIZE=4096
 CONFIG_CLK_VERSAL=y
+CONFIG_DFU_RAM=y
 CONFIG_DM_GPIO=y
 CONFIG_DM_I2C=y
 CONFIG_SYS_I2C_CADENCE=y
+CONFIG_MISC=y
 CONFIG_MMC_SDHCI=y
 CONFIG_MMC_SDHCI_ZYNQ=y
 CONFIG_DM_SPI_FLASH=y
@@ -69,6 +73,23 @@ CONFIG_ZYNQ_GEM=y
 CONFIG_PL01X_SERIAL=y
 CONFIG_SPI=y
 CONFIG_DM_SPI=y
+CONFIG_USB=y
+CONFIG_DM_USB=y
+CONFIG_DM_USB_GADGET=y
+CONFIG_USB_XHCI_HCD=y
+CONFIG_USB_XHCI_DWC3=y
+CONFIG_USB_DWC3=y
+CONFIG_USB_DWC3_GADGET=y
+CONFIG_USB_DWC3_GENERIC=y
+CONFIG_USB_ULPI_VIEWPORT=y
+CONFIG_USB_ULPI=y
+CONFIG_USB_STORAGE=y
+CONFIG_USB_GADGET=y
+CONFIG_USB_GADGET_MANUFACTURER="Xilinx"
+CONFIG_USB_GADGET_VENDOR_NUM=0x03FD
+CONFIG_USB_GADGET_PRODUCT_NUM=0x0300
+CONFIG_USB_GADGET_DOWNLOAD=y
+CONFIG_USB_FUNCTION_THOR=y
 CONFIG_FAT_WRITE=y
 CONFIG_OF_LIBFDT_OVERLAY=y
 CONFIG_EFI_LOADER_BOUNCE_BUFFER=y
-- 
2.17.1

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

* [U-Boot] [PATCH 3/7] arm64: versal: Enable CLK command
  2019-10-14 11:04 [U-Boot] [PATCH 0/7] arm64: versal: Enable several features Michal Simek
  2019-10-14 11:04 ` [U-Boot] [PATCH 1/7] arm64: versal: Enable LIBFDT_OVERLAY Michal Simek
  2019-10-14 11:04 ` [U-Boot] [PATCH 2/7] arm64: versal: Enable USB driver support Michal Simek
@ 2019-10-14 11:04 ` Michal Simek
  2019-10-14 11:04 ` [U-Boot] [PATCH 4/7] arm64: versal: Increase SYS_MALLOC_F_LEN Michal Simek
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: Michal Simek @ 2019-10-14 11:04 UTC (permalink / raw)
  To: u-boot

From: Siva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com>

Enables clock command for dumping clocks.

Signed-off-by: Siva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
---

 configs/xilinx_versal_virt_defconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/configs/xilinx_versal_virt_defconfig b/configs/xilinx_versal_virt_defconfig
index 348ea17cf109..ebee6d61e6b9 100644
--- a/configs/xilinx_versal_virt_defconfig
+++ b/configs/xilinx_versal_virt_defconfig
@@ -17,6 +17,7 @@ CONFIG_SYS_PROMPT="Versal> "
 CONFIG_CMD_BOOTMENU=y
 CONFIG_CMD_MEMTEST=y
 CONFIG_SYS_ALT_MEMTEST=y
+CONFIG_CMD_CLK=y
 CONFIG_CMD_DFU=y
 CONFIG_CMD_DM=y
 # CONFIG_CMD_FLASH is not set
-- 
2.17.1

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

* [U-Boot] [PATCH 4/7] arm64: versal: Increase SYS_MALLOC_F_LEN
  2019-10-14 11:04 [U-Boot] [PATCH 0/7] arm64: versal: Enable several features Michal Simek
                   ` (2 preceding siblings ...)
  2019-10-14 11:04 ` [U-Boot] [PATCH 3/7] arm64: versal: Enable CLK command Michal Simek
@ 2019-10-14 11:04 ` Michal Simek
  2019-10-14 11:04 ` [U-Boot] [PATCH 5/7] arm64: versal: Update boot delay to perform autoboot Michal Simek
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: Michal Simek @ 2019-10-14 11:04 UTC (permalink / raw)
  To: u-boot

From: Siva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com>

This patch increases SYS_MALLOC_F_LEN as the versal clock
driver needs to be probed before relocation itself inorder
to get required clocks before relocation.

Signed-off-by: Siva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
---

 configs/xilinx_versal_virt_defconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configs/xilinx_versal_virt_defconfig b/configs/xilinx_versal_virt_defconfig
index ebee6d61e6b9..5300a27f6d41 100644
--- a/configs/xilinx_versal_virt_defconfig
+++ b/configs/xilinx_versal_virt_defconfig
@@ -1,7 +1,7 @@
 CONFIG_ARM=y
 CONFIG_ARCH_VERSAL=y
 CONFIG_SYS_TEXT_BASE=0x8000000
-CONFIG_SYS_MALLOC_F_LEN=0x8000
+CONFIG_SYS_MALLOC_F_LEN=0x100000
 CONFIG_COUNTER_FREQUENCY=62500000
 CONFIG_ENV_VARS_UBOOT_CONFIG=y
 CONFIG_FIT=y
-- 
2.17.1

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

* [U-Boot] [PATCH 5/7] arm64: versal: Update boot delay to perform autoboot
  2019-10-14 11:04 [U-Boot] [PATCH 0/7] arm64: versal: Enable several features Michal Simek
                   ` (3 preceding siblings ...)
  2019-10-14 11:04 ` [U-Boot] [PATCH 4/7] arm64: versal: Increase SYS_MALLOC_F_LEN Michal Simek
@ 2019-10-14 11:04 ` Michal Simek
  2019-10-14 11:04 ` [U-Boot] [PATCH 6/7] arm64: versal: Enable bit stream loading support for versal platform Michal Simek
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: Michal Simek @ 2019-10-14 11:04 UTC (permalink / raw)
  To: u-boot

From: Siva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com>

Update boot delay to 5 for performing autoboot.

Signed-off-by: Siva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
---

 configs/xilinx_versal_virt_defconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configs/xilinx_versal_virt_defconfig b/configs/xilinx_versal_virt_defconfig
index 5300a27f6d41..548024006869 100644
--- a/configs/xilinx_versal_virt_defconfig
+++ b/configs/xilinx_versal_virt_defconfig
@@ -7,7 +7,7 @@ CONFIG_ENV_VARS_UBOOT_CONFIG=y
 CONFIG_FIT=y
 CONFIG_FIT_VERBOSE=y
 # CONFIG_ARCH_FIXUP_FDT_MEMORY is not set
-CONFIG_BOOTDELAY=-1
+CONFIG_BOOTDELAY=5
 CONFIG_SUPPORT_RAW_INITRD=y
 # CONFIG_BOARD_LATE_INIT is not set
 # CONFIG_DISPLAY_CPUINFO is not set
-- 
2.17.1

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

* [U-Boot] [PATCH 6/7] arm64: versal: Enable bit stream loading support for versal platform.
  2019-10-14 11:04 [U-Boot] [PATCH 0/7] arm64: versal: Enable several features Michal Simek
                   ` (4 preceding siblings ...)
  2019-10-14 11:04 ` [U-Boot] [PATCH 5/7] arm64: versal: Update boot delay to perform autoboot Michal Simek
@ 2019-10-14 11:04 ` Michal Simek
  2019-10-14 11:04 ` [U-Boot] [PATCH 7/7] arm64: versal: Enable UHS support Michal Simek
  2019-10-24 11:20 ` [U-Boot] [PATCH 0/7] arm64: versal: Enable several features Michal Simek
  7 siblings, 0 replies; 9+ messages in thread
From: Michal Simek @ 2019-10-14 11:04 UTC (permalink / raw)
  To: u-boot

From: Siva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com>

This patch enables bitstream loading support for Versal platform.

Signed-off-by: Siva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
---

 configs/xilinx_versal_virt_defconfig | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/configs/xilinx_versal_virt_defconfig b/configs/xilinx_versal_virt_defconfig
index 548024006869..940f1539b6f8 100644
--- a/configs/xilinx_versal_virt_defconfig
+++ b/configs/xilinx_versal_virt_defconfig
@@ -48,6 +48,8 @@ CONFIG_IP_DEFRAG=y
 CONFIG_TFTP_BLOCKSIZE=4096
 CONFIG_CLK_VERSAL=y
 CONFIG_DFU_RAM=y
+CONFIG_FPGA_XILINX=y
+CONFIG_FPGA_VERSALPL=y
 CONFIG_DM_GPIO=y
 CONFIG_DM_I2C=y
 CONFIG_SYS_I2C_CADENCE=y
-- 
2.17.1

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

* [U-Boot] [PATCH 7/7] arm64: versal: Enable UHS support
  2019-10-14 11:04 [U-Boot] [PATCH 0/7] arm64: versal: Enable several features Michal Simek
                   ` (5 preceding siblings ...)
  2019-10-14 11:04 ` [U-Boot] [PATCH 6/7] arm64: versal: Enable bit stream loading support for versal platform Michal Simek
@ 2019-10-14 11:04 ` Michal Simek
  2019-10-24 11:20 ` [U-Boot] [PATCH 0/7] arm64: versal: Enable several features Michal Simek
  7 siblings, 0 replies; 9+ messages in thread
From: Michal Simek @ 2019-10-14 11:04 UTC (permalink / raw)
  To: u-boot

From: Siva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com>

This patch enables UHS support for Versal platforms.

Signed-off-by: Ashok Reddy Soma <ashok.reddy.soma@xilinx.com>
Signed-off-by: Siva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
---

 configs/xilinx_versal_virt_defconfig | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/configs/xilinx_versal_virt_defconfig b/configs/xilinx_versal_virt_defconfig
index 940f1539b6f8..1717039dc0d1 100644
--- a/configs/xilinx_versal_virt_defconfig
+++ b/configs/xilinx_versal_virt_defconfig
@@ -54,8 +54,12 @@ CONFIG_DM_GPIO=y
 CONFIG_DM_I2C=y
 CONFIG_SYS_I2C_CADENCE=y
 CONFIG_MISC=y
+CONFIG_MMC_IO_VOLTAGE=y
+CONFIG_MMC_UHS_SUPPORT=y
+CONFIG_MMC_HS400_SUPPORT=y
 CONFIG_MMC_SDHCI=y
 CONFIG_MMC_SDHCI_ZYNQ=y
+CONFIG_ZYNQ_SDHCI_MIN_FREQ=100000
 CONFIG_DM_SPI_FLASH=y
 CONFIG_SPI_FLASH=y
 CONFIG_SPI_FLASH_MACRONIX=y
-- 
2.17.1

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

* [U-Boot] [PATCH 0/7] arm64: versal: Enable several features
  2019-10-14 11:04 [U-Boot] [PATCH 0/7] arm64: versal: Enable several features Michal Simek
                   ` (6 preceding siblings ...)
  2019-10-14 11:04 ` [U-Boot] [PATCH 7/7] arm64: versal: Enable UHS support Michal Simek
@ 2019-10-24 11:20 ` Michal Simek
  7 siblings, 0 replies; 9+ messages in thread
From: Michal Simek @ 2019-10-24 11:20 UTC (permalink / raw)
  To: u-boot

po 14. 10. 2019 v 13:04 odesílatel Michal Simek
<michal.simek@xilinx.com> napsal:
>
> Hi,
>
> time is coming up and more and more features are validated and enabled on
> this platform. This patches enable things which are already in mainline.
>
> Thanks,
> Michal
>
>
> Michal Simek (2):
>   arm64: versal: Enable LIBFDT_OVERLAY
>   arm64: versal: Enable USB driver support
>
> Siva Durga Prasad Paladugu (5):
>   arm64: versal: Enable CLK command
>   arm64: versal: Increase SYS_MALLOC_F_LEN
>   arm64: versal: Update boot delay to perform autoboot
>   arm64: versal: Enable bit stream loading support for versal platform.
>   arm64: versal: Enable UHS support
>
>  configs/xilinx_versal_virt_defconfig | 33 ++++++++++++++++++++++++++--
>  1 file changed, 31 insertions(+), 2 deletions(-)
>
> --
> 2.17.1
>

Applied all.
M


-- 
Michal Simek, Ing. (M.Eng), OpenPGP -> KeyID: FE3D1F91
w: www.monstr.eu p: +42-0-721842854
Maintainer of Linux kernel - Xilinx Microblaze
Maintainer of Linux kernel - Xilinx Zynq ARM and ZynqMP ARM64 SoCs
U-Boot custodian - Xilinx Microblaze/Zynq/ZynqMP/Versal SoCs

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

end of thread, other threads:[~2019-10-24 11:20 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-14 11:04 [U-Boot] [PATCH 0/7] arm64: versal: Enable several features Michal Simek
2019-10-14 11:04 ` [U-Boot] [PATCH 1/7] arm64: versal: Enable LIBFDT_OVERLAY Michal Simek
2019-10-14 11:04 ` [U-Boot] [PATCH 2/7] arm64: versal: Enable USB driver support Michal Simek
2019-10-14 11:04 ` [U-Boot] [PATCH 3/7] arm64: versal: Enable CLK command Michal Simek
2019-10-14 11:04 ` [U-Boot] [PATCH 4/7] arm64: versal: Increase SYS_MALLOC_F_LEN Michal Simek
2019-10-14 11:04 ` [U-Boot] [PATCH 5/7] arm64: versal: Update boot delay to perform autoboot Michal Simek
2019-10-14 11:04 ` [U-Boot] [PATCH 6/7] arm64: versal: Enable bit stream loading support for versal platform Michal Simek
2019-10-14 11:04 ` [U-Boot] [PATCH 7/7] arm64: versal: Enable UHS support Michal Simek
2019-10-24 11:20 ` [U-Boot] [PATCH 0/7] arm64: versal: Enable several features 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.