From patchwork Sun Feb 5 00:35:34 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Brian Norris X-Patchwork-Id: 1737584 X-Patchwork-Delegate: hauke@hauke-m.de Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.openwrt.org (client-ip=2607:7c80:54:3::133; helo=bombadil.infradead.org; envelope-from=openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org; receiver=) Authentication-Results: legolas.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=DTybIc+k; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20210112 header.b=FJgKqLZO; dkim-atps=neutral Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4P8Vqh2Kfnz23r2 for ; Sun, 5 Feb 2023 11:38:24 +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=qNYLt4KNOtVzm6JbAgEbpJ+ykivpDhtZkZ4wJDuKSMg=; b=DTybIc+kOwKPjh A9HK/MzOS9G2ZLcHkTBwOlZoVIS46iYOl9dFwL06m9NQBPy5ixhW2bmO0CKuoPNR9y5O0gign1Yv0 6E7mE4PSZaHliyBeSEKnpWG+MpPX9VLlFJ2KQ02HPCzZFSuEvKnkZrCwBJ76KcJj2zGOp/VdGrUtD 0j4d8KlK2mVu0FIek/hw+r5KYNaEYYOWh8wLMhkfGtlCi18wQVHdhH34XISuUaTq67Y0N/xJnFXVj nd7K1w6/O9XiPA71+df0PeYD5DFBr9DTRGAk7YWUPpEUoLz/yxl/7xOUzddPj9KyuKAx2Tkfau9gp T7aNhBbJ7vMeqXcAM2GQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pOT0n-005lKz-HZ; Sun, 05 Feb 2023 00:36:05 +0000 Received: from mail-pf1-x42e.google.com ([2607:f8b0:4864:20::42e]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pOT0Z-005lJY-1w for openwrt-devel@lists.openwrt.org; Sun, 05 Feb 2023 00:35:52 +0000 Received: by mail-pf1-x42e.google.com with SMTP id g9so6137822pfk.13 for ; Sat, 04 Feb 2023 16:35:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=FE4Z9WEPqONupRgh4cL7He+nmqoIE08xh9cRbGpTPm0=; b=FJgKqLZOR4tJLhBk0NMtWCvueaJXGQ6FlcbO0cx0W5U9I2c/LWQaLG6RiQmwXT/jr7 ShpHn4iU6uMy/UQSQ3Gi2duWtKs/09DrD5xlT84P5QQJkjqTBPUsVgADRCE+GKvRcoXJ VSjQhr3tMj009E0Tww+HjvBs5F1W9c9tfPKZa0Kgz9EJgbqgAQGPtbkITuQ7lmldqkBN bi6I9vu2+VWVx5xu9UIoBBTQPTGvnDYcpLA0WEuQlYySfOaGy01eawmLgcjmxrZB9DHi wjqtFo8CPnoAqVtaldziBnVgp4BJX17aGzcxeLu7uaAd8EBHIwZMo96iVohEpjeylhtQ KB9w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=FE4Z9WEPqONupRgh4cL7He+nmqoIE08xh9cRbGpTPm0=; b=xWGF3tlX67bp2lgC5oPE3tpatCWAcsNhP9z3W+wtA4CSlPudQvHDZIBUfk3/MJBm+R tfBEwx+DVQXUN/yofeDNkqW+V4s7IngnQT0d2A+dCSr96AifMUh8n/OeiGiL2eWbOxcN j2Q5s8VJKdKGlOu3y9SaFYm8GxBntKrr1vE113dj2nXoLy+QxYoKJaygvnYeX58OsQp3 TGnJa9FP71DPz1gB+XEc/RyHF9lrks/ApQQ5r4PsffUDCY6fAOIU6j544rIPZ/WD/LgH bUv7Srty2f+flkSSkfpoRCYdvlcRG9ScKnfG3LrflKZeJ8n+V0svERCRsHwrRIF3tY4D MhiQ== X-Gm-Message-State: AO0yUKU7/ISCVEIeWs1+tvzpaLXx3yLJpH748yOok+v2kL//0Qytc4ZR VIG1INvqQLPrJdCD8Bbqou3D9PHceJY= X-Google-Smtp-Source: AK7set+S+Q1xPkeDx3i/O5ETHtwJdZl7KEn2gl/8gVsoFhqTV9QjZ2Xq5elKhiI24xyAxLRvPv+tpg== X-Received: by 2002:aa7:9536:0:b0:592:e66f:6c7a with SMTP id c22-20020aa79536000000b00592e66f6c7amr14135042pfp.20.1675557349866; Sat, 04 Feb 2023 16:35:49 -0800 (PST) Received: from localhost (104-50-1-205.lightspeed.sntcca.sbcglobal.net. [104.50.1.205]) by smtp.gmail.com with ESMTPSA id q5-20020a056a00150500b005941a05fabesm4415630pfu.142.2023.02.04.16.35.49 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sat, 04 Feb 2023 16:35:49 -0800 (PST) From: Brian Norris To: openwrt-devel@lists.openwrt.org Cc: Brian Norris Subject: [PATCH 2/3] ipq806x: chromium: Enable kmod-ramoops by default Date: Sat, 4 Feb 2023 16:35:34 -0800 Message-Id: <20230205003536.71374-2-computersforpeace@gmail.com> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230205003536.71374-1-computersforpeace@gmail.com> References: <20230205003536.71374-1-computersforpeace@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230204_163551_114374_00DBC733 X-CRM114-Status: UNSURE ( 8.63 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.2 (/) 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: Chromium devices (like OnHub) have ramoops memory reserved by the bootloader. Let's enable the ramoops kernel module by default, so we get better crash logging. Signed-off-by: Brian Norris --- target/linux/ipq806x/image/chromium.mk | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) Content analysis details: (-0.2 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2607:f8b0:4864:20:0:0:0:42e listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider [computersforpeace[at]gmail.com] -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 X-BeenThere: openwrt-devel@lists.openwrt.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: OpenWrt Development List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "openwrt-devel" Errors-To: openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org Chromium devices (like OnHub) have ramoops memory reserved by the bootloader. Let's enable the ramoops kernel module by default, so we get better crash logging. Signed-off-by: Brian Norris --- target/linux/ipq806x/image/chromium.mk | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/target/linux/ipq806x/image/chromium.mk b/target/linux/ipq806x/image/chromium.mk index f908472419d1..ba989299760e 100644 --- a/target/linux/ipq806x/image/chromium.mk +++ b/target/linux/ipq806x/image/chromium.mk @@ -35,10 +35,14 @@ define Device/OnhubImage IMAGES := factory.bin sysupgrade.bin IMAGE/factory.bin := cros-gpt | append-kernel-part | append-rootfs IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata + # Note: Chromium/Depthcharge-based bootloaders insert a reserved-memory + # ramoops node into the Device Tree automatically, so we can use + # kmod-ramoops. DEVICE_PACKAGES := ath10k-firmware-qca988x-ct e2fsprogs kmod-fs-ext4 losetup \ partx-utils mkf2fs kmod-fs-f2fs \ ucode kmod-google-firmware kmod-tpm-i2c-infineon \ - kmod-sound-soc-ipq8064-storm kmod-usb-storage + kmod-sound-soc-ipq8064-storm kmod-usb-storage \ + kmod-ramoops endef define Device/asus_onhub