From patchwork Tue Feb 9 13:47:02 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Heiko Stuebner X-Patchwork-Id: 1438386 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=85.214.62.61; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4DZkjh6g68z9sSC for ; Wed, 10 Feb 2021 00:47:52 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id C65C282A6C; Tue, 9 Feb 2021 14:47:40 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=sntech.de Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Received: by phobos.denx.de (Postfix, from userid 109) id E08BB82A7B; Tue, 9 Feb 2021 14:47:28 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE autolearn=ham autolearn_force=no version=3.4.2 Received: from gloria.sntech.de (gloria.sntech.de [185.11.138.130]) (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 2D5EF82A6A for ; Tue, 9 Feb 2021 14:47:21 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=sntech.de Authentication-Results: phobos.denx.de; spf=none smtp.mailfrom=heiko@sntech.de Received: from ip5f5aa64a.dynamic.kabel-deutschland.de ([95.90.166.74] helo=phil.lan) by gloria.sntech.de with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1l9TMJ-0007DX-Oz; Tue, 09 Feb 2021 14:47:15 +0100 From: Heiko Stuebner To: sjg@chromium.org, kever.yang@rock-chips.com Cc: cmuellner@linux.com, heiko@sntech.de, u-boot@lists.denx.de, Heiko Stuebner Subject: [PATCH 0/8] rockchip: resurrect rk3368 functionality and make lion bootable again Date: Tue, 9 Feb 2021 14:47:02 +0100 Message-Id: <20210209134710.2313240-1-heiko@sntech.de> X-Mailer: git-send-email 2.29.2 MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 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.102.3 at phobos.denx.de X-Virus-Status: Clean From: Heiko Stuebner With current u-boot (and probably for some time now) rk3368-lion can't boot anymore. As the patches indicate, that is partially on the lion support but also on general rk3368-support not fitting current expectations anymore. So this series, adapts options to what other Rockchip SoCs do and makes lion also bootable again. Heiko Stuebner (8): rockchip: rk3368: adjust CONFIG_SYS_LOAD_ADDR rockchip: rk3368: set CONFIG_SYS_BOOTM_LEN to 64MB rockchip: rk3368: increase SYS_MALLOC_F_LEN to 0x4000 rockchip: rk3368: move STACK_R_ADDR address and into Kconfig rockchip: rk3368: sync clock dt-binding header from Linux rockchip: rk3368: sync main rk3368 dtsi from Linux rockchip: rk3368: sync down rk3368-lion board devicetree from Linux rockchip: lion: update board defconfig arch/arm/dts/Makefile | 2 +- arch/arm/dts/rk3368-geekbox-u-boot.dtsi | 2 + ...ot.dtsi => rk3368-lion-haikou-u-boot.dtsi} | 6 + arch/arm/dts/rk3368-lion-haikou.dts | 140 +++++ .../dts/{rk3368-lion.dts => rk3368-lion.dtsi} | 271 ++++++-- arch/arm/dts/rk3368-px5-evb-u-boot.dtsi | 3 + arch/arm/dts/rk3368-sheep-u-boot.dtsi | 2 + arch/arm/dts/rk3368-u-boot.dtsi | 27 + arch/arm/dts/rk3368.dtsi | 578 +++++++++++------- arch/arm/mach-rockchip/rk3368/Kconfig | 5 +- configs/lion-rk3368_defconfig | 19 +- include/configs/rk3368_common.h | 4 +- include/dt-bindings/clock/rk3368-cru.h | 31 +- 13 files changed, 769 insertions(+), 321 deletions(-) rename arch/arm/dts/{rk3368-lion-u-boot.dtsi => rk3368-lion-haikou-u-boot.dtsi} (96%) create mode 100644 arch/arm/dts/rk3368-lion-haikou.dts rename arch/arm/dts/{rk3368-lion.dts => rk3368-lion.dtsi} (54%) create mode 100644 arch/arm/dts/rk3368-u-boot.dtsi