Message ID | 20211030174533.277901-5-hauke@hauke-m.de |
---|---|
State | Accepted |
Delegated to: | Hauke Mehrtens |
Headers | show
Return-Path: <openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=ZJOCJ3HL; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=hauke-m.de header.i=@hauke-m.de header.a=rsa-sha256 header.s=MBO0001 header.b=NOCceNlR; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=none (no SPF record) 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=<UNKNOWN>) Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) (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) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4HhRbj4DTQz9sfG for <incoming@patchwork.ozlabs.org>; Sun, 31 Oct 2021 04:48:17 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=EYqtk8+bqWkqXmGx0sCnNK0G8RgvuKv+BLqlXjAT6XA=; b=ZJOCJ3HLLjgkbL KB2ppThmK+mHAyXbjnSwd5seoLdOv8GPQADpOrH7xti00fSnMs4sJAi6TGgI/n1CW9+f1e+XVpvvw FpXHgcEyhlFUUNYBrz+boOvOsdRaGjnUJmECWN0ZFP57bmku1pl2sof8fbAE+2ZXmwlRDfPd/1H6J D9GXK3YFq81ag9IgzkRzMPneSgPPA1rRY4ALuIbJrEqy2emTfliVBsRYZXdLPP7bEjav5FMzm2/D6 2zzdh6NL9q8EUqR7oaiqY2+2SsACQs6FgEaj5Ct6mMywFByzSb3qCBpf1EWTpMLHEIC9zRed4LPmM 9V9EARzMaZ337GVB0/Zw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mgsR3-00DJaq-Uy; Sat, 30 Oct 2021 17:46:30 +0000 Received: from mout-p-101.mailbox.org ([80.241.56.151]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mgsQP-00DJWV-P6 for openwrt-devel@lists.openwrt.org; Sat, 30 Oct 2021 17:45:51 +0000 Received: from smtp202.mailbox.org (smtp202.mailbox.org [IPv6:2001:67c:2050:105:465:1:4:0]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-101.mailbox.org (Postfix) with ESMTPS id 4HhRXp4QQNzQjgF; Sat, 30 Oct 2021 19:45:46 +0200 (CEST) X-Virus-Scanned: amavisd-new at heinlein-support.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hauke-m.de; s=MBO0001; t=1635615944; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=fJis9oYEGNtGWFPIib3RUVe6QwQxE8LtYEggklRCHDI=; b=NOCceNlROn3qVLUNlNIG9D4i59yv1+xCTuloodhODKjNwdEUPWD8ljzhQfXSo6UplItCXk yqj3o/pjzHlKWuP3LybbT31FRPW3y0tARFjYz2TzeZFs11h5iIf5AOeHoKvb8LLXasWsck zVp44vL+pL0fid2qmVPmqKgLzwSmGE7+blYyRywKs5ElZ7no2fsIe9PQRkJjHLFoubw3FT W5Fc8NIp6ZcvE08U1Sks8JfPK98OgsQyLnRcdCGHI0Kn9iIZpiighpD9IMwUdeTmv692Df xmDKDICcKWqXgggOzcH5/bwTMm3/EXNQN3ltEYMJaTbRmzbbGvao+6LQuoBNoQ== From: Hauke Mehrtens <hauke@hauke-m.de> To: openwrt-devel@lists.openwrt.org Cc: Hauke Mehrtens <hauke@hauke-m.de> Subject: [PATCH 5/5] pistachio: Take bootargs from device tree Date: Sat, 30 Oct 2021 19:45:33 +0200 Message-Id: <20211030174533.277901-5-hauke@hauke-m.de> In-Reply-To: <20211030174533.277901-1-hauke@hauke-m.de> References: <20211030174533.277901-1-hauke@hauke-m.de> MIME-Version: 1.0 X-Rspamd-Queue-Id: 8FF7D1317 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211030_104549_986348_0D2D3011 X-CRM114-Status: GOOD ( 12.41 ) X-Spam-Score: -0.9 (/) X-Spam-Report: Spam detection software, running on the system "bombadil.infradead.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: The boot arguments are copied into the device tree by the boot loader and taken from the device tree by the kernel. The code which takes the boot arguments from the different sources was reworked with [...] Content analysis details: (-0.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [80.241.56.151 listed in wl.mailspike.net] -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [80.241.56.151 listed in list.dnswl.org] X-BeenThere: openwrt-devel@lists.openwrt.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: OpenWrt Development List <openwrt-devel.lists.openwrt.org> List-Unsubscribe: <https://lists.openwrt.org/mailman/options/openwrt-devel>, <mailto:openwrt-devel-request@lists.openwrt.org?subject=unsubscribe> List-Archive: <http://lists.openwrt.org/pipermail/openwrt-devel/> List-Post: <mailto:openwrt-devel@lists.openwrt.org> List-Help: <mailto:openwrt-devel-request@lists.openwrt.org?subject=help> List-Subscribe: <https://lists.openwrt.org/mailman/listinfo/openwrt-devel>, <mailto:openwrt-devel-request@lists.openwrt.org?subject=subscribe> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "openwrt-devel" <openwrt-devel-bounces@lists.openwrt.org> Errors-To: openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org |
Series |
[1/5] kernel: Set some options in generic configuration
|
expand
|
diff --git a/target/linux/pistachio/config-5.10 b/target/linux/pistachio/config-5.10 index f510b389a890..f3042b1d32c3 100644 --- a/target/linux/pistachio/config-5.10 +++ b/target/linux/pistachio/config-5.10 @@ -141,8 +141,8 @@ CONFIG_MIPS_ASID_BITS=8 CONFIG_MIPS_ASID_SHIFT=0 CONFIG_MIPS_CLOCK_VSYSCALL=y CONFIG_MIPS_CM=y -# CONFIG_MIPS_CMDLINE_DTB_EXTEND is not set -CONFIG_MIPS_CMDLINE_FROM_BOOTLOADER=y +CONFIG_MIPS_CMDLINE_DTB_EXTEND=y +# CONFIG_MIPS_CMDLINE_FROM_BOOTLOADER is not set # CONFIG_MIPS_CMDLINE_FROM_DTB is not set CONFIG_MIPS_CPC=y CONFIG_MIPS_CPS=y
The boot arguments are copied into the device tree by the boot loader and taken from the device tree by the kernel. The code which takes the boot arguments from the different sources was reworked with kernel 5.5. We have to activate CONFIG_MIPS_CMDLINE_DTB_EXTEND to take the boot arguments from the device tree. This makes the system boot on the board again. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> --- target/linux/pistachio/config-5.10 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)