From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id SK3WLvyUH2aVZAAAe85BDQ:P1 (envelope-from ) for ; Wed, 17 Apr 2024 11:23:08 +0200 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id SK3WLvyUH2aVZAAAe85BDQ (envelope-from ) for ; Wed, 17 Apr 2024 11:23:08 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=VdkFC8GI; 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=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1713345788; 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: content-transfer-encoding:content-transfer-encoding:resent-to: 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=OBdTCuQHlVa18mLp98EpqI8vF79rYeyBebnNVszuRmY=; b=d0t6KrfWF1nctzCnOVDdL2MmSth0FEo51eHynB8kHxCjjLmjzfc9MYWveySdreAGhuinx4 Vwx47bZv0JyJXiQ1lu65E3TTVHLoS062DfIT4dhTq2/mlwV+a32A7qJ0OKc22MZf2avJbY yaItJImF2wvBax1f0XKfRg9YuzNz+vl+TEJfoqMF4BbUeQNERR8gqf1fvRLOeAuVvuhnVz L4l0YN/WW4pO1dmW5k8x9U0ICO0b6TSBuZj4plhuhG33yAKKqnu/5LkA6bRBUBvpzcPXbf 0CghmDtLUGrFa7oLMRdlVkJ79rn2NxKSiR72EufCvFcqaY0X3asruKKgtx5HSQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1713345788; a=rsa-sha256; cv=none; b=qBE4OszSdoGNYjCd1Ys3WmkWGUPNJLKtiybLLLMJUTPU/2SO7lFWtp1TWJq8149IU93vf6 8NB6/E4eXvJDO1DsPq5VMN1tfktNPtZWOxT+cgo2w7pRuaXQKYOAqHaPBBv0liRCeDQxUl ZCNsKsXDE1F/s/KsXcMIRJmEKqOJAQ0pGJoWCRL2tiyW5OL+Y5Pcy+Nl7VXoaf0wvtXLaG UIxGi5RMJ94lwjOzYtLBStZgDsShpBoET93zkuZ6Jhp9E1U4fpLcvG8jPk4p7Fu3RegpUz IJbfF+ggRV5p4ryUZOUDKheRBKjFtubvVXsVzF8AV/Pesn1YcuYNmBNb3XZkCQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=VdkFC8GI; 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=pass (policy=none) header.from=gnu.org 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 41D9D19E47 for ; Wed, 17 Apr 2024 11:23:08 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rx1VI-0006nS-55; Wed, 17 Apr 2024 05:22:56 -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 1rx1VD-0006mb-6z for guix-patches@gnu.org; Wed, 17 Apr 2024 05:22:51 -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 1rx1VB-0001gj-SW for guix-patches@gnu.org; Wed, 17 Apr 2024 05:22:50 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rx1VO-0001M4-1Z for guix-patches@gnu.org; Wed, 17 Apr 2024 05:23:02 -0400 Subject: bug#69476: [PATCH 0/8] guix: Add xtensa-ath9k-elf platform. Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-To: guix-patches@gnu.org Resent-Date: Wed, 17 Apr 2024 09:23:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 69476 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Jean-Pierre De Jesus DIAZ Cc: Vagrant Cascadian , 69476-done@debbugs.gnu.org, Efraim Flashner Mail-Followup-To: 69476@debbugs.gnu.org, ludo@gnu.org, jean@foundationdevices.com Received: via spool by 69476-done@debbugs.gnu.org id=D69476.17133457805195 (code D ref 69476); Wed, 17 Apr 2024 09:23:01 +0000 Received: (at 69476-done) by debbugs.gnu.org; 17 Apr 2024 09:23:00 +0000 Received: from localhost ([127.0.0.1]:45745 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rx1VL-0001LY-9Z for submit@debbugs.gnu.org; Wed, 17 Apr 2024 05:23:00 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46242) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rx1VF-0001Jw-PP for 69476-done@debbugs.gnu.org; Wed, 17 Apr 2024 05:22:57 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rx1Uv-0001f5-Ut; Wed, 17 Apr 2024 05:22:34 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=OBdTCuQHlVa18mLp98EpqI8vF79rYeyBebnNVszuRmY=; b=VdkFC8GI37ewswL3mH9n ezZDEQS7OWUFWJVpSXwB02t/IwI2yCwOBV9lRCXrvl5MKWZHMwsuTC9qBo4GUk7mIzFEGhDWO4Pcd sRWi2hN4IYjmFyOCf+OvQYbHxzt3CQ+Ks8wmak52Ehz1tFWTmavGt7UHTnoH4HbSADOdXqMK1KQjw YzaT3IXkSSvcWN5MmzY6HF3QvIf3oryeUYlxgNiljqLHveXE35/UAMLTmmcQnFTufTYulu5zTQc6B F3/rfALVDTh69jhd6lDX2yU0W252U+pXkJ+F3dFg0xubhFb3oUaP6Wt8gCjXoQc+T7PI8dQua3sJ/ 3X2fKVviFdxbhA==; From: Ludovic =?UTF-8?Q?Court=C3=A8s?= In-Reply-To: (Jean-Pierre De Jesus DIAZ's message of "Thu, 29 Feb 2024 16:19:17 +0100") References: Date: Wed, 17 Apr 2024 11:22:12 +0200 Message-ID: <87wmowibsr.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -7.08 X-Spam-Score: -7.08 X-Migadu-Queue-Id: 41D9D19E47 X-Migadu-Scanner: mx12.migadu.com X-TUID: 92N0/Up4H5zf Hi Jean-Pierre, Looks like this patch series had fallen through the cracks. Jean-Pierre De Jesus DIAZ skribis: > 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. > > 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. > > The [PATCH 7/8] contains a patch that was already sent to: > > https://issues.guix.gnu.org/68366 Neat. > 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. > > The hashes with this patch series: > > a5481cc67d962b217de1300121a6c7584e847cbe215442553d24a2173ca9202e /gnu/st= ore/0i3zw28pvrr8l85fx79i8lq0f9vmgyjz-ath9k-htc-ar9271-firmware-1.4.0/lib/fi= rmware/htc_9271.fw > eef84c16e3edad3fdec19c985d190b5ed3f5bd5bae20be5579681ab35f001406 /gnu/st= ore/iqbd77grzy4sngkxz9lgyvk52apn8vzj-ath9k-htc-ar7010-firmware-1.4.0/lib/fi= rmware/htc_7010.fw > > And the hashes in master at commit 75bad75367fcf2c289fae3b40dbcc850f92177= be: > > a5481cc67d962b217de1300121a6c7584e847cbe215442553d24a2173ca9202e /gnu/st= ore/0m45gn74b5bavxq77158i3l593lh082r-ath9k-htc-firmware-1.4.0/lib/firmware/= htc_9271.fw > eef84c16e3edad3fdec19c985d190b5ed3f5bd5bae20be5579681ab35f001406 /gnu/st= ore/0m45gn74b5bavxq77158i3l593lh082r-ath9k-htc-firmware-1.4.0/lib/firmware/= htc_7010.fw Excellent; thanks for taking the time to check this! (FWIW I use a WiFi dongle that relies on this firmware so you=E2=80=99ll so= on hear from me if something goes wrong. ;-)) > doc: Add documentation for x86_64-linux-gnux32. > guix: Add xtensa-ath9k-elf platform. > gnu: ath9k-htc-firmware: Remove binary blobs. > gnu: ath9k-htc-firmware: Allow using other targets. > gnu: ath9k-htc-firmware: Use xtensa-ath9k-elf. > gnu: cross-binutils: Use binutils-2.33 for ath9k. > guix: cmake-build-system: Handle unknown systems. > gnu: ath9k-htc-firmware: Split package. Applied, thanks! Ludo=E2=80=99.