SmartAudio/lichee/brandy/u-boot-2014.07/doc
lijie02 bfd7b335ea init 2018-07-13 09:31:50 +08:00
..
DocBook init 2018-07-13 09:31:50 +08:00
SPI init 2018-07-13 09:31:50 +08:00
SPL init 2018-07-13 09:31:50 +08:00
device-tree-bindings init 2018-07-13 09:31:50 +08:00
driver-model init 2018-07-13 09:31:50 +08:00
uImage.FIT init 2018-07-13 09:31:50 +08:00
I2C_Edge_Conditions init 2018-07-13 09:31:50 +08:00
README.440-DDR-performance init 2018-07-13 09:31:50 +08:00
README.AMCC-eval-boards-cleanup init 2018-07-13 09:31:50 +08:00
README.ARC init 2018-07-13 09:31:50 +08:00
README.ARM-SoC init 2018-07-13 09:31:50 +08:00
README.ARM-memory-map init 2018-07-13 09:31:50 +08:00
README.AVR32 init 2018-07-13 09:31:50 +08:00
README.AVR32-port-muxing init 2018-07-13 09:31:50 +08:00
README.JFFS2 init 2018-07-13 09:31:50 +08:00
README.JFFS2_NAND init 2018-07-13 09:31:50 +08:00
README.LED init 2018-07-13 09:31:50 +08:00
README.LED_display init 2018-07-13 09:31:50 +08:00
README.MPC866 init 2018-07-13 09:31:50 +08:00
README.Modem init 2018-07-13 09:31:50 +08:00
README.N1213 init 2018-07-13 09:31:50 +08:00
README.NDS32 init 2018-07-13 09:31:50 +08:00
README.NetConsole init 2018-07-13 09:31:50 +08:00
README.OFT init 2018-07-13 09:31:50 +08:00
README.POST init 2018-07-13 09:31:50 +08:00
README.SNTP init 2018-07-13 09:31:50 +08:00
README.SPL init 2018-07-13 09:31:50 +08:00
README.TPL init 2018-07-13 09:31:50 +08:00
README.VLAN init 2018-07-13 09:31:50 +08:00
README.VSC3316-3308 init 2018-07-13 09:31:50 +08:00
README.ag102 init 2018-07-13 09:31:50 +08:00
README.android-fastboot init 2018-07-13 09:31:50 +08:00
README.android-fastboot-protocol init 2018-07-13 09:31:50 +08:00
README.arm-caches init 2018-07-13 09:31:50 +08:00
README.arm-relocation init 2018-07-13 09:31:50 +08:00
README.arm64 init 2018-07-13 09:31:50 +08:00
README.at91 init 2018-07-13 09:31:50 +08:00
README.at91-soc init 2018-07-13 09:31:50 +08:00
README.atmel_mci init 2018-07-13 09:31:50 +08:00
README.atmel_pmecc init 2018-07-13 09:31:50 +08:00
README.autoboot init 2018-07-13 09:31:50 +08:00
README.b4860qds init 2018-07-13 09:31:50 +08:00
README.bedbug init 2018-07-13 09:31:50 +08:00
README.bitbangMII init 2018-07-13 09:31:50 +08:00
README.blackfin init 2018-07-13 09:31:50 +08:00
README.bootmenu init 2018-07-13 09:31:50 +08:00
README.bus_vcxk init 2018-07-13 09:31:50 +08:00
README.cfi init 2018-07-13 09:31:50 +08:00
README.commands init 2018-07-13 09:31:50 +08:00
README.commands.itest init 2018-07-13 09:31:50 +08:00
README.commands.spl init 2018-07-13 09:31:50 +08:00
README.console init 2018-07-13 09:31:50 +08:00
README.davinci init 2018-07-13 09:31:50 +08:00
README.davinci.nand_spl init 2018-07-13 09:31:50 +08:00
README.displaying-bmps init 2018-07-13 09:31:50 +08:00
README.dns init 2018-07-13 09:31:50 +08:00
README.drivers.eth init 2018-07-13 09:31:50 +08:00
README.enetaddr init 2018-07-13 09:31:50 +08:00
README.ext4 init 2018-07-13 09:31:50 +08:00
README.falcon init 2018-07-13 09:31:50 +08:00
README.fdt-control init 2018-07-13 09:31:50 +08:00
README.fec_mxc init 2018-07-13 09:31:50 +08:00
README.fsl-ddr init 2018-07-13 09:31:50 +08:00
README.fsl-hwconfig init 2018-07-13 09:31:50 +08:00
README.fsl_iim init 2018-07-13 09:31:50 +08:00
README.fuse init 2018-07-13 09:31:50 +08:00
README.generic-board init 2018-07-13 09:31:50 +08:00
README.generic_usb_ohci init 2018-07-13 09:31:50 +08:00
README.gpt init 2018-07-13 09:31:50 +08:00
README.hwconfig init 2018-07-13 09:31:50 +08:00
README.idma2intr init 2018-07-13 09:31:50 +08:00
README.imx5 init 2018-07-13 09:31:50 +08:00
README.imx6 init 2018-07-13 09:31:50 +08:00
README.imx25 init 2018-07-13 09:31:50 +08:00
README.imx27 init 2018-07-13 09:31:50 +08:00
README.imx31 init 2018-07-13 09:31:50 +08:00
README.imximage init 2018-07-13 09:31:50 +08:00
README.iomux init 2018-07-13 09:31:50 +08:00
README.kwbimage init 2018-07-13 09:31:50 +08:00
README.link-local init 2018-07-13 09:31:50 +08:00
README.lynxkdi init 2018-07-13 09:31:50 +08:00
README.m68k init 2018-07-13 09:31:50 +08:00
README.m54418twr init 2018-07-13 09:31:50 +08:00
README.malta init 2018-07-13 09:31:50 +08:00
README.marubun-pcmcia init 2018-07-13 09:31:50 +08:00
README.memory-test init 2018-07-13 09:31:50 +08:00
README.menu init 2018-07-13 09:31:50 +08:00
README.mips init 2018-07-13 09:31:50 +08:00
README.mpc5xx init 2018-07-13 09:31:50 +08:00
README.mpc74xx init 2018-07-13 09:31:50 +08:00
README.mpc83xx.ddrecc init 2018-07-13 09:31:50 +08:00
README.mpc83xxads init 2018-07-13 09:31:50 +08:00
README.mpc85xx init 2018-07-13 09:31:50 +08:00
README.mpc85xx-sd-spi-boot init 2018-07-13 09:31:50 +08:00
README.mpc85xx-spin-table init 2018-07-13 09:31:50 +08:00
README.mpc85xxads init 2018-07-13 09:31:50 +08:00
README.mpc85xxcds init 2018-07-13 09:31:50 +08:00
README.mxc_hab init 2018-07-13 09:31:50 +08:00
README.mxc_ocotp init 2018-07-13 09:31:50 +08:00
README.mxs init 2018-07-13 09:31:50 +08:00
README.mxsimage init 2018-07-13 09:31:50 +08:00
README.nand init 2018-07-13 09:31:50 +08:00
README.nand-boot-ppc440 init 2018-07-13 09:31:50 +08:00
README.ne2000 init 2018-07-13 09:31:50 +08:00
README.nokia_rx51 init 2018-07-13 09:31:50 +08:00
README.omap-reset-time init 2018-07-13 09:31:50 +08:00
README.omap-ulpi-viewport init 2018-07-13 09:31:50 +08:00
README.omap3 init 2018-07-13 09:31:50 +08:00
README.pblimage init 2018-07-13 09:31:50 +08:00
README.plan9 init 2018-07-13 09:31:50 +08:00
README.power-framework init 2018-07-13 09:31:50 +08:00
README.ppc440 init 2018-07-13 09:31:50 +08:00
README.pxe init 2018-07-13 09:31:50 +08:00
README.qemu-mips init 2018-07-13 09:31:50 +08:00
README.ramboot-ppc85xx init 2018-07-13 09:31:50 +08:00
README.rmobile init 2018-07-13 09:31:50 +08:00
README.s5pc1xx init 2018-07-13 09:31:50 +08:00
README.sata init 2018-07-13 09:31:50 +08:00
README.sched init 2018-07-13 09:31:50 +08:00
README.scrapyard init 2018-07-13 09:31:50 +08:00
README.semihosting init 2018-07-13 09:31:50 +08:00
README.serial_multi init 2018-07-13 09:31:50 +08:00
README.sh init 2018-07-13 09:31:50 +08:00
README.sh7752evb init 2018-07-13 09:31:50 +08:00
README.sh7753evb init 2018-07-13 09:31:50 +08:00
README.sha1 init 2018-07-13 09:31:50 +08:00
README.silent init 2018-07-13 09:31:50 +08:00
README.socfpga init 2018-07-13 09:31:50 +08:00
README.spear init 2018-07-13 09:31:50 +08:00
README.splashprepare init 2018-07-13 09:31:50 +08:00
README.srio-pcie-boot-corenet init 2018-07-13 09:31:50 +08:00
README.standalone init 2018-07-13 09:31:50 +08:00
README.switch_config init 2018-07-13 09:31:50 +08:00
README.t4240qds init 2018-07-13 09:31:50 +08:00
README.trace init 2018-07-13 09:31:50 +08:00
README.ubi init 2018-07-13 09:31:50 +08:00
README.ublimage init 2018-07-13 09:31:50 +08:00
README.unaligned-memory-access.txt init 2018-07-13 09:31:50 +08:00
README.update init 2018-07-13 09:31:50 +08:00
README.usb init 2018-07-13 09:31:50 +08:00
README.vf610 init 2018-07-13 09:31:50 +08:00
README.video init 2018-07-13 09:31:50 +08:00
README.vxworks init 2018-07-13 09:31:50 +08:00
README.watchdog init 2018-07-13 09:31:50 +08:00
README.zfs init 2018-07-13 09:31:50 +08:00
README.zynq init 2018-07-13 09:31:50 +08:00
feature-removal-schedule.txt init 2018-07-13 09:31:50 +08:00
git-mailrc init 2018-07-13 09:31:50 +08:00
kwboot.1 init 2018-07-13 09:31:50 +08:00
mkimage.1 init 2018-07-13 09:31:50 +08:00

