Re: [U-Boot] [GIT PULL] Zynq patches v2
Hi Michal, On Tue, 20 May 2014 15:21:55 +0200, Michal Simek mon...@monstr.eu wrote: Hi Albert, based on your pull request to Tom here http://lists.denx.de/pipermail/u-boot/2014-May/179841.html and our IRC last week I am sending updated pull request where I have added 5 more patches from Masahiro which are bug fixes. Please pull them to your tree when you do merge with Tom's tree. Thanks, Michal [u-boot]$ ./tools/buildman/buildman -b zynq zynq -sSed Summary of 26 commits for 6 boards (4 threads, 1 job per thread) 01: Merge branch 'master' of git://git.denx.de/u-boot-mpc85xx 02: ARM: zynq: Fix sparse warnings in slcr.c 03: ARM: zynq: Fix sparse warning in ddrc.c 04: ARM: zynq: Remove sparse warnings arm: (for 6/6 boards) data -168.0 rodata +168.0 zynq_zc770_xm010: data -168 rodata +168 zynq_zc770_xm013: data -168 rodata +168 zynq_zc770_xm012: data -168 rodata +168 zynq_zed : data -168 rodata +168 zynq_zc70x : data -168 rodata +168 zynq_microzed : data -168 rodata +168 05: ARM: zynq: Added efuse status register base address 06: ARM: zynq: Do not use half memory size for ECC case arm: (for 6/6 boards) all -32.0 text -32.0 zynq_zc770_xm010: all -32 text -32 zynq_zc770_xm013: all -32 text -32 zynq_zc770_xm012: all -32 text -32 zynq_zed : all -32 text -32 zynq_zc70x : all -32 text -32 zynq_microzed : all -32 text -32 07: ARM: zynq: Call zynq board_init() in SPL arm: (for 6/6 boards) spl/u-boot-spl:all +16.0 spl/u-boot-spl:text +16.0 zynq_zc770_xm010: spl/u-boot-spl:all +16 spl/u-boot-spl:text +16 zynq_zc770_xm013: spl/u-boot-spl:all +16 spl/u-boot-spl:text +16 zynq_zc770_xm012: spl/u-boot-spl:all +16 spl/u-boot-spl:text +16 zynq_zed : spl/u-boot-spl:all +16 spl/u-boot-spl:text +16 zynq_zc70x : spl/u-boot-spl:all +16 spl/u-boot-spl:text +16 zynq_microzed : spl/u-boot-spl:all +16 spl/u-boot-spl:text +16 08: ARM: zynq: slcr: Fix incorrect commentary 09: ARM: zynq: Setup correct slcr_lock value arm: (for 6/6 boards) all +102.0 bss +2.7 data +4.0 spl/u-boot-spl:all +72.0 spl/u-boot-spl:data +4.0 spl/u-boot-spl:text +68.0 text +95.3 zynq_zc770_xm010: all +112 bss +12 data +4 spl/u-boot-spl:all +72 spl/u-boot-spl:data +4 spl/u-boot-spl:text +68 text +96 zynq_zed : all +112 bss +12 data +4 spl/u-boot-spl:all +72 spl/u-boot-spl:data +4 spl/u-boot-spl:text +68 text +96 zynq_microzed : all +112 bss +12 data +4 spl/u-boot-spl:all +72 spl/u-boot-spl:data +4 spl/u-boot-spl:text +68 text +96 zynq_zc770_xm013: all +100 data +4 spl/u-boot-spl:all +72 spl/u-boot-spl:data +4 spl/u-boot-spl:text +68 text +96 zynq_zc770_xm012: all +96 data +4 spl/u-boot-spl:all +72 spl/u-boot-spl:data +4 spl/u-boot-spl:text +68 text +92 zynq_zc70x : all +80 bss -20 data +4 spl/u-boot-spl:all +72 spl/u-boot-spl:data +4 spl/u-boot-spl:text +68 text +96 10: ARM: zynq: Fix bootmode mask 11: ARM: zynq: Fix building SPL without FPGA support 12: ARM: zynq: Extend kernel image size to 60MB 13: ARM: zynq: Add MIO detection code 14: ARM: zynq: ehci: Added USB host driver support arm: (for 6/6 boards) all +9.3 bss -0.7 rodata +10.0 spl/u-boot-spl:all +10.0 spl/u-boot-spl:rodata +10.0 zynq_zc70x : all +34 bss +24 rodata +10 spl/u-boot-spl:all +10 spl/u-boot-spl:rodata +10 zynq_zc770_xm013: all +10 rodata +10 spl/u-boot-spl:all +10 spl/u-boot-spl:rodata +10 zynq_zc770_xm012: all +10 rodata +10 spl/u-boot-spl:all +10 spl/u-boot-spl:rodata +10 zynq_zc770_xm010: all +2 bss -8 rodata +10 spl/u-boot-spl:all +10 spl/u-boot-spl:rodata +10 zynq_microzed : all +2 bss -8 rodata +10 spl/u-boot-spl:all +10 spl/u-boot-spl:rodata +10 zynq_zed : all -2 bss -12 rodata +10 spl/u-boot-spl:all +10 spl/u-boot-spl:rodata +10 15: ARM: zynq: Added USB host support for zynq boards arm: (for 6/6 boards) all +36453.7 bss +26203.3 data +38.7 rodata +2047.7 spl/u-boot-spl:all +1.3 spl/u-boot-spl:rodata +1.3 text +8164.0 zynq_zed : all +109121 bss +78632 data +116 rodata +5881 spl/u-boot-spl:all +4 spl/u-boot-spl:rodata +4 text +24492 zynq_zc70x : all +109085 bss +78596 data +116 rodata +5881 spl/u-boot-spl:all +4 spl/u-boot-spl:rodata +4 text +24492 zynq_zc770_xm013: all +131 rodata +131 zynq_zc770_xm012: all +131 rodata +131 zynq_zc770_xm010: all +127 bss -4 rodata +131 zynq_microzed : all +127 bss
[U-Boot] [GIT PULL] Zynq patches v2
Hi Albert, based on your pull request to Tom here http://lists.denx.de/pipermail/u-boot/2014-May/179841.html and our IRC last week I am sending updated pull request where I have added 5 more patches from Masahiro which are bug fixes. Please pull them to your tree when you do merge with Tom's tree. Thanks, Michal [u-boot]$ ./tools/buildman/buildman -b zynq zynq -sSed Summary of 26 commits for 6 boards (4 threads, 1 job per thread) 01: Merge branch 'master' of git://git.denx.de/u-boot-mpc85xx 02: ARM: zynq: Fix sparse warnings in slcr.c 03: ARM: zynq: Fix sparse warning in ddrc.c 04: ARM: zynq: Remove sparse warnings arm: (for 6/6 boards) data -168.0 rodata +168.0 zynq_zc770_xm010: data -168 rodata +168 zynq_zc770_xm013: data -168 rodata +168 zynq_zc770_xm012: data -168 rodata +168 zynq_zed : data -168 rodata +168 zynq_zc70x : data -168 rodata +168 zynq_microzed : data -168 rodata +168 05: ARM: zynq: Added efuse status register base address 06: ARM: zynq: Do not use half memory size for ECC case arm: (for 6/6 boards) all -32.0 text -32.0 zynq_zc770_xm010: all -32 text -32 zynq_zc770_xm013: all -32 text -32 zynq_zc770_xm012: all -32 text -32 zynq_zed : all -32 text -32 zynq_zc70x : all -32 text -32 zynq_microzed : all -32 text -32 07: ARM: zynq: Call zynq board_init() in SPL arm: (for 6/6 boards) spl/u-boot-spl:all +16.0 spl/u-boot-spl:text +16.0 zynq_zc770_xm010: spl/u-boot-spl:all +16 spl/u-boot-spl:text +16 zynq_zc770_xm013: spl/u-boot-spl:all +16 spl/u-boot-spl:text +16 zynq_zc770_xm012: spl/u-boot-spl:all +16 spl/u-boot-spl:text +16 zynq_zed : spl/u-boot-spl:all +16 spl/u-boot-spl:text +16 zynq_zc70x : spl/u-boot-spl:all +16 spl/u-boot-spl:text +16 zynq_microzed : spl/u-boot-spl:all +16 spl/u-boot-spl:text +16 08: ARM: zynq: slcr: Fix incorrect commentary 09: ARM: zynq: Setup correct slcr_lock value arm: (for 6/6 boards) all +102.0 bss +2.7 data +4.0 spl/u-boot-spl:all +72.0 spl/u-boot-spl:data +4.0 spl/u-boot-spl:text +68.0 text +95.3 zynq_zc770_xm010: all +112 bss +12 data +4 spl/u-boot-spl:all +72 spl/u-boot-spl:data +4 spl/u-boot-spl:text +68 text +96 zynq_zed : all +112 bss +12 data +4 spl/u-boot-spl:all +72 spl/u-boot-spl:data +4 spl/u-boot-spl:text +68 text +96 zynq_microzed : all +112 bss +12 data +4 spl/u-boot-spl:all +72 spl/u-boot-spl:data +4 spl/u-boot-spl:text +68 text +96 zynq_zc770_xm013: all +100 data +4 spl/u-boot-spl:all +72 spl/u-boot-spl:data +4 spl/u-boot-spl:text +68 text +96 zynq_zc770_xm012: all +96 data +4 spl/u-boot-spl:all +72 spl/u-boot-spl:data +4 spl/u-boot-spl:text +68 text +92 zynq_zc70x : all +80 bss -20 data +4 spl/u-boot-spl:all +72 spl/u-boot-spl:data +4 spl/u-boot-spl:text +68 text +96 10: ARM: zynq: Fix bootmode mask 11: ARM: zynq: Fix building SPL without FPGA support 12: ARM: zynq: Extend kernel image size to 60MB 13: ARM: zynq: Add MIO detection code 14: ARM: zynq: ehci: Added USB host driver support arm: (for 6/6 boards) all +9.3 bss -0.7 rodata +10.0 spl/u-boot-spl:all +10.0 spl/u-boot-spl:rodata +10.0 zynq_zc70x : all +34 bss +24 rodata +10 spl/u-boot-spl:all +10 spl/u-boot-spl:rodata +10 zynq_zc770_xm013: all +10 rodata +10 spl/u-boot-spl:all +10 spl/u-boot-spl:rodata +10 zynq_zc770_xm012: all +10 rodata +10 spl/u-boot-spl:all +10 spl/u-boot-spl:rodata +10 zynq_zc770_xm010: all +2 bss -8 rodata +10 spl/u-boot-spl:all +10 spl/u-boot-spl:rodata +10 zynq_microzed : all +2 bss -8 rodata +10 spl/u-boot-spl:all +10 spl/u-boot-spl:rodata +10 zynq_zed : all -2 bss -12 rodata +10 spl/u-boot-spl:all +10 spl/u-boot-spl:rodata +10 15: ARM: zynq: Added USB host support for zynq boards arm: (for 6/6 boards) all +36453.7 bss +26203.3 data +38.7 rodata +2047.7 spl/u-boot-spl:all +1.3 spl/u-boot-spl:rodata +1.3 text +8164.0 zynq_zed : all +109121 bss +78632 data +116 rodata +5881 spl/u-boot-spl:all +4 spl/u-boot-spl:rodata +4 text +24492 zynq_zc70x : all +109085 bss +78596 data +116 rodata +5881 spl/u-boot-spl:all +4 spl/u-boot-spl:rodata +4 text +24492 zynq_zc770_xm013: all +131 rodata +131 zynq_zc770_xm012: all +131 rodata +131 zynq_zc770_xm010: all +127 bss -4 rodata +131 zynq_microzed : all +127 bss -4 rodata +131 16: ARM: zynq: Enable the FAT write capability arm: (for 6/6 boards) all +4133.3 bss -2.0 data +18.7 rodata +386.0 text +3730.7
Re: [U-Boot] [GIT PULL] Zynq patches v2
Hi Michal, On Tue, 20 May 2014 15:21:55 +0200, Michal Simek mon...@monstr.eu wrote: Hi Albert, based on your pull request to Tom here http://lists.denx.de/pipermail/u-boot/2014-May/179841.html and our IRC last week I am sending updated pull request where I have added 5 more patches from Masahiro which are bug fixes. Please pull them to your tree when you do merge with Tom's tree. Will do. Thanks, Michal Amicalement, -- Albert. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot
[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 -- 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 signature.asc Description: OpenPGP digital signature ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot
Re: [U-Boot] [GIT PULL] Zynq patches v2
Hi Michal, On Wed, 19 Feb 2014 09:48:13 +0100, Michal Simek mon...@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, -- Albert. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot
Re: [U-Boot] [GIT PULL] Zynq patches v2
On 02/19/2014 12:03 PM, Albert ARIBAUD wrote: Hi Michal, On Wed, 19 Feb 2014 09:48:13 +0100, Michal Simek mon...@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 -- 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 signature.asc Description: OpenPGP digital signature ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot