X-Original-To: alpine-devel@lists.alpinelinux.org Received: from mail-ua0-f180.google.com (mail-ua0-f180.google.com [209.85.217.180]) by lists.alpinelinux.org (Postfix) with ESMTP id D1F595C4144 for ; Mon, 2 Jan 2017 14:29:39 +0000 (GMT) Received: by mail-ua0-f180.google.com with SMTP id 88so296753187uaq.3 for ; Mon, 02 Jan 2017 06:29:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=N+QRhjH8fDFuqL3DYmtOZvew8XcY5bnLZ4UB0L4fp+g=; b=SACFaRJiV0pveh2eTrQU1KChWlVGxT6A4TrP5nxylItFiLJj65p4qHgnB/m3en5jHw pVhp4v/JDEBY8CBsfsJpIDcpAODTHDYlOXvyBOKfij9hyyX9lSLIJu6inyH/e7RDOQEY 4RrOJ4BX8BhYNle2jJlHpnMAG+VCgPhZBedVKYhi/RfwLdlRylZcV17Q4yDQSDYxjFXI 0k+BQjtxbCsseNw5ImUiiLYOMrUsCITTWJp05u4pZAU+7PD37/beG2sFYx430+kM8OHt Djx0VFP7ydrNOqhsZLB//UrfVzBQzhiOh+dVXs1K/eVWYwLY9+p5wMzMbatHlMJ+XtdO G9pQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=N+QRhjH8fDFuqL3DYmtOZvew8XcY5bnLZ4UB0L4fp+g=; b=DW+3K7D4THu+z990x/IoJzOL6ayNusELps14ogOoytVfZlSvlB4MfbWtPDEGM1LcBK vzJCpYc6UYfcmKdmG8ryAWUt8m7taMou4JZtLrE0Jfwz7M+khTqhpYc8fLLJuywiAddV XNIDWIglBixmMDpwwmURiS3TjBDRR62udpUQTrv4qPsGBYgX88t+uEWdAP5JeroCiU2R iLSiJY9vWOBpvzlM4sengBg5CY5O2UxE6TqGj5hHkbPofg575XDaU2QN4jdVv0kGgh1W 6YvGBMtjO9Ijotd2ccZWRsISjfM5l7RJ151mn2Zm6cfZqVQG1qz1kLO1IvFp/EsF+Ji5 6cdg== X-Gm-Message-State: AIkVDXL4NDZCiAd75K242npRTbuWfIgIgDxiCPHRNLU/ja7T0jRDYUeptXzQFY7Key5xOrhmQxXeOWVn7L3mng== X-Received: by 10.176.65.195 with SMTP id 61mr44138933uap.144.1483367379118; Mon, 02 Jan 2017 06:29:39 -0800 (PST) X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 Received: by 10.103.71.17 with HTTP; Mon, 2 Jan 2017 06:29:38 -0800 (PST) In-Reply-To: <20161222083910.7a9d07bc@vostro> References: <20161222083910.7a9d07bc@vostro> From: Alba Pompeo Date: Mon, 2 Jan 2017 12:29:38 -0200 Message-ID: Subject: Re: [alpine-devel] Aarch64 bootloader To: Timo Teras Cc: alpine-dev Content-Type: text/plain; charset=UTF-8 I did some counting. SYSLINUX ======== ----------------------------------------------------------------------------------- Language files blank comment code ----------------------------------------------------------------------------------- C 731 25328 35531 142385 C/C++ Header 445 7954 15848 43594 HTML 3 3540 11 7902 Assembly 55 1048 2300 5268 Pascal 30 609 20 4825 make 59 920 945 2596 Perl 22 318 351 1575 xBase Header 7 308 844 1212 Python 1 34 6 267 Bourne Shell 7 40 17 183 Lua 2 21 5 170 CSS 2 18 0 105 Bourne Again Shell 2 22 20 79 XML 1 0 0 39 Windows Resource File 1 2 0 24 ----------------------------------------------------------------------------------- SUM: 1368 40162 55898 210224 ----------------------------------------------------------------------------------- U-BOOT ====== -------------------------------------------------------------------------------- Language files blank comment code -------------------------------------------------------------------------------- C 3817 170112 236909 852193 C/C++ Header 3600 71859 118800 498002 Assembly 279 7530 14630 31028 Python 95 3694 7710 10479 Perl 6 1405 1117 8020 make 942 2160 6642 7851 Bourne Shell 29 360 556 1847 C++ 1 209 57 1532 yacc 1 104 25 604 NAnt script 1 90 0 359 lex 1 40 12 311 YAML 1 12 25 279 Markdown 1 80 0 278 Bourne Again Shell 1 32 24 103 DOS Batch 2 8 0 94 CSS 2 22 11 84 Kermit 3 4 20 83 Tcl/Tk 1 5 7 28 sed 2 1 29 24 INI 1 2 0 9 XSLT 1 0 1 9 -------------------------------------------------------------------------------- SUM: 8787 257729 386575 1413217 -------------------------------------------------------------------------------- GRUB2 ===== --------------------------------------------------------------------------------------- Language files blank comment code --------------------------------------------------------------------------------------- C 827 39895 31816 234238 C/C++ Header 470 8076 15359 40827 m4 113 1056 1176 15380 Assembly 166 3149 6584 10209 TeX 1 699 2824 5436 Windows Module Definition 3 622 21 3365 make 8 619 365 2090 Bourne Shell 10 109 417 1448 Python 3 168 212 1373 sed 10 20 1 423 lex 1 54 34 305 yacc 1 44 44 268 diff 4 24 117 143 C++ 1 8 17 80 awk 1 6 16 76 Lisp 1 3 0 50 --------------------------------------------------------------------------------------- SUM: 1620 54552 59003 315711 --------------------------------------------------------------------------------------- GUMMIBOOT ========= ------------------------------------------------------------------------------- Language files blank comment code ------------------------------------------------------------------------------- C 9 900 303 4196 make 1 34 25 144 m4 2 27 10 131 XML 1 23 13 101 C/C++ Header 6 38 90 83 Bourne Shell 2 12 18 49 ------------------------------------------------------------------------------- SUM: 21 1034 459 4704 ------------------------------------------------------------------------------- LILO ==== -------------------------------------------------------------------------------- Language files blank comment code -------------------------------------------------------------------------------- C 19 1702 558 11821 Assembly 21 1683 2627 9178 HTML 34 131 67 5701 TeX 8 550 394 3238 C/C++ Header 22 532 787 1379 Perl 4 262 356 1295 Bourne Again Shell 1 87 34 578 make 9 176 128 556 Bourne Shell 10 70 142 303 CSS 2 9 4 280 -------------------------------------------------------------------------------- SUM: 130 5202 5097 34329 -------------------------------------------------------------------------------- ELILO ===== ------------------------------------------------------------------------------- Language files blank comment code ------------------------------------------------------------------------------- C 46 2746 3715 10905 C/C++ Header 35 792 1643 2969 Assembly 5 89 407 430 make 8 111 213 184 ------------------------------------------------------------------------------- SUM: 94 3738 5978 14488 ------------------------------------------------------------------------------- On Thu, Dec 22, 2016 at 4:39 AM, Timo Teras wrote: > Hi, > > On Wed, 21 Dec 2016 10:06:34 -0200 > Alba Pompeo wrote: > >> The Alpine Aarch64 image need a different bootloader to work. >> Alpine's default is Syslinux but it doesn't support aarch64. >> What are the options for the specific architecture (aarch64)? >> I see GRUB2 supports it, but it's an awful and bloated bootloader. >> Doesn't fit Alpine. >> >> I have no experience with Das U-Boot but it seems to support Aarch64. >> https://github.com/u-boot/u-boot/blob/master/doc/README.arm64 > > Yes, u-boot is used as native ROM bootloader on some aarch64 platforms. > Though, seems UEFI for aarch64 is not supported. Which is required on > some platforms. > >> Or can just wait for Syslinux to port it? >> http://www.syslinux.org/archives/2016-August/025340.html >> >> Any other options? > > Not really. Efilinux is limited, and gummiboot is discontinued. > > We have grub2 in testing. I also tested that grub-efi boot mode works > on x86_64. Clandmeter tested it to work on aarch64. This might be an > option to use for the time being for UEFI boot. > > Syslinux would be nice, but as said it's unlikely to support aarch64 > for a while. > > Currently we use: > - syslinux for x86/x86_64 > - rpi native on raspberry pi (arm) > - u-boot on all other arm > > We probably should add: > - u-boot for aarch64 boards we want/need to support > - UEFI boot possibly using grub2 > > So this is more diverse than wanted. The good thing in u-boot is that > it can read syslinux.cfg files and they can share the boot config. > > Or do we have any other options for UEFI boot? > > /Timo --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---