[U-Boot] [GIT PULL] Zynq patches

Hi Albert,
here are all patches which I have in my queue for Xilinx Zynq.
clk changes depends on clk command which has been added recently. (common/cmd_clk.c) that's why this tree is based on 3 days old Tom's tree.
Thanks, Michal
The following changes since commit dbf3de2dd26cae37d16b00b348828c883b658cc5:
include/usb/s3c_udc.h: Add <asm/sizes.h> (2014-02-06 14:26:05 -0500)
are available in the git repository at:
git://www.denx.de/git/u-boot-microblaze.git zynq
for you to fetch changes up to 229f856da6f12ee30d43bcdf8111816f7945ccbe:
zynq: Add support for U-BOOT SPL (2014-02-10 10:01:13 +0100)
---------------------------------------------------------------- Michal Simek (13): zynq: Do not explicitely enable icache zynq: Enable dcache support zynq: Fix incorrect header name zynq: Extend kernel image size to 20MB zynq: Use full tftpboot command instead of shortcut tftp zynq: Enable tftp put command zynq: Use board_eth_init if CMD_NET is not enabled zynq: Move bootmode to headers zynq: serial: Simplify serial driver initialization zynq: timer: Fix hangs if network activity attempted after about one hour zynq: Update CLK in bdinfo zynq: Fix elf header generation zynq: Add support for U-BOOT SPL
Soren Brinkmann (7): common: Provide DIV_ROUND_CLOSEST macro zynq: Provide a framework to read clock frequencies zynq: timer: Migrate to zynq clock framework net: zynq_gem: Move RCLK details out of driver net: zynq_gem: Calculate clock dividers dynamically serial_zynq: Migrate to Zynq clock framework zynq: Implement dump clock command
arch/arm/cpu/armv7/zynq/Makefile | 2 + arch/arm/cpu/armv7/zynq/clk.c | 664 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ arch/arm/cpu/armv7/zynq/cpu.c | 14 +- arch/arm/cpu/armv7/zynq/slcr.c | 17 +- arch/arm/cpu/armv7/zynq/spl.c | 69 ++++++++ arch/arm/cpu/armv7/zynq/timer.c | 13 +- arch/arm/cpu/armv7/zynq/u-boot-spl.lds | 61 +++++++ arch/arm/cpu/armv7/zynq/u-boot.lds | 99 ++++++++++++ arch/arm/include/asm/arch-zynq/clk.h | 29 ++++ arch/arm/include/asm/arch-zynq/hardware.h | 40 ++++- arch/arm/include/asm/arch-zynq/spl.h | 18 +++ arch/arm/include/asm/arch-zynq/sys_proto.h | 2 +- board/xilinx/zynq/Makefile | 1 + board/xilinx/zynq/board.c | 10 -- board/xilinx/zynq/ps7_init.c | 12 ++ drivers/net/zynq_gem.c | 20 +-- drivers/serial/serial_zynq.c | 33 ++-- include/common.h | 16 ++ include/configs/zynq-common.h | 106 ++++++++++--- include/configs/zynq_zc70x.h | 2 +- include/configs/zynq_zed.h | 2 +- 21 files changed, 1156 insertions(+), 74 deletions(-) create mode 100644 arch/arm/cpu/armv7/zynq/clk.c create mode 100644 arch/arm/cpu/armv7/zynq/spl.c create mode 100644 arch/arm/cpu/armv7/zynq/u-boot-spl.lds create mode 100644 arch/arm/cpu/armv7/zynq/u-boot.lds create mode 100644 arch/arm/include/asm/arch-zynq/clk.h create mode 100644 arch/arm/include/asm/arch-zynq/spl.h create mode 100644 board/xilinx/zynq/ps7_init.c

Hi Michal,
On Mon, 10 Feb 2014 10:25:19 +0100, Michal Simek monstr@monstr.eu wrote:
Hi Albert,
here are all patches which I have in my queue for Xilinx Zynq.
clk changes depends on clk command which has been added recently. (common/cmd_clk.c) that's why this tree is based on 3 days old Tom's tree.
Thanks, Michal
This has the current tftpboot patch, affecting only the Zynq config. Does it mean you prefer not to extend the patch to even short env variables in other configs ?
Amicalement,

Hi Albert,
On 02/10/2014 10:44 AM, Albert ARIBAUD wrote:
Hi Michal,
On Mon, 10 Feb 2014 10:25:19 +0100, Michal Simek monstr@monstr.eu wrote:
Hi Albert,
here are all patches which I have in my queue for Xilinx Zynq.
clk changes depends on clk command which has been added recently. (common/cmd_clk.c) that's why this tree is based on 3 days old Tom's tree.
Thanks, Michal
This has the current tftpboot patch, affecting only the Zynq config. Does it mean you prefer not to extend the patch to even short env variables in other configs ?
It affects because in the next patch I am enabling tftpput command.
My preference is to have tftp->tftpboot discussion out of my zynq series because it can/should end up in more generic discussion if we should use shortcuts in variables in general in uboot. If you git grep "tftp " you will see that all readmes should be also fixed and probably we can check others commands too.
Thanks, Michal

Hi Michal,
On Mon, 10 Feb 2014 10:25:19 +0100, Michal Simek monstr@monstr.eu wrote:
Hi Albert,
here are all patches which I have in my queue for Xilinx Zynq.
clk changes depends on clk command which has been added recently. (common/cmd_clk.c) that's why this tree is based on 3 days old Tom's tree.
Thanks, Michal
The following changes since commit dbf3de2dd26cae37d16b00b348828c883b658cc5:
include/usb/s3c_udc.h: Add <asm/sizes.h> (2014-02-06 14:26:05 -0500)
are available in the git repository at:
git://www.denx.de/git/u-boot-microblaze.git zynq
for you to fetch changes up to 229f856da6f12ee30d43bcdf8111816f7945ccbe:
zynq: Add support for U-BOOT SPL (2014-02-10 10:01:13 +0100)
Seems like this pulls in a lot more than simply your 13 patches. Can you check this on your side?
Amicalement,

On 02/13/2014 04:12 PM, Albert ARIBAUD wrote:
Hi Michal,
On Mon, 10 Feb 2014 10:25:19 +0100, Michal Simek monstr@monstr.eu wrote:
Hi Albert,
here are all patches which I have in my queue for Xilinx Zynq.
clk changes depends on clk command which has been added recently. (common/cmd_clk.c) that's why this tree is based on 3 days old Tom's tree.
Thanks, Michal
The following changes since commit dbf3de2dd26cae37d16b00b348828c883b658cc5:
include/usb/s3c_udc.h: Add <asm/sizes.h> (2014-02-06 14:26:05 -0500)
are available in the git repository at:
git://www.denx.de/git/u-boot-microblaze.git zynq
for you to fetch changes up to 229f856da6f12ee30d43bcdf8111816f7945ccbe:
zynq: Add support for U-BOOT SPL (2014-02-10 10:01:13 +0100)
Seems like this pulls in a lot more than simply your 13 patches. Can you check this on your side?
Where have you taken number 13? patchwork? I can find out the status on that there too.
In pull request was 20 and in my branch is also 20 patches which I have collected. I believe all of them have been properly sent for review.
Thanks, Michal

Hi Michal,
On Thu, 13 Feb 2014 16:30:37 +0100, Michal Simek monstr@monstr.eu wrote:
On 02/13/2014 04:12 PM, Albert ARIBAUD wrote:
Hi Michal,
On Mon, 10 Feb 2014 10:25:19 +0100, Michal Simek monstr@monstr.eu wrote:
Hi Albert,
here are all patches which I have in my queue for Xilinx Zynq.
clk changes depends on clk command which has been added recently. (common/cmd_clk.c) that's why this tree is based on 3 days old Tom's tree.
Thanks, Michal
The following changes since commit dbf3de2dd26cae37d16b00b348828c883b658cc5:
include/usb/s3c_udc.h: Add <asm/sizes.h> (2014-02-06 14:26:05 -0500)
are available in the git repository at:
git://www.denx.de/git/u-boot-microblaze.git zynq
for you to fetch changes up to 229f856da6f12ee30d43bcdf8111816f7945ccbe:
zynq: Add support for U-BOOT SPL (2014-02-10 10:01:13 +0100)
Seems like this pulls in a lot more than simply your 13 patches. Can you check this on your side?
Where have you taken number 13? patchwork? I can find out the status on that there too.
(13+7 in fact, but issue discussed on IRC with Michal => I'll be sending a PR to Tom's u-boot/master branch)
In pull request was 20 and in my branch is also 20 patches which I have collected. I believe all of them have been properly sent for review.
Thanks, Michal
Amicalement,

Hi Albert,
here is the second pull request with the rest of changes for zynq which haven't been applied. I have rebased my repo based on your master/next branch.
As I wrote this pull request has on more patch from Siva about fixing bug in lldiv function. Compare to the first there is just 11 my patches because 2 were already applied.
Please ping me if there is something wrong.
Thanks, Michal
The following changes since commit a87a0ce7028d5371c81d77ba72c1ba43a1ca77bc:
Merge branch 'u-boot-pxa/master' into 'u-boot-arm/master' (2014-02-19 07:15:01 +0100)
are available in the git repository at:
git://www.denx.de/git/u-boot-microblaze.git zynq
for you to fetch changes up to e158665c1e4c4665302f0d95e26b7c7e6b70a83c:
arm: zynq: correct the argument to lldiv (2014-02-19 09:41:22 +0100)
---------------------------------------------------------------- Michal Simek (11): zynq: Do not explicitely enable icache zynq: Enable dcache support zynq: Fix incorrect header name zynq: Extend kernel image size to 20MB zynq: Enable tftp put command zynq: Use board_eth_init if CMD_NET is not enabled zynq: Move bootmode to headers zynq: serial: Simplify serial driver initialization zynq: timer: Fix hangs if network activity attempted after about one hour zynq: Update CLK in bdinfo zynq: Add support for U-BOOT SPL
Siva Durga Prasad Paladugu (1): arm: zynq: correct the argument to lldiv
Soren Brinkmann (7): common: Provide DIV_ROUND_CLOSEST macro zynq: Provide a framework to read clock frequencies zynq: timer: Migrate to zynq clock framework net: zynq_gem: Move RCLK details out of driver net: zynq_gem: Calculate clock dividers dynamically serial_zynq: Migrate to Zynq clock framework zynq: Implement dump clock command
arch/arm/cpu/armv7/zynq/Makefile | 2 + arch/arm/cpu/armv7/zynq/clk.c | 664 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ arch/arm/cpu/armv7/zynq/cpu.c | 14 ++- arch/arm/cpu/armv7/zynq/slcr.c | 17 +-- arch/arm/cpu/armv7/zynq/spl.c | 69 +++++++++++ arch/arm/cpu/armv7/zynq/timer.c | 14 ++- arch/arm/cpu/armv7/zynq/u-boot-spl.lds | 61 ++++++++++ arch/arm/include/asm/arch-zynq/clk.h | 29 +++++ arch/arm/include/asm/arch-zynq/hardware.h | 40 ++++++- arch/arm/include/asm/arch-zynq/spl.h | 18 +++ arch/arm/include/asm/arch-zynq/sys_proto.h | 2 +- board/xilinx/zynq/Makefile | 1 + board/xilinx/zynq/board.c | 10 -- board/xilinx/zynq/ps7_init.c | 12 ++ drivers/net/zynq_gem.c | 20 ++-- drivers/serial/serial_zynq.c | 33 +++-- include/common.h | 16 +++ include/configs/zynq-common.h | 102 +++++++++++++--- include/configs/zynq_zc70x.h | 2 +- include/configs/zynq_zed.h | 2 +- 20 files changed, 1055 insertions(+), 73 deletions(-) create mode 100644 arch/arm/cpu/armv7/zynq/clk.c create mode 100644 arch/arm/cpu/armv7/zynq/spl.c create mode 100644 arch/arm/cpu/armv7/zynq/u-boot-spl.lds create mode 100644 arch/arm/include/asm/arch-zynq/clk.h create mode 100644 arch/arm/include/asm/arch-zynq/spl.h create mode 100644 board/xilinx/zynq/ps7_init.c