README.zynq

#
# Xilinx ZYNQ U-Boot
#
# (C) Copyright 2013 Xilinx, Inc.
#
# SPDX-License-Identifier:	GPL-2.0+
#

1. About this

This document describes the information about Xilinx Zynq U-Boot -
like supported boards, ML status and TODO list.

2. Zynq boards

Xilinx Zynq-7000 All Programmable SoCs enable extensive system level
differentiation, integration, and flexibility through hardware, software,
and I/O programmability.

* zc70x
  - zc702 (single qspi, gem0, mmc) [1]
  - zc706 (dual parallel qspi, gem0, mmc) [2]
* zed (single qspi, gem0, mmc) [3]
* microzed (single qspi, gem0, mmc) [4]
* zc770
  - zc770-xm010 (single qspi, gem0, mmc)
  - zc770-xm011 (8 or 16 bit nand)
  - zc770-xm012 (nor)
  - zc770-xm013 (dual parallel qspi, gem1)

3. Building

 # Configure for zc70x board
   $ make zynq_zc70x_config
     Configuring for zynq_zc70x board...

 # Building default dts for zc702 board
   $ make

 # Building specified dts for zc706 board
   $ make DEVICE_TREE=zynq-zc706

4. Bootmode

Zynq has a facility to read the bootmode from the slcr bootmode register
once user is setting through jumpers on the board - see page no:1546 on [5]

