From owner-freebsd-arm@freebsd.org Mon Oct 17 08:40:01 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 ADB3EC149DC for ; Mon, 17 Oct 2016 08:40:01 +0000 (UTC) (envelope-from rwa@athabascau.ca) Received: from smtp.athabascau.ca (smtp.athabascau.ca [131.232.10.21]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 8B3121286 for ; Mon, 17 Oct 2016 08:40:01 +0000 (UTC) (envelope-from rwa@athabascau.ca) Received: from CONVERSION-DAEMON.local.athabascau.ca by local.athabascau.ca (PMDF V6.2-1x12 #31425) id <0OF60GI01I7RA6@local.athabascau.ca> for freebsd-arm@freebsd.org; Mon, 17 Oct 2016 00:33:27 -0600 (MDT) Received: from autopsy.pc.athabascau.ca ([131.232.4.80]) by local.athabascau.ca (PMDF V6.2-1x12 #31425) with ESMTPS id <0OF60GT4LI7R9J@local.athabascau.ca> for freebsd-arm@freebsd.org; Mon, 17 Oct 2016 00:33:27 -0600 (MDT) Date: Mon, 17 Oct 2016 00:33:27 -0600 (MDT) From: Ross Alexander Subject: Re: Raspberry Pi 3 support In-reply-to: X-X-Sender: rwa@autopsy.pc.athabascau.ca To: freebsd-arm@freebsd.org Message-id: Organization: Athabasca University X-Envelope-from: rwa@athabascau.ca MIME-version: 1.0 Content-type: text/plain; charset=US-ASCII; format=flowed User-Agent: Alpine 2.20 (BSF 67 2015-01-07) References: 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: Mon, 17 Oct 2016 08:40:01 -0000 On Fri Oct 14 22:10:56 UTC 2016, Shawn Webb wrote: > I've documented the steps I took to install FreeBSD on my RPI3: > https://wiki.freebsd.org/arm64 > I hope I didn't miss anything. It's a wiki, so if I did, feel free to > correct it (or let me know and I can correct it, too). I'm referencing https://wiki.freebsd.org/arm64/rpi3 as it seems to be "the one". The following notes are meant to be clarifications for people as clueless as myself - You say: "Download all the files from the boot directory in the official Raspberry Pi firmware repository on GitHub." I read that as newfs_msdos -F 16 /dev/da0s1 mount -t msdosfs /dev/da0s1 /mnt0 cd /mnt0 svn checkout https://github.com/raspberrypi/firmware/trunk/boot/ mv boot/* . rm -R boot You say: "Copy $MAKEOBJDIRPREFIX/arm64.aarch64//sys/boot/efi/boot1/boot1.efi to /mnt/EFI/BOOT/bootaa64.efi". I read that as mount -t ufs /dev/da0s2a /mnt1 mkdir -p /mnt0/EFI/BOOT cp /mnt1/boot/boot1.efi /mnt0/EFI/BOOT/bootaa64.efi given that /dev/da0s2a is all the stuff from "Building", "World", and "Kernel" sections and a "make -s installworld installkernel distribution KERNCONF=RPI3 DESTDIR=/mnt1 TARGET=arm64 TARGET_ARCH=aarch64". And hey, guess what: it boots fine :). No hints as to how many times I got it wrong, though. regards, Ross -- Ross Alexander, (780) 675-6823 desk / (780) 689-0749 cell, rwa@athabascau.ca "Plato's scheme of folly, which would have the philosophers take over the management of affairs, has been turned on its head; the men of affairs have taken over the direction and pursuit of knowledge." -- Thorstein Veblen, _The Higher Learning in America_ -- This communication is intended for the use of the recipient to whom it is addressed, and may contain confidential, personal, and or privileged information. Please contact us immediately if you are not the intended recipient of this communication, and do not copy, distribute, or take action relying on it. Any communications received in error, or subsequent reply, should be deleted or destroyed. ---