From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lukasz Majewski Date: Sat, 19 Jan 2019 00:34:36 +0100 Subject: [U-Boot] [PATCH v2 2/9] ARM: rockchip: rk3188: Remove the pinctrl setup and enable uart at SPL In-Reply-To: References: <20190102125105.25734-1-david.wu@rock-chips.com> <20190102125105.25734-3-david.wu@rock-chips.com> <5945404.LMZMiQBCTc@phil> Message-ID: <20190119003436.1d3ab5de@jawa> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit To: u-boot@lists.denx.de Hi David, > Hi Heiko, > > 在 2019/1/6 上午1:17, Heiko Stuebner 写道: > >> diff --git a/arch/arm/mach-rockchip/rk3188-board-spl.c > >> b/arch/arm/mach-rockchip/rk3188-board-spl.c index > >> 3c6c3d3c09..a5e4d39cb7 100644 --- > >> a/arch/arm/mach-rockchip/rk3188-board-spl.c +++ > >> b/arch/arm/mach-rockchip/rk3188-board-spl.c @@ -120,7 +120,7 @@ > >> void board_debug_uart_init(void) > >> void board_init_f(ulong dummy) > >> { > >> - struct udevice *pinctrl, *dev; > >> + struct udevice *dev; > >> int ret; > >> > >> #define EARLY_UART > >> @@ -134,10 +134,7 @@ void board_init_f(ulong dummy) > >> * printascii("string"); > >> */ > >> debug_uart_init(); > >> - printch('s'); > >> - printch('p'); > >> - printch('l'); > >> - printch('\n'); > >> + printascii("U-Boot SPL board init"); > > Did you test this change? > > I remember rk3188 having issues (aka hanging) when trying to print > > strings through the debug uart and only printch working at all. > > (Timer issue or so?) ... Not sure if this got fixed in the meantime? > > But you are using the debug uart for "production". Please use the proper driver. You may either properly setup normal uart or buffer the console output until the uart is configured by device model (DM). > > I don't know there was a issue, but i test it on the Radxa board > today, it looks okay. > > U-Boot SPL board init > U-Boot SPL 2019.01-rc1-00009-gdd7b9156fe (Jan 14 2019 - 19:53:50 > +0800) Returning to boot ROM... > > > U-Boot 2019.01-rc1-00009-gdd7b9156fe (Jan 14 2019 - 19:53:50 +0800) > > Model: Radxa Rock > DRAM: 2 GiB > MMC: dwmmc at 10214000: 0 > Loading Environment from MMC... Card did not respond to voltage > select! *** Warning - No block device, using default environment > > In: serial at 20064000 > Out: serial at 20064000 > Err: serial at 20064000 > Model: Radxa Rock > rockchip_dnl_key_pressed: adc_channel_single_shot fail! > Net: Net Initialization Skipped > No ethernet found. > Hit any key to stop autoboot: 0 > => > > > _______________________________________________ > U-Boot mailing list > U-Boot at lists.denx.de > https://lists.denx.de/listinfo/u-boot Best regards, Lukasz Majewski -- DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-59 Fax: (+49)-8142-66989-80 Email: lukma at denx.de -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 488 bytes Desc: OpenPGP digital signature URL: