From mboxrd@z Thu Jan 1 00:00:00 1970 From: Simon South Subject: Building installation image for ROCK64 Date: Sat, 11 Apr 2020 15:48:28 -0400 Message-ID: <87sgh9iz1v.fsf@simonsouth.net> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:43596) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jNM7g-00067w-Og for help-guix@gnu.org; Sat, 11 Apr 2020 15:49:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jNM7f-0001iV-Ax for help-guix@gnu.org; Sat, 11 Apr 2020 15:49:00 -0400 Received: from mailout.easymail.ca ([64.68.200.34]:40928) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1jNM7b-0001WK-0E for help-guix@gnu.org; Sat, 11 Apr 2020 15:48:59 -0400 Received: from localhost (localhost [127.0.0.1]) by mailout.easymail.ca (Postfix) with ESMTP id 8DC4CA0694 for ; Sat, 11 Apr 2020 19:48:53 +0000 (UTC) Received: from mailout.easymail.ca ([127.0.0.1]) by localhost (emo05-pco.easydns.vpn [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id j51_1qdkJGZN for ; Sat, 11 Apr 2020 19:48:53 +0000 (UTC) Received: from laptop (unknown [108.162.141.195]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mailout.easymail.ca (Postfix) with ESMTPSA id 485C4A036C for ; Sat, 11 Apr 2020 19:48:52 +0000 (UTC) List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane-mx.org@gnu.org Sender: "Help-Guix" To: help-guix@gnu.org Has anyone successfully built an installation image for a PINE64 ROCK64 ARM SBC? There's a definition for it in gnu/system/install.scm, but building the image with guix system disk-image --system=aarch64-linux \ -e "(@ (gnu system install) rock64-installation-os)" and writing it to a microSD card fails to boot completely as the root filesystem can't be mounted: GC Warning: pthread_getattr_np or pthread_attr_getstack failed for main thread GC Warning: Couldn't read /proc/stat Welcome, this is GNU's early boot Guile. Use '--repl' for an initrd REPL. loading kernel modules... waiting for partition '416bf41b-f6b1-2062-6e00-1979416bf41b' to appear... waiting for partition '416bf41b-f6b1-2062-6e00-1979416bf41b' to appear... (...) waiting for partition '416bf41b-f6b1-2062-6e00-1979416bf41b' to appear... ERROR: In procedure scm-error: failed to resolve partition "416bf41b-f6b1-2062-6e00-1979416bf41b" (I've checked and the GUID above does match the root partition.) I understand this often means a necessary kernel module is missing from initrd, but rebuilding the image using the definition below (mostly copied from install.scm) that explicitly includes the Rockchip MMC driver produces the same non-functioning result. Do you know the magic incantation necessary to produce a bootable image for the ROCK64? Alternatively, how might I proceed in diagnosing the issue here? (use-modules (gnu system install) (gnu system linux-initrd) (gnu bootloader) (gnu bootloader u-boot) (gnu packages linux)) (operating-system (inherit installation-os) (bootloader (bootloader-configuration (bootloader u-boot-rock64-rk3328-bootloader) (target "/dev/mmcblk0"))) (kernel linux-libre) (kernel-arguments (cons "console=ttyS2" (operating-system-user-kernel-arguments installation-os))) (initrd-modules (append '("dw_mmc" "dw_mmc-rockchip") %base-initrd-modules))) -- Simon South simon@simonsouth.net