[U-Boot] [GIT PULL] Xilinx changes

Hi Tom,
here are patches I have collected for improving Xilinx support. I have also patches regarding moving IDENT_STRING to Kconfig but they need to be rework because simple adding it to Kconfig won't work. All boards need to be converted in this patch.
Also I have pending patches around moving ceva driver to DM which need to be reviewed by Simon.
Thanks, Michal
The following changes since commit 8cbb389bb3da80cbf8911f8386cbff92c6a78afe:
Prepare v2016.09 (2016-09-12 10:05:51 -0400)
are available in the git repository at:
git://www.denx.de/git/u-boot-microblaze.git master
for you to fetch changes up to 463265791c51dbdf16c0be763ff5bcd148964837:
ARM64: zynqmp: Enable CONFIG_AHCI via Kconfig (2016-09-14 13:11:04 +0200)
---------------------------------------------------------------- Michal Simek (12): ARM64: zynqmp: Wire up both USBs available on ZynqMP ARM64: zynqmp: Force certain bootmode for SPL ARM64: zynqmp: Fix usb_gadget_handle_interrupt routine spi: zynq: Use variable to remove u32 to u64 conversions ARM64: zynqmp: Move BSS location to the beginning of ram ARM64: zynqmp: Add USB boot mode ARM: Add new BOOT_DEVICE_DFU boot mode ARM64: zynqmp: Add support for DFU from SPL ARM64: zynqmp: Add support for USB ulpi phy reset via mode pins ARM64: zynqmp: Fix USB ulpi phy sequence ARM64: zynqmp: Add support for chip ID detection ARM64: zynqmp: Enable CONFIG_AHCI via Kconfig
Siva Durga Prasad Paladugu (1): fpga: xilinx: zynqmp: Add PL bitstream download support for ZynqMP
arch/arm/cpu/armv8/zynqmp/Kconfig | 48 +++++++++++++++++++++++++++++++++ arch/arm/cpu/armv8/zynqmp/spl.c | 30 +++++++++++++++++++++ arch/arm/include/asm/arch-zynqmp/hardware.h | 14 +++++++++- arch/arm/include/asm/spl.h | 1 + board/xilinx/zynqmp/zynqmp.c | 128 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--- configs/xilinx_zynqmp_ep_defconfig | 1 + configs/xilinx_zynqmp_zcu102_defconfig | 1 + configs/xilinx_zynqmp_zcu102_revB_defconfig | 1 + drivers/fpga/Makefile | 1 + drivers/fpga/xilinx.c | 6 +++++ drivers/fpga/zynqmppl.c | 238 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ drivers/spi/zynq_spi.c | 7 +++-- include/configs/xilinx_zynqmp.h | 43 ++++++++++++++++++++++++----- include/configs/xilinx_zynqmp_ep.h | 1 - include/xilinx.h | 2 ++ include/zynqmppl.h | 24 +++++++++++++++++ 16 files changed, 532 insertions(+), 14 deletions(-) create mode 100644 drivers/fpga/zynqmppl.c create mode 100644 include/zynqmppl.h

On Wed, Sep 14, 2016 at 01:14:37PM +0200, Michal Simek wrote:
Hi Tom,
here are patches I have collected for improving Xilinx support. I have also patches regarding moving IDENT_STRING to Kconfig but they need to be rework because simple adding it to Kconfig won't work. All boards need to be converted in this patch.
OK, pass it back over to me in patchwork and I'll take care of it.
Also I have pending patches around moving ceva driver to DM which need to be reviewed by Simon.
Thanks, Michal
The following changes since commit 8cbb389bb3da80cbf8911f8386cbff92c6a78afe:
Prepare v2016.09 (2016-09-12 10:05:51 -0400)
are available in the git repository at:
git://www.denx.de/git/u-boot-microblaze.git master
for you to fetch changes up to 463265791c51dbdf16c0be763ff5bcd148964837:
ARM64: zynqmp: Enable CONFIG_AHCI via Kconfig (2016-09-14 13:11:04 +0200)
NAK. And yes, I know the PR came before the SPL series went in along with the series to reject new Kconfig options, sorry. But on top of tree: aarch64: + xilinx_zynqmp_zc1751_xm019_dc5 +(xilinx_zynqmp_zc1751_xm019_dc5) Error: You must add new CONFIG options using Kconfig +(xilinx_zynqmp_zc1751_xm019_dc5) The following new ad-hoc CONFIG options were detected: +(xilinx_zynqmp_zc1751_xm019_dc5) CONFIG_ARM_SMC +(xilinx_zynqmp_zc1751_xm019_dc5) CONFIG_FPGA_ZYNQMPPL +(xilinx_zynqmp_zc1751_xm019_dc5) +(xilinx_zynqmp_zc1751_xm019_dc5) Please add these via Kconfig instead. Find a suitable Kconfig +(xilinx_zynqmp_zc1751_xm019_dc5) file and add a 'config' or 'menuconfig' option. +(xilinx_zynqmp_zc1751_xm019_dc5) make[1]: *** [no_new_adhoc_configs_check] Error 1 +(xilinx_zynqmp_zc1751_xm019_dc5) make: *** [sub-make] Error 2

