From patchwork Sat Jul 7 13:52:01 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kristian Evensen X-Patchwork-Id: 940837 X-Patchwork-Delegate: blogic@openwrt.org Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=lists.openwrt.org (client-ip=2607:7c80:54:e::133; helo=bombadil.infradead.org; envelope-from=openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="QN+CtIUE"; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="QLkjDY4v"; dkim-atps=neutral Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 41NChZ5K83z9s0n for ; Sat, 7 Jul 2018 23:52:30 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Subject:Message-Id: Date:To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=jFEbYg1l9ZB9xKcwSV8vRPJsOt+VCzWBxWlUehohpUs=; b=QN+CtIUE71tDY5 654I2e/UEvjPfzYcA1l2CRuKd5EV3b9WSj79tshErzJUTkRSceFydL9X4Es4I3EDoLzpCMe17soHe 5ZE9sYMLg5blFF82rcPywx+FmyWGp9UIGtEv57ro4ax7veN07LtKd0+tJB5GvxW8bQoBD+Wyv90/J 4CjZpfNf/CS+k1G3NTG8wql3X8eNkI7AFqFvrcTpHx8QtU5nYeBT75d7DAmRqpzrRcg0D3kTirLCz CIT9OhYuP5xAKis2YI4CmYenpH9R7CRUJ9eShe5hV/xqw7ROef499CeoUmaadLfQ1U1gPEG0Wnxzi im1CNbBBjykiEz04O9fA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1fbndL-0007AW-3T; Sat, 07 Jul 2018 13:52:19 +0000 Received: from mail-lj1-x241.google.com ([2a00:1450:4864:20::241]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fbndI-00079I-Dm for openwrt-devel@lists.openwrt.org; Sat, 07 Jul 2018 13:52:17 +0000 Received: by mail-lj1-x241.google.com with SMTP id u7-v6so8422514lji.3 for ; Sat, 07 Jul 2018 06:52:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=aTO52kM4mRGNPIPs2AQlMHdJKMvjZr9qdbnBrh7QNjQ=; b=QLkjDY4v/UfsZjQn7+AXYv5YZV9MTndlckkhRfSA9kj/rLalxUriRY4FHnNLYC+MOO n7Ln/BhaD7EneTx/pNCZPGY51XxLc2kdatfTq2yWf3s8bzxH/Wn53jMdZyi5A8oNR5FF BLCIjXWQ0G2k6kTMis9WhuVegbK3upwKWrC8zpy8Xb65RvsDImwN+g0jFUTJYbosAlRN g6n5TUZYHntnFyADAfx8P+RjFNDa2IbxNF5/U+3bPf/eLy7cV/mu7B/GLB/iFlcr71m/ +KqnzA2REw7D432MXKkDlaboCRxwVdxJK4OJRmr4t8WDBup1xxau+a6IJi96ndCJJLhG BDPg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=aTO52kM4mRGNPIPs2AQlMHdJKMvjZr9qdbnBrh7QNjQ=; b=I8pX2r9wno3hD7he8D709x/MBS1VLnX7x+1FfJijebDHTR/SPwRx4MYQqgExr40b16 hadT8GZtCMd00+NCzx82mbud+rVu2jxd4OXBnSUL5o3t49stkMAJILI1Q5SLbIi1iKFe sFDdvOIQ3ytB4U/kJ68GgLfZVvfg8rxovc3+KGuNf1q94Kit5NqpCz7vlTY+cLsYyodV dOviPkTbNcInw1/p3SL8joxiBtkS/eQ+dYyDEH7xS9xDzWGVY3FxweHL/7pnMy7ecPkr AckCEBoGtmEcGBbLo3LE8GDP5/OFOUTNlq1GrQ2wO2hbXYO6GQrlRekfJ5MbSIGiPjYD FRYw== X-Gm-Message-State: APt69E2aN/x+1MCwkfIgjnWiE8BIVV7rutzSokvrbT7LnEnOObwoIm0g PhmnfGodFtGMkm//EZVcnHgtdZX/ X-Google-Smtp-Source: AAOMgpeP31k1/U/Js/PgB0otYiiWwDuRznAgDkCJdgsc8Wf5BX8/ohZptk8/GSh67CPCewrgFsvG9g== X-Received: by 2002:a2e:8185:: with SMTP id e5-v6mr8717425ljg.93.1530971524232; Sat, 07 Jul 2018 06:52:04 -0700 (PDT) Received: from kristrev-ThinkPad-X1-Carbon-2nd.lan ([193.213.155.210]) by smtp.gmail.com with ESMTPSA id b3-v6sm2807987lfg.43.2018.07.07.06.52.03 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 07 Jul 2018 06:52:03 -0700 (PDT) From: Kristian Evensen To: openwrt-devel@lists.openwrt.org Date: Sat, 7 Jul 2018 15:52:01 +0200 Message-Id: <20180707135201.6425-1-kristian.evensen@gmail.com> X-Mailer: git-send-email 2.14.1 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180707_065216_463693_852588FC X-CRM114-Status: GOOD ( 14.59 ) X-Spam-Score: -0.1 (/) X-Spam-Report: SpamAssassin version 3.4.1 on bombadil.infradead.org summary: Content analysis details: (-0.1 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:241 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (kristian.evensen[at]gmail.com) 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain Subject: [OpenWrt-Devel] [PATCH] mediatek: Fix memory node for U7623 X-BeenThere: openwrt-devel@lists.openwrt.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Kristian Evensen MIME-Version: 1.0 Sender: "openwrt-devel" Errors-To: openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org The changed applied to BananaPi R2 in upstream commit c0b0d540db1a, which was backported to 4.14 in 4.14.53, is also required for the U7623. Without updating the memory node, the board refuses to boot. Fixes: d0839e020d0a ("kernel: bump 4.14 to 4.14.53") Signed-off-by: Kristian Evensen --- .../0227-arm-dts-Add-Unielec-U7623-DTS.patch | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/target/linux/mediatek/patches-4.14/0227-arm-dts-Add-Unielec-U7623-DTS.patch b/target/linux/mediatek/patches-4.14/0227-arm-dts-Add-Unielec-U7623-DTS.patch index f4a21d4f64..8688a453df 100644 --- a/target/linux/mediatek/patches-4.14/0227-arm-dts-Add-Unielec-U7623-DTS.patch +++ b/target/linux/mediatek/patches-4.14/0227-arm-dts-Add-Unielec-U7623-DTS.patch @@ -1,4 +1,4 @@ -From 0c88c72bf130c9276958dc6f595ea473ea357a75 Mon Sep 17 00:00:00 2001 +From 13872b8abfadfe70598c065c19d1db759477c4e6 Mon Sep 17 00:00:00 2001 From: Kristian Evensen Date: Sun, 17 Jun 2018 14:41:47 +0200 Subject: [PATCH] arm: dts: Add Unielec U7623 DTS @@ -6,11 +6,13 @@ Subject: [PATCH] arm: dts: Add Unielec U7623 DTS --- arch/arm/boot/dts/Makefile | 1 + .../dts/mt7623a-unielec-u7623-02-emmc-512M.dts | 17 + - .../boot/dts/mt7623a-unielec-u7623-02-emmc.dtsi | 374 +++++++++++++++++++++ - 3 files changed, 392 insertions(+) + .../boot/dts/mt7623a-unielec-u7623-02-emmc.dtsi | 375 +++++++++++++++++++++ + 3 files changed, 393 insertions(+) create mode 100644 arch/arm/boot/dts/mt7623a-unielec-u7623-02-emmc-512M.dts create mode 100644 arch/arm/boot/dts/mt7623a-unielec-u7623-02-emmc.dtsi +diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile +index 3fec84fa0..e685ce9a4 100644 --- a/arch/arm/boot/dts/Makefile +++ b/arch/arm/boot/dts/Makefile @@ -1062,6 +1062,7 @@ dtb-$(CONFIG_ARCH_MEDIATEK) += \ @@ -21,6 +23,9 @@ Subject: [PATCH] arm: dts: Add Unielec U7623 DTS mt7623n-rfb-nand.dtb \ mt7623n-bananapi-bpi-r2.dtb \ mt8127-moose.dtb \ +diff --git a/arch/arm/boot/dts/mt7623a-unielec-u7623-02-emmc-512M.dts b/arch/arm/boot/dts/mt7623a-unielec-u7623-02-emmc-512M.dts +new file mode 100644 +index 000000000..3b14eccd3 --- /dev/null +++ b/arch/arm/boot/dts/mt7623a-unielec-u7623-02-emmc-512M.dts @@ -0,0 +1,17 @@ @@ -41,9 +46,12 @@ Subject: [PATCH] arm: dts: Add Unielec U7623 DTS + reg = <0 0x80000000 0 0x20000000>; + }; +}; +diff --git a/arch/arm/boot/dts/mt7623a-unielec-u7623-02-emmc.dtsi b/arch/arm/boot/dts/mt7623a-unielec-u7623-02-emmc.dtsi +new file mode 100644 +index 000000000..436b02f2d --- /dev/null +++ b/arch/arm/boot/dts/mt7623a-unielec-u7623-02-emmc.dtsi -@@ -0,0 +1,374 @@ +@@ -0,0 +1,375 @@ +/* + * Copyright 2018 Kristian Evensen + * @@ -146,6 +154,7 @@ Subject: [PATCH] arm: dts: Add Unielec U7623 DTS + }; + + memory@80000000 { ++ device_type = "memory"; + reg = <0 0x80000000 0 0x40000000>; + }; + @@ -418,3 +427,6 @@ Subject: [PATCH] arm: dts: Add Unielec U7623 DTS + status = "okay"; +}; + +-- +2.14.1 +