Message ID | OSYP286MB0312AE84EA07594488BD85C0BC32A@OSYP286MB0312.JPNP286.PROD.OUTLOOK.COM |
---|---|
State | New |
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@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=<UNKNOWN>) 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=B+kZsve0; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=outlook.com header.i=@outlook.com header.a=rsa-sha256 header.s=selector1 header.b=nmTQ5n86; 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 4Qys9N4JQVz20bb for <incoming@patchwork.ozlabs.org>; Sat, 8 Jul 2023 23:50:46 +1000 (AEST) 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=PpmAuwKF9JaBC7+/YHlBnljAqKc0MJKfEY0PPJlYFMI=; b=B+kZsve0PIuPDQ SXbA/ex0fBuFlasiC5daHn6T0o6e4IxigjlQLahD1Nhp9U9k2eEFZhpNXusTcEXZUg6Y9rAM1LpB/ JXLp/xIYAztppZCKo8qAn0BzLmMvZDp1kRYdRsRZr2I25UgzGtPGMOzVHT+XxfA3Mao5ofCA/N7h1 H7CxUmXAXOQxDcbu9QI6fVY6OWX0gOmwokWlPELDGjFzrwnWs0rdcR7/zQ5TN8P3OwuSq7NHRMj0l E0lcjjHEtyTbmkEOEhziLiIIgPoeShFCGev7hqdr6jiUc+EKYGQkIHu70nsL8+AscQH3b2JT2xOLx mdY2eHuwgkggxSRNtezQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qI8Hl-007LJT-1r; Sat, 08 Jul 2023 13:47:41 +0000 Received: from mail-os0jpn01olkn20802.outbound.protection.outlook.com ([2a01:111:f403:700c::802] helo=JPN01-OS0-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qI8Hi-007LHM-36 for openwrt-devel@lists.openwrt.org; Sat, 08 Jul 2023 13:47:40 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=bRHBcjN7/gyzPefb7Ubk9fSXF/XP3r8NawHoHS1hqKVTis0KIZf1YVrvVdzaXEq2laSVEiUU4VHtXwfmfJ/gcwL8/7va03c1cOsIxFy2Qk992YMiPFDPRNm4a4sD/EqshUMOtiejaOdyUPLeIO6AnLUR1Qogx9CzYhSA8R4j+yagF+y6suKpxIqN4uOnvzM566p0C3QmvanBFDifEoYd2quLExAuPcICYk6YfZkqJUrU467UpHHqzghXv3JPZrHQPONdoJTeSgwN6KLwGx1htIhMnot2LQQ77na4uFO2QC00Km8L7XjIlXZ+PR/SeGhzBwWhU1y3zK68cmpK849Eog== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=n2QiCQsqB2eHs+EYTr28eaDuR6yTWCilmAWKZ/ZPibI=; b=W4CGRIm60anDYHo88/BSjp0Hf3dfsIr4AvOiF9H2jA+cob/OKhhh5YSjhYsZEcvmwLCzO4wCx6Sn5nqm2N3Fu0foNA7e8QEQ7wYtzThJOqtOwkT8aT0i3ZHE8xk1Fl0AgjWx4pGmVyN8oRBbst1P+qsOTw7w1aOvGB+H7u5nmbPuH0LPgxYQUKsrZcqhoGz0nn1rh7v5vUYuzZGMRb0by5gxxGaK+hfDgng5Y408aR4eAIbbXncBa+52FytmKcfLdh59te91qxskL+Q1KpWUXgIAl076sCJ9mDkOuRfM0kiprc6UU2kKX6YYRnIK1xx2HUPRkA1v8KCZp2q1syHIaA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=n2QiCQsqB2eHs+EYTr28eaDuR6yTWCilmAWKZ/ZPibI=; b=nmTQ5n86CRenKjjd2oJqTDhIp7mMv89M2QHJqg0fmyf7zT8pBRGvFtA+bNAh1CjpLmFiG5blGvpuvwSFbwesD37e2SCuNkUpJNvujB3O/MoY5fmJusxLBcglKN39930/R9337LkjBk/Q3htJA+fmUftXm4KmxWiIYnOeHe17RuljMxUSlHjuxQi//cdZqJ7DCOxxI+Ri1uQ4ueuuHTIFJOZkMCVoq3+o/N3BPKmYDQxHj5k+wNrpFxgrPIBvQSAhvc0l+vbOj30J0N7RayF7bfgTDZxfnrGhXc63n88f45JAw5CvEmKCljLSTUejzwJ94ga8QNywKqhMSIB4SjtDBw== Received: from OSYP286MB0312.JPNP286.PROD.OUTLOOK.COM (2603:1096:604:93::10) by TYTP286MB3609.JPNP286.PROD.OUTLOOK.COM (2603:1096:400:399::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6565.26; Sat, 8 Jul 2023 13:47:26 +0000 Received: from OSYP286MB0312.JPNP286.PROD.OUTLOOK.COM ([fe80::4879:5bc2:d533:bc74]) by OSYP286MB0312.JPNP286.PROD.OUTLOOK.COM ([fe80::4879:5bc2:d533:bc74%4]) with mapi id 15.20.6565.026; Sat, 8 Jul 2023 13:47:26 +0000 From: Shiji Yang <yangshiji66@outlook.com> To: openwrt-devel@lists.openwrt.org Cc: Shiji Yang <yangshiji66@qq.com>, Yousaf <yousaf465@gmail.com> Subject: [PATCH 1/2] ath79: rework Netgear nand devices image recipe Date: Sat, 8 Jul 2023 21:46:58 +0800 Message-ID: <OSYP286MB0312AE84EA07594488BD85C0BC32A@OSYP286MB0312.JPNP286.PROD.OUTLOOK.COM> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20230708134659.13623-1-yangshiji66@outlook.com> References: <20230708134659.13623-1-yangshiji66@outlook.com> X-TMN: [c/Z1o5gCA3PzHaJGRH4rz6NPuwnX4sS/emRyk7coV9Q=] X-ClientProxiedBy: TYCPR01CA0110.jpnprd01.prod.outlook.com (2603:1096:405:4::26) To OSYP286MB0312.JPNP286.PROD.OUTLOOK.COM (2603:1096:604:93::10) X-Microsoft-Original-Message-ID: <20230708134659.13623-2-yangshiji66@outlook.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: OSYP286MB0312:EE_|TYTP286MB3609:EE_ X-MS-Office365-Filtering-Correlation-Id: c17db58d-152d-47be-f8f0-08db7fb9dd5a X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: AAYzNl0X1VqX9KcETXhgWxEUoCZTlsYS3TEIYmSKz/v6pIl0W1W+n07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MtouTZ+QPJRv9dMnGSrdOhU7Jbq8Pj8lXhrldXE6quN6qEEOtKWsuM/zp/dYtBfphVXjjEvpvG0mLOmXSs6tl/1/kba5vVi7fjOwWgZihrBrvMjzguVNn2MKLKjpIj7yXtSebHo7osgEpjBMT4MMvvgscCFf3yewndmGYxnDTiMKrph6ulvw/vkYgmW1YLldSsBvwWQnB8Qv9i0CwhTtv5wWn5IPhxFJtFOQlYLbGANCQSn/mahpsb+MyDfMJ8xV3glh+ousuI4kbkabtNKehKjQAh9m6mP6rDQGR5KrwXsmk89KjsVCi1yp/wwkJXBTXw0AbLDD/cuhmXcCqE1Ut2O5pU4imX8wUByODcr+8PkfEz9CZPkrA7w+TdlDF+toAbZzgD2Tgo4LzzD9huY9sYT0hWeEeKSrSYF352ct0499GRwcgcrpD2+An0opwwC0PJa4TN3H/PD+vQPO4NZyIz2AOTLurCOi2CREBoQuaGfugwHhRSXmu9THUwW+Mk2TMSQpLsEd14sGQblZvJl5hejFCNLlnnJlV04mm+hHjTuJJgW5WhjzBAuLVeeBjVHD3CGbgRxcBbhtajmrNpbipW/6diAFokIL+vSCarjZQ9dtTrnip44Mx2jGnqtvHoQovJYNsn3VpmKnfmyc246PNcpvD6l4N7RXUAMdBlxJfTGrEPUPU6/mktLEORAR+cTpJ2oN6MeGiHQ6r79Sdms8yn7/6M6bVONyMj0zY6SDekfqApqw= X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: c17db58d-152d-47be-f8f0-08db7fb9dd5a X-MS-Exchange-CrossTenant-AuthSource: OSYP286MB0312.JPNP286.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Jul 2023 13:47:26.5649 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: TYTP286MB3609 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230708_064739_000915_ECC2CB07 X-CRM114-Status: UNSURE ( 8.74 ) X-CRM114-Notice: Please train this message. X-Spam-Score: 0.0 (/) 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: From: Shiji Yang In Netgear u-boot GPL code, nand devices uses this formula to locate the rootfs offset. offset = (((128 + KERNEL_SIZE) / BLOCK_SIZE) + 1) * BLOCK_SIZE; Content analysis details: (0.0 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider [yangshiji66[at]outlook.com] 0.2 FREEMAIL_ENVFROM_END_DIGIT Envelope-from freemail username ends in digit [yangshiji66[at]outlook.com] -0.0 SPF_HELO_PASS SPF: HELO matches 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 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/2] ath79: rework Netgear nand devices image recipe
|
expand
|
diff --git a/target/linux/ath79/image/nand.mk b/target/linux/ath79/image/nand.mk index d06b44d6b3..7a3f478281 100644 --- a/target/linux/ath79/image/nand.mk +++ b/target/linux/ath79/image/nand.mk @@ -285,7 +285,7 @@ define Device/meraki_mr18 endef TARGET_DEVICES += meraki_mr18 -# fake rootfs is mandatory, pad-offset 64 equals (1 * uimage_header) +# fake rootfs is mandatory, pad-offset 129 equals (2 * uimage_header + 0xff) define Device/netgear_ath79_nand DEVICE_VENDOR := NETGEAR DEVICE_PACKAGES := kmod-usb2 kmod-usb-ledtrig-usbport @@ -293,8 +293,9 @@ define Device/netgear_ath79_nand BLOCKSIZE := 128k PAGESIZE := 2048 IMAGE_SIZE := 25600k - KERNEL := kernel-bin | append-dtb | lzma | uImage lzma | \ - pad-offset $$(BLOCKSIZE) 64 | append-uImage-fakehdr filesystem $$(UIMAGE_MAGIC) + KERNEL := kernel-bin | append-dtb | lzma | \ + pad-offset $$(BLOCKSIZE) 129 | uImage lzma | append-string -e '\xff' | \ + append-uImage-fakehdr filesystem $$(UIMAGE_MAGIC) IMAGES := sysupgrade.bin factory.img IMAGE/factory.img := append-kernel | pad-to $$$$(KERNEL_SIZE) | \ append-ubi | check-size | netgear-dni