[RFC PATCH 0/4] Alternative debug outputs for rockchip devices
Marty E. Plummer
hanetzer at startmail.com
Wed Sep 21 23:46:59 PDT 2022
I don't intend for the last change to be included in mainline, I just
need some form of serial output to see why archlinuxarm, alpine linux,
and Fedora workstation all fail to boot on this hardware (rk3399-gru-kevin).
Or at least, I think its failing. At the point of booting the kernel the
bottom inch or so of the screen corrupts a bit and then nothing. It
could be working, but without output on screen or uart2dbga I have no
idea what is going wrong.
I *would* use the uart-to-usb functionality of the rk3399, but as far as
I know this only works with the 2.0, and I'm not sure if those are
available on the rk3399-gru-kevin's type c ports. Do correct me if I'm
wrong.
In addition, the GRF_SOC_CON7:grf_uart_dbg_sel is, as far as I know,
undocumented, outside of the GRF_UART_DBG_SEL_C enum in grf_rk3399,
so the other two options (A and B) are just based on my assumptions.
If someone who *actually knows* could elaborate on it and correct me if
needed I'd greatly appreciate it.
Marty E. Plummer (4):
rockchip: rk3288: enable u-boot.rom for speedy
rockchip: rk3288: enable uart2->usb redirection
rockchip: rk3399: fix typo in grf file
rockchip: rk3399: attempt to redirect uart2dbga to sdcard
arch/arm/dts/rk3399-gru.dtsi | 7 +---
arch/arm/dts/rk3399.dtsi | 4 +-
.../include/asm/arch-rockchip/grf_rk3288.h | 41 +++++++++++++++++++
.../include/asm/arch-rockchip/grf_rk3399.h | 5 ++-
arch/arm/mach-rockchip/rk3288/Kconfig | 2 +
arch/arm/mach-rockchip/rk3288/rk3288.c | 20 +++++++++
arch/arm/mach-rockchip/rk3399/rk3399.c | 18 ++++----
7 files changed, 80 insertions(+), 17 deletions(-)
--
2.37.3
More information about the Linux-rockchip
mailing list