From patchwork Thu Feb 11 21:10:51 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paul Fertser X-Patchwork-Id: 1439672 X-Patchwork-Delegate: freifunk@adrianschmutzler.de 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.openwrt.org (client-ip=2001:8b0:10b:1231::1; helo=merlin.infradead.org; envelope-from=openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org; receiver=) Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=merlin.20170209 header.b=hL1IiLzc; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=p9ODepBm; dkim-atps=neutral Received: from merlin.infradead.org (merlin.infradead.org [IPv6:2001:8b0:10b:1231::1]) (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 ozlabs.org (Postfix) with ESMTPS id 4Dc8Vv3288z9sBJ for ; Fri, 12 Feb 2021 08:13:26 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject: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=RWOUuRmrQkzyR6KByklaF7fSlVDTXMCgVuTUrTUc/hI=; b=hL1IiLzcpy/ZrJf4/ygPeiAnEB 2pn2IJWe7nS/Fb/jLw+PdHRhs85D4DwYPcjewXDJKcuN9GXfI3syPw71WkzSIB0t0Gw/c1D90l4fw 845522GCjWK6GEhRzEqnH3fJPlmjPh3ZAOOKIwfTqFmEY5aFvb8qIAXD4OXj1keW23wsAqfqJ0sqH 46SiYSKanBVzeM2lsvqTYniFtNgE2CLfGRjRCSk1aF0pUMegcu0HYIfEooXJt2iQAZZn8Ll039Ygx /q0woFzm3/bPshVrW5FlikfcXZDF101zhMyz90nB8sIYzz5PgsZgROhrrQbmeZJKOrWsb7z7tzPwM IUDEMSWw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1lAJF6-000407-OE; Thu, 11 Feb 2021 21:11:16 +0000 Received: from mail-lf1-x129.google.com ([2a00:1450:4864:20::129]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1lAJF0-0003yL-5q for openwrt-devel@lists.openwrt.org; Thu, 11 Feb 2021 21:11:11 +0000 Received: by mail-lf1-x129.google.com with SMTP id z11so2214878lfb.9 for ; Thu, 11 Feb 2021 13:11:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=HTCIsiG0AtQ+lF9FuPqDF86F8GvZIOfa3/pSgC5BBKs=; b=p9ODepBmwwCQyYim925wnTgibgIqnHkOzzt2x/XZJeZKf7ONNlSqG/gtUWX0xzKRjA OHvzZqkwE2ze3uUM83PdHSrwbfKs96GIpRNkdwu4ZRGvQ6dCMw2DQStZ/PGaWytSVzEx zpMB9GFzjS/u3RE/5ptN+wZgI5zpC7+Pm5J91QISA9FF04Thyhw6gbonRUEZUIszEj+u tei4UfRzIMdzpmz8ur3CGpG2li0k9sVYY4odYp97BQG/DJT4JbI/UZYHtiN7CAUmHhkG uWoRA7Ca/F/5ZZ5AofShH9anUEVaMbhq5l86lT/RxmorPAi7dw66nRBG+4RldRlU+woZ ZsLQ== 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:mime-version :content-transfer-encoding; bh=HTCIsiG0AtQ+lF9FuPqDF86F8GvZIOfa3/pSgC5BBKs=; b=oBPrzXrAYqek4CmeCrqL1K74kxCP31PFbWBmwVmxcNw28fzco0v/NKX8aEXjTsqYBu KoS65789Fpi//rYEzXUU7979lRWLAP1WUOPms2oKTJydZ70OuEiJ7NtI0mYw6k3IhPKA Vhipyl2F2UQkP6MeN/9wfQkboM06SKxLYz0cNigLgQGrMRehLAuqZdSX4C2SmT3bBr8z KYLvm76Nh70+bQlAooda+ej9S+pdBUUSvWZnYBWusO4mj6RZ1j6Y+trAjxoxbnD1du+0 0y2L3zDyiCclvKH/pcl/KSaky4eUkg/mlpef9cs+7zI596Vh79TKt07SdBlAxkIAxCHc XrlQ== X-Gm-Message-State: AOAM533+RTHsrichP0vtPaKvI8s27pwerGFaEuHe1T7RAZz/QLNEop4f HdW/Ezvz1H79ouleGlRThN292Qbb4vo= X-Google-Smtp-Source: ABdhPJweZtzrHuwlZVMimPeN3COmGgzsioAKrXaDhqRlhyZJgnYN6ecBLT+f/nYx+v+/9CHQUi5EjA== X-Received: by 2002:a19:8643:: with SMTP id i64mr5265115lfd.202.1613077866845; Thu, 11 Feb 2021 13:11:06 -0800 (PST) Received: from home.paul.comp (paulfertser.info. [2001:470:26:54b:226:9eff:fe70:80c2]) by smtp.gmail.com with ESMTPSA id n192sm758287lfa.287.2021.02.11.13.11.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Feb 2021 13:11:06 -0800 (PST) Received: from home.paul.comp (home.paul.comp [IPv6:0:0:0:0:0:0:0:1]) by home.paul.comp (8.15.2/8.15.2/Debian-14~deb10u1) with ESMTP id 11BLB308003728; Fri, 12 Feb 2021 00:11:04 +0300 Received: (from paul@localhost) by home.paul.comp (8.15.2/8.15.2/Submit) id 11BLB26H003727; Fri, 12 Feb 2021 00:11:02 +0300 From: Paul Fertser To: openwrt-devel@lists.openwrt.org Subject: [PATCH] ath79/nand: fix factory image generation for Netgear boards Date: Fri, 12 Feb 2021 00:10:51 +0300 Message-Id: <20210211211051.3686-1-fercerpav@gmail.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210211_161110_437187_9D7092FB X-CRM114-Status: GOOD ( 11.80 ) X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:129 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 [fercerpav[at]gmail.com] 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_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.1 DKIM_VALID Message has at least one valid DKIM or DK signature X-BeenThere: openwrt-devel@lists.openwrt.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: OpenWrt Development List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Paul Fertser , Marcin Juszkiewicz Sender: "openwrt-devel" Errors-To: openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org The factory images need to embed specific IDs to pass verification with the OEM firmware (including TFTP recovery), so they need to be per-device variables. Fixes: ab1584a797 ("ath79: netgear: trim down uImage customisations") Acked-By: Marcin Juszkiewicz Signed-off-by: Paul Fertser --- target/linux/ath79/image/nand.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linux/ath79/image/nand.mk b/target/linux/ath79/image/nand.mk index 37fcb36937..351239e2b3 100644 --- a/target/linux/ath79/image/nand.mk +++ b/target/linux/ath79/image/nand.mk @@ -1,4 +1,4 @@ -DEVICE_VARS += RAS_ROOTFS_SIZE RAS_BOARD RAS_VERSION +DEVICE_VARS += RAS_ROOTFS_SIZE RAS_BOARD RAS_VERSION NETGEAR_BOARD_ID NETGEAR_HW_ID # attention: only zlib compression is allowed for the boot fs define Build/zyxel-buildkerneljffs