diff --git a/10-devicetree.install b/10-devicetree.install deleted file mode 100755 index 3345391..0000000 --- a/10-devicetree.install +++ /dev/null @@ -1,73 +0,0 @@ -#!/bin/bash - -# set -x - -if [[ "$(uname -m)" == arm* || "$(uname -m)" == aarch64 ]] -then -COMMAND="$1" -KERNEL_VERSION="$2" -#BOOT_DIR_ABS="$3" -#KERNEL_IMAGE="$4" - -[ -f /etc/u-boot.conf ] && source /etc/u-boot.conf || true -[ -z "$FIRMWAREDT" ] || FirmwareDT=$FIRMWAREDT - -if [[ $FirmwareDT == "True" ]] -then - # if we want to use firmware DT we remove symlink to current kernel DT - if [ -h /boot/dtb ]; then - rm -f /boot/dtb - fi - exit 0 -fi - -# Setup a /boot/dtb -> /boot/dtb-$newest_kernel_version symlink so that -# u-boot can find the correct dtb to load. -# -# If invoked to 'add' a new kernel, find the newest based on `sort`ing -# the kernel versions dtb. If 'remove', then follow basically the same -# procedure but exclude the version currently being removed. -# -# The theory of operation here is that, while newer kernels may add new -# dtb nodes and fields, as upstreaming hw support for some particular -# device progresses, it should never make backward incompatible changes. -# So it should always be safe to use a newer dtb with an older kernel. - - list_dtb_versions() { - excluded_version="$1" - for dtbdir in /boot/dtb-*; do - dtbver=${dtbdir#*-} - if [ "$dtbver" != "$excluded_version" ]; then - echo $dtbver - fi - done - } - - setup_dtb_link() { - ver=`list_dtb_versions $1 | sort -r --sort=version | head -1` - if [ -h /boot/dtb ]; then - rm -f /boot/dtb - fi - ln -s dtb-$ver /boot/dtb - } - - ret=0 - case "$COMMAND" in - add) - # If we're adding a kernel we want that version - if [ -h /boot/dtb ]; then - rm -f /boot/dtb - fi - ln -s dtb-$KERNEL_VERSION /boot/dtb - ret=$? - ;; - remove) - setup_dtb_link $KERNEL_VERSION - ret=$? - ;; - esac - exit $ret -else - # Just exit on non ARM - exit 0 -fi diff --git a/rk3399-Pinebook-pro-EDP-support.patch b/rk3399-Pinebook-pro-EDP-support.patch index 3fd30cb..1851fcd 100644 --- a/rk3399-Pinebook-pro-EDP-support.patch +++ b/rk3399-Pinebook-pro-EDP-support.patch @@ -1,34 +1,34 @@ -From patchwork Tue Oct 27 13:21:32 2020 +From patchwork Fri Nov 20 13:24:22 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Arnaud Patard (Rtp)" -X-Patchwork-Id: 1388576 -X-Patchwork-Delegate: ykai007@gmail.com +X-Patchwork-Id: 1403693 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; + (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=rtp-net.org -Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) +Received: from phobos.denx.de (phobos.denx.de + [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (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 4CLC8m2r2mz9sV1 - for ; Wed, 28 Oct 2020 00:24:08 +1100 (AEDT) + by ozlabs.org (Postfix) with ESMTPS id 4Ccy8k6NTZz9sT6 + for ; Sat, 21 Nov 2020 00:30:14 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) - by phobos.denx.de (Postfix) with ESMTP id AD95E823FC; - Tue, 27 Oct 2020 14:23:49 +0100 (CET) + by phobos.denx.de (Postfix) with ESMTP id CA2FF82552; + Fri, 20 Nov 2020 14:29:53 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=fail (p=none dis=none) header.from=rtp-net.org 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 37F7C8249E; Tue, 27 Oct 2020 14:23:47 +0100 (CET) + id F16538232D; Fri, 20 Nov 2020 14:29:46 +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, @@ -36,17 +36,17 @@ X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, Received: from lechat.rtp-net.org (lechat.rtp-net.org [51.15.165.164]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) - by phobos.denx.de (Postfix) with ESMTPS id 65DDC81260 - for ; Tue, 27 Oct 2020 14:23:44 +0100 (CET) + by phobos.denx.de (Postfix) with ESMTPS id 379648232D + for ; Fri, 20 Nov 2020 14:29:44 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=rtp-net.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=arnaud.patard@rtp-net.org Received: by lechat.rtp-net.org (Postfix, from userid 1000) - id 166971802C6; Tue, 27 Oct 2020 14:23:43 +0100 (CET) -Message-ID: <20201027132235.729230758@rtp-net.org> + id 29B3C18054C; Fri, 20 Nov 2020 14:29:43 +0100 (CET) +Message-ID: <20201120132823.638207109@rtp-net.org> User-Agent: quilt/0.66 -Date: Tue, 27 Oct 2020 14:21:32 +0100 +Date: Fri, 20 Nov 2020 14:24:22 +0100 From: Arnaud Patard (Rtp) To: u-boot@lists.denx.de Cc: Kever Yang , @@ -56,9 +56,9 @@ Cc: Kever Yang , Samuel Dionne-Riel , Alper Nebi Yasak , Arnaud Patard -Subject: [patch v2 01/10] drivers/video/rockchip/rk_vop.c: Use endpoint - compatible string to find VOP mode -References: <20201027132131.016984025@rtp-net.org> +Subject: [patch v3 1/9] rockchip: video: vop: Use endpoint compatible string + to find VOP mode +References: <20201120132421.500365403@rtp-net.org> MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 @@ -87,7 +87,6 @@ to find the kind of endpoint by comparing the endpoint compatible value. This patch is implementing the more flexible second solution. Signed-off-by: Arnaud Patard -Tested-by: Alper Nebi Yasak Index: u-boot/arch/arm/include/asm/arch-rockchip/vop_rk3288.h =================================================================== @@ -169,38 +168,36 @@ Index: u-boot/drivers/video/rockchip/rk_vop.c disp_uc_plat = dev_get_uclass_platdata(disp); debug("Found device '%s', disp_uc_priv=%p\n", disp->name, disp_uc_plat); -From patchwork Tue Oct 27 13:21:33 2020 +From patchwork Fri Nov 20 13:24:23 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Arnaud Patard (Rtp)" -X-Patchwork-Id: 1388588 -X-Patchwork-Delegate: ykai007@gmail.com +X-Patchwork-Id: 1403700 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=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; + (client-ip=85.214.62.61; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=rtp-net.org -Received: from phobos.denx.de (phobos.denx.de - [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) +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 4CLCC535Xyz9sV1 - for ; Wed, 28 Oct 2020 00:26:07 +1100 (AEDT) + by ozlabs.org (Postfix) with ESMTPS id 4CcyC43w72z9sTv + for ; Sat, 21 Nov 2020 00:32:16 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) - by phobos.denx.de (Postfix) with ESMTP id F3D8182517; - Tue, 27 Oct 2020 14:24:08 +0100 (CET) + by phobos.denx.de (Postfix) with ESMTP id F3481825F6; + Fri, 20 Nov 2020 14:30:42 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=fail (p=none dis=none) header.from=rtp-net.org 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 99F18824A7; Tue, 27 Oct 2020 14:23:53 +0100 (CET) + id 32EBC825A4; Fri, 20 Nov 2020 14:29:59 +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, @@ -209,17 +206,17 @@ Received: from lechat.rtp-net.org (lechat.rtp-net.org [IPv6:2001:bc8:3430:1000::c0f:fee]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) - by phobos.denx.de (Postfix) with ESMTPS id 6CEE382496 - for ; Tue, 27 Oct 2020 14:23:45 +0100 (CET) + by phobos.denx.de (Postfix) with ESMTPS id B9D9782384 + for ; Fri, 20 Nov 2020 14:29:44 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=rtp-net.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=arnaud.patard@rtp-net.org Received: by lechat.rtp-net.org (Postfix, from userid 1000) - id 354541806F5; Tue, 27 Oct 2020 14:23:43 +0100 (CET) -Message-ID: <20201027132235.781283753@rtp-net.org> + id 39BC31807FD; Fri, 20 Nov 2020 14:29:43 +0100 (CET) +Message-ID: <20201120132823.697547510@rtp-net.org> User-Agent: quilt/0.66 -Date: Tue, 27 Oct 2020 14:21:33 +0100 +Date: Fri, 20 Nov 2020 14:24:23 +0100 From: Arnaud Patard (Rtp) To: u-boot@lists.denx.de Cc: Kever Yang , @@ -229,8 +226,8 @@ Cc: Kever Yang , Samuel Dionne-Riel , Alper Nebi Yasak , Arnaud Patard -Subject: [patch v2 02/10] drivers/video/rockchip/rk_edp.c: Add rk3399 support -References: <20201027132131.016984025@rtp-net.org> +Subject: [patch v3 2/9] rockchip: video: edp: Add rk3399 support +References: <20201120132421.500365403@rtp-net.org> MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 @@ -259,7 +256,6 @@ on rk3399, so don't try changing the clock at index 1 to rate 0 on rk3399. Signed-off-by: Arnaud Patard -Tested-by: Alper Nebi Yasak Index: u-boot/drivers/video/rockchip/rk_edp.c =================================================================== @@ -325,7 +321,7 @@ Index: u-boot/drivers/video/rockchip/rk_edp.c writel(LDO_OUTPUT_V_SEL_145 | KVCO_DEFALUT | CHG_PUMP_CUR_SEL_5US | V2L_CUR_SEL_1MA, ®s->pll_reg_2); -@@ -1023,6 +1046,8 @@ static int rk_edp_probe(struct udevice * +@@ -1029,6 +1052,8 @@ static int rk_edp_probe(struct udevice * struct display_plat *uc_plat = dev_get_uclass_platdata(dev); struct rk_edp_priv *priv = dev_get_priv(dev); struct rk3288_edp *regs = priv->regs; @@ -334,7 +330,7 @@ Index: u-boot/drivers/video/rockchip/rk_edp.c struct clk clk; int ret; -@@ -1037,16 +1062,17 @@ static int rk_edp_probe(struct udevice * +@@ -1043,16 +1068,17 @@ static int rk_edp_probe(struct udevice * int vop_id = uc_plat->source_id; debug("%s, uc_plat=%p, vop_id=%u\n", __func__, uc_plat, vop_id); @@ -361,7 +357,7 @@ Index: u-boot/drivers/video/rockchip/rk_edp.c ret = clk_get_by_index(uc_plat->src_dev, 0, &clk); if (ret >= 0) { ret = clk_set_rate(&clk, 192000000); -@@ -1059,15 +1085,17 @@ static int rk_edp_probe(struct udevice * +@@ -1065,15 +1091,17 @@ static int rk_edp_probe(struct udevice * } /* grf_edp_ref_clk_sel: from internal 24MHz or 27MHz clock */ @@ -383,7 +379,7 @@ Index: u-boot/drivers/video/rockchip/rk_edp.c rk_edp_init_interrupt(regs); rk_edp_enable_sw_function(regs); ret = rk_edp_init_analog_func(regs); -@@ -1083,8 +1111,25 @@ static const struct dm_display_ops dp_ro +@@ -1089,8 +1117,25 @@ static const struct dm_display_ops dp_ro .enable = rk_edp_enable, }; @@ -427,13 +423,12 @@ Index: u-boot/arch/arm/include/asm/arch-rockchip/edp_rk3288.h /* line_map */ #define LANE3_MAP_LOGIC_LANE_0 (0x0 << 6) -From patchwork Tue Oct 27 13:21:34 2020 +From patchwork Fri Nov 20 13:24:24 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Arnaud Patard (Rtp)" -X-Patchwork-Id: 1388575 -X-Patchwork-Delegate: ykai007@gmail.com +X-Patchwork-Id: 1403694 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org @@ -445,20 +440,19 @@ Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=rtp-net.org 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) server-digest - SHA256) + key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) - by ozlabs.org (Postfix) with ESMTPS id 4CLC8l3jS0z9sSG - for ; Wed, 28 Oct 2020 00:23:56 +1100 (AEDT) + by ozlabs.org (Postfix) with ESMTPS id 4Ccy8z1vdvz9sT6 + for ; Sat, 21 Nov 2020 00:30:26 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) - by phobos.denx.de (Postfix) with ESMTP id 4A07082361; - Tue, 27 Oct 2020 14:23:48 +0100 (CET) + by phobos.denx.de (Postfix) with ESMTP id 54C2A825A4; + Fri, 20 Nov 2020 14:30:12 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=fail (p=none dis=none) header.from=rtp-net.org 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 1BE93824A7; Tue, 27 Oct 2020 14:23:47 +0100 (CET) + id 1EC30825AB; Fri, 20 Nov 2020 14:29:47 +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, @@ -466,17 +460,17 @@ X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, Received: from lechat.rtp-net.org (lechat.rtp-net.org [51.15.165.164]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) - by phobos.denx.de (Postfix) with ESMTPS id BEBE082361 - for ; Tue, 27 Oct 2020 14:23:44 +0100 (CET) + by phobos.denx.de (Postfix) with ESMTPS id 6507782366 + for ; Fri, 20 Nov 2020 14:29:44 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=rtp-net.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=arnaud.patard@rtp-net.org Received: by lechat.rtp-net.org (Postfix, from userid 1000) - id 5A45C1808B6; Tue, 27 Oct 2020 14:23:43 +0100 (CET) -Message-ID: <20201027132235.832232313@rtp-net.org> + id 44C66180A3F; Fri, 20 Nov 2020 14:29:43 +0100 (CET) +Message-ID: <20201120132823.748319735@rtp-net.org> User-Agent: quilt/0.66 -Date: Tue, 27 Oct 2020 14:21:34 +0100 +Date: Fri, 20 Nov 2020 14:24:24 +0100 From: Arnaud Patard (Rtp) To: u-boot@lists.denx.de Cc: Kever Yang , @@ -486,9 +480,9 @@ Cc: Kever Yang , Samuel Dionne-Riel , Alper Nebi Yasak , Arnaud Patard -Subject: [patch v2 03/10] drivers/video/rockchip/rk_edp.c: Change interrupt - polarity configuration -References: <20201027132131.016984025@rtp-net.org> +Subject: [patch v3 3/9] ockchip: video: edp: Change interrupt polarity + configuration +References: <20201120132421.500365403@rtp-net.org> MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 @@ -511,7 +505,6 @@ uboot code is setting it to 1. Change the configuration to match the linux configuration Signed-off-by: Arnaud Patard -Tested-by: Alper Nebi Yasak Index: u-boot/arch/arm/include/asm/arch-rockchip/edp_rk3288.h =================================================================== @@ -529,13 +522,12 @@ Index: u-boot/arch/arm/include/asm/arch-rockchip/edp_rk3288.h /* sys_ctl_1 */ #define DET_STA (0x1 << 2) -From patchwork Tue Oct 27 13:21:35 2020 +From patchwork Fri Nov 20 13:24:25 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Arnaud Patard (Rtp)" -X-Patchwork-Id: 1388577 -X-Patchwork-Delegate: ykai007@gmail.com +X-Patchwork-Id: 1403697 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org @@ -549,35 +541,36 @@ 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 4CLC932V0Bz9sSG - for ; Wed, 28 Oct 2020 00:24:22 +1100 (AEDT) + by ozlabs.org (Postfix) with ESMTPS id 4CcyBG0XK7z9sVC + for ; Sat, 21 Nov 2020 00:31:33 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) - by phobos.denx.de (Postfix) with ESMTP id 129E182496; - Tue, 27 Oct 2020 14:23:55 +0100 (CET) + by phobos.denx.de (Postfix) with ESMTP id 82245825AA; + Fri, 20 Nov 2020 14:30:29 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=fail (p=none dis=none) header.from=rtp-net.org 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 7EA32824BC; Tue, 27 Oct 2020 14:23:49 +0100 (CET) + id A2EE5825BB; Fri, 20 Nov 2020 14:29:54 +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, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 -Received: from lechat.rtp-net.org (lechat.rtp-net.org [51.15.165.164]) +Received: from lechat.rtp-net.org (lechat.rtp-net.org + [IPv6:2001:bc8:3430:1000::c0f:fee]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) - by phobos.denx.de (Postfix) with ESMTPS id ED572823FC - for ; Tue, 27 Oct 2020 14:23:44 +0100 (CET) + by phobos.denx.de (Postfix) with ESMTPS id BBD6B82591 + for ; Fri, 20 Nov 2020 14:29:44 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=rtp-net.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=arnaud.patard@rtp-net.org Received: by lechat.rtp-net.org (Postfix, from userid 1000) - id 6676F1808BC; Tue, 27 Oct 2020 14:23:43 +0100 (CET) -Message-ID: <20201027132235.883717675@rtp-net.org> + id 6ED14180A47; Fri, 20 Nov 2020 14:29:43 +0100 (CET) +Message-ID: <20201120132823.799855386@rtp-net.org> User-Agent: quilt/0.66 -Date: Tue, 27 Oct 2020 14:21:35 +0100 +Date: Fri, 20 Nov 2020 14:24:25 +0100 From: Arnaud Patard (Rtp) To: u-boot@lists.denx.de Cc: Kever Yang , @@ -587,9 +580,8 @@ Cc: Kever Yang , Samuel Dionne-Riel , Alper Nebi Yasak , Arnaud Patard -Subject: [patch v2 04/10] drivers/video/rockchip/rk_vop.c: Reserve efi fb - memory -References: <20201027132131.016984025@rtp-net.org> +Subject: [patch v3 4/9] ockchip: video: vop: Reserve efi fb memory +References: <20201120132421.500365403@rtp-net.org> MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 @@ -612,7 +604,6 @@ has to be reserved, otherwise it may leads to kernel memory overwrite. Signed-off-by: Arnaud Patard -Tested-by: Alper Nebi Yasak Index: u-boot/drivers/video/rockchip/rk_vop.c =================================================================== @@ -642,56 +633,56 @@ Index: u-boot/drivers/video/rockchip/rk_vop.c /* -From patchwork Tue Oct 27 13:21:36 2020 +From patchwork Fri Nov 20 13:24:26 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Arnaud Patard (Rtp)" -X-Patchwork-Id: 1388583 -X-Patchwork-Delegate: ykai007@gmail.com +X-Patchwork-Id: 1403695 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=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; + (client-ip=85.214.62.61; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=rtp-net.org -Received: from phobos.denx.de (phobos.denx.de - [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) +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)) + key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest + SHA256) (No client certificate requested) - by ozlabs.org (Postfix) with ESMTPS id 4CLCB85bVhz9sSf - for ; Wed, 28 Oct 2020 00:25:20 +1100 (AEDT) + by ozlabs.org (Postfix) with ESMTPS id 4Ccy9V13SHz9sTL + for ; Sat, 21 Nov 2020 00:30:53 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) - by phobos.denx.de (Postfix) with ESMTP id 1CD88824E5; - Tue, 27 Oct 2020 14:24:01 +0100 (CET) + by phobos.denx.de (Postfix) with ESMTP id 54822825C3; + Fri, 20 Nov 2020 14:30:20 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=fail (p=none dis=none) header.from=rtp-net.org 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 15038824A9; Tue, 27 Oct 2020 14:23:50 +0100 (CET) + id 2796E825A0; Fri, 20 Nov 2020 14:29:53 +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, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 -Received: from lechat.rtp-net.org (lechat.rtp-net.org [51.15.165.164]) +Received: from lechat.rtp-net.org (lechat.rtp-net.org + [IPv6:2001:bc8:3430:1000::c0f:fee]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) - by phobos.denx.de (Postfix) with ESMTPS id 16A2C8246A - for ; Tue, 27 Oct 2020 14:23:45 +0100 (CET) + by phobos.denx.de (Postfix) with ESMTPS id E8AB4825A2 + for ; Fri, 20 Nov 2020 14:29:44 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=rtp-net.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=arnaud.patard@rtp-net.org Received: by lechat.rtp-net.org (Postfix, from userid 1000) - id 8FBF11808D1; Tue, 27 Oct 2020 14:23:43 +0100 (CET) -Message-ID: <20201027132235.934181387@rtp-net.org> + id 7FA88180A70; Fri, 20 Nov 2020 14:29:43 +0100 (CET) +Message-ID: <20201120132823.849890740@rtp-net.org> User-Agent: quilt/0.66 -Date: Tue, 27 Oct 2020 14:21:36 +0100 +Date: Fri, 20 Nov 2020 14:24:26 +0100 From: Arnaud Patard (Rtp) To: u-boot@lists.denx.de Cc: Kever Yang , @@ -701,8 +692,8 @@ Cc: Kever Yang , Samuel Dionne-Riel , Alper Nebi Yasak , Arnaud Patard -Subject: [patch v2 05/10] rk3399-pinebook-pro-u-boot.dtsi: Enable edp -References: <20201027132131.016984025@rtp-net.org> +Subject: [patch v3 5/9] rockchip: Pinebook Pro: Enable edp +References: <20201120132421.500365403@rtp-net.org> MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 @@ -729,22 +720,24 @@ Index: u-boot/arch/arm/dts/rk3399-pinebook-pro-u-boot.dtsi =================================================================== --- u-boot.orig/arch/arm/dts/rk3399-pinebook-pro-u-boot.dtsi +++ u-boot/arch/arm/dts/rk3399-pinebook-pro-u-boot.dtsi -@@ -49,3 +49,7 @@ - &vdd_log { - regulator-init-microvolt = <950000>; +@@ -20,6 +20,10 @@ + }; }; -+ + +&edp { + rockchip,panel = <&edp_panel>; +}; ++ + &i2c0 { + u-boot,dm-pre-reloc; + }; -From patchwork Tue Oct 27 13:21:38 2020 +From patchwork Fri Nov 20 13:24:27 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Arnaud Patard (Rtp)" -X-Patchwork-Id: 1388584 -X-Patchwork-Delegate: ykai007@gmail.com +X-Patchwork-Id: 1403696 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org @@ -759,17 +752,17 @@ Received: from phobos.denx.de (phobos.denx.de (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 4CLCBN6wXXz9sSG - for ; Wed, 28 Oct 2020 00:25:32 +1100 (AEDT) + by ozlabs.org (Postfix) with ESMTPS id 4Ccy9w51kSz9sT6 + for ; Sat, 21 Nov 2020 00:31:16 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) - by phobos.denx.de (Postfix) with ESMTP id E86AC824F1; - Tue, 27 Oct 2020 14:24:03 +0100 (CET) + by phobos.denx.de (Postfix) with ESMTP id 39197825D4; + Fri, 20 Nov 2020 14:30:22 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=fail (p=none dis=none) header.from=rtp-net.org 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 DED28824A9; Tue, 27 Oct 2020 14:23:51 +0100 (CET) + id 1BDA2825C3; Fri, 20 Nov 2020 14:29:53 +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, @@ -778,17 +771,17 @@ Received: from lechat.rtp-net.org (lechat.rtp-net.org [IPv6:2001:bc8:3430:1000::c0f:fee]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) - by phobos.denx.de (Postfix) with ESMTPS id 51B9D82483 - for ; Tue, 27 Oct 2020 14:23:45 +0100 (CET) + by phobos.denx.de (Postfix) with ESMTPS id E6C7F825A0 + for ; Fri, 20 Nov 2020 14:29:44 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=rtp-net.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=arnaud.patard@rtp-net.org Received: by lechat.rtp-net.org (Postfix, from userid 1000) - id CD3AC180A2B; Tue, 27 Oct 2020 14:23:43 +0100 (CET) -Message-ID: <20201027132236.036333749@rtp-net.org> + id 98B36180A7D; Fri, 20 Nov 2020 14:29:43 +0100 (CET) +Message-ID: <20201120132823.910975188@rtp-net.org> User-Agent: quilt/0.66 -Date: Tue, 27 Oct 2020 14:21:38 +0100 +Date: Fri, 20 Nov 2020 14:24:27 +0100 From: Arnaud Patard (Rtp) To: u-boot@lists.denx.de Cc: Kever Yang , @@ -798,8 +791,8 @@ Cc: Kever Yang , Samuel Dionne-Riel , Alper Nebi Yasak , Arnaud Patard -Subject: [patch v2 07/10] drivers/pwm/rk_pwm.c: Fix default polarity -References: <20201027132131.016984025@rtp-net.org> +Subject: [patch v3 6/9] rockchip: pwm: Fix default polarity +References: <20201120132421.500365403@rtp-net.org> MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 @@ -826,7 +819,6 @@ Update the code to use PWM_DUTY_POSTIVE | PWM_INACTIVE_NEGATIVE by default instead. Signed-off-by: Arnaud Patard -Tested-by: Alper Nebi Yasak Index: u-boot/drivers/pwm/rk_pwm.c =================================================================== @@ -842,56 +834,55 @@ Index: u-boot/drivers/pwm/rk_pwm.c return 0; } -From patchwork Tue Oct 27 13:21:39 2020 +From patchwork Fri Nov 20 13:24:28 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Arnaud Patard (Rtp)" -X-Patchwork-Id: 1388585 -X-Patchwork-Delegate: ykai007@gmail.com +X-Patchwork-Id: 1403702 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; + (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=rtp-net.org -Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) +Received: from phobos.denx.de (phobos.denx.de + [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (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 4CLCBc1H6Xz9sSG - for ; Wed, 28 Oct 2020 00:25:44 +1100 (AEDT) + by ozlabs.org (Postfix) with ESMTPS id 4CcyCX6HJRz9sTv + for ; Sat, 21 Nov 2020 00:32:40 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) - by phobos.denx.de (Postfix) with ESMTP id A78FF824FC; - Tue, 27 Oct 2020 14:24:05 +0100 (CET) + by phobos.denx.de (Postfix) with ESMTP id EE6E482605; + Fri, 20 Nov 2020 14:30:51 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=fail (p=none dis=none) header.from=rtp-net.org 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 038C68248F; Tue, 27 Oct 2020 14:23:52 +0100 (CET) + id 3C66C82591; Fri, 20 Nov 2020 14:30:06 +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, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 -Received: from lechat.rtp-net.org (lechat.rtp-net.org - [IPv6:2001:bc8:3430:1000::c0f:fee]) +Received: from lechat.rtp-net.org (lechat.rtp-net.org [51.15.165.164]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) - by phobos.denx.de (Postfix) with ESMTPS id 5684482494 - for ; Tue, 27 Oct 2020 14:23:45 +0100 (CET) + by phobos.denx.de (Postfix) with ESMTPS id F3045825AA + for ; Fri, 20 Nov 2020 14:29:44 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=rtp-net.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=arnaud.patard@rtp-net.org Received: by lechat.rtp-net.org (Postfix, from userid 1000) - id ECF51180ACB; Tue, 27 Oct 2020 14:23:43 +0100 (CET) -Message-ID: <20201027132236.086716818@rtp-net.org> + id B6F29180ACB; Fri, 20 Nov 2020 14:29:43 +0100 (CET) +Message-ID: <20201120132823.962072859@rtp-net.org> User-Agent: quilt/0.66 -Date: Tue, 27 Oct 2020 14:21:39 +0100 +Date: Fri, 20 Nov 2020 14:24:28 +0100 From: Arnaud Patard (Rtp) To: u-boot@lists.denx.de Cc: Kever Yang , @@ -901,9 +892,9 @@ Cc: Kever Yang , Samuel Dionne-Riel , Alper Nebi Yasak , Arnaud Patard -Subject: [patch v2 08/10] drivers/video/rockchip/rk_vop.c: Fix format of - fbbase in debug string -References: <20201027132131.016984025@rtp-net.org> +Subject: [patch v3 7/9] rockchip: video: vop: Fix format of fbbase in debug + string +References: <20201120132421.500365403@rtp-net.org> MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 @@ -926,7 +917,6 @@ is using %lu as format for the framebuffer address, which is not so nice. Change it to %lx. Signed-off-by: Arnaud Patard -Tested-by: Alper Nebi Yasak Index: u-boot/drivers/video/rockchip/rk_vop.c =================================================================== @@ -942,39 +932,36 @@ Index: u-boot/drivers/video/rockchip/rk_vop.c ret = ofnode_read_u32(ep_node, "remote-endpoint", &remote_phandle); -From patchwork Tue Oct 27 13:21:40 2020 +From patchwork Fri Nov 20 13:24:29 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Arnaud Patard (Rtp)" -X-Patchwork-Id: 1388579 -X-Patchwork-Delegate: ykai007@gmail.com +X-Patchwork-Id: 1403698 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=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; + (client-ip=85.214.62.61; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=rtp-net.org -Received: from phobos.denx.de (phobos.denx.de - [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) +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) server-digest - SHA256) + key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) - by ozlabs.org (Postfix) with ESMTPS id 4CLC9j13jpz9sSG - for ; Wed, 28 Oct 2020 00:24:56 +1100 (AEDT) + by ozlabs.org (Postfix) with ESMTPS id 4CcyBb1882z9sT6 + for ; Sat, 21 Nov 2020 00:31:51 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) - by phobos.denx.de (Postfix) with ESMTP id 83485824BC; - Tue, 27 Oct 2020 14:23:57 +0100 (CET) + by phobos.denx.de (Postfix) with ESMTP id C6B40825DF; + Fri, 20 Nov 2020 14:30:31 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=fail (p=none dis=none) header.from=rtp-net.org 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 A548C824AD; Tue, 27 Oct 2020 14:23:49 +0100 (CET) + id A7375825B9; Fri, 20 Nov 2020 14:29:58 +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, @@ -982,17 +969,17 @@ X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, Received: from lechat.rtp-net.org (lechat.rtp-net.org [51.15.165.164]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) - by phobos.denx.de (Postfix) with ESMTPS id 547EC8248F - for ; Tue, 27 Oct 2020 14:23:45 +0100 (CET) + by phobos.denx.de (Postfix) with ESMTPS id 04A88825A6 + for ; Fri, 20 Nov 2020 14:29:44 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=rtp-net.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=arnaud.patard@rtp-net.org Received: by lechat.rtp-net.org (Postfix, from userid 1000) - id 24EC8180ACE; Tue, 27 Oct 2020 14:23:44 +0100 (CET) -Message-ID: <20201027132236.137690139@rtp-net.org> + id E02FE180ACE; Fri, 20 Nov 2020 14:29:43 +0100 (CET) +Message-ID: <20201120132824.012845278@rtp-net.org> User-Agent: quilt/0.66 -Date: Tue, 27 Oct 2020 14:21:40 +0100 +Date: Fri, 20 Nov 2020 14:24:29 +0100 From: Arnaud Patard (Rtp) To: u-boot@lists.denx.de Cc: Kever Yang , @@ -1002,9 +989,8 @@ Cc: Kever Yang , Samuel Dionne-Riel , Alper Nebi Yasak , Arnaud Patard -Subject: [patch v2 09/10] drivers/video/rockchip/rk_edp.c: Add missing reset - support -References: <20201027132131.016984025@rtp-net.org> +Subject: [patch v3 8/9] rockchip: video: edp: Add missing reset support +References: <20201120132421.500365403@rtp-net.org> MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 @@ -1027,7 +1013,6 @@ add missing support for the eDP reset lines found in the device-tree. Signed-off-by: Arnaud Patard -Tested-by: Alper Nebi Yasak Index: u-boot/drivers/video/rockchip/rk_edp.c =================================================================== @@ -1047,7 +1032,7 @@ Index: u-boot/drivers/video/rockchip/rk_edp.c #include #include #include -@@ -1047,6 +1049,7 @@ static int rk_edp_probe(struct udevice * +@@ -1053,6 +1055,7 @@ static int rk_edp_probe(struct udevice * struct rk_edp_priv *priv = dev_get_priv(dev); struct rk3288_edp *regs = priv->regs; struct rockchip_dp_data *edp_data = (struct rockchip_dp_data *)dev_get_driver_data(dev); @@ -1055,7 +1040,7 @@ Index: u-boot/drivers/video/rockchip/rk_edp.c struct clk clk; int ret; -@@ -1059,6 +1062,25 @@ static int rk_edp_probe(struct udevice * +@@ -1065,6 +1068,25 @@ static int rk_edp_probe(struct udevice * return ret; } @@ -1082,13 +1067,12 @@ Index: u-boot/drivers/video/rockchip/rk_edp.c debug("%s, uc_plat=%p, vop_id=%u\n", __func__, uc_plat, vop_id); -From patchwork Tue Oct 27 13:21:41 2020 +From patchwork Fri Nov 20 13:24:30 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Arnaud Patard (Rtp)" -X-Patchwork-Id: 1388586 -X-Patchwork-Delegate: ykai007@gmail.com +X-Patchwork-Id: 1403699 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org @@ -1102,17 +1086,17 @@ 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 4CLCBq60Vjz9sSf - for ; Wed, 28 Oct 2020 00:25:55 +1100 (AEDT) + by ozlabs.org (Postfix) with ESMTPS id 4CcyBq0jYrz9sTL + for ; Sat, 21 Nov 2020 00:32:02 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) - by phobos.denx.de (Postfix) with ESMTP id EE5EB82508; - Tue, 27 Oct 2020 14:24:06 +0100 (CET) + by phobos.denx.de (Postfix) with ESMTP id E40ED825E8; + Fri, 20 Nov 2020 14:30:40 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=fail (p=none dis=none) header.from=rtp-net.org 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 7F9D582494; Tue, 27 Oct 2020 14:23:52 +0100 (CET) + id EB086825AB; Fri, 20 Nov 2020 14:29:58 +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, @@ -1121,17 +1105,17 @@ Received: from lechat.rtp-net.org (lechat.rtp-net.org [IPv6:2001:bc8:3430:1000::c0f:fee]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) - by phobos.denx.de (Postfix) with ESMTPS id 7009E8249C - for ; Tue, 27 Oct 2020 14:23:45 +0100 (CET) + by phobos.denx.de (Postfix) with ESMTPS id 29B89825A4 + for ; Fri, 20 Nov 2020 14:29:45 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=rtp-net.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=arnaud.patard@rtp-net.org Received: by lechat.rtp-net.org (Postfix, from userid 1000) - id 2F20C180AF9; Tue, 27 Oct 2020 14:23:44 +0100 (CET) -Message-ID: <20201027132236.187863854@rtp-net.org> + id 0EC35180AF9; Fri, 20 Nov 2020 14:29:43 +0100 (CET) +Message-ID: <20201120132824.063180167@rtp-net.org> User-Agent: quilt/0.66 -Date: Tue, 27 Oct 2020 14:21:41 +0100 +Date: Fri, 20 Nov 2020 14:24:30 +0100 From: Arnaud Patard (Rtp) To: u-boot@lists.denx.de Cc: Kever Yang , @@ -1141,8 +1125,8 @@ Cc: Kever Yang , Samuel Dionne-Riel , Alper Nebi Yasak , Arnaud Patard -Subject: [patch v2 10/10] drivers/video/rockchip/rk_vop.c: Add reset support -References: <20201027132131.016984025@rtp-net.org> +Subject: [patch v3 9/9] rockchip: videp: vop: Add reset support +References: <20201120132421.500365403@rtp-net.org> MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 @@ -1164,7 +1148,6 @@ In order to ensure that the VOP registers are in correct state, add missing support for the VOP reset lines found in the device-tree Signed-off-by: Arnaud Patard -Tested-by: Alper Nebi Yasak Index: u-boot/drivers/video/rockchip/rk_vop.c =================================================================== diff --git a/rockchip-Rock960-Fix-up-USB-support.patch b/rockchip-Rock960-Fix-up-USB-support.patch deleted file mode 100644 index 5102787..0000000 --- a/rockchip-Rock960-Fix-up-USB-support.patch +++ /dev/null @@ -1,66 +0,0 @@ -From aec6cfccd62e21bdb8686839a22eaff5f8cece1d Mon Sep 17 00:00:00 2001 -From: Peter Robinson -Date: Tue, 29 Sep 2020 13:12:15 +0100 -Subject: [PATCH] rockchip: Rock960: fix up USB support - -Fix up USB config options so keyboards and other USB devices work. ---- - configs/rock960-rk3399_defconfig | 9 ++++++--- - include/configs/rock960_rk3399.h | 2 ++ - 2 files changed, 8 insertions(+), 3 deletions(-) - -diff --git a/configs/rock960-rk3399_defconfig b/configs/rock960-rk3399_defconfig -index 1d997847c2..a5a50785c5 100644 ---- a/configs/rock960-rk3399_defconfig -+++ b/configs/rock960-rk3399_defconfig -@@ -3,12 +3,12 @@ CONFIG_ARCH_ROCKCHIP=y - CONFIG_SYS_TEXT_BASE=0x00200000 - CONFIG_ENV_OFFSET=0x3F8000 - CONFIG_ROCKCHIP_RK3399=y --CONFIG_ROCKCHIP_SPL_RESERVE_IRAM=0x4000 - CONFIG_TARGET_ROCK960_RK3399=y - CONFIG_DEBUG_UART_BASE=0xFF1A0000 - CONFIG_DEBUG_UART_CLOCK=24000000 - CONFIG_DEFAULT_DEVICE_TREE="rk3399-rock960" - CONFIG_DEBUG_UART=y -+CONFIG_USE_PREBOOT=y - CONFIG_DEFAULT_FDT_FILE="rockchip/rk3399-rock960.dtb" - CONFIG_MISC_INIT_R=y - CONFIG_DISPLAY_BOARDINFO_LATE=y -@@ -41,6 +41,8 @@ CONFIG_MMC_SDHCI_ROCKCHIP=y - CONFIG_DM_ETH=y - CONFIG_NVME=y - CONFIG_PCI=y -+CONFIG_PHY_ROCKCHIP_INNO_USB2=y -+CONFIG_PHY_ROCKCHIP_TYPEC=y - CONFIG_PMIC_RK8XX=y - CONFIG_REGULATOR_PWM=y - CONFIG_REGULATOR_RK8XX=y -@@ -54,10 +56,11 @@ CONFIG_USB_XHCI_HCD=y - CONFIG_USB_XHCI_DWC3=y - CONFIG_USB_EHCI_HCD=y - CONFIG_USB_EHCI_GENERIC=y -+CONFIG_USB_OHCI_HCD=y -+CONFIG_USB_OHCI_GENERIC=y - CONFIG_USB_DWC3=y --CONFIG_ROCKCHIP_USB2_PHY=y -+CONFIG_DM_KEYBOARD=y - CONFIG_USB_KEYBOARD=y --CONFIG_USB_GADGET=y - CONFIG_USB_HOST_ETHER=y - CONFIG_USB_ETHER_ASIX=y - CONFIG_USB_ETHER_ASIX88179=y -diff --git a/include/configs/rock960_rk3399.h b/include/configs/rock960_rk3399.h -index c6f9122154..2edad71028 100644 ---- a/include/configs/rock960_rk3399.h -+++ b/include/configs/rock960_rk3399.h -@@ -15,4 +15,6 @@ - - #define SDRAM_BANK_SIZE (2UL << 30) - -+#define CONFIG_USB_OHCI_NEW -+#define CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS 2 - #endif --- -2.26.2 - diff --git a/sources b/sources index 532714c..2551a01 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (u-boot-2020.10.tar.bz2) = fd26534f2d72ffc3167919c32067c550636f6a4ee5fead6937e2583ba4ff6165e88b8b50fbbddde7354a8c42701433d0cb2ce982e43c014db60b08415288baf9 +SHA512 (u-boot-2021.01-rc2.tar.bz2) = ac21ed6ce160de377a8ea5750cd617f1c6d6e2b9508c8999fafb641e210e3bd030dcd26cea38259639c45ae0d0b9fda6d1007c547fdee002d8d946d6fb1952bb diff --git a/uboot-tools.spec b/uboot-tools.spec index e2d64d3..39a089a 100644 --- a/uboot-tools.spec +++ b/uboot-tools.spec @@ -1,8 +1,8 @@ -#global candidate rc5 +%global candidate rc2 Name: uboot-tools -Version: 2020.10 -Release: 3%{?candidate:.%{candidate}}%{?dist} +Version: 2021.01 +Release: 0.1%{?candidate:.%{candidate}}%{?dist} Summary: U-Boot utilities License: GPLv2+ BSD LGPL-2.1+ LGPL-2.0+ URL: http://www.denx.de/wiki/U-Boot @@ -12,7 +12,6 @@ Source1: arm-boards Source2: arm-chromebooks Source3: aarch64-boards Source4: aarch64-chromebooks -Source5: 10-devicetree.install # Fedoraisms patches # Needed to find DT on boot partition that's not the first partition @@ -23,7 +22,8 @@ Patch2: uefi-use-Fedora-specific-path-name.patch # Board fixes and enablement # RPi - uses RPI firmware device tree for HAT support -Patch5: rpi-Enable-using-the-DT-provided-by-the-Raspberry-Pi.patch +Patch4: rpi-Enable-using-the-DT-provided-by-the-Raspberry-Pi.patch +Patch5: rpi-Add-identifier-for-the-new-RPi400.patch # Tegra improvements Patch6: arm-tegra-define-fdtfile-option-for-distro-boot.patch Patch7: arm-add-BOOTENV_EFI_SET_FDTFILE_FALLBACK-for-tegra186-be.patch @@ -36,10 +36,9 @@ Patch11: 0001-Fixes-for-AllWinner-ethernet-network-interfaces.patch Patch12: 0001-Fix-BeagleAI-detection.patch # Rockchips improvements Patch13: arm-rk3399-enable-rng-on-rock960-and-firefly3399.patch -Patch14: rockchip-Rock960-Fix-up-USB-support.patch -Patch15: rockchip-Move-Bob-specific-bits-to-it-s-specific-u-b.patch -Patch16: rk3399-Pinebook-pro-EDP-support.patch -Patch17: rockchip-Pinebook-Pro-Fix-USB.patch +Patch14: rockchip-Move-Bob-specific-bits-to-it-s-specific-u-b.patch +Patch15: rk3399-Pinebook-pro-EDP-support.patch +Patch16: rockchip-Pinebook-Pro-Fix-USB.patch BuildRequires: bc BuildRequires: dtc @@ -68,13 +67,7 @@ BuildRequires: vboot-utils %ifarch aarch64 BuildRequires: arm-trusted-firmware-armv8 %endif - Requires: dtc -Requires: systemd -%ifarch aarch64 %{arm} -Obsoletes: uboot-images-elf < 2019.07 -Provides: uboot-images-elf < 2019.07 -%endif %description This package contains a few U-Boot utilities - mkimage for creating boot images @@ -83,7 +76,6 @@ and fw_printenv/fw_setenv for manipulating the boot environment variables. %ifarch aarch64 %package -n uboot-images-armv8 Summary: U-Boot firmware images for aarch64 boards -Requires: uboot-tools BuildArch: noarch %description -n uboot-images-armv8 @@ -93,7 +85,6 @@ U-Boot firmware binaries for aarch64 boards %ifarch %{arm} %package -n uboot-images-armv7 Summary: U-Boot firmware images for armv7 boards -Requires: uboot-tools BuildArch: noarch %description -n uboot-images-armv7 @@ -210,10 +201,6 @@ install -p -m 0755 builds/tools/env/fw_printenv $RPM_BUILD_ROOT%{_bindir} install -p -m 0644 tools/env/fw_env.config $RPM_BUILD_ROOT%{_sysconfdir} -# systemd kernel-install script for device tree -mkdir -p $RPM_BUILD_ROOT/lib/kernel/install.d/ -install -p -m 0755 %{SOURCE5} $RPM_BUILD_ROOT/lib/kernel/install.d/ - # Copy sone useful docs over mkdir -p builds/docs cp -p board/hisilicon/hikey/README builds/docs/README.hikey @@ -238,7 +225,6 @@ cp -p board/warp7/README builds/docs/README.warp7 %doc doc/board/amlogic/ doc/board/rockchip/ %{_bindir}/* %{_mandir}/man1/mkimage.1* -/lib/kernel/install.d/10-devicetree.install %dir %{_datadir}/uboot/ %config(noreplace) %{_sysconfdir}/fw_env.config @@ -253,6 +239,12 @@ cp -p board/warp7/README builds/docs/README.warp7 %endif %changelog +* Sun Nov 22 2020 Peter Robinson - 2021.01-0.1.rc2 +- Update to 2021.01 RC2 +- Latest Pinebook Pro display patches +- Initial RPi-400 support patch +- Update Fedora specific patches + * Sun Nov 8 2020 Peter Robinson - 2020.10-3 - Fix SPI on Rockchip devices - Latest Pinebook Pro display patches diff --git a/uefi-distro-load-FDT-from-any-partition-on-boot-device.patch b/uefi-distro-load-FDT-from-any-partition-on-boot-device.patch index c5ecb61..9d70978 100644 --- a/uefi-distro-load-FDT-from-any-partition-on-boot-device.patch +++ b/uefi-distro-load-FDT-from-any-partition-on-boot-device.patch @@ -1,6 +1,6 @@ -From 67c05a07288ef24b3ac9d013f35a0868d26a34c7 Mon Sep 17 00:00:00 2001 +From 7f91e98f42f620684fc5a1e918e24cfb838a12c5 Mon Sep 17 00:00:00 2001 From: Peter Robinson -Date: Tue, 18 Jun 2019 11:51:21 +0100 +Date: Tue, 24 Nov 2020 10:35:48 +0000 Subject: [PATCH 1/2] distro: load FDT from any partition on boot device In the EFI_LOADER boot path, we were only checking the FAT partition @@ -22,19 +22,17 @@ knows) and SoC/board specific ${fdtfile} (which grub does not know). Signed-off-by: Rob Clark Signed-off-by: Peter Robinson --- - include/config_distro_bootcmd.h | 34 ++++++++++++++++++++++----------- - 1 file changed, 23 insertions(+), 11 deletions(-) + include/config_distro_bootcmd.h | 31 ++++++++++++++++++++++--------- + 1 file changed, 22 insertions(+), 9 deletions(-) diff --git a/include/config_distro_bootcmd.h b/include/config_distro_bootcmd.h -index 4993303f4d..f4b3b62fca 100644 +index ff29ef5a90..e6a5267159 100644 --- a/include/config_distro_bootcmd.h +++ b/include/config_distro_bootcmd.h -@@ -138,25 +138,37 @@ - "fi\0" \ - \ +@@ -142,24 +142,37 @@ "load_efi_dtb=" \ -- "load ${devtype} ${devnum}:${distro_bootpart} " \ -- "${fdt_addr_r} ${prefix}${efi_fdtfile}\0" \ + "load ${devtype} ${devnum}:${distro_bootpart} " \ + "${fdt_addr_r} ${prefix}${efi_fdtfile}\0" \ + "load ${devtype} ${devnum}:${dtb_devp} " \ + "${fdt_addr_r} ${prefix}${efi_fdtfile} && " \ + "run boot_efi_binary\0" \ @@ -67,7 +65,7 @@ index 4993303f4d..f4b3b62fca 100644 + "fi;" \ + "done; " \ + "done; " \ -+ "run boot_efi_binary\0" \ + "run boot_efi_bootmgr;" \ + "scan_dev_for_efi=" \ "if test -e ${devtype} ${devnum}:${distro_bootpart} " \ "efi/boot/"BOOTEFI_NAME"; then " \ @@ -79,5 +77,5 @@ index 4993303f4d..f4b3b62fca 100644 "fi; " \ "setenv efi_fdtfile\0" -- -2.21.0 +2.28.0 diff --git a/uefi-use-Fedora-specific-path-name.patch b/uefi-use-Fedora-specific-path-name.patch index f51f79c..6eb691e 100644 --- a/uefi-use-Fedora-specific-path-name.patch +++ b/uefi-use-Fedora-specific-path-name.patch @@ -1,6 +1,6 @@ -From 3cc3f7de06dcf9614554d63b159f0cd6710b96b0 Mon Sep 17 00:00:00 2001 +From 26b8c1e30342515e252ebf779c79b7bbe1d91747 Mon Sep 17 00:00:00 2001 From: Peter Robinson -Date: Tue, 18 Jun 2019 12:08:57 +0100 +Date: Tue, 24 Nov 2020 10:37:28 +0000 Subject: [PATCH 2/2] use Fedora specific EFI path/name Signed-off-by: Peter Robinson @@ -9,7 +9,7 @@ Signed-off-by: Peter Robinson 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/include/config_distro_bootcmd.h b/include/config_distro_bootcmd.h -index f4b3b62fca..2dc8be9815 100644 +index e6a5267159..f8c4f58907 100644 --- a/include/config_distro_bootcmd.h +++ b/include/config_distro_bootcmd.h @@ -92,9 +92,9 @@ @@ -24,27 +24,27 @@ index f4b3b62fca..2dc8be9815 100644 #elif defined(CONFIG_X86_RUN_32BIT) #define BOOTEFI_NAME "bootia32.efi" #elif defined(CONFIG_X86_RUN_64BIT) -@@ -130,7 +130,7 @@ - "bootefi bootmgr ${fdtcontroladdr};" \ - "fi;" \ +@@ -132,7 +132,7 @@ + \ + "boot_efi_binary=" \ "load ${devtype} ${devnum}:${distro_bootpart} " \ - "${kernel_addr_r} efi/boot/"BOOTEFI_NAME"; " \ + "${kernel_addr_r} efi/fedora/"BOOTEFI_NAME"; " \ "if fdt addr ${fdt_addr_r}; then " \ "bootefi ${kernel_addr_r} ${fdt_addr_r};" \ "else " \ -@@ -165,9 +165,9 @@ - "run boot_efi_binary\0" \ +@@ -169,9 +169,9 @@ + "run boot_efi_bootmgr;" \ "scan_dev_for_efi=" \ "if test -e ${devtype} ${devnum}:${distro_bootpart} " \ - "efi/boot/"BOOTEFI_NAME"; then " \ -+ "efi/fedora/"BOOTEFI_NAME"; then " \ ++ "efi/fedora/"BOOTEFI_NAME"; then " \ "echo Found EFI removable media binary " \ - "efi/boot/"BOOTEFI_NAME"; " \ -+ "efi/fedora/"BOOTEFI_NAME"; " \ ++ "efi/fedora/"BOOTEFI_NAME"; " \ "run scan_dev_for_dtb; " \ "echo EFI LOAD FAILED: continuing...; " \ "fi; " \ -- -2.21.0 +2.28.0