[U-Boot] [PATCH 0/8][RESEND] Device Tree support for PowerPC in u-boot

Jagdish Gediya jagdish.gediya at nxp.com
Tue Aug 21 18:18:19 UTC 2018


In current implementation, PowerPC does not support device tree in u-boot.
This patch enables device tree support for PowerPC platform .

T2080AQDS board used as first platform.
  
Dtb is embedded in the u-boot following below steps using binmam tool.
  
1. Remove bootpg and resetvec section if required
2. Append dtb using binman
3. Append bootpg and resetvec section back if removed in 1st step.
  
To enable binman tool, 'binman' node  has been added in the device tree.

Resend with adding missed u-boot mailing list

Jagdish Gediya (8):
  powerpc/dts: setup fdt blob at __init_end
  powerpc/dts: makefile changes to clean and build dts
  binman: Add a new "start-pos" property in section class
  binman: Add support for powerpc 'bootpg + resetvec' entry
  powerpc: mpc85xx: select BINMAN by default
  powerpc: dts: add u-boot.dtsi and mpc85xx-u-boot.dtsi
  powerpc: mpc85xx: Use binman to embed dtb inside u-boot
  powerpc: dts: Enable device tree support for T2080QDS

 Makefile                                      | 30 ++++++++++++-
 arch/powerpc/Kconfig                          |  1 +
 arch/powerpc/cpu/mpc8xxx/fdt.c                | 12 +++++
 arch/powerpc/dts/Makefile                     | 14 ++++++
 arch/powerpc/dts/e6500_power_isa.dtsi         | 39 ++++++++++++++++
 arch/powerpc/dts/mpc85xx-u-boot.dtsi          | 16 +++++++
 arch/powerpc/dts/t2080qds.dts                 | 17 +++++++
 arch/powerpc/dts/t2080qds.dtsi                | 64 +++++++++++++++++++++++++++
 arch/powerpc/dts/u-boot.dtsi                  | 31 +++++++++++++
 board/freescale/t208xqds/README               | 17 +++++++
 configs/T2080QDS_NAND_defconfig               |  3 +-
 configs/T2080QDS_SDCARD_defconfig             |  3 +-
 configs/T2080QDS_SPIFLASH_defconfig           |  3 +-
 configs/T2080QDS_defconfig                    |  3 +-
 dts/Makefile                                  |  2 +-
 tools/binman/bsection.py                      | 13 +++++-
 tools/binman/etype/mpc85xx_bootpg_resetvec.py | 15 +++++++
 17 files changed, 274 insertions(+), 9 deletions(-)
 create mode 100644 arch/powerpc/dts/Makefile
 create mode 100644 arch/powerpc/dts/e6500_power_isa.dtsi
 create mode 100644 arch/powerpc/dts/mpc85xx-u-boot.dtsi
 create mode 100644 arch/powerpc/dts/t2080qds.dts
 create mode 100644 arch/powerpc/dts/t2080qds.dtsi
 create mode 100644 arch/powerpc/dts/u-boot.dtsi
 create mode 100644 tools/binman/etype/mpc85xx_bootpg_resetvec.py

-- 
2.7.4



More information about the U-Boot mailing list