From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id 4G6hFKTdAmZL9AAAqHPOHw:P1 (envelope-from ) for ; Tue, 26 Mar 2024 15:37:24 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id 4G6hFKTdAmZL9AAAqHPOHw (envelope-from ) for ; Tue, 26 Mar 2024 15:37:24 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debian.org header.s=1.vagrant.user header.b=BFr7W5EY; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1711463844; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=3CdpVp3OtVet3VXm7X7DbOFcVDb9cqflitTF5GUeST4=; b=MAS36PL14nL0p20zF4sPxvNVH8L58ay7dGqRJvbPSvty8HLQEmMMzeBtI0Py1z+APrrr9u Xx9hS1yGOcoM2Lks0Kf1UjlJJ+BMPfd1IJeX2EB33zpoWtCoCccDtsnvDFoBpxQY1sTZyx Il46zOiTcuiUSeGSqWtytOzZHDlEQlHdGk1CFprDb80Qoh3sUIESthhtp41HcdaloSYs4n ZyZljz4T/1uaStZKh1cuMpJk1Aw30vZWw2ZcC62OJAo+4nh1/hJUGuSigMCicpCCKLGstj yXYhcVGiXzYuPhCAERo/YCJ9oznJ0JNOOys/4xOZvpB0MYAlcz50qAyPNrKuZg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debian.org header.s=1.vagrant.user header.b=BFr7W5EY; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1711463844; a=rsa-sha256; cv=none; b=nBee1cm+BivQiToxoyp7RTeEJRpG48HgfnXve1rn03FSBc8wOdeuzoB/5KzTIxD4JlnXxe +udykcjCIvkQQCgMMoRXcBbnDWbrzr1EaGoTyRkm2wGF6xx7JIiobd3uYnOYMMTB/iKHCc mgbnDkXOSj4Ai4+h99hZzgMNMjnANbtsX/AqyYhR42Blp6257Hee4H9Oqr4n/PmAXHC8YH ++6yxfztKTNNG0lprm+jSldXZLiU92jcQJghAoNa6ia+QLDHhfADUPDbXCkSWSei3os4vn h4+a439qxUUrAC6jxVZuaFZp/52N+IRc/zgcyKzftjkQq5zoV9b4sJsoJwPfxA== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id C4E776D232 for ; Tue, 26 Mar 2024 15:37:23 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rp7vH-0003Hz-3u; Tue, 26 Mar 2024 10:37:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rp7vC-0003Fs-M8 for guix-patches@gnu.org; Tue, 26 Mar 2024 10:37:03 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rp7vC-0002TJ-De for guix-patches@gnu.org; Tue, 26 Mar 2024 10:37:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rp7vB-0008Mh-Mz for guix-patches@gnu.org; Tue, 26 Mar 2024 10:37:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#69476] [PATCH 0/8] guix: Add xtensa-ath9k-elf platform. Resent-From: Vagrant Cascadian Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 26 Mar 2024 14:37:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69476 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Jean-Pierre De Jesus DIAZ , 69476@debbugs.gnu.org Cc: Efraim Flashner Received: via spool by 69476-submit@debbugs.gnu.org id=B69476.171146380932117 (code B ref 69476); Tue, 26 Mar 2024 14:37:01 +0000 Received: (at 69476) by debbugs.gnu.org; 26 Mar 2024 14:36:49 +0000 Received: from localhost ([127.0.0.1]:34417 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rp7uz-0008Lx-1i for submit@debbugs.gnu.org; Tue, 26 Mar 2024 10:36:49 -0400 Received: from cascadia.aikidev.net ([2600:3c01:e000:267:0:a171:de7:c]:57794) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rp7ur-0008Lc-UM for 69476@debbugs.gnu.org; Tue, 26 Mar 2024 10:36:47 -0400 Received: from localhost (unknown [IPv6:2600:3c01:e000:21:7:77:0:50]) (Authenticated sender: vagrant@cascadia.debian.net) by cascadia.aikidev.net (Postfix) with ESMTPSA id BD4BC1AC9B; Mon, 25 Mar 2024 23:17:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=debian.org; s=1.vagrant.user; t=1711433876; bh=7h92aNlUCVS70gg5ECyeRm1aDSvkRzW9BR8XU3117nY=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=BFr7W5EYB0sQlvY5GgJWawVrJkihU2kCsCpa7s3FlBJZxV2qbBDaZQKAHf8kaW7jO dUx9aD/uqEZduD2gC6Sa8MwG8xQ4ceUBxlOx3cgXpk/OOQjXRnmUno+jZ1rb/Xr1OG frI6cK32Ladlf299MgMxxi97PtI0YfVbEnSrTu1K/+I2f9+O5vkR55A0CmNBBhh2M6 n3P4omzqdQ35Krie2BO+plYJcMGZ4alAKTTIv9QQKU1lKAf7dracsSCQA2FU3LXuX6 AWo7YEZU5RgcgATPx1oqj85wTKG4+k4FE4oq8PAbRK+dYrp9rHbKXsHKWsXdwN+nAF P/rpimmkusxhw== From: Vagrant Cascadian In-Reply-To: References: Date: Mon, 25 Mar 2024 23:17:53 -0700 Message-ID: <877chptt2m.fsf@wireframe> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Queue-Id: C4E776D232 X-Spam-Score: -5.44 X-Migadu-Spam-Score: -5.44 X-Migadu-Scanner: mx10.migadu.com X-TUID: WjZf4okQn84I --=-=-= Content-Type: text/plain On 2024-02-29, Jean-Pierre De Jesus DIAZ wrote: > As the ath9k-htc-firmware package requires a custom toolchain to build > the firmware I thought it was best to have a target for this specific > package as it modifies the default configuration of the Xtensa target in > GCC. > > To work around this a new target is added: xtensa-ath9k-elf. > > It uses binutils@2.33 and the patched version of GCC to properly compile > the firmware. So, as a result it allows using #:target keyword parameter > to cross-compile the firmware and avoids explicitly adding the cross > compiler in the NATIVE-INPUTS field. I am not in a position to evaluate the correctness of the proposed toolchain changes, but conceptually it makes sense. > As a result the ath9k-htc-firmware package was splitted into two and > uses the cmake-build-sytem now to use Guix's cross-compilation support > properly, so it removes the need for the ath9k-htc-firmware-objcopy.patch. This makes sense to me too. > The [PATCH 7/8] contains a patch that was already sent to: > > https://issues.guix.gnu.org/68366 Ok, one of these two patch series will need to be refactored depending on which gets applied first. > I don't have the hardware to test this firmware but the build produces > the same hashes for the firmware so it's safe to say that the firmware > should keep working. I do have some of the hardware to test, though have not had a chance to test the patches... will try to get on that. Obviously producing identical hashes is quite compelling; this is an excellent example of applying Reproducible Builds to refactoring code! > The hashes with this patch series: > > a5481cc67d962b217de1300121a6c7584e847cbe215442553d24a2173ca9202e /gnu/store/0i3zw28pvrr8l85fx79i8lq0f9vmgyjz-ath9k-htc-ar9271-firmware-1.4.0/lib/firmware/htc_9271.fw > eef84c16e3edad3fdec19c985d190b5ed3f5bd5bae20be5579681ab35f001406 /gnu/store/iqbd77grzy4sngkxz9lgyvk52apn8vzj-ath9k-htc-ar7010-firmware-1.4.0/lib/firmware/htc_7010.fw > > And the hashes in master at commit 75bad75367fcf2c289fae3b40dbcc850f92177be: > > a5481cc67d962b217de1300121a6c7584e847cbe215442553d24a2173ca9202e /gnu/store/0m45gn74b5bavxq77158i3l593lh082r-ath9k-htc-firmware-1.4.0/lib/firmware/htc_9271.fw > eef84c16e3edad3fdec19c985d190b5ed3f5bd5bae20be5579681ab35f001406 /gnu/store/0m45gn74b5bavxq77158i3l593lh082r-ath9k-htc-firmware-1.4.0/lib/firmware/htc_7010.fw Yay! live well, vagrant --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQRlgHNhO/zFx+LkXUXcUY/If5cWqgUCZgJokQAKCRDcUY/If5cW qr+3AP9VDVNaqDazgeB8r22is0+syNKOAKkxj/S0/AalqJWebAD+K31zzwsdNcTa K7GYAbaGquHSgmf0GZugSivOUaA4Ygs= =uKq2 -----END PGP SIGNATURE----- --=-=-=--