From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id gGmUNofjCGPUFQAAbAwnHQ (envelope-from ) for ; Fri, 26 Aug 2022 17:15:20 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id IDGmNYfjCGNcUgAAG6o9tA (envelope-from ) for ; Fri, 26 Aug 2022 17:15:19 +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 78F6B3F75C for ; Fri, 26 Aug 2022 17:15:19 +0200 (CEST) Received: from localhost ([::1]:59108 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oRb3G-0000uA-JI for larch@yhetil.org; Fri, 26 Aug 2022 11:15:18 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47550) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oRaf8-0007o9-Ba for help-guix@gnu.org; Fri, 26 Aug 2022 10:50:22 -0400 Received: from relay.yourmailgateway.de ([46.38.247.118]:57757) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oRaf6-0001x4-5e for help-guix@gnu.org; Fri, 26 Aug 2022 10:50:22 -0400 Received: from mors-relay-8404.netcup.net (localhost [127.0.0.1]) by mors-relay-8404.netcup.net (Postfix) with ESMTPS id 4MDjRp5dm4z80ZV; Fri, 26 Aug 2022 16:50:14 +0200 (CEST) Received: from policy02-mors.netcup.net (unknown [46.38.225.53]) by mors-relay-8404.netcup.net (Postfix) with ESMTPS id 4MDjRp5CPHz4x8T; Fri, 26 Aug 2022 16:50:14 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at policy02-mors.netcup.net Received: from mxe217.netcup.net (unknown [10.243.12.53]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by policy02-mors.netcup.net (Postfix) with ESMTPS id 4MDjRn6Ztfz8sZV; Fri, 26 Aug 2022 16:50:13 +0200 (CEST) Received: from florianrock64 (ip5b40552a.dynamic.kabel-deutschland.de [91.64.85.42]) by mxe217.netcup.net (Postfix) with ESMTPSA id 2332F9E92B; Fri, 26 Aug 2022 16:50:08 +0200 (CEST) From: "pelzflorian (Florian Pelz)" To: Frank Terbeck Cc: help-guix@gnu.org Subject: Re: Kernel module build error with system image cross-build References: <87h732vypw.fsf@ft.bewatermyfriend.org> <87lereoq29.fsf@ft.bewatermyfriend.org> <87k06whfxt.fsf@pelzflorian.de> <87sfljncpn.fsf@ft.bewatermyfriend.org> Date: Fri, 26 Aug 2022 16:50:07 +0200 In-Reply-To: <87sfljncpn.fsf@ft.bewatermyfriend.org> (Frank Terbeck's message of "Fri, 26 Aug 2022 01:08:20 +0200") Message-ID: <87k06v3vq8.fsf@pelzflorian.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 2332F9E92B X-Spamd-Result: default: False [-1.62 / 15.00]; BAYES_HAM(-1.52)[91.84%]; MIME_GOOD(-0.10)[text/plain]; RCVD_COUNT_ZERO(0.00)[0]; FROM_EQ_ENVFROM(0.00)[]; ASN(0.00)[asn:3209, ipnet:91.64.0.0/14, country:DE]; MIME_TRACE(0.00)[0:+]; MID_RHS_MATCH_FROM(0.00)[]; NEURAL_HAM(-0.00)[-0.899]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; ARC_NA(0.00)[] X-Rspamd-Server: rspamd-worker-8404 X-NC-CID: Wz16tqu91S8Xy8iAQ8HbnIbeI8O50rxuD372Aj6skH8TzyRo3V/e6XU+ Received-SPF: none client-ip=46.38.247.118; envelope-from=pelzflorian@pelzflorian.de; helo=relay.yourmailgateway.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_DNSWL_NONE=-0.0001, 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=1661526919; 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=8//0Dw1AsCZBR8yqPbtHL2rcdp648v8lip06W3wQ2/o=; b=in4enDWVql054iOXwERLJsF57OTr44Cqwy2ZdD6vOd91vYuk9q+qRFY8uFVFeMtXqyTIsE 2ymjABJhEc453J49+X4czDjOq0j7CRs1hmC6AwI4L4GpRlHgOcT0fYZ29T+aeJOR0nFV/c mOaTURBr7MoGEGs5HTkambfw/7tt5DBXFcz8NkIWRPpB6ilitFavVqpEg5UR+jx60TCzul g+lV1JcsaJZFsZON5IkMsvr8QYmBHpCEQ/CfnfUP6EtZNghB+lbHWFpnlMUK64AqVueVI0 iv+tZSplxzCigvrGolCU7i35l2RtriJC0NNbLcH6nzwpBEMRiSoRBzvFAYmjCg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1661526919; a=rsa-sha256; cv=none; b=cU0uyT/znJ3IGwm+BuQIjEKhdOtNbVnmWyOROaoGilG8cc05pRy7URrFL2SmhBiUtRhNP2 VIpagv9Q7SWEP1bp5iIT1s7wwTouVu0Weudd5BG+IxwpR06qFI8RECw+64xLIupsoZ1ZZN +q20p3DzlPf4qO5wN0xmPKA/IoldHFyyT1OKEh+73ek0nuJTDaF4RUp1rKH+GVtD+6iReR deapEJSOS6grh8jcaytIcW3biG8BrCb0PrNTsyVZVztYFUOeuRLxvBr/ZaO38AIse6K3h2 RRad5+SgXE6vML+sZKg+wLlqiwxQEq/Xv+row3qHW+F0KP1cJKv8FgE8Lj7+9w== 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: 78F6B3F75C X-Spam-Score: -2.61 X-Migadu-Scanner: scn1.migadu.com X-TUID: iLuKFiNWaYJB Frank Terbeck writes: > pelzflorian@pelzflorian.de wrote: >> 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. Yes, although by now I noticed HDMI stays black for my Beaglebone Black on the official Debian 8, 9, 10 images too. But unlike your image, on the official images the keyboard is powered so that I can reboot with Ctrl+Alt+Del and that works because the BBB LEDs turn off and on again. Also I can ping it. (I am on the lookout for what to run my server on; I guess the dusty BBB is out. Back in the day Debian 8 worked and Debian 10 worked after changing the .dtb file .) > 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. Images are more constrained in that they cannot be used for guix system init. >> 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. Using a custom u-boot-beaglebone-black-bootloader changed to use an inferior of Guix commit 6b99afeef89233b71d113a63cf04a6b4b49a4679 for u-boot did not boot either and only gets hot and cannot be pinged. I have not yet tried older u-boots or kernels. > 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 we= ll as meta data > files such at the mentioned =E2=80=98modules.builtin=E2=80=99. > [=E2=80=A6] > Not sure if that sort of discussion isn't more appropriate for -devel. If one of us finds a working beaglebone-black.tmpl or makes progress, or has a proposal for kernel code/docs, then it certainly belongs in guix-devel or guix-patches. Note that `info guix-cookbook` has more info on building a custom kernel; maybe it is reasonably recent. Regards, Florian