From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id sBW/KgYBCGPP4QAAbAwnHQ (envelope-from ) for ; Fri, 26 Aug 2022 01:08:54 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id qGujKgYBCGMOJQEAauVa8A (envelope-from ) for ; Fri, 26 Aug 2022 01:08:54 +0200 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 5812A15802 for ; Fri, 26 Aug 2022 01:08:54 +0200 (CEST) Received: from localhost ([::1]:42518 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oRLy1-00088N-Hi for larch@yhetil.org; Thu, 25 Aug 2022 19:08:53 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47194) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oRLxg-0007yB-GK for help-guix@gnu.org; Thu, 25 Aug 2022 19:08:32 -0400 Received: from smtprelay05.ispgateway.de ([80.67.31.99]:42773) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oRLxe-0002pt-Qz for help-guix@gnu.org; Thu, 25 Aug 2022 19:08:32 -0400 Received: from [79.194.160.245] (helo=jim.voodoo.lan) by smtprelay05.ispgateway.de with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1oRLy2-0004VP-TU; Fri, 26 Aug 2022 01:08:54 +0200 Received: by jim.voodoo.lan (Postfix, from userid 1000) id 43AB1613F9C; Fri, 26 Aug 2022 01:08:20 +0200 (CEST) From: Frank Terbeck To: "pelzflorian (Florian Pelz)" Cc: help-guix@gnu.org Subject: Re: Kernel module build error with system image cross-build In-Reply-To: <87k06whfxt.fsf@pelzflorian.de> (pelzflorian@pelzflorian.de's message of "Thu, 25 Aug 2022 10:42:54 +0200") References: <87h732vypw.fsf@ft.bewatermyfriend.org> <87lereoq29.fsf@ft.bewatermyfriend.org> <87k06whfxt.fsf@pelzflorian.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Date: Fri, 26 Aug 2022 01:08:20 +0200 Message-ID: <87sfljncpn.fsf@ft.bewatermyfriend.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Df-Sender: NDMwNDQ0 Received-SPF: none client-ip=80.67.31.99; envelope-from=ft@bewatermyfriend.org; helo=smtprelay05.ispgateway.de X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1661468934; 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: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=8ljbBrwx+ZXwfJylf+8ToVtp4QMy+vzej8Az9N5V4tI=; b=RTyfDEwWPknlTIGUF0L5AC5QNiZ/m61jHHM4dt5dCbfy879zVgNkrNN7AYMtezL5muUsfN HdtOr13FAeey6cfPUtUNcT/Rm9Nu13e6X6At1WkL0ZQQJ39UrdiVLvcfThbZFNaxocY1VW upceH1xiZTR+esmq9dPFyacEgP1uEhudVUn/CYjq2B9U37Pfy+1vg7AB1DL+AEfByDTJUw nQgRcZIKEfjnd7NANvGFSh5kRqfw+ONGnTYdec1U15IqSvijUz9BGc7gI+t6Fq0l/48z/A pYrYK9B68hlkYTOUKtXv+yxicDMwjkTDnTyCdy8mKpmec2bU2tnVrc0e1TW2NQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1661468934; a=rsa-sha256; cv=none; b=avHlaegymY0Myel1F1A55pSNPIEQI5SnfEZllMN7pk1oSwsK8qA2X5h8csXKkXhSe0lUS4 RV199AgcNLp0HCCUE62AP8P+w/WcA5rqZ1ubgZUTsmYvrLy3vodZ1a7dQ14Wxh18p0VX/O m3HtGgyhqLiVeFS6H3a+U3TuWkPe9IGmmp0rM1/aQ6IAiJV++yYfcoM52BRTd3aP1xjDL9 SWKhcUcYdIDaPKRH3L+VeJFA8DmdhIv8ptouex4a9F75L79gT/ZMAU1V8iXl4VqMpW4WcI a3vpuiBlRaabJ0v0lcM95sFo9eAL2d8WSsMvgHqAUx85gdXsh+aF+L9+HNnb4Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -2.61 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 5812A15802 X-Spam-Score: -2.61 X-Migadu-Scanner: scn1.migadu.com X-TUID: 2+rUekrs58Xt pelzflorian@pelzflorian.de wrote: > Hello Frank, sorry for the late reply. Hey Florian, no worries! I'm only working on this when time permits anyway. It is cool when things aren't complete monologues, though. So thanks for chiming in. :) It's interesting to see how Guix does these things. > HDMI stays black, but I can=E2=80=99t > find the cables for my UART adapter, so I cannot properly test. I think Ah, so you tried, nice! I couldn't yet=E2=80=A6 Maybe this weekend. > you are doing it right, but if what used to work does not, perhaps an > easier way would be to copy the rock64.scm image, and adapt that to use > the Beaglebone Black=E2=80=99s u-boot and the kernel linux-libre-arm-gene= ric > instead of linux-libre-arm64-generic, then pass this file to guix system > image. Certainly. I didn't even know gnu/system/images was a place to look. :) I'm still finding out about Guix's structure and API. Apart from a couple of package definitions, I didn't do a lot yet. Things in this field do feel a little all over to place, though. There's these tem- plates, then there's gnu/system/install.scm (which also has a rock64- installation-os definition) and also this images place. Maybe there's a point to it, that I'm not seeing. Or maybe it's just a lack of manpower to keep stuff up to date when the rest of the project moves along at a swift pace. > But perhaps this still is the wrong kernel and you need an older > kernel, either as an old linux-libre-arm-generic-4.19 kernel or an old > kernel via a Guix inferior. I think the interface into the kernel data is lacking. It might be use- ful to have an interface to the kernel's =E2=80=98.config=E2=80=99, as well= as meta data files such at the mentioned =E2=80=98modules.builtin=E2=80=99. The fact that the beaglebone specs reference "omap_hsmmc" is correct on its face, because that driver is indeed required. If it's builtin, then not finding the file is to be expected and not an issue. With better introspection to the kernel's build configuration, an OS specification could easier react to upstream changes, I think. Not sure if that sort of discussion isn't more appropriate for -devel. Regards, Frank --=20 In protocol design, perfection has been reached not when there is nothing left to add, but when there is nothing left to take away. -- RFC 1925