Skip to contentSkip to conversation

Pull request: u-boot-rockchip-20200120

DISCUSSION Kever Yang 4 participants 7 messages Jan 20, 2020 – Jan 30, 2020

lore
Share & tools
lore

Kever Yang

author
#0 lore raw

Hi Tom,

Please pull the rockchip updates:
- Support SPI boot and redundant boot for rk3399
- Support binman for rockchip platform
- Update ram driver and add ddr4 support for rk3328

Travis:
https://travis-ci.org/keveryang/u-boot/builds/639069624

Thanks,
- Kever

The following changes since commit d7bb6aceb2e99a832efbb96f9bf480bf95602192:

Merge tag 'mmc-1-16-2020' of https://gitlab.denx.de/u-boot/custodians/u-boot-mmc (2020-01-16 13:20:51 -0500)

are available in the Git repository at:

https://gitlab.denx.de/u-boot/custodians/u-boot-rockchip.git tags/u-boot-rockchip-20200120

for you to fetch changes up to f9a0f5b83e9eabf4d064c7ec46fe2f9b9b694b4e:

configs: firefly-rk3399: Enable CONFIG_MISC_INIT_R and ROCKCHIP_EFUSE (2020-01-19 15:19:03 +0800)

----------------------------------------------------------------
Jagan Teki (21):
distro_bootcmd: Add SF support
rockchip: Include SF on distrocmd devices
rk3399: Add boot flash script offet, size
rk3399: Check MMC env while defining it
env: kconfig: Restrict rockchip env for MMC
env: Enable SPI flash env for rockchip
rockchip: dts: Sync ROC-RK3399-PC changes from Linux
roc-pc-rk3399: Enable SPI Flash
rockpro-rk3399: Enable SPI Flash
rockchip: Add cpu-info
rockchip: rk3399: Enable DISPLAY_CPUINFO
arm: rockchip: Add common cru.h
rockchip: Add common reset cause
rockchip: rk3399: Add bootcount support
Makefile: Add rockchip image type
Makefile: rockchip: Suffix platform type with tpl name
Makefile: rockchip: Support SPL-alone mkimage
arm: dts: rk3036: Add rk3036-u-boot.dtsi
arm: dts: rk3188: Add rk3188-u-boot.dtsi
rockchip: Add Single boot image (with binman, pad_cat)
doc: boards: Add rockchip documentation

Kever Yang (3):
ram: rk3328: only do data traning for cs0
rockchip: px30: remove CONFIG_OPTEE support
rockchip: rk3308: add alias for emmc/sdmmc

Mark Kettenis (1):
configs: firefly-rk3399: Enable CONFIG_MISC_INIT_R and ROCKCHIP_EFUSE

Thomas Hebb (1):
ram: rk3399: don't assume phy_io_config() uses real regs

