Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 62E63C6FA8B for ; Thu, 22 Sep 2022 06:47:17 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 49D8B84A30; Thu, 22 Sep 2022 08:47:15 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=fail (p=quarantine dis=none) header.from=startmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=fail reason="signature verification failed" (2048-bit key; secure) header.d=startmail.com header.i=@startmail.com header.b="fcaHasGI"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id EFEA584CAA; Thu, 22 Sep 2022 08:47:12 +0200 (CEST) Received: from mx-out2.startmail.com (mx-out2.startmail.com [145.131.90.155]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id D892B849F4 for ; Thu, 22 Sep 2022 08:47:10 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=startmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=hanetzer@startmail.com From: "Marty E. Plummer" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=startmail.com; s=2020-07; t=1663829229; bh=2dzRVdpQozlohzrVy/s1FYCAL5P+HUml4WY6gfP8Ors=; h=From:To:Subject:Date:Message-Id:MIME-Version: Content-Transfer-Encoding:From:Subject:To:Date:Sender:Content-Type: Content-Transfer-Encoding:Content-Disposition:Mime-Version: Reply-To:In-Reply-To:References:Message-Id:Autocrypt; b=fcaHasGI9eRkYcRyfg/UPn02OyHxPGTzf/4LP4opu3hJTLIGxo3tnspqtVnkZj9bC BGtWYKgDCLAyVWwH3HyhOup68rwM+VEadlOtcY1SZC+cqJsoPPnLzkm1K/RtMQkf5g p4txJx+G2MCnjjCsa5t+4LKpP6GhVdUWafCTawnne5NPkdwXluHIJTsvEY98Ud4Hpo G34Jugin1Tes9dfvg85W5gPj9ysoq93wU2GY440P//D9lHeDY+N2EObgSHLxDxx8rJ f6w4IB3jdzB27U1u93db6wiHpWIOXHXHyWHMUzbYKD3ov2VSDwBhrZH02k17Q75bzV eMV+jOvOo9V+w== To: U-Boot Mailing List Cc: Simon Glass , Kever Yang , Philipp Tomsich , "Marty E. Plummer" , Artem Lapkin , Johan Jonker , Philipp Tomsich , Quentin Schulz , Xavier Drudis Ferran , linux-rockchip@lists.infradead.org Subject: [RFC PATCH 0/4] Alternative debug outputs for rockchip devices Date: Thu, 22 Sep 2022 01:46:59 -0500 Message-Id: <20220922064704.1740759-1-hanetzer@startmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.6 at phobos.denx.de X-Virus-Status: Clean 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