- Aug 31, 2014
-
-
Masahiro Yamada authored
Becuase the board select menu in arch/arm/Kconfig is too big, move the Zynq board select menu to zynq/Kconfig. Consolidate also common settings (CONFIG_SYS_CPU="armv7" and CONFIG_SYS_SOC="zynq"). Refactor board/xilinx/zynq/MAINTAINERS too. Signed-off-by:
Masahiro Yamada <yamada.m@jp.panasonic.com> Tested-by:
Michal Simek <michal.simek@xilinx.com>
-
- Aug 19, 2014
-
-
Michal Simek authored
Do not specify own zynq specific SPL macros because there is no need for that. Signed-off-by:
Michal Simek <michal.simek@xilinx.com> Reviewed-by:
Masahiro Yamada <yamada.m@jp.panasonic.com>
-
- Aug 08, 2014
-
-
Peter Crosthwaite authored
The vectors section contains the _start symbol which is used as the program entry point. Add it to the linker script in same fashion as done for regular u-boot. This allows for correct generation of an spl elf with a non-zero entry point. A similar change was applied to sunxi platform in "sunxi: Fix u-boot-spl.lds to refer to .vectors" (sha1: 9e5f80d8) This also allows for placement of the vector table at the hivecs location by setting the TEXT_BASE to 0xffff0000. Tested-by:
Michal Simek <michal.simek@xilinx.com> Signed-off-by:
Peter Crosthwaite <crosthwaite.peter@gmail.com> Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
- Jul 23, 2014
-
-
Michal Simek authored
Without this patch is DRAM size one line below DRAM: which is not nice Origin: I2C: ready DRAM: Memory: ECC disabled 1 GiB MMC: zynq_sdhci: 0 Fixed by this patch: I2C: ready DRAM: ECC disabled 1 GiB MMC: zynq_sdhci: 0 Signed-off-by:
Michal Simek <michal.simek@xilinx.com> Tested-by:
Masahiro Yamada <yamada.m@jp.panasonic.com>
-
- Jun 17, 2014
-
-
Masahiro Yamada authored
Commit 41623c91 moved exception handlers to ".vectores" section but it missed to adjust Zynq linker script. Zynq boards hang up after relocation because "_start" symbol does not point to the correct address and gd->relocaddr gets insane. Signed-off-by:
Masahiro Yamada <yamada.m@jp.panasonic.com> Cc: Albert ARIBAUD <albert.u.boot@aribaud.net> Cc: Michal Simek <monstr@monstr.eu> Tested-by:
Michal Simek <monstr@monstr.eu> Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
- May 15, 2014
-
-
Albert ARIBAUD authored
Exception handling is basically identical for all ARM targets. Factorize it out of the various start.S files and into a single vectors.S file, and adjust linker scripts accordingly. Signed-off-by:
Albert ARIBAUD <albert.u.boot@aribaud.net>
-
- May 14, 2014
-
-
Masahiro Yamada authored
ps7_init.c and ps7_init.h are supposed to be exported by hw project and copied to board/xilinx/zynq/ directory. We want them to be ignored by git. So what we should do is to always treat them as external files rather than replacing ps7_init.c This commit does: - Move a weak function ps7_init() to arch/arm/cpu/armv7/zynq/spl.c and delete board/xilinx/zynq/ps7_init.c - Compile board/xilinx/zynq/ps7_init.c only when it exists - Add .gitignore to ignore ps7_init.c/h Signed-off-by:
Masahiro Yamada <yamada.m@jp.panasonic.com> Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Michal Simek authored
Added USB host driver for zynq. Signed-off-by:
Siva Durga Prasad Paladugu <sivadur@xilinx.com> Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Michal Simek authored
Add run-time MIO pin detection to get actual pin configuration for specific periphery. Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Michal Simek authored
The driver should setup slcr state according to slcr operations. Reported-by:
Andrey Filippov <andrey@elphel.com> Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Michal Simek authored
Fix c&p error in zynq_slcr_devcfg_enable() commentary and extending it with description according to Zynq TRM also in zynq_slcr_devcfg_disable(). Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Michal Simek authored
Call board_init() if SPL is configured with CONFIG_SPL_BOARD_INIT. Signed-off-by:
Michal Simek <monstr@monstr.eu>
-
Michal Simek authored
Memory size should be specified without ECC place. If you need to have half memory size, please change u-boot configuration. Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Siva Durga Prasad Paladugu authored
Added efuse status register base address. This register is used for determining whether efuse was blown or not. Also, added the zynq_get_silicon_version() to get the silicon version of the zynq board. Signed-off-by:
Siva Durga Prasad Paladugu <sivadur@xilinx.com> Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Michal Simek authored
Warning: arch/arm/cpu/armv7/zynq/ddrc.c:43:24: warning: Using plain integer as NULL pointer Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Michal Simek authored
Warnings: arch/arm/cpu/armv7/zynq/slcr.c:21:6: warning: symbol 'zynq_slcr_lock' was not declared. Should it be static? arch/arm/cpu/armv7/zynq/slcr.c:27:6: warning: symbol 'zynq_slcr_unlock' was not declared. Should it be static? arch/arm/cpu/armv7/zynq/slcr.c:34:6: warning: symbol 'zynq_slcr_cpu_reset' was not declared. Should it be static? arch/arm/cpu/armv7/zynq/slcr.c:54:6: warning: symbol 'zynq_slcr_gem_clk_setup' was not declared. Should it be static? arch/arm/cpu/armv7/zynq/slcr.c:81:6: warning: symbol 'zynq_slcr_devcfg_disable' was not declared. Should it be static? arch/arm/cpu/armv7/zynq/slcr.c:94:6: warning: symbol 'zynq_slcr_devcfg_enable' was not declared. Should it be static? arch/arm/cpu/armv7/zynq/slcr.c:107:5: warning: symbol 'zynq_slcr_get_boot_mode' was not declared. Should it be static? arch/arm/cpu/armv7/zynq/slcr.c:113:5: warning: symbol 'zynq_slcr_get_idcode' was not declared. Should it be static? Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
- Feb 26, 2014
-
-
Albert ARIBAUD authored
This prevents references to _end from generating absolute relocation records. This change is binary invariant for ARM targets. Signed-off-by:
Albert ARIBAUD <albert.u.boot@aribaud.net>
-
- Feb 19, 2014
-
-
Siva Durga Prasad Paladugu authored
Typecast the argument with unsigned long long for proper calculation of lldiv Signed-off-by:
Siva Durga Prasad Paladugu <sivadur@xilinx.com> Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Michal Simek authored
SPL is using ps7_init.c/h files which are generated from design tools which have to be copied to boards/xilinx/zynq folder before compilation. BSS section is moved to SDRAM because fat support requires more space than SRAM size. Added: - MMC and QSPI support - Boot OS directly from SPL - Enable SPL command Signed-off-by:
Michal Simek <michal.simek@xilinx.com> Reviewed-by:
Tom Rini <trini@ti.com>
-
Michal Simek authored
ARM has specific clk entries which should be also setup. Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Soren Brinkmann authored
Enable and implement dump clock command which shows soc frequencies. Signed-off-by:
Soren Brinkmann <soren.brinkmann@xilinx.com> Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Soren Brinkmann authored
Remove hard coded clock divider setting and use the Zynq clock framework to dynamically calculate appropriate dividers at run time. Signed-off-by:
Soren Brinkmann <soren.brinkmann@xilinx.com> Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Soren Brinkmann authored
The GEM driver should not need to know about Zynq specific details of RCLK related registers and bitfields in the SLCR. Move those details to the slcr driver. Signed-off-by:
Soren Brinkmann <soren.brinkmann@xilinx.com> Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Michal Simek authored
Cortex-A9 MPCore TRM' from ARM (ARM DDI 0407G ID072711) describes in the section 4.1.1 how this value calculation should be done. This patch fixes the problem if network activity such as ping or tftp is attempted after u-boot has been idle for an hour, it hangs, and cannot control-C out of it. Signed-off-by:
Uday Hegde <udayh@xilinx.com> Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Soren Brinkmann authored
Remove hardcoded frequencies in favor of Zynq clock framework. Signed-off-by:
Soren Brinkmann <soren.brinkmann@xilinx.com> Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Soren Brinkmann authored
Signed-off-by:
Soren Brinkmann <soren.brinkmann@xilinx.com> Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Michal Simek authored
Enable dcache. Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
- Feb 13, 2014
-
-
Michal Simek authored
This patch is here because of: "arm: keep all sections in ELF file" (sha1: 47ed5dd0) Our tools expect to have elf with only LOAD header. Without this fix also PHDR, INTERP and DYNAMIC headers are available in ELF. Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
- Jan 10, 2014
-
-
Jagan Teki authored
Added support to find the bootmodes by reading slcr bootmode register. this can be helpful to autoboot the configurations w.r.t a specified bootmode. Added this functionality on board_late_init as it's not needed for normal initializtion part. Signed-off-by:
Jagannadha Sutradharudu Teki <jaganna@xilinx.com>
-
- Dec 13, 2013
-
-
Tom Rini authored
Cc: Michal Simek <monstr@monstr.eu> Signed-off-by:
Tom Rini <trini@ti.com>
-
- Nov 06, 2013
-
-
Radhey Shyam Pandey authored
TZ_DDR_RAM on reset is in secure mode. Since uboot and linux runs in full TZ privilege secure mode, no need to set DDR trustzone to non-secure. Signed-off-by:
Radhey Shyam Pandey <radheys@xilinx.com> Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Michal Simek authored
In case where ps-ddr is not used, do not remap OCM to high address and keep it from 0x0. Linux SMP requires to have memory at 0x0. Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
- Oct 31, 2013
-
-
Masahiro Yamada authored
Signed-off-by:
Masahiro Yamada <yamada.m@jp.panasonic.com>
-
- Oct 17, 2013
-
-
Michal Simek authored
Zynq lowlevel_init() was implemented in C but stack pointer is setup after function call in _main(). Move architecture setup to arch_cpu_init() which is call as the first function in board_init_f() which already have correct stack pointer. Reported-by:
Sven Schwermer <sven.schwermer@tuhh.de> Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
- Oct 14, 2013
-
-
Wolfgang Denk authored
Signed-off-by:
Wolfgang Denk <wd@denx.de>
-
- Sep 23, 2013
-
-
Michal Simek authored
Reload address was written to the counter register instead of load register. The problem happens when timer expires but never reload to ~0UL (it is downcount timer). Reported-by:
Stephen MacMahon <stephenm@xilinx.com> Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
- Aug 12, 2013
-
-
Michal Simek authored
If you don't wait you will loose the first sent packet even all bits in emacps are correctly setup. Signed-off-by:
Michal Simek <michal.simek@xilinx.com> Acked-by:
Jagannadha Sutradharudu Teki <jaganna@xilinx.com>
-
Michal Simek authored
The first 1MB is not initialized by first stage bootloader. Check if memory is setup to 16bit mode and ECC is enabled. If it is, clear the first 1MB. Also u-boot should report only the half size of memory. Acked-by:
Jagannadha Sutradharudu Teki <jaganna@xilinx.com> Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
- Jul 24, 2013
-
-
Wolfgang Denk authored
Signed-off-by:
Wolfgang Denk <wd@denx.de> [trini: Fixup common/cmd_io.c] Signed-off-by:
Tom Rini <trini@ti.com>
-
- May 06, 2013
-
-
Michal Simek authored
Devcfg device requires to load bitstream in binary format. But u-boot also has an option for loading bitstream in bit format. Let's handle both cases by zynqpl driver. Also add suport for loading partial bitstreams. The first driver version was done by: Joe Hershberger <joe.hershberger@ni.com> Signed-off-by:
Michal Simek <michal.simek@xilinx.com> Reviewed-by:
Tom Rini <trini@ti.com>
-