From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail02.haj.ipfire.org (localhost [IPv6:::1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4jgLYd2n4Fz2xng for ; Thu, 03 Dec 2026 17:03:33 +0000 (UTC) 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 server-signature ECDSA (secp384r1 raw public key) server-digest SHA384 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mail01.haj.ipfire.org", Issuer "YR1" (not verified)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4jgLYX0HMYz2xZB for ; Thu, 03 Dec 2026 17:03:28 +0000 (UTC) Received: from michael.sof.ipfire.org (michael.sof.ipfire.org [172.28.140.100]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature RSA-PSS (4096 bit raw public key) server-digest SHA256 client-signature ECDSA (secp384r1) client-digest SHA384) (Client CN "michael.sof.ipfire.org", Issuer "YE2" (not verified)) by mail01.ipfire.org (Postfix) with ESMTPS id 4jgLYV6N8QzJF; Thu, 03 Dec 2026 17:03:26 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1796317406; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=P6ptG5YxeDZdmOqsu4G3Q2Etk18oaF7mOBZv0Nges7A=; b=9OE/LvlG8stvDNoGbRMRhdKriM9+XsB2twuL0KoGECdL/i8OuDHenZ0kBK0VFZtK+pbIG+ BEGze3xKh16F2UAQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1796317406; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=P6ptG5YxeDZdmOqsu4G3Q2Etk18oaF7mOBZv0Nges7A=; b=IoY09wjyOuQ6yeLtQVp2nQXFZhW18HOjk7j0m/Pw+IPE81KOFZmYF7VZV7tmtSC23zLtQA +jhTjxQwsDR8xdI7+XhMYntPSR9C9p6WdnHxAWJNALdRxbymVYmSSH3FjCCTWGJezM3TVH LgSX6REs5q5c3DiUafb9TU67wbRIrzt0GY7C/15RGd9Cy/o/DewfDeWmjtYwZOA/A2BokI xnySDr2QsgSU/2t8tmIEtMy2VWzN+9w6frwV1JHAepzSiNYCu9IprnkXksXcqcmxppGg5X 1MA8rA6qHKIJoxe5IrM3uXMxDQTuvS8ovGggHPGcMF7B9/2tXMIw/FPMW5LWPw== Received: by michael.sof.ipfire.org (Postfix, from userid 0) id 4jgLYV18Zfz2ydT; Thu, 03 Dec 2026 17:03:26 +0000 (UTC) From: Michael Tremer To: development@lists.ipfire.org Cc: Vincent Li Subject: Re: [PATCH] kernel: Enable loongarch64 kernel config MMC_LOONGSON2 In-Reply-To: <20261203023403.2049053-1-vincent.mc.li@gmail.com> References: <20261203023403.2049053-1-vincent.mc.li@gmail.com> Precedence: list List-Id: List-Subscribe: , List-Unsubscribe: , List-Post: List-Help: Sender: Mail-Followup-To: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Message-Id: <4jgLYV18Zfz2ydT@michael.sof.ipfire.org> Date: Thu, 03 Dec 2026 17:03:26 +0000 (UTC) Hi Vincent, Thanks for the patch. I have merged it into next. I added a few things around it: - The module needs an entry in the rootfile, which the patch didn't have. I added loongson2-mmc.ko.xz in a separate commit. - I enabled the other drivers that the 2K SoCs and the LS7A bridge need: clock, pin control, GPIO, I2C, RTC, thermal and APB DMA. I also enabled SPI with the Loongson SPI controllers, plus the generic device-tree drivers that boards usually need (OF serial, reset via GPIO, regulators, PWM, cpufreq-dt, DWC2 USB, on-board USB hubs, EFI RTC). The loongarch64 kernel configuration so far was only meant to compile quickly and has only been run in a VM, never on real hardware. Your testing on the OrangePi Nova is therefore very valuable. Could you try a build of next on your board and tell me: 1. Does the eMMC show up, and does it work for you now? 2. What does dmesg say? In particular, are there errors from the new drivers, or devices that still have no driver? 3. What does lspci -k show for devices without a driver? 4. Does the serial console work and does the board reboot and power off cleanly? 5. Is the board booted from a device tree or from ACPI? That tells me which of the new drivers are used. For future patches, please drop the Tested-by: line when it is from the same person as the Signed-off-by:, and please check the link to the Debian bug, because I could not open it. Both are small points. Thanks again for working on LoongArch support! Best, Michael