On 18.9.2016 20:04, Tom Rini wrote:
On Wed, Sep 14, 2016 at 01:14:37PM +0200, Michal Simek wrote:
Hi Tom,
here are patches I have collected for improving Xilinx support. I have also patches regarding moving IDENT_STRING to Kconfig but they need to be rework because simple adding it to Kconfig won't work. All boards need to be converted in this patch.
OK, pass it back over to me in patchwork and I'll take care of it.
Done http://patchwork.ozlabs.org/patch/654074/
Also I have pending patches around moving ceva driver to DM which need to be reviewed by Simon.
Thanks, Michal
The following changes since commit 8cbb389bb3da80cbf8911f8386cbff92c6a78afe:
Prepare v2016.09 (2016-09-12 10:05:51 -0400)
are available in the git repository at:
git://www.denx.de/git/u-boot-microblaze.git master
for you to fetch changes up to 463265791c51dbdf16c0be763ff5bcd148964837:
ARM64: zynqmp: Enable CONFIG_AHCI via Kconfig (2016-09-14 13:11:04 +0200)
NAK. And yes, I know the PR came before the SPL series went in along with the series to reject new Kconfig options, sorry. But on top of tree: aarch64: + xilinx_zynqmp_zc1751_xm019_dc5 +(xilinx_zynqmp_zc1751_xm019_dc5) Error: You must add new CONFIG options using Kconfig +(xilinx_zynqmp_zc1751_xm019_dc5) The following new ad-hoc CONFIG options were detected: +(xilinx_zynqmp_zc1751_xm019_dc5) CONFIG_ARM_SMC +(xilinx_zynqmp_zc1751_xm019_dc5) CONFIG_FPGA_ZYNQMPPL +(xilinx_zynqmp_zc1751_xm019_dc5) +(xilinx_zynqmp_zc1751_xm019_dc5) Please add these via Kconfig instead. Find a suitable Kconfig +(xilinx_zynqmp_zc1751_xm019_dc5) file and add a 'config' or 'menuconfig' option. +(xilinx_zynqmp_zc1751_xm019_dc5) make[1]: *** [no_new_adhoc_configs_check] Error 1 +(xilinx_zynqmp_zc1751_xm019_dc5) make: *** [sub-make] Error 2
Ok. When I was running that these patches were not in the tree. Anyway I will introduce new Kconfig for fpga subsystem and fix that one particular patch.
Thanks, Michal

On Mon, Sep 19, 2016 at 12:00:27PM +0200, Michal Simek wrote:
On 18.9.2016 20:04, Tom Rini wrote:
On Wed, Sep 14, 2016 at 01:14:37PM +0200, Michal Simek wrote:
Hi Tom,
here are patches I have collected for improving Xilinx support. I have also patches regarding moving IDENT_STRING to Kconfig but they need to be rework because simple adding it to Kconfig won't work. All boards need to be converted in this patch.
OK, pass it back over to me in patchwork and I'll take care of it.
Done http://patchwork.ozlabs.org/patch/654074/
Also I have pending patches around moving ceva driver to DM which need to be reviewed by Simon.
Thanks, Michal
The following changes since commit 8cbb389bb3da80cbf8911f8386cbff92c6a78afe:
Prepare v2016.09 (2016-09-12 10:05:51 -0400)
are available in the git repository at:
git://www.denx.de/git/u-boot-microblaze.git master
for you to fetch changes up to 463265791c51dbdf16c0be763ff5bcd148964837:
ARM64: zynqmp: Enable CONFIG_AHCI via Kconfig (2016-09-14 13:11:04 +0200)
NAK. And yes, I know the PR came before the SPL series went in along with the series to reject new Kconfig options, sorry. But on top of tree: aarch64: + xilinx_zynqmp_zc1751_xm019_dc5 +(xilinx_zynqmp_zc1751_xm019_dc5) Error: You must add new CONFIG options using Kconfig +(xilinx_zynqmp_zc1751_xm019_dc5) The following new ad-hoc CONFIG options were detected: +(xilinx_zynqmp_zc1751_xm019_dc5) CONFIG_ARM_SMC +(xilinx_zynqmp_zc1751_xm019_dc5) CONFIG_FPGA_ZYNQMPPL +(xilinx_zynqmp_zc1751_xm019_dc5) +(xilinx_zynqmp_zc1751_xm019_dc5) Please add these via Kconfig instead. Find a suitable Kconfig +(xilinx_zynqmp_zc1751_xm019_dc5) file and add a 'config' or 'menuconfig' option. +(xilinx_zynqmp_zc1751_xm019_dc5) make[1]: *** [no_new_adhoc_configs_check] Error 1 +(xilinx_zynqmp_zc1751_xm019_dc5) make: *** [sub-make] Error 2
Ok. When I was running that these patches were not in the tree. Anyway I will introduce new Kconfig for fpga subsystem and fix that one particular patch.
Thanks!

