[U-Boot] [PATCH v5 0/4] add support for rk3399 soc and evb

Kever Yang kever.yang at rock-chips.com
Tue Jul 19 15:16:57 CEST 2016


Hi Simon,

Sorry for didn't apply all the changes for comments from
Andreas in V4, I rebase this patchset on u-boot-rockchip.git
master branch and reset to below commit:
 f278234 rockchip: update fastboot usage

Please help to rebase my patches, you should be able to
apply these patches directly.

This patchset add support for rk3399 with ATF based on
Rockchip miniloader as secondary bootloader instead of
U-Boot SPL.

Rockchip miniloader init the DRAM and load the ATF and
U-Boot to runing address, and then jump to ATF, the ATF
do some init and switch to EL2/EL1 mode before jump to
next loader which is U-Boot here.

Pls reference board/rockchip/evb_rk3399/README to setup
the board.

Will migrate to SPL once its ready for ATF.

This patch set is based on below patch:
"board: move all the rockchip board in one folder"

This patch set has been test on rk3399 evb board.

In this version, I split the mmc driver in seperate thread,
because when I enable the full-model for mmc driver,
Seems bug happen in blk layer, will descript detail in
mmc patch.


Changes in v5:
- add file source and detail changes for U-Boot
- Rebase to u-boot-rockchip.git;
- fixes base on comments from Andreas;
- fix for comments from Simon, correct some typo;

Changes in v4:
- remove extra blank line in evb_rk3399.h,
- remove unnecessary including file in rk3399_common.h,
- fixes base on comments from Andreas,
- Rebase on U-Boot ToT.
- move config CONFIG_SYS_NS16550 from chip common to defconfig

Changes in v3:
- Rebase on patch from Andreas:
- [PATCH] rockchip: Exclude rk_timer for ARM64
- [PATCH] rockchip: Clean up CPU selection

Changes in v2:
- fix description error on board Kconfig
- fix a binary path error

Kever Yang (4):
  dts: add support for Rockchip rk3399 soc
  ARM64: rockchip: add support for rk3399 SoC based evb
  config: add config file for evb-rk3399
  ARM64: evb-rk3399: add a README for this board setup

 arch/arm/Kconfig                       |    6 +-
 arch/arm/dts/Makefile                  |    3 +-
 arch/arm/dts/rk3399-evb.dts            |  104 ++++
 arch/arm/dts/rk3399.dtsi               | 1028 ++++++++++++++++++++++++++++++++
 arch/arm/mach-rockchip/Kconfig         |   16 +
 arch/arm/mach-rockchip/Makefile        |    1 +
 arch/arm/mach-rockchip/rk3399/Kconfig  |   23 +
 arch/arm/mach-rockchip/rk3399/Makefile |    7 +
 arch/arm/mach-rockchip/rk3399/rk3399.c |   28 +
 board/rockchip/evb_rk3399/Kconfig      |   15 +
 board/rockchip/evb_rk3399/MAINTAINERS  |    0
 board/rockchip/evb_rk3399/Makefile     |    7 +
 board/rockchip/evb_rk3399/README       |   73 +++
 board/rockchip/evb_rk3399/evb-rk3399.c |   26 +
 configs/evb-rk3399_defconfig           |   33 +
 include/configs/evb_rk3399.h           |   26 +
 include/configs/rk3399_common.h        |   73 +++
 include/dt-bindings/clock/rk3399-cru.h |  746 +++++++++++++++++++++++
 18 files changed, 2210 insertions(+), 5 deletions(-)
 create mode 100644 arch/arm/dts/rk3399-evb.dts
 create mode 100644 arch/arm/dts/rk3399.dtsi
 create mode 100644 arch/arm/mach-rockchip/rk3399/Kconfig
 create mode 100644 arch/arm/mach-rockchip/rk3399/Makefile
 create mode 100644 arch/arm/mach-rockchip/rk3399/rk3399.c
 create mode 100644 board/rockchip/evb_rk3399/Kconfig
 create mode 100644 board/rockchip/evb_rk3399/MAINTAINERS
 create mode 100644 board/rockchip/evb_rk3399/Makefile
 create mode 100644 board/rockchip/evb_rk3399/README
 create mode 100644 board/rockchip/evb_rk3399/evb-rk3399.c
 create mode 100644 configs/evb-rk3399_defconfig
 create mode 100644 include/configs/evb_rk3399.h
 create mode 100644 include/configs/rk3399_common.h
 create mode 100644 include/dt-bindings/clock/rk3399-cru.h

-- 
1.9.1




More information about the U-Boot mailing list