| Message ID | 20260805023956.3379890-7-vincent.mc.li@gmail.com |
|---|---|
| State | New |
| Headers |
Return-Path: <development+bounces-2476-patchwork=ipfire.org@lists.ipfire.org>
Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202])
(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
key-exchange x25519)
(Client CN "mail01.haj.ipfire.org", Issuer "YR2" (not verified))
by web04.haj.ipfire.org (Postfix) with ESMTPS id 4hFFBN4mmbz3wkS
for <patchwork@web04.haj.ipfire.org>; Wed, 05 Aug 2026 02:45:00 +0000 (UTC)
Received: from mail02.haj.ipfire.org (mail02.haj.ipfire.org [172.28.1.201])
(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
key-exchange x25519)
(Client CN "mail02.haj.ipfire.org", Issuer "YE1" (not verified))
by mail01.ipfire.org (Postfix) with ESMTPS id 4hFFBD1BnFz6lR
for <patchwork@ipfire.org>; Wed, 05 Aug 2026 02:44:52 +0000 (UTC)
Received: from mail02.haj.ipfire.org (localhost [IPv6:::1])
by mail02.haj.ipfire.org (Postfix) with ESMTP id 4hFF5V3crhz37Jd
for <patchwork@ipfire.org>; Wed, 05 Aug 2026 02:40:46 +0000 (UTC)
X-Original-To: development@lists.ipfire.org
Received: from mail01.ipfire.org (mail01.haj.ipfire.org
[IPv6:2001:678:b28::25])
(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
key-exchange x25519)
(Client CN "mail01.haj.ipfire.org", Issuer "YR2" (not verified))
by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4hFF5R6lStz37Gf
for <development@lists.ipfire.org>; Wed, 05 Aug 2026 02:40:43 +0000 (UTC)
Received: from mail-pg1-x52b.google.com (mail-pg1-x52b.google.com
[IPv6:2607:f8b0:4864:20::52b])
(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
client-signature RSA-PSS (2048 bits) client-digest SHA256)
(Client CN "smtp.gmail.com", Issuer "WR4" (verified OK))
by mail01.ipfire.org (Postfix) with ESMTPS id 4hFF5H67Yrz5Z3
for <development@lists.ipfire.org>; Wed, 05 Aug 2026 02:40:35 +0000 (UTC)
Authentication-Results: mail01.ipfire.org;
dkim=pass header.d=gmail.com header.s=20251104 header.b=K7kYkijZ;
spf=pass (mail01.ipfire.org: domain of vincent.mc.li@gmail.com designates
2607:f8b0:4864:20::52b as permitted sender)
smtp.mailfrom=vincent.mc.li@gmail.com;
dmarc=pass (policy=none) header.from=gmail.com
ARC-Seal: i=1; a=rsa-sha256; d=lists.ipfire.org; s=202003rsa; cv=none;
t=1785897635;
b=WzFNTKVi2uTs0T0Kvdo/LQl7XckVBQpN0IFI6AH9/tMvKCGAC5haxMXWbRH8CFKtxrJ3hv
+UaAwPD4WrmgQxGgI9dTmD76R4BCGrU6Nik1sCc1dJ9hNzgeNcpg618gsrf0h09n5t59/W
JAhOl82Ws9a7grA+kqxuex40qoRJiBliA6ndrtlGooCXDXkNW9dpqeYUE7TQY3jKnHlpqz
/JkHHnr838YhZawrKrSD4zp1axH7JfflZneXnUPtScZvkzwdIdMwqfbqSpfuTqGV5NnOji
DKblPKWT/j30ylsfIiGmpsutYFHj03xfDHE5NeR4dDeRsMsobwv7TkwlCcdVdg==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed;
d=lists.ipfire.org;
s=202003rsa; t=1785897635;
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:dkim-signature;
bh=CE/M3FHgNguuSvwDRkh9ofPwtLovQU2mtcNso3c/iYU=;
b=CtmQiBK/xR6lop5yvHQ408NrUeGedSbqDptrj5LLdvV+hn8ANezOudVId1nvCLHUodED5T
GB4fqcUiulUv5FpcoEJo8OOu2l5U+mI4MO8CDicIz4HSoeQ2uWJHGT6gr5fdV4Vuz5Iz8J
jy54aXXOfIKpEx8+25XBvRlErfzSiIN72EiHPqGIarBgk2GRU+fQIYoNH2d6XE9UgtZ96Q
ImRqV1St1lXBjvxYM42oE7bkULAbWGutU/G21y4QlASkPRQKnAvG3jZ/Cyal2PUShJMdLk
IJ9cqjzspU1hs8IJevLog9lB+J/y5NzQEjV+fiqWpjtfX1+hXuRa69P1/BsfCQ==
ARC-Authentication-Results: i=1;
mail01.ipfire.org;
dkim=pass header.d=gmail.com header.s=20251104 header.b=K7kYkijZ;
spf=pass (mail01.ipfire.org: domain of vincent.mc.li@gmail.com designates
2607:f8b0:4864:20::52b as permitted sender)
smtp.mailfrom=vincent.mc.li@gmail.com;
dmarc=pass (policy=none) header.from=gmail.com
Received: by mail-pg1-x52b.google.com with SMTP id
41be03b00d2f7-ca7c1176317so377471a12.1
for <development@lists.ipfire.org>;
Tue, 04 Aug 2026 19:40:35 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20251104; t=1785897634; x=1786502434;
darn=lists.ipfire.org;
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:content-type;
bh=CE/M3FHgNguuSvwDRkh9ofPwtLovQU2mtcNso3c/iYU=;
b=K7kYkijZXriap6aKQvlLk1v/6Aq0Aq+HvS8dWGgUQ6tAoGhCPagQ4Lhw9e2I4hjH32
oqx/OBXfijjHFKxhDqpCQdFFS11OuRV/kxDfabMGCkvylg2/Y9CCLrXaUwkaMjfaQjQW
KFcy4GnFpnjjg8yNzBaTeWkYVFnPpc5GqwyAilj1+4hPuulkpFOiGc3TxG0ga6yp8RiJ
hBxp4eM9j/vHaFbR+xuQDsqX8kkJfw5HGQTx/6kRmoQiTA6R2oYyTFti3GhO1TX41wdg
DxsJ0xJ6WLWfTJMuT3MYvHiMTAbzkgY/tvl5mqX5uFc2ayh2zV/lONmerLrAcICdPJdS
yV6g==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20251104; t=1785897634; x=1786502434;
h=content-transfer-encoding:mime-version:references:in-reply-to
:message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from
:to:cc:subject:date:message-id:reply-to:content-type;
bh=CE/M3FHgNguuSvwDRkh9ofPwtLovQU2mtcNso3c/iYU=;
b=LKpQBmriwkkx5bUDrx2GT7fUsDpolOOQK1SvWNuApqMGHm0SwHg7+LHyCFxb2R+Vir
qaYo0C5Su+TsD2VIs994xuplJyQRW2fe1lEq1u5FaicqidGb44CGT7ZP8Y7Wf57n4xl7
K7Ax/uGVGG5URFk8hVfM+MIGaNRs4SAXseK9NMoLlm8j1iw01BPJW3aXly7zHmuy+LCc
2CKbFEWKortAN1RRCaDrg17gVRshjHVbuYXPRP9jaRag3oQHmE37kRJ5m08+z66/SM9g
Z3cbupbcYPc6Jkxrk57doKAG9vzTGZdmQFxGYVjD5dCuAqyl9Xt4uIVBHVsgt9UKz8Nn
VYIQ==
X-Forwarded-Encrypted: i=1;
AHgh+RoflifDeqOK3VmHIj7Piv4vXC7T5aKlDsC0SgC7J9vxIR4KWJ3EJgPsEhxeg0oKpvaw+01OhO6R831fUw==@lists.ipfire.org
X-Gm-Message-State: AOJu0YzzrY9y77gA4iYVFMtv8Fe8xrlswmvk8WzAy/MhXqolmQIGP9nB
8yx1TU3rP/DiRw4fdRf/lBC1cA1lE5Nn6xW323VgLHe9bobFM6N4TeuemWXnQXBHt7o=
X-Gm-Gg: AR+sD10/FH5lNPhRt62mKLf/OSzLV/RnnGQM21XIeZuHLadULBx+/Uwh42kBzY0NZa4
cMcc43sR82vOdpKDJuRvr5rPF77I+RkdFWYoA0As76njQIwSxAE9yhlkNRSpkh3OCXDiDGNqlv4
8Dnh18I+WKvRxrlqKubQyoS1kZZT/HxSbxXw4H3KIs8Xyh5kAss6xq2lkgs4GyaxRwPgdFn+lbR
jGhJQEoQA/u1WTFDzunwGSO5+TSWsQRi9IAzwqsxo21vabzDe+AGozpZSPXhZWTuEI6HiYMBzDT
LQCXa9xKgN9qlWhR0HBMboBSsTxS244VqPQAzlVA1fNI2tORDJWf1FSs5d7atoOYQE6Q5EF35xK
5CobVnZkdQxkQK8SlcRQeiOpEp3XpJJvTJVUUse23EpBFS4gTJN6JLX1Q5jiCpO0gnyXFtXG5Xc
YZvH6OMmjh9y00AbTPtcG19Nh7pQz6xvMt5i5cVQDGvYEVvLB4utYtIMavbc0DafSADlxobe+2t
RqZXW3V
X-Received: by 2002:a05:6a20:cfa2:b0:3c3:875d:c52f with SMTP id
adf61e73a8af0-3cb85dc28femr4279169637.10.1785897634063;
Tue, 04 Aug 2026 19:40:34 -0700 (PDT)
Received: from sc.10086.cn ([2409:8a62:4216:8470:43c3:3b45:83f6:fb4a])
by smtp.gmail.com with ESMTPSA id
41be03b00d2f7-cbe708be5bdsm476544a12.15.2026.08.04.19.40.31
(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
Tue, 04 Aug 2026 19:40:33 -0700 (PDT)
From: Vincent Li <vincent.mc.li@gmail.com>
To: Michael Tremer <michael.tremer@ipfire.org>,
development@lists.ipfire.org
Cc: Vincent Li <vincent.mc.li@gmail.com>
Subject: [PATCH v1 6/8] installer: Enable EFI support for loongarch64
Date: Tue, 4 Aug 2026 19:39:54 -0700
Message-Id: <20260805023956.3379890-7-vincent.mc.li@gmail.com>
X-Mailer: git-send-email 2.38.1
In-Reply-To: <20260805023956.3379890-1-vincent.mc.li@gmail.com>
References: <20260805023956.3379890-1-vincent.mc.li@gmail.com>
Precedence: list
List-Id: <development.lists.ipfire.org>
List-Subscribe: <https://lists.ipfire.org/>,
<mailto:development+subscribe@lists.ipfire.org?subject=subscribe>
List-Unsubscribe: <https://lists.ipfire.org/>,
<mailto:development+unsubscribe@lists.ipfire.org?subject=unsubscribe>
List-Post: <mailto:development@lists.ipfire.org>
List-Help: <mailto:development+help@lists.ipfire.org?subject=help>
Sender: <development@lists.ipfire.org>
Mail-Followup-To: <development@lists.ipfire.org>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-Rspamd-Queue-Id: 4hFF5H67Yrz5Z3
X-Rspamd-Action: no action
X-Spamd-Result: default: False [-6.59 / 11.00];
BAYES_HAM(-3.00)[100.00%];
R_DKIM_ALLOW(-1.69)[gmail.com:s=20251104];
DKIM_REPUTATION(-0.96)[-0.95924900107823];
SPF_REPUTATION_HAM(-0.54)[-0.5428492483093];
R_MISSING_CHARSET(0.50)[];
DMARC_POLICY_ALLOW(-0.50)[gmail.com,none];
R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4864::/56:c];
MIME_GOOD(-0.10)[text/plain];
MX_GOOD(-0.10)[gmail-smtp-in.l.google.com];
RCVD_TLS_LAST(0.00)[];
IP_REPUTATION_HAM(0.00)[asn: 15169(-0.30), country: US(-0.01),
ip: 2607:f8b0:4864:20::(-0.77)];
ARC_NA(0.00)[];
FROM_EQ_ENVFROM(0.00)[];
MIME_TRACE(0.00)[0:+];
FREEMAIL_FROM(0.00)[gmail.com];
TO_DN_SOME(0.00)[];
DWL_DNSWL_NONE(0.00)[gmail.com:dkim];
FREEMAIL_ENVFROM(0.00)[gmail.com];
PREVIOUSLY_DELIVERED(0.00)[development@lists.ipfire.org];
RCVD_COUNT_TWO(0.00)[2];
FREEMAIL_CC(0.00)[gmail.com];
RCVD_VIA_SMTP_AUTH(0.00)[];
MID_RHS_MATCH_FROM(0.00)[];
ALIAS_RESOLVED(0.00)[];
TO_MATCH_ENVRCPT_SOME(0.00)[];
ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US];
RCPT_COUNT_THREE(0.00)[3];
ARC_SIGNED(0.00)[lists.ipfire.org:s=202003rsa:i=1];
RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::52b:from];
DKIM_TRACE(0.00)[gmail.com:+];
FROM_HAS_DN(0.00)[]
X-Rspamd-Server: mail01.haj.ipfire.org
|
| Series |
Add loongarch64 architecture support to IPFire
|
|
Commit Message
Vincent Li
5 Aug 2026, 2:39 a.m. UTC
Add loongarch64 to the list of architectures that support EFI boot mode
in the installer hardware detection logic. This enables the installer
to correctly detect and configure EFI boot installation for LoongArch64
systems, which use UEFI as the standard firmware interface.
Signed-off-by: Vincent Li <vincent.mc.li@gmail.com>
---
src/installer/hw.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/installer/hw.c b/src/installer/hw.c index 058671624..0e8e175b3 100644 --- a/src/installer/hw.c +++ b/src/installer/hw.c @@ -116,7 +116,8 @@ struct hw* hw_init() { // Should we install in EFI mode? if ((strcmp(hw->arch, "x86_64") == 0) || (strcmp(hw->arch, "aarch64") == 0) - || (strcmp(hw->arch, "riscv64") == 0)) + || (strcmp(hw->arch, "riscv64") == 0) + || (strcmp(hw->arch, "loongarch64") == 0)) hw->efi = 1; return hw;