From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: Re: Porting GuixSD to ARM article. Date: Tue, 23 Jan 2018 12:51:28 +0100 Message-ID: <87inbsztbz.fsf@elephly.net> References: <87shc2c3fh.fsf@gmail.com> <20180122211500.GA2400@jurong> <20180122225127.28494aa4@scratchpost.org> <87tvvchqi7.fsf@gmail.com> <20180123110410.17b55a5f@scratchpost.org> <87o9lkhn4g.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:55858) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1edx7F-0002sn-Lx for guix-devel@gnu.org; Tue, 23 Jan 2018 06:51:50 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1edx7C-0002Vz-Jo for guix-devel@gnu.org; Tue, 23 Jan 2018 06:51:49 -0500 Received: from sender-of-o51.zoho.com ([135.84.80.216]:21041) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1edx7C-0002VQ-AL for guix-devel@gnu.org; Tue, 23 Jan 2018 06:51:46 -0500 In-reply-to: <87o9lkhn4g.fsf@gmail.com> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Mathieu Othacehe Cc: Guix-devel Mathieu Othacehe writes: >> We could ship the generic ARM image, let the user use >> qemu-system-arm to boot it and set up the correct u-boot in >> there, and only then write it to SD card. >> >> There could even be a small part in the wip-installer-2 >> that asks you which u-boot you want and set that up. >> >> I'm just trying to prevent Hydra from building ~1000 huge disk images >> with minimal differences in the future... :) > > I agree a single ARMv7 would be better too :) On that point, NixOS seem > to provide a generic image an gives the instructions to write the > bootloader afterwards for every target: > > https://nixos.wiki/wiki/NixOS_on_ARM > > and here, > > https://nixos.wiki/wiki/NixOS_on_ARM/BeagleBone_Black > > I'm not found of this approach as it requires more manual steps but we > could maybe try the same thing. > > What do other people think ? Can we automate these steps so that we have only a single image but customized loader scripts per target? -- Ricardo GPG: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC https://elephly.net