Hi Michal,
On Wed, 19 Feb 2014 09:48:13 +0100, Michal Simek monstr@monstr.eu wrote:
Hi Albert,
here is the second pull request with the rest of changes for zynq which haven't been applied. I have rebased my repo based on your master/next branch.
As I wrote this pull request has on more patch from Siva about fixing bug in lldiv function. Compare to the first there is just 11 my patches because 2 were already applied.
Please ping me if there is something wrong.
Thanks, Michal
The following changes since commit a87a0ce7028d5371c81d77ba72c1ba43a1ca77bc:
Merge branch 'u-boot-pxa/master' into 'u-boot-arm/master' (2014-02-19 07:15:01 +0100)
are available in the git repository at:
git://www.denx.de/git/u-boot-microblaze.git zynq
for you to fetch changes up to e158665c1e4c4665302f0d95e26b7c7e6b70a83c:
arm: zynq: correct the argument to lldiv (2014-02-19 09:41:22 +0100)
Michal Simek (11): zynq: Do not explicitely enable icache zynq: Enable dcache support zynq: Fix incorrect header name zynq: Extend kernel image size to 20MB zynq: Enable tftp put command zynq: Use board_eth_init if CMD_NET is not enabled zynq: Move bootmode to headers zynq: serial: Simplify serial driver initialization zynq: timer: Fix hangs if network activity attempted after about one hour zynq: Update CLK in bdinfo zynq: Add support for U-BOOT SPL
Siva Durga Prasad Paladugu (1): arm: zynq: correct the argument to lldiv
Soren Brinkmann (7): common: Provide DIV_ROUND_CLOSEST macro zynq: Provide a framework to read clock frequencies zynq: timer: Migrate to zynq clock framework net: zynq_gem: Move RCLK details out of driver net: zynq_gem: Calculate clock dividers dynamically serial_zynq: Migrate to Zynq clock framework zynq: Implement dump clock command
arch/arm/cpu/armv7/zynq/Makefile | 2 + arch/arm/cpu/armv7/zynq/clk.c | 664 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ arch/arm/cpu/armv7/zynq/cpu.c | 14 ++- arch/arm/cpu/armv7/zynq/slcr.c | 17 +-- arch/arm/cpu/armv7/zynq/spl.c | 69 +++++++++++ arch/arm/cpu/armv7/zynq/timer.c | 14 ++- arch/arm/cpu/armv7/zynq/u-boot-spl.lds | 61 ++++++++++ arch/arm/include/asm/arch-zynq/clk.h | 29 +++++ arch/arm/include/asm/arch-zynq/hardware.h | 40 ++++++- arch/arm/include/asm/arch-zynq/spl.h | 18 +++ arch/arm/include/asm/arch-zynq/sys_proto.h | 2 +- board/xilinx/zynq/Makefile | 1 + board/xilinx/zynq/board.c | 10 -- board/xilinx/zynq/ps7_init.c | 12 ++ drivers/net/zynq_gem.c | 20 ++-- drivers/serial/serial_zynq.c | 33 +++-- include/common.h | 16 +++ include/configs/zynq-common.h | 102 +++++++++++++--- include/configs/zynq_zc70x.h | 2 +- include/configs/zynq_zed.h | 2 +- 20 files changed, 1055 insertions(+), 73 deletions(-) create mode 100644 arch/arm/cpu/armv7/zynq/clk.c create mode 100644 arch/arm/cpu/armv7/zynq/spl.c create mode 100644 arch/arm/cpu/armv7/zynq/u-boot-spl.lds create mode 100644 arch/arm/include/asm/arch-zynq/clk.h create mode 100644 arch/arm/include/asm/arch-zynq/spl.h create mode 100644 board/xilinx/zynq/ps7_init.c
Applied to u-boot-arm/master, thanks!
Amicalement,

