public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH v2 0/8] rockchip: rk3399: Use spl_board_init in SPL, TPL
@ 2019-06-20 18:54 Jagan Teki
  2019-06-20 18:54 ` [U-Boot] [PATCH v2 1/8] board: rk3399: Drop explicit uart enablement in spl_board_init Jagan Teki
                   ` (7 more replies)
  0 siblings, 8 replies; 18+ messages in thread
From: Jagan Teki @ 2019-06-20 18:54 UTC (permalink / raw)
  To: u-boot

This is v2 set for previous v1. No much diff, except the
latest rebase.

Usually spl_board_init has preloader_console_init which
would help to print boot up banner during SPL and TPL.

The current rk3399 lacking that in few of the boards, 
this series make reuse of spl_board_init in SPL and TPL stages.

with this series:
================

U-Boot TPL 2019.07-rc1-00243-g3f0cad6bd2 (May 08 2019 - 11:29:32 +0530)
Trying to boot from BOOTROM
Returning to boot ROM...

U-Boot SPL 2019.07-rc1-00243-g3f0cad6bd2 (May 08 2019 - 11:29:32 +0530)
Trying to boot from MMC1


U-Boot 2019.07-rc1-00243-g3f0cad6bd2 (May 08 2019 - 11:29:32 +0530)

Model: FriendlyElec NanoPC-T4
DRAM:  3.9 GiB
MMC:   dwmmc at fe310000: 2, dwmmc at fe320000: 1, sdhci at fe330000: 0
Loading Environment from MMC... *** Warning - bad CRC, using default environment

In:    serial at ff1a0000
Out:   serial at ff1a0000
Err:   serial at ff1a0000
Model: FriendlyElec NanoPC-T4
Net:   eth0: ethernet at fe300000
Hit any key to stop autoboot:  0 
=>

without this series:
===================

U-Boot TPL board init
Trying to boot from BOOTROM
Returning to boot ROM...
U-Boot SPL board init
Trying to boot from MMC1

U-Boot 2019.07-rc1-00243-g3f0cad6bd2 (May 08 2019 - 11:29:32 +0530)

Model: FriendlyElec NanoPC-T4
DRAM:  3.9 GiB
MMC:   dwmmc at fe310000: 2, dwmmc at fe320000: 1, sdhci at fe330000: 0
Loading Environment from MMC... *** Warning - bad CRC, using default environment

In:    serial at ff1a0000
Out:   serial at ff1a0000
Err:   serial at ff1a0000
Model: FriendlyElec NanoPC-T4
Net:   eth0: ethernet at fe300000
Hit any key to stop autoboot:  0 
=>

Any inputs?
Jagan.

Jagan Teki (8):
  board: rk3399: Drop explicit uart enablement in spl_board_init
  rockchip: rk3399: Support common spl_board_init
  rockchip: rk3399: spl: Mark printascii into debug
  rockchip: rk3399: Move u-boot, dm-pre-reloc of uart0, uart2
  rockchip: rk3399: Enable SPL_BOARD_INIT
  rockchip: rk3399: tpl: Add spl_board_init
  rockchip: rk3399: tpl: Mark printascii into debug
  rockchip: rk3399: Enable TPL_BOARD_INIT

 arch/arm/dts/rk3399-gru.dtsi                  |  1 -
 arch/arm/dts/rk3399-puma.dtsi                 |  1 -
 arch/arm/dts/rk3399-u-boot.dtsi               |  8 +++
 arch/arm/mach-rockchip/Kconfig                |  2 +
 arch/arm/mach-rockchip/rk3399-board-spl.c     | 65 ++++++++++++++++++-
 arch/arm/mach-rockchip/rk3399-board-tpl.c     |  9 ++-
 board/rockchip/evb_rk3399/evb-rk3399.c        | 29 ---------
 .../puma_rk3399/puma-rk3399.c                 | 58 -----------------
 board/vamrs/rock960_rk3399/rock960-rk3399.c   | 31 ---------
 configs/puma-rk3399_defconfig                 |  1 -
 10 files changed, 82 insertions(+), 123 deletions(-)

-- 
2.18.0.321.gffc6fa0e3

^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2019-11-28  4:30 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-06-20 18:54 [U-Boot] [PATCH v2 0/8] rockchip: rk3399: Use spl_board_init in SPL, TPL Jagan Teki
2019-06-20 18:54 ` [U-Boot] [PATCH v2 1/8] board: rk3399: Drop explicit uart enablement in spl_board_init Jagan Teki
2019-06-22 13:45   ` Kever Yang
2019-06-20 18:55 ` [U-Boot] [PATCH v2 2/8] rockchip: rk3399: Support common spl_board_init Jagan Teki
2019-06-22 13:47   ` Kever Yang
2019-11-28  4:30   ` Vasily Khoruzhick
2019-06-20 18:55 ` [U-Boot] [PATCH v2 3/8] rockchip: rk3399: spl: Mark printascii into debug Jagan Teki
2019-06-22 13:47   ` Kever Yang
2019-06-20 18:55 ` [U-Boot] [PATCH v2 4/8] rockchip: rk3399: Move u-boot, dm-pre-reloc of uart0, uart2 Jagan Teki
2019-06-22 13:48   ` Kever Yang
2019-06-20 18:55 ` [U-Boot] [PATCH v2 5/8] rockchip: rk3399: Enable SPL_BOARD_INIT Jagan Teki
2019-06-22 13:49   ` Kever Yang
2019-06-20 18:55 ` [U-Boot] [PATCH v2 6/8] rockchip: rk3399: tpl: Add spl_board_init Jagan Teki
2019-06-22 13:50   ` Kever Yang
2019-06-20 18:55 ` [U-Boot] [PATCH v2 7/8] rockchip: rk3399: tpl: Mark printascii into debug Jagan Teki
2019-06-22 13:50   ` Kever Yang
2019-06-20 18:55 ` [U-Boot] [PATCH v2 8/8] rockchip: rk3399: Enable TPL_BOARD_INIT Jagan Teki
2019-06-22 13:51   ` Kever Yang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox