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
Signature · 14 lines
Michal Simek, Ing. (M.Eng), OpenPGP -> KeyID: FE3D1F91 w: www.monstr.eu p: +42-0-721842854 Maintainer of Linux kernel - Microblaze cpu - http://www.monstr.eu/fdt/ Maintainer of Linux kernel - Xilinx Zynq ARM architecture Microblaze U-BOOT custodian and responsible for u-boot arm zynq platform -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 263 bytes Desc: OpenPGP digital signature URL: <http://lists.denx.de/pipermail/u-boot/attachments/20140210/5e662f48/attachment.pgp>
Hi Michal,
Quoted 10 lines · Michal Simek
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,
Signature · 1 line
Albert.
Hi Albert,
Quoted 13 lines · Albert ARIBAUD
Hi Michal,
Quoted 8 lines · Michal Simek
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.
Quoted 6 lines
Quoted 2 lines
Thanks,
MichalThis 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
Signature · 14 lines
Michal Simek, Ing. (M.Eng), OpenPGP -> KeyID: FE3D1F91 w: www.monstr.eu p: +42-0-721842854 Maintainer of Linux kernel - Microblaze cpu - http://www.monstr.eu/fdt/ Maintainer of Linux kernel - Xilinx Zynq ARM architecture Microblaze U-BOOT custodian and responsible for u-boot arm zynq platform -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 263 bytes Desc: OpenPGP digital signature URL: <http://lists.denx.de/pipermail/u-boot/attachments/20140210/f07bbfeb/attachment.pgp>
Hi Michal,
Quoted 16 lines · Michal Simek
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,
MichalThe following changes since commit
dbf3de2dd26cae37d16b00b348828c883b658cc5:
include/usb/s3c_udc.h: Add <asm/sizes.h> (2014-02-06 14:26:05 -0500)
Quoted 7 lines
are available in the git repository at:
git://www.denx.de/git/u-boot-microblaze.gitzynqfor 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,
Signature · 1 line
Albert.
Quoted 23 lines · Albert ARIBAUD
Hi Michal,
Quoted 18 lines · Michal Simek
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,
MichalThe 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:
Quoted 8 lines
Quoted 5 lines
git://www.denx.de/git/u-boot-microblaze.gitzynqfor 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
Signature · 14 lines
Michal Simek, Ing. (M.Eng), OpenPGP -> KeyID: FE3D1F91 w: www.monstr.eu p: +42-0-721842854 Maintainer of Linux kernel - Microblaze cpu - http://www.monstr.eu/fdt/ Maintainer of Linux kernel - Xilinx Zynq ARM architecture Microblaze U-BOOT custodian and responsible for u-boot arm zynq platform -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 263 bytes Desc: OpenPGP digital signature URL: <http://lists.denx.de/pipermail/u-boot/attachments/20140213/5dad91ce/attachment.pgp>
Hi Michal,
Quoted 28 lines · Michal Simek
Quoted 27 lines · Albert ARIBAUD
Hi Michal,
Quoted 22 lines · Michal Simek
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,
MichalThe 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.gitzynqfor you to fetch changes up to
229f856da6f12ee30d43bcdf8111816f7945ccbe:
Quoted 7 lines
Quoted 4 lines
Quoted 1 line
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)
Quoted 5 lines
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,
Signature · 1 line
Albert.
[U-Boot] [GIT PULL] Zynq patches v2
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
Signature · 14 lines
Michal Simek, Ing. (M.Eng), OpenPGP -> KeyID: FE3D1F91 w: www.monstr.eu p: +42-0-721842854 Maintainer of Linux kernel - Microblaze cpu - http://www.monstr.eu/fdt/ Maintainer of Linux kernel - Xilinx Zynq ARM architecture Microblaze U-BOOT custodian and responsible for u-boot arm zynq platform -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 263 bytes Desc: OpenPGP digital signature URL: <http://lists.denx.de/pipermail/u-boot/attachments/20140219/e4069879/attachment.pgp>
[U-Boot] [GIT PULL] Zynq patches v2
Hi Michal,
Quoted 72 lines · Michal Simek
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,
MichalThe 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.gitzynqfor 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: Useboard_eth_initifCMD_NETis 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 SPLSiva Durga Prasad Paladugu (1):
arm: zynq: correct the argument to lldivSoren Brinkmann (7):
common: ProvideDIV_ROUND_CLOSESTmacro
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 commandarch/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 +-
Quoted 9 lines
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,
Signature · 1 line
Albert.
[U-Boot] [GIT PULL] Zynq patches v2
Quoted 87 lines · Albert ARIBAUD
Hi Michal,
Quoted 72 lines · Michal Simek
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,
MichalThe 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.gitzynqfor 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: Useboard_eth_initifCMD_NETis 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 SPLSiva Durga Prasad Paladugu (1):
arm: zynq: correct the argument to lldivSoren Brinkmann (7):
common: ProvideDIV_ROUND_CLOSESTmacro
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 commandarch/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 +-Quoted 9 lines
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
Quoted 1 line
Applied to u-boot-arm/master, thanks!
Thanks,
Michal
Signature · 14 lines
Michal Simek, Ing. (M.Eng), OpenPGP -> KeyID: FE3D1F91 w: www.monstr.eu p: +42-0-721842854 Maintainer of Linux kernel - Microblaze cpu - http://www.monstr.eu/fdt/ Maintainer of Linux kernel - Xilinx Zynq ARM architecture Microblaze U-BOOT custodian and responsible for u-boot arm zynq platform -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 263 bytes Desc: OpenPGP digital signature URL: <http://lists.denx.de/pipermail/u-boot/attachments/20140219/552ecf04/attachment.pgp>