On 02/19/2014 12:03 PM, Albert ARIBAUD wrote:
Hi Michal,
On Wed, 19 Feb 2014 09:48:13 +0100, Michal Simek monstr@monstr.eu wrote:
Hi Albert,
here is the second pull request with the rest of changes for zynq which haven't been applied. I have rebased my repo based on your master/next branch.
As I wrote this pull request has on more patch from Siva about fixing bug in lldiv function. Compare to the first there is just 11 my patches because 2 were already applied.
Please ping me if there is something wrong.
Thanks, Michal
The following changes since commit a87a0ce7028d5371c81d77ba72c1ba43a1ca77bc:
Merge branch 'u-boot-pxa/master' into 'u-boot-arm/master' (2014-02-19 07:15:01 +0100)
are available in the git repository at:
git://www.denx.de/git/u-boot-microblaze.git zynq
for you to fetch changes up to e158665c1e4c4665302f0d95e26b7c7e6b70a83c:
arm: zynq: correct the argument to lldiv (2014-02-19 09:41:22 +0100)
Michal Simek (11): zynq: Do not explicitely enable icache zynq: Enable dcache support zynq: Fix incorrect header name zynq: Extend kernel image size to 20MB zynq: Enable tftp put command zynq: Use board_eth_init if CMD_NET is not enabled zynq: Move bootmode to headers zynq: serial: Simplify serial driver initialization zynq: timer: Fix hangs if network activity attempted after about one hour zynq: Update CLK in bdinfo zynq: Add support for U-BOOT SPL
Siva Durga Prasad Paladugu (1): arm: zynq: correct the argument to lldiv
Soren Brinkmann (7): common: Provide DIV_ROUND_CLOSEST macro zynq: Provide a framework to read clock frequencies zynq: timer: Migrate to zynq clock framework net: zynq_gem: Move RCLK details out of driver net: zynq_gem: Calculate clock dividers dynamically serial_zynq: Migrate to Zynq clock framework zynq: Implement dump clock command
arch/arm/cpu/armv7/zynq/Makefile | 2 + arch/arm/cpu/armv7/zynq/clk.c | 664 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ arch/arm/cpu/armv7/zynq/cpu.c | 14 ++- arch/arm/cpu/armv7/zynq/slcr.c | 17 +-- arch/arm/cpu/armv7/zynq/spl.c | 69 +++++++++++ arch/arm/cpu/armv7/zynq/timer.c | 14 ++- arch/arm/cpu/armv7/zynq/u-boot-spl.lds | 61 ++++++++++ arch/arm/include/asm/arch-zynq/clk.h | 29 +++++ arch/arm/include/asm/arch-zynq/hardware.h | 40 ++++++- arch/arm/include/asm/arch-zynq/spl.h | 18 +++ arch/arm/include/asm/arch-zynq/sys_proto.h | 2 +- board/xilinx/zynq/Makefile | 1 + board/xilinx/zynq/board.c | 10 -- board/xilinx/zynq/ps7_init.c | 12 ++ drivers/net/zynq_gem.c | 20 ++-- drivers/serial/serial_zynq.c | 33 +++-- include/common.h | 16 +++ include/configs/zynq-common.h | 102 +++++++++++++--- include/configs/zynq_zc70x.h | 2 +- include/configs/zynq_zed.h | 2 +- 20 files changed, 1055 insertions(+), 73 deletions(-) create mode 100644 arch/arm/cpu/armv7/zynq/clk.c create mode 100644 arch/arm/cpu/armv7/zynq/spl.c create mode 100644 arch/arm/cpu/armv7/zynq/u-boot-spl.lds create mode 100644 arch/arm/include/asm/arch-zynq/clk.h create mode 100644 arch/arm/include/asm/arch-zynq/spl.h create mode 100644 board/xilinx/zynq/ps7_init.c
Applied to u-boot-arm/master, thanks!
Thanks, Michal
participants (2)
-
Albert ARIBAUD
-
Michal Simek