From patchwork Tue Nov 15 14:34:46 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sam Lunt X-Patchwork-Id: 1704114 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=mbw+pWL/; 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=XfPytRSZ; 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 4NBTKq2cwBz23lt for ; Wed, 16 Nov 2022 01:37:34 +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:To:Subject:Message-ID:Date:From: MIME-Version:Reply-To:Cc:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Owner; bh=q5aLa/gg0hz4LQyVG9EnhbXbyA0qryKJg5UI2FgUXuQ=; b=mbw +pWL/9dUnM7wZNrMa0MuIo24tnEw6mS4gMBhHsMjNfcf9HXakCNZvnLMVgZltLuoKgZpf+nJhZXVU LWUxseNKsRHb6+/AgPUMjTf/DcG308CQAtbsr/j4RpIBM1jXnkDtlnJS0w4kbhb5kxkJphLN2rq1n z7rwj6Cr8vqg31RYk6wZy4xai2rxMOHI3AOa14gF9jGK4KzYH1Mka5O9aH+a0yD0MuWpve1xEJ6VE 9FwoVsHtrSUe9J0ZxYJoLcoKfHwRLWRvPC9rPCnf+xEzT5zSqIWD3EZZVqO90DPRwrzbtvrri74V7 RCyw5hVGG0cQi82v+uJcSSpQ3csMUmA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oux1j-00Bv1j-L8; Tue, 15 Nov 2022 14:35:03 +0000 Received: from mail-qk1-x72a.google.com ([2607:f8b0:4864:20::72a]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oux1g-00BuxA-61 for openwrt-devel@lists.openwrt.org; Tue, 15 Nov 2022 14:35:01 +0000 Received: by mail-qk1-x72a.google.com with SMTP id v8so9536338qkg.12 for ; Tue, 15 Nov 2022 06:34:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=JiEEMgqVHthX3ick9Ii2A2p57A0cLDqMcZBa1pJ+y94=; b=XfPytRSZexaBTb+XDYd9Q5WN7Rk7Sk+UVg5ZidAc//qGZvu5jWkdzuRG1EkKBUo/+Y P4s7vMra+l1weG+aN9QvQez6VmvjT69QoLtNi4pS/pSxaGaSrm+UvsaYXtIIw7T0670p UuStEt4Mj7dg1VUGh0HVn7HIOpsrOMEr+k4fUyMSFhY5zCxv1K57SG5GRteki4xggg+Q FdMzkS4PP5/RODOoSlSuDYY1Spb3VpuUckUGJdzL4VwG2RntFCo8KwAI0e11UXADU9cl H2j3E+PtRVE+aNufpRgG7LQtjq2bzg4jWUajDVz1D6b+/HhXzyg+7HVyCUqRnIZcL3bK k5HQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=JiEEMgqVHthX3ick9Ii2A2p57A0cLDqMcZBa1pJ+y94=; b=mlBIkR1Q7VDJ1KNgyZZQHX1IYe4v5RTsjFWWMSoB2N4BniwAynt5X+wTqGJ2xtAJYH XEz/KoKc5PUVXDSKS/TGOzxQtXqAb2ue+di7N7hIj4nsPuMRhFQ+uWgW34XONKIYb096 aPh1mtS43uNFa60vN11PLoKmwekd+3C0SP3QskotaA1hAFahUNNgdwa3ptKbX1TpCAMV 4A8vqOcEgHFf+u8rhVH1bDGGw0VF3kGsOrGdH11AwIPrzZMNzlqCzBZtiBN/wHS0mHa4 BIfYMrD4PT+wNLF1usImIPdEk/QSN5pWmoh3ps8fiH0g3x8eRCZgB4apEvvCBmTCB6TI hJ2w== X-Gm-Message-State: ANoB5pmTO0Ba9+UW93XXiYlBfIwzRQli5GdVKlmWWtMfY7W+IbBsjlFV w1BTbBBlV60lbzNMcQdz8NJrrZi5RHz3N5Nq3+ydWCUSR80= X-Google-Smtp-Source: AA0mqf7n7IdMgdp7V2T4d33SkglJmi7Fb/7ibC9l2kwmBcjNIiHvhULhyOneZLV79jGJCBtISO8OnS8PdZRer9z6Zm4= X-Received: by 2002:a05:620a:b44:b0:6fa:a2ce:ac27 with SMTP id x4-20020a05620a0b4400b006faa2ceac27mr15072268qkg.185.1668522897254; Tue, 15 Nov 2022 06:34:57 -0800 (PST) MIME-Version: 1.0 From: Sam Lunt Date: Tue, 15 Nov 2022 08:34:46 -0600 Message-ID: Subject: [PATCH] x86 generic: support pc-engines-apu4 To: openwrt-devel@lists.openwrt.org X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221115_063500_265404_20169C5E X-CRM114-Status: UNSURE ( 4.92 ) 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: This adds support for pc-engines-apu4, which, aside from having 4 LAN ports, is nearly the same as the already-supported apu[123] variants. Signed-off-by: Sam Lunt diff --git a/target/linux/x86/base-files/etc/board.d/01_leds b/target/linux/x86/base-files/etc/board.d/01_leds index 74ad2d59fe..449f370e41 100644 --- a/target/linux/x86/base-files/etc/board.d/01_leds [...] 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:72a 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 [samueljlunt[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 This adds support for pc-engines-apu4, which, aside from having 4 LAN ports, is nearly the same as the already-supported apu[123] variants. Signed-off-by: Sam Lunt diff --git a/target/linux/x86/base-files/etc/board.d/01_leds b/target/linux/x86/base-files/etc/board.d/01_leds index 74ad2d59fe..449f370e41 100644 --- a/target/linux/x86/base-files/etc/board.d/01_leds +++ b/target/linux/x86/base-files/etc/board.d/01_leds @@ -11,7 +11,7 @@ cisco-mx100-hw) ucidef_set_led_usbport "usb" "USB" "mx100:green:usb" "1-1-port2" ucidef_set_led_default "diag" "DIAG" "mx100:green:tricolor" "1" ;; -pc-engines-apu1|pc-engines-apu2|pc-engines-apu3) +pc-engines-apu1|pc-engines-apu2|pc-engines-apu3|pc-engines-apu4) ucidef_set_led_netdev "wan" "WAN" "apu:green:3" "eth0" ucidef_set_led_netdev "lan" "LAN" "apu:green:2" "br-lan" ucidef_set_led_default "diag" "DIAG" "apu:green:1" "1" diff --git a/target/linux/x86/base-files/etc/board.d/02_network b/target/linux/x86/base-files/etc/board.d/02_network index 9335e297ba..99e5cf84ee 100644 --- a/target/linux/x86/base-files/etc/board.d/02_network +++ b/target/linux/x86/base-files/etc/board.d/02_network @@ -26,6 +26,9 @@ cisco-mx100-hw) pc-engines-apu1|pc-engines-apu2|pc-engines-apu3) ucidef_set_interfaces_lan_wan "eth1 eth2" "eth0" ;; +pc-engines-apu4) + ucidef_set_interfaces_lan_wan "eth1 eth2 eth3" "eth0" + ;; roqos-roqos-core-rc10) ucidef_set_interfaces_lan_wan "eth1" "eth0" ;;