From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pierre Langlois Subject: Re: Building installation image for ROCK64 Date: Sun, 12 Apr 2020 12:27:29 +0200 Message-ID: <875ze5atim.fsf@gmx.com> References: <87sgh9iz1v.fsf@simonsouth.net> <877dylaty5.fsf@gmx.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:44944) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jNZpt-0006pm-Ty for help-guix@gnu.org; Sun, 12 Apr 2020 06:27:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jNZps-0002S0-SY for help-guix@gnu.org; Sun, 12 Apr 2020 06:27:33 -0400 Received: from mout.gmx.net ([212.227.17.20]:49025) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1jNZps-0002Rh-Jd for help-guix@gnu.org; Sun, 12 Apr 2020 06:27:32 -0400 In-reply-to: <877dylaty5.fsf@gmx.com> 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: Pierre Langlois Cc: help-guix@gnu.org Pierre Langlois writes: > Hi Simon, > > Simon South writes: > >> Has anyone successfully built an installation image for a PINE64 ROCK64 >> ARM SBC? > > I managed to setup a ROCKPRO64 a few months ago (rk3399 chipset instead > of rk3328), maybe I can help :-). > >> >> 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)" > > You probably noticed this takes a *long* time to run, making it quite > tedious to test changes (I believe this is being worked on though). > > In the meanwhile, what you can do instead is setup the SD card manually, > say using fdisk & mkfs.ext4, and then use the 'guix system init' command > to install guix on it: > > $ mount /dev/mmcblk0 /mnt > $ guix system init my-config.scm /mnt Oh, also, when doing this make sure my-config.scm has the correct target in the bootloader entry, to prevent accidentally writing the bootloader on the wrong SD card (from personal experience breaking the host system that lived on that other SD card :-D).