YouMin Chen (2):
ram: rk3328: add support ddr4 init
ram: rk3328: update lpddr3 setting

 Makefile                                        |  36 +-
 arch/arm/Kconfig                                |   1 +
 arch/arm/dts/rk3036-sdk-u-boot.dtsi             |   2 +
 arch/arm/dts/rk3036-u-boot.dtsi                 |   6 +
 arch/arm/dts/rk3188-radxarock-u-boot.dtsi       |   2 +
 arch/arm/dts/rk3188-u-boot.dtsi                 |   6 +
 arch/arm/dts/rk3288-u-boot.dtsi                 |   2 +
 arch/arm/dts/rk3308-u-boot.dtsi                 |   7 +
 arch/arm/dts/rk3328-sdram-ddr4-666.dtsi         | 216 +++++++
 arch/arm/dts/rk3328-sdram-lpddr3-666.dtsi       |   8 +-
 arch/arm/dts/rk3399-roc-pc-u-boot.dtsi          |   4 +
 arch/arm/dts/rk3399-roc-pc.dts                  | 673 +-------------------
 arch/arm/dts/rk3399-roc-pc.dtsi                 | 813 ++++++++++++++++++++++++
 arch/arm/dts/rk3399-rockpro64-u-boot.dtsi       |   4 +
 arch/arm/dts/rockchip-u-boot.dtsi               |  21 +
 arch/arm/include/asm/arch-rockchip/clock.h      |   4 +-
 arch/arm/include/asm/arch-rockchip/cru.h        |  30 +
 arch/arm/include/asm/arch-rockchip/cru_rk3288.h |  20 +-
 arch/arm/include/asm/arch-rockchip/cru_rk3399.h |  11 +-
 arch/arm/mach-rockchip/Kconfig                  |   2 +
 arch/arm/mach-rockchip/Makefile                 |   1 +
 arch/arm/mach-rockchip/cpu-info.c               |  65 ++
 arch/arm/mach-rockchip/rk3288/clk_rk3288.c      |   2 +-
 arch/arm/mach-rockchip/rk3288/rk3288.c          |  41 +-
 arch/arm/mach-rockchip/rk3399/Kconfig           |  10 +
 arch/arm/mach-rockchip/rk3399/clk_rk3399.c      |   2 +-
 arch/arm/mach-rockchip/rk3399/rk3399.c          |   2 +-
 configs/evb-px30_defconfig                      |   1 -
 configs/evb-rk3288_defconfig                    |   1 -
 configs/evb-rk3399_defconfig                    |   1 -
 configs/ficus-rk3399_defconfig                  |   1 -
 configs/firefly-px30_defconfig                  |   1 -
 configs/firefly-rk3288_defconfig                |   1 -
 configs/firefly-rk3399_defconfig                |   4 +-
 configs/khadas-edge-captain-rk3399_defconfig    |   1 -
 configs/khadas-edge-rk3399_defconfig            |   1 -
 configs/khadas-edge-v-rk3399_defconfig          |   1 -
 configs/leez-rk3399_defconfig                   |   1 -
 configs/miqi-rk3288_defconfig                   |   1 -
 configs/nanopc-t4-rk3399_defconfig              |   1 -
 configs/nanopi-m4-rk3399_defconfig              |   1 -
 configs/nanopi-neo4-rk3399_defconfig            |   1 -
 configs/orangepi-rk3399_defconfig               |   1 -
 configs/phycore-rk3288_defconfig                |   3 -
 configs/popmetal-rk3288_defconfig               |   1 -
 configs/puma-rk3399_defconfig                   |   1 -
 configs/roc-pc-rk3399_defconfig                 |   3 +-
 configs/rock-pi-4-rk3399_defconfig              |   1 -
 configs/rock960-rk3399_defconfig                |   1 -
 configs/rockpro64-rk3399_defconfig              |   3 +-
 configs/tinker-rk3288_defconfig                 |   1 -
 configs/tinker-s-rk3288_defconfig               |   1 -
 configs/vyasa-rk3288_defconfig                  |   1 -
 doc/board/rockchip/index.rst                    |  10 +
 doc/board/rockchip/rockchip.rst                 | 130 ++++
 drivers/clk/rockchip/clk_rk3288.c               |  42 +-
 drivers/clk/rockchip/clk_rk3399.c               |  36 +-
 drivers/ram/rockchip/sdram_rk3288.c             |  10 +-
 drivers/ram/rockchip/sdram_rk3328.c             |  10 +-
 drivers/ram/rockchip/sdram_rk3399.c             |  16 +-
 drivers/video/rockchip/rk3288_mipi.c            |   2 +-
 drivers/video/rockchip/rk3399_mipi.c            |   2 +-
 drivers/video/rockchip/rk_mipi.c                |   2 +-
 env/Kconfig                                     |   8 +-
 include/config_distro_bootcmd.h                 |  35 +
 include/configs/evb_rk3399.h                    |   4 +-
 include/configs/rk3399_common.h                 |   7 +-
 include/configs/rockchip-common.h               |  10 +
 68 files changed, 1509 insertions(+), 841 deletions(-)
 create mode 100644 arch/arm/dts/rk3036-u-boot.dtsi
 create mode 100644 arch/arm/dts/rk3188-u-boot.dtsi
 create mode 100644 arch/arm/dts/rk3328-sdram-ddr4-666.dtsi
 create mode 100644 arch/arm/dts/rk3399-roc-pc.dtsi
 create mode 100644 arch/arm/dts/rockchip-u-boot.dtsi
 create mode 100644 arch/arm/include/asm/arch-rockchip/cru.h
 create mode 100644 arch/arm/mach-rockchip/cpu-info.c
 create mode 100644 doc/board/rockchip/index.rst
 create mode 100644 doc/board/rockchip/rockchip.rst
#1 lore raw
Quoted 17 lines · Kever Yang

Hi Tom,

Please pull the rockchip updates:
- Support SPI boot and redundant boot for rk3399
- Support binman for rockchip platform
- Update ram driver and add ddr4 support for rk3328

Travis:
https://travis-ci.org/keveryang/u-boot/builds/639069624

Thanks,
- Kever

The following changes since commit d7bb6aceb2e99a832efbb96f9bf480bf95602192:

Merge tag 'mmc-1-16-2020' of https://gitlab.denx.de/u-boot/custodians/u-boot-mmc (2020-01-16 13:20:51 -0500)

Quoted 8 lines

are available in the Git repository at:

https://gitlab.denx.de/u-boot/custodians/u-boot-rockchip.git tags/u-boot-rockchip-20200120

for you to fetch changes up to f9a0f5b83e9eabf4d064c7ec46fe2f9b9b694b4e:

