[U-Boot] [PATCH v2 0/5] zynq: fix OF control of Zynq

Masahiro Yamada yamada.m at jp.panasonic.com
Thu May 15 13:37:50 CEST 2014


Zynq boards define CONFIG_OF_CONTROL and CONFIG_OF_SEPARATE,
but it is not working.

One possible workaround was to edit include/configs/zynq-common.h
to disable
  CONFIG_OF_CONTROL
  CONFIG_OF_SEPARATE
  CONFIG_DISPLAY_BOARDINFO_LATE
  CONFIG_FIT_SIGNATURE
  CONFIG_RSA

I am not satisfied with this temporal workaround.

My motivation is to run U-boot mainline on Zynq boards
with OF control.

To achieve this, SPL must load u-boot-dtb.bin.

1/5 adds support u-boot-dtb.img (= uImage header + u-boot-dtb.bin)

2/5 switches to load u-boot-dtb.img.

3/5 thru 5/5 add missing some nodes to device tree.

This series was tested on my ZC706 board.


Changes in v2:
 - Select either "u-boot-dtb.img" or "u-boot.img"
   for CONFIG_SPL_FAT_LOAD_PAYLOAD_NAME.
 - Import zynq-7000.dtsi from Linux Kernel v3.15-rc5

Masahiro Yamada (5):
  build: support a new image u-boot-dtb.img
  zynq: load u-boot-dtb.img if CONFIG_OF_SEPARATE is defined
  zynq: import zynq-7000.dtsi from Linux Kernel
  zynq: add memory nodes to device tree to initialize DRAM with OF
  zynq: add UART nodes to device tree to initialize UART with OF

 Makefile                          |   8 ++
 arch/arm/dts/zynq-7000.dtsi       | 194 ++++++++++++++++++++++++++++++++++++++
 arch/arm/dts/zynq-microzed.dts    |   9 ++
 arch/arm/dts/zynq-zc702.dts       |   9 ++
 arch/arm/dts/zynq-zc706.dts       |   9 ++
 arch/arm/dts/zynq-zc770-xm010.dts |   9 ++
 arch/arm/dts/zynq-zc770-xm012.dts |   9 ++
 arch/arm/dts/zynq-zc770-xm013.dts |   9 ++
 arch/arm/dts/zynq-zed.dts         |   9 ++
 include/configs/zynq-common.h     |  20 ++--
 10 files changed, 277 insertions(+), 8 deletions(-)

-- 
1.9.1



More information about the U-Boot mailing list