Commit 10a147bc665367111920be657409a5d56d3c0590
Committed by
Albert ARIBAUD
1 parent
c91d0c74cf
Exists in
master
and in
50 other branches
doc: Update the zynq u-boot status
Updated doc/README.zynq to current status Signed-off-by: Jagannadha Sutradharudu Teki <jaganna@xilinx.com>
Showing 1 changed file with 21 additions and 8 deletions Inline Diff
doc/README.zynq
1 | # | 1 | # |
2 | # Xilinx ZYNQ U-Boot | 2 | # Xilinx ZYNQ U-Boot |
3 | # | 3 | # |
4 | # (C) Copyright 2013 Xilinx, Inc. | 4 | # (C) Copyright 2013 Xilinx, Inc. |
5 | # | 5 | # |
6 | # SPDX-License-Identifier: GPL-2.0+ | 6 | # SPDX-License-Identifier: GPL-2.0+ |
7 | # | 7 | # |
8 | 8 | ||
9 | 1. About this | 9 | 1. About this |
10 | 10 | ||
11 | This document describes the information about Xilinx Zynq U-Boot - | 11 | This document describes the information about Xilinx Zynq U-Boot - |
12 | like supported boards, ML status and TODO list. | 12 | like supported boards, ML status and TODO list. |
13 | 13 | ||
14 | 2. Zynq boards | 14 | 2. Zynq boards |
15 | 15 | ||
16 | Xilinx Zynq-7000 All Programmable SoCs enable extensive system level | 16 | Xilinx Zynq-7000 All Programmable SoCs enable extensive system level |
17 | differentiation, integration, and flexibility through hardware, software, | 17 | differentiation, integration, and flexibility through hardware, software, |
18 | and I/O programmability. | 18 | and I/O programmability. |
19 | 19 | ||
20 | * zc70x | 20 | * zc70x |
21 | - zc702 (single qspi, gem0, mmc) [1] | 21 | - zc702 (single qspi, gem0, mmc) [1] |
22 | - zc706 (dual parallel qspi, gem0, mmc) [2] | 22 | - zc706 (dual parallel qspi, gem0, mmc) [2] |
23 | * zed (single qspi, gem0, mmc) [3] | 23 | * zed (single qspi, gem0, mmc) [3] |
24 | * microzed (single qspi, gem0, mmc) [4] | 24 | * microzed (single qspi, gem0, mmc) [4] |
25 | * zc770 | 25 | * zc770 |
26 | - zc770-xm010 (single qspi, gem0, mmc) | 26 | - zc770-xm010 (single qspi, gem0, mmc) |
27 | - zc770-xm011 (8 or 16 bit nand) | 27 | - zc770-xm011 (8 or 16 bit nand) |
28 | - zc770-xm012 (nor) | 28 | - zc770-xm012 (nor) |
29 | - zc770-xm013 (dual parallel qspi, gem1) | 29 | - zc770-xm013 (dual parallel qspi, gem1) |
30 | 30 | ||
31 | 3. Bootmode | 31 | 3. Building |
32 | 32 | ||
33 | # Configure for zc70x board | ||
34 | $ make zynq_zc70x_config | ||
35 | Configuring for zynq_zc70x board... | ||
36 | |||
37 | # Building default dts for zc702 board | ||
38 | $ make | ||
39 | |||
40 | # Building specified dts for zc706 board | ||
41 | $ make DEVICE_TREE=zynq-zc706 | ||
42 | |||
43 | 4. Bootmode | ||
44 | |||
33 | Zynq has a facility to read the bootmode from the slcr bootmode register | 45 | Zynq has a facility to read the bootmode from the slcr bootmode register |
34 | once user is setting through jumpers on the board - see page no:1546 on [5] | 46 | once user is setting through jumpers on the board - see page no:1546 on [5] |
35 | 47 | ||
36 | All possible bootmode values are defined in Table 6-2:Boot_Mode MIO Pins | 48 | All possible bootmode values are defined in Table 6-2:Boot_Mode MIO Pins |
37 | on [5]. | 49 | on [5]. |
38 | 50 | ||
39 | board_late_init() will read the bootmode values using slcr bootmode register | 51 | board_late_init() will read the bootmode values using slcr bootmode register |
40 | at runtime and assign the modeboot variable to specific bootmode string which | 52 | at runtime and assign the modeboot variable to specific bootmode string which |
41 | is intern used in autoboot. | 53 | is intern used in autoboot. |
42 | 54 | ||
43 | SLCR bootmode register Bit[3:0] values | 55 | SLCR bootmode register Bit[3:0] values |
44 | #define ZYNQ_BM_NOR 0x02 | 56 | #define ZYNQ_BM_NOR 0x02 |
45 | #define ZYNQ_BM_SD 0x05 | 57 | #define ZYNQ_BM_SD 0x05 |
46 | #define ZYNQ_BM_JTAG 0x0 | 58 | #define ZYNQ_BM_JTAG 0x0 |
47 | 59 | ||
48 | "modeboot" variable can assign any of "norboot", "sdboot" or "jtagboot" | 60 | "modeboot" variable can assign any of "norboot", "sdboot" or "jtagboot" |
49 | bootmode strings at runtime. | 61 | bootmode strings at runtime. |
50 | 62 | ||
51 | 4. Mainline status | 63 | 5. Mainline status |
52 | 64 | ||
53 | - Added basic board configurations support. | 65 | - Added basic board configurations support. |
54 | - Added zynq u-boot bsp code - arch/arm/cpu/armv7/zynq | 66 | - Added zynq u-boot bsp code - arch/arm/cpu/armv7/zynq |
55 | - Added zynq boards named - zynq, zynq_dcc | 67 | - Added zynq boards named - zc70x, zed, microzed, zc770_xm010, zc770_xm012, zc770_xm013 |
56 | - Added zynq drivers: | 68 | - Added zynq drivers: |
57 | serial - drivers/serial/serial_zynq.c | 69 | serial - drivers/serial/serial_zynq.c |
58 | net - drivers/net/zynq_gem.c | 70 | net - drivers/net/zynq_gem.c |
59 | mmc - drivers/mmc/zynq_sdhci.c | 71 | mmc - drivers/mmc/zynq_sdhci.c |
60 | mmc - drivers/mmc/zynq_sdhci.c | 72 | mmc - drivers/mmc/zynq_sdhci.c |
61 | spi- drivers/spi/zynq_spi.c | 73 | spi- drivers/spi/zynq_spi.c |
62 | i2c - drivers/i2c/zynq_i2c.c | 74 | i2c - drivers/i2c/zynq_i2c.c |
75 | - Done proper cleanups on board configurations | ||
76 | - Added basic FDT support for zynq boards | ||
77 | - d-cache support for zynq_gem.c | ||
63 | 78 | ||
64 | 5. TODO | 79 | 6. TODO |
65 | 80 | ||
66 | - Add zynq boards support - zc70x, zed, microzed, zc770 | 81 | - Add zynq boards support - zc770_xm011 |
67 | - Add zynq qspi controller driver | 82 | - Add zynq qspi controller driver |
68 | - Add zynq nand controller driver | 83 | - Add zynq nand controller driver |
69 | - d-cache support for zynq_gem.c | 84 | - Add FDT support on individual drivers |
70 | - FDT support for zynq boards | ||
71 | - Need proper cleanups on board configurations | ||
72 | 85 | ||
73 | [1] http://www.xilinx.com/products/boards-and-kits/EK-Z7-ZC702-G.htm | 86 | [1] http://www.xilinx.com/products/boards-and-kits/EK-Z7-ZC702-G.htm |
74 | [2] http://www.xilinx.com/products/boards-and-kits/EK-Z7-ZC706-G.htm | 87 | [2] http://www.xilinx.com/products/boards-and-kits/EK-Z7-ZC706-G.htm |
75 | [3] http://zedboard.org/product/zedboard | 88 | [3] http://zedboard.org/product/zedboard |
76 | [4] http://zedboard.org/product/microzed | 89 | [4] http://zedboard.org/product/microzed |
77 | [5] http://www.xilinx.com/support/documentation/user_guides/ug585-Zynq-7000-TRM.pdf | 90 | [5] http://www.xilinx.com/support/documentation/user_guides/ug585-Zynq-7000-TRM.pdf |
78 | 91 | ||
79 | -- | 92 | -- |
80 | Jagannadha Sutradharudu Teki <jaganna@xilinx.com> | 93 | Jagannadha Sutradharudu Teki <jaganna@xilinx.com> |