configs: firefly-rk3399: Enable CONFIG_MISC_INIT_R and ROCKCHIP_EFUSE (2020-01-19 15:19:03 +0800)

Per the details in the "distro_bootcmd: Add SF support" thread, I'm not taking this as the distro_bootcmd changes need to be dropped. Thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20200123/a4fbcc0f/attachment.sig>
#2 lore raw

Hi Tom,

Quoted 24 lines · Tom Rini
Quoted 21 lines · Kever Yang

Hi Tom,

Please pull the rockchip updates:
- Support SPI boot and redundant boot for rk3399
- Support binman for rockchip platform
- Update ram driver and add ddr4 support for rk3328

Travis:
https://travis-ci.org/keveryang/u-boot/builds/639069624

Thanks,
- Kever

The following changes since commit d7bb6aceb2e99a832efbb96f9bf480bf95602192:

Merge tag 'mmc-1-16-2020' of https://gitlab.denx.de/u-boot/custodians/u-boot-mmc (2020-01-16 13:20:51 -0500)

are available in the Git repository at:

https://gitlab.denx.de/u-boot/custodians/u-boot-rockchip.git tags/u-boot-rockchip-20200120

Quoted 7 lines
Quoted 4 lines

for you to fetch changes up to f9a0f5b83e9eabf4d064c7ec46fe2f9b9b694b4e:

configs: firefly-rk3399: Enable CONFIG_MISC_INIT_R and ROCKCHIP_EFUSE (2020-01-19 15:19:03 +0800)

Per the details in the "distro_bootcmd: Add SF support" thread, I'm not taking this as the distro_bootcmd changes need to be dropped. Thanks!

Seems like Kever was Off for vacations or so, if possible maybe you can drop below 'sf distro changes from PR'

distro_bootcmd: Add SF support
rockchip: Include SF on distrocmd devices
rk3399: Add boot flash script offet, size

Jagan.

#3 lore raw
Quoted 35 lines · Jagan Teki

Hi Tom,

Quoted 24 lines · Tom Rini
Quoted 21 lines · Kever Yang

Hi Tom,

Please pull the rockchip updates:
- Support SPI boot and redundant boot for rk3399
- Support binman for rockchip platform
- Update ram driver and add ddr4 support for rk3328

Travis:
https://travis-ci.org/keveryang/u-boot/builds/639069624

Thanks,
- Kever

The following changes since commit d7bb6aceb2e99a832efbb96f9bf480bf95602192:

Merge tag 'mmc-1-16-2020' of https://gitlab.denx.de/u-boot/custodians/u-boot-mmc (2020-01-16 13:20:51 -0500)

are available in the Git repository at:

https://gitlab.denx.de/u-boot/custodians/u-boot-rockchip.git tags/u-boot-rockchip-20200120

Quoted 7 lines
Quoted 4 lines

for you to fetch changes up to f9a0f5b83e9eabf4d064c7ec46fe2f9b9b694b4e:

configs: firefly-rk3399: Enable CONFIG_MISC_INIT_R and ROCKCHIP_EFUSE (2020-01-19 15:19:03 +0800)

Per the details in the "distro_bootcmd: Add SF support" thread, I'm not taking this as the distro_bootcmd changes need to be dropped. Thanks!

Quoted 6 lines

Seems like Kever was Off for vacations or so, if possible maybe you can drop below 'sf distro changes from PR'

distro_bootcmd: Add SF support
rockchip: Include SF on distrocmd devices
rk3399: Add boot flash script offet, size

I will just wait for a new PR early in the -rc2 cycle to take care of outstanding rockchip changes. Thanks.

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20200127/1508eb82/attachment.sig>
#4 lore raw
Quoted 40 lines · Tom Rini
Quoted 38 lines · Jagan Teki

Hi Tom,

Quoted 24 lines · Tom Rini
Quoted 21 lines · Kever Yang

Hi Tom,

Please pull the rockchip updates:
- Support SPI boot and redundant boot for rk3399
- Support binman for rockchip platform
- Update ram driver and add ddr4 support for rk3328

Travis:
https://travis-ci.org/keveryang/u-boot/builds/639069624

Thanks,
- Kever

The following changes since commit d7bb6aceb2e99a832efbb96f9bf480bf95602192:

Merge tag 'mmc-1-16-2020' of https://gitlab.denx.de/u-boot/custodians/u-boot-mmc (2020-01-16 13:20:51 -0500)

are available in the Git repository at:

https://gitlab.denx.de/u-boot/custodians/u-boot-rockchip.git tags/u-boot-rockchip-20200120

Quoted 7 lines
Quoted 4 lines

for you to fetch changes up to f9a0f5b83e9eabf4d064c7ec46fe2f9b9b694b4e:

