From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40320) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fJR2D-0006H2-U6 for guix-patches@gnu.org; Thu, 17 May 2018 18:06:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fJR2A-00006j-Mk for guix-patches@gnu.org; Thu, 17 May 2018 18:06:05 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:59223) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fJR2A-00006a-Ic for guix-patches@gnu.org; Thu, 17 May 2018 18:06:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fJR2A-0001y0-5s for guix-patches@gnu.org; Thu, 17 May 2018 18:06:02 -0400 Subject: [bug#31447] [PATCH] linux-libre: Add aarch64-linux. Resent-Message-ID: From: Vagrant Cascadian In-Reply-To: <87d0xu5dgu.fsf@netris.org> References: <87bmdivr91.fsf@aikidev.net> <87lgci4q90.fsf@gnu.org> <87d0xu5dgu.fsf@netris.org> Date: Thu, 17 May 2018 15:05:35 -0700 Message-ID: <87vabmsztc.fsf@aikidev.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Mark H Weaver , Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 31447@debbugs.gnu.org --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 2018-05-17, Mark H Weaver wrote: > ludo@gnu.org (Ludovic Court=C3=A8s) writes: > >>> From b9e48a787b6b151b5c7df6036eb75752d3c4db24 Mon Sep 17 00:00:00 2001 >>> From: Vagrant Cascadian >>> Date: Mon, 14 May 2018 03:20:17 +0000 >>> Subject: [PATCH] gnu: linux-libre: Enable build for aarch64-linux. >>> >>> * gnu/packages/linux.scm (%linux-compatible-systems): Add aarch64-linux. >>> * gnu/packages/aux-files/linux-libre/4.16-arm64.conf: New file. >> >> I think we should add the .conf file to gnu/local.mk, but apart from >> that it LGTM. >> >> Mark, WDYT? > > %linux-compatible-systems is also used as the 'supported-systems' field > of linux-libre-4.14, but there's no '4.14-arm64.conf' file added here. > We should either add that file, or else somehow arrange for > 'aarch64-linux' to be omitted from linux-libre-4.14's > 'supported-systems' field. I briefly thought about weather to add support for older kernels, but figured only adding a new architecture to the current version of linux-libre would be simpler... guess that requires a little more patching... > As Ludovic mentioned, the new .conf file needs to be added to > gnu/local.mk. I don't see any of the existing linux-libre/*.conf files added there; maybe Ludovic meant Makefile.am ? > Otherwise, it looks good to me. Since submitting, I did notice that the way .dtb files are installed, it doesn't preserve the subdirectory structure. Unlike the "arm" architecture, where .dtb files are all placed in a single directory, on "arm64" there are sub-directories for each soc family: allwinner/sun50i-a64-pine64-plus.dtb It looks like the linux Makefile supports setting INSTALL_DTBS_PATH variable, and both "arm" and "arm64" architectures have a "dtbs_install" target, which may simply do "the right thing". U-boot on arm64 platforms typically sets a variable "fdtfile" to load, and so fails to boot without manual intervention. Could work around it in the bootloader configuration, but I think it would be better to fix in the linux-libre packages. live well, vagrant --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEcDardHbDotegGFCHt4uC1IFLkbYFAlr9/K8ACgkQt4uC1IFL kbZQvw//VIhhuKQYRKhvDbeXbNzXfReqktey0436NtMjqMoGZSRGASHmN7kqjDoI ql15LpSlqua2j3d8LBSq0JOYKB2oMi7R3jwDwbVQmgk5yRD5oEOuAPcfpFnXf7zy h1tnUEtHibGa5+O+XYW4UCpoqMUCms1+jByDRNDBTs3fTvoCpdY922pF1IkxwxVT TOQlxt07Zre+fDF2r+BUj0XYBOJRbr6CVLjM3ywwrvQDXyamtiww2OPspZIFuzOR YfDYtXlLV0RlVqZ/CamEu5FNm2Gfp53P3FThE+NOUdKy8woLdhhNMbDalP8rBPw0 BXNBNawjRIeJ2UVj6FOkcs/ah30OuDwP5DlboWUayGY4Axio7EMVS+gZDdurAKLu 3gPTsI40MZxOMXN43fShUgbV+y6j5CPudoF8eEt7k1JXzwnaSlowwd/XLxlJchUs 18etdzePiDT0FZ7EdM6VsKE1XIou3mggug9hNTixnbzP4IVr2ET8rS9IhvdunkxY h0qSolM6uFvO13ttxu9IlU8tu6pQVr1SN/+cou+hilNNUPekuL3cD0/2yFBpFryX CzCko+hnNdp0Dnb1F2W12sCfGqE5xLw0uJ56goZ0DsjC3tHk6wJAsXsMLP1cCNKu r/R4SxajWcZqlNVwaZdAzGrimVW/mpPe5Al0D0uvpTWv5bbVvSg= =fHut -----END PGP SIGNATURE----- --=-=-=--