All possible bootmode values are defined in Table 6-2:Boot_Mode MIO Pins
on [5].

board_late_init() will read the bootmode values using slcr bootmode register
at runtime and assign the modeboot variable to specific bootmode string which
is intern used in autoboot.

SLCR bootmode register Bit[3:0] values
#define ZYNQ_BM_NOR		0x02
#define ZYNQ_BM_SD		0x05
#define ZYNQ_BM_JTAG		0x0

"modeboot" variable can assign any of "norboot", "sdboot" or "jtagboot"
bootmode strings at runtime.

5. Mainline status

- Added basic board configurations support.
- Added zynq u-boot bsp code - arch/arm/cpu/armv7/zynq
- Added zynq boards named - zc70x, zed, microzed, zc770_xm010, zc770_xm012, zc770_xm013
- Added zynq drivers:
  serial - drivers/serial/serial_zynq.c
  net - drivers/net/zynq_gem.c
  mmc - drivers/mmc/zynq_sdhci.c
  mmc - drivers/mmc/zynq_sdhci.c
  spi-  drivers/spi/zynq_spi.c
  i2c - drivers/i2c/zynq_i2c.c
- Done proper cleanups on board configurations
- Added basic FDT support for zynq boards
- d-cache support for zynq_gem.c

6. TODO

- Add zynq boards support - zc770_xm011
- Add zynq qspi controller driver
- Add zynq nand controller driver
- Add FDT support on individual drivers

[1] http://www.xilinx.com/products/boards-and-kits/EK-Z7-ZC702-G.htm
[2] http://www.xilinx.com/products/boards-and-kits/EK-Z7-ZC706-G.htm
[3] http://zedboard.org/product/zedboard
[4] http://zedboard.org/product/microzed
[5] http://www.xilinx.com/support/documentation/user_guides/ug585-Zynq-7000-TRM.pdf

--
Jagannadha Sutradharudu Teki <jaganna@xilinx.com>
Sun Dec 15 14:52:41 IST 2013