Hi,
I have rebased my tree on the top of current master branch with IDENT_STRING in Kconfig. Also that PL driver for ZynqMP was fixed. Buildman output look good too. That's why please apply.
Thanks, Michal
The following changes since commit a2ed3f452dd1cf4982fe46d5111d200909786686:
Merge git://git.denx.de/u-boot-dm (2016-09-20 09:34:53 -0400)
are available in the git repository at:
git://www.denx.de/git/u-boot-microblaze.git master
for you to fetch changes up to e0027f089bb64f6b84742c580f966bf9c97c900e:
zynqmp: Remove unnnecessary board config file for dc4 (2016-09-22 07:33:21 +0200)
---------------------------------------------------------------- Michal Simek (14): fpga: Add Kconfig to fpga subsystem ARM64: zynqmp: Wire up both USBs available on ZynqMP ARM64: zynqmp: Force certain bootmode for SPL ARM64: zynqmp: Fix usb_gadget_handle_interrupt routine spi: zynq: Use variable to remove u32 to u64 conversions ARM64: zynqmp: Move BSS location to the beginning of ram ARM64: zynqmp: Add USB boot mode ARM: Add new BOOT_DEVICE_DFU boot mode ARM64: zynqmp: Add support for DFU from SPL ARM64: zynqmp: Add support for USB ulpi phy reset via mode pins ARM64: zynqmp: Fix USB ulpi phy sequence ARM64: zynqmp: Add support for chip ID detection ARM64: zynqmp: Enable CONFIG_AHCI via Kconfig ARM64: zynqmp: Use the same name for atf image everywhere
Siva Durga Prasad Paladugu (2): fpga: xilinx: zynqmp: Add PL bitstream download support for ZynqMP zynqmp: Remove unnnecessary board config file for dc4
arch/arm/cpu/armv8/zynqmp/Kconfig | 48 ++++++++++++++++++++++++++++++++ arch/arm/cpu/armv8/zynqmp/spl.c | 30 ++++++++++++++++++++ arch/arm/include/asm/arch-zynqmp/hardware.h | 14 +++++++++- arch/arm/include/asm/spl.h | 1 + board/xilinx/zynqmp/zynqmp.c | 128 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--- configs/xilinx_zynqmp_ep_defconfig | 3 ++ configs/xilinx_zynqmp_zc1751_xm015_dc1_defconfig | 2 ++ configs/xilinx_zynqmp_zc1751_xm016_dc2_defconfig | 2 ++ configs/xilinx_zynqmp_zc1751_xm018_dc4_defconfig | 3 +- configs/xilinx_zynqmp_zc1751_xm019_dc5_defconfig | 2 ++ configs/xilinx_zynqmp_zcu102_defconfig | 3 ++ configs/xilinx_zynqmp_zcu102_revB_defconfig | 3 ++ drivers/Kconfig | 2 ++ drivers/fpga/Kconfig | 20 ++++++++++++++ drivers/fpga/Makefile | 1 + drivers/fpga/xilinx.c | 6 ++++ drivers/fpga/zynqmppl.c | 238 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ drivers/spi/zynq_spi.c | 7 +++-- include/configs/xilinx_zynqmp.h | 39 +++++++++++++++++++++----- include/configs/xilinx_zynqmp_ep.h | 1 - include/configs/xilinx_zynqmp_zc1751_xm018_dc4.h | 15 ---------- include/xilinx.h | 2 ++ include/zynqmppl.h | 24 ++++++++++++++++ 23 files changed, 563 insertions(+), 31 deletions(-) create mode 100644 drivers/fpga/Kconfig create mode 100644 drivers/fpga/zynqmppl.c delete mode 100644 include/configs/xilinx_zynqmp_zc1751_xm018_dc4.h create mode 100644 include/zynqmppl.h

On Thu, Sep 22, 2016 at 09:52:26AM +0200, Michal Simek wrote:
Hi,
I have rebased my tree on the top of current master branch with IDENT_STRING in Kconfig. Also that PL driver for ZynqMP was fixed. Buildman output look good too. That's why please apply.
Thanks, Michal
The following changes since commit a2ed3f452dd1cf4982fe46d5111d200909786686:
Merge git://git.denx.de/u-boot-dm (2016-09-20 09:34:53 -0400)
are available in the git repository at:
git://www.denx.de/git/u-boot-microblaze.git master
for you to fetch changes up to e0027f089bb64f6b84742c580f966bf9c97c900e:
zynqmp: Remove unnnecessary board config file for dc4 (2016-09-22 07:33:21 +0200)
Applied to u-boot/master, thanks!
participants (2)
-
Michal Simek
-
Tom Rini