configs: firefly-rk3399: Enable CONFIG_MISC_INIT_R and ROCKCHIP_EFUSE (2020-01-19 15:19:03 +0800)

Per the details in the "distro_bootcmd: Add SF support" thread, I'm not taking this as the distro_bootcmd changes need to be dropped. Thanks!

Seems like Kever was Off for vacations or so, if possible maybe you can drop below 'sf distro changes from PR'

Quoted 6 lines
Quoted 3 lines

distro_bootcmd: Add SF support
rockchip: Include SF on distrocmd devices
rk3399: Add boot flash script offet, size

I will just wait for a new PR early in the -rc2 cycle to take care of outstanding rockchip changes. Thanks.

It's Chinese New Year, with an extended vacation in China till this Sunday, due to the coronavirus outbreak [1].

[1] https://www.bbc.com/news/world-asia-china-51259649

#5 lore raw
Quoted 45 lines · Chen-Yu Tsai
Quoted 44 lines · Tom Rini
Quoted 41 lines · Jagan Teki

Hi Tom,

Quoted 24 lines · Tom Rini
Quoted 21 lines · Kever Yang

Hi Tom,

Please pull the rockchip updates:
- Support SPI boot and redundant boot for rk3399
- Support binman for rockchip platform
- Update ram driver and add ddr4 support for rk3328

Travis:
https://travis-ci.org/keveryang/u-boot/builds/639069624

Thanks,
- Kever

The following changes since commit d7bb6aceb2e99a832efbb96f9bf480bf95602192:

Merge tag 'mmc-1-16-2020' of https://gitlab.denx.de/u-boot/custodians/u-boot-mmc (2020-01-16 13:20:51 -0500)

are available in the Git repository at:

https://gitlab.denx.de/u-boot/custodians/u-boot-rockchip.git tags/u-boot-rockchip-20200120

Quoted 7 lines
Quoted 4 lines

for you to fetch changes up to f9a0f5b83e9eabf4d064c7ec46fe2f9b9b694b4e:

configs: firefly-rk3399: Enable CONFIG_MISC_INIT_R and ROCKCHIP_EFUSE (2020-01-19 15:19:03 +0800)

Per the details in the "distro_bootcmd: Add SF support" thread, I'm not taking this as the distro_bootcmd changes need to be dropped. Thanks!

Seems like Kever was Off for vacations or so, if possible maybe you can drop below 'sf distro changes from PR'

distro_bootcmd: Add SF support
rockchip: Include SF on distrocmd devices
rk3399: Add boot flash script offet, size

Quoted 7 lines
Quoted 2 lines

I will just wait for a new PR early in the -rc2 cycle to take care of outstanding rockchip changes. Thanks.

It's Chinese New Year, with an extended vacation in China till this Sunday, due to the coronavirus outbreak [1].

[1] https://www.bbc.com/news/world-asia-china-51259649

Yes, thanks.

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20200127/89494f40/attachment.sig>
author
#6 lore raw
In reply to Tom Rini

Hi Tom,

    Sorry for not reply in time for the Chinese Spring Festival vocation.

    I will make a new PR and send to mailing list.

Thanks,

- Kever

Quoted 42 lines · Tom Rini
Quoted 30 lines · Jagan Teki

Hi Tom,

Quoted 27 lines · Tom Rini
Quoted 25 lines · Kever Yang

Hi Tom,

Please pull the rockchip updates:
- Support SPI boot and redundant boot for rk3399
- Support binman for rockchip platform
- Update ram driver and add ddr4 support for rk3328

Travis:
https://travis-ci.org/keveryang/u-boot/builds/639069624

Thanks,
- Kever

The following changes since commit d7bb6aceb2e99a832efbb96f9bf480bf95602192:

   Merge tag 'mmc-1-16-2020' of https://gitlab.denx.de/u-boot/custodians/u-boot-mmc (2020-01-16 13:20:51 -0500)

are available in the Git repository at:

   https://gitlab.denx.de/u-boot/custodians/u-boot-rockchip.git tags/u-boot-rockchip-20200120

for you to fetch changes up to f9a0f5b83e9eabf4d064c7ec46fe2f9b9b694b4e:

   configs: firefly-rk3399: Enable CONFIG_MISC_INIT_R and ROCKCHIP_EFUSE (2020-01-19 15:19:03 +0800)
Quoted 8 lines
Quoted 2 lines

Per the details in the "distro_bootcmd: Add SF support" thread, I'm not taking this as the distro_bootcmd changes need to be dropped. Thanks!

Seems like Kever was Off for vacations or so, if possible maybe you can drop below 'sf distro changes from PR'

distro_bootcmd: Add SF support
rockchip: Include SF on distrocmd devices
rk3399: Add boot flash script offet, size

I will just wait for a new PR early in the -rc2 cycle to take care of outstanding rockchip changes. Thanks.