From owner-freebsd-arm@freebsd.org Sun Oct 2 08:47:41 2016 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A4FECAC6FFA for ; Sun, 2 Oct 2016 08:47:41 +0000 (UTC) (envelope-from mikael.urankar@gmail.com) Received: from mail-vk0-x230.google.com (mail-vk0-x230.google.com [IPv6:2607:f8b0:400c:c05::230]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 510BDFC7 for ; Sun, 2 Oct 2016 08:47:41 +0000 (UTC) (envelope-from mikael.urankar@gmail.com) Received: by mail-vk0-x230.google.com with SMTP id b186so2031248vkb.1 for ; Sun, 02 Oct 2016 01:47:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=kmFdw9q21XpcxpPYok6k1Qq6VVp09jcxWsZmsZT0IOg=; b=fvcGNNCdorneebSeIEhMH1cKQUJru9+FwWHCrubdS6g94l0L5JJwoMjISK95nMCLzw YiwoyIXCmeqARL1f+OvFSjfTMkcY/iSt8u7LA1px7fi40ajJeH28i1iwgquoA1aLILE4 1tawT+1xlk1rELz3TxRGBSd6mZBD9ZcU0/I7FTXy18V7p5VNfc3s7aqMlYdz1jgAFAO2 xNj5vIr0oCGZhaN2CpSimponbzDzfVpPcDJF+MsTNHV+7Qg1O+0qXpEzRCMc/O4K7jxE scGmAtBYkj9+VScQnVsRAHRIpw6CKpVODOMcPb+v0jQf6hU2TgNzKXGtREC7WBXpQXoa lvOA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=kmFdw9q21XpcxpPYok6k1Qq6VVp09jcxWsZmsZT0IOg=; b=a8WGKSpss9f2gC1V+acu29xNh2x2qjMwDdD6ud2L95vOvFnyEWxwL7rtkhrSB4gLEK gnA1X4kcTAG2bDbU3JT1fgnzpHYtRGToD6qplSW6fdL2LsUOaXZRSp2JdjYONOvLcXYT DrvNXHqANLyRL/7teoIIjOjXgfCkP6KmbVB6HzJAZm2zz8ZXIehju9Dr+P9oa+nYPI6Q JXpfhxEOADx/8zNMOa3RvE6vqAjejff/bT6Li/zLozcZPvT5qW8Dma+UWrpz6H+ZrC/6 y0AXYwaERMEpfjG35MKmF2HcTg89/luwbQhaKWmWYeNrwzwIeKJiZ2pcZppLftXQQofN CYmw== X-Gm-Message-State: AA6/9RkqemEF8SHstgGUmt1wwHQjycE3qw3EM+2OsFyiszsRIfhoiMnxhxF+vvlzx/Qz7XBr5aEdpI4VmTDGJw== X-Received: by 10.31.234.194 with SMTP id i185mr3133615vkh.127.1475398060419; Sun, 02 Oct 2016 01:47:40 -0700 (PDT) MIME-Version: 1.0 Received: by 10.103.50.197 with HTTP; Sun, 2 Oct 2016 01:46:59 -0700 (PDT) In-Reply-To: References: <57F0440A.4060709@felix-maurer.de> From: =?UTF-8?Q?Mika=C3=ABl_Urankar?= Date: Sun, 2 Oct 2016 10:46:59 +0200 Message-ID: Subject: Re: FreeBSD on Pine64: ubldr for arm64 To: Warner Losh Cc: Felix Maurer , "freebsd-arm@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Oct 2016 08:47:41 -0000 2016-10-02 6:44 GMT+02:00 Warner Losh : > On Sat, Oct 1, 2016 at 5:17 PM, Felix Maurer wrote: >> -----BEGIN PGP SIGNED MESSAGE----- >> Hash: SHA512 >> >> Hi, >> >> I am currently trying to build a FreeBSD image with Crochet to boot on >> the Pine64. >> >> Thanks to the sysutils/u-boot-pine64 port I already got a working SPL >> that starts U-Boot. The normal way to continue booting a image built by >> Crochet is to start ubldr. But at the moment there is no arm64 version >> of ubldr in the tree. >> The only thing I found about this is this diff: >> https://reviews.freebsd.org/D5512 . It has been lying around there since >> March and the last comments state that the changes are unnecessary now >> for the RPI3 because a way has been found to boot on a RPI3 without >> U-Boot. Now I have two questions: >> >> 1. Is there a chance for the diff to make it into the tree? Although it >> is no longer needed for the RPI3 it may be needed by other boards. >> 2. As an alternative: What is this mysterious way to boot without U-Boot >> and may this be possible for other boards like the Pine64? > > Both pine and rpi-3 use uboot to boot, but they use it to boot the > UEFI implementation. There's a freebsd port for u-boot on pine64. > There's also a github project to add support for pine64 to crochet, > but I don't have the pointer... here it is: https://github.com/wca/crochet/tree/add-pine64-support