From owner-freebsd-arm@freebsd.org Mon Oct 17 14:07: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 BA47CC145F2 for ; Mon, 17 Oct 2016 14:07:41 +0000 (UTC) (envelope-from shawn.webb@hardenedbsd.org) Received: from mail-qt0-f182.google.com (mail-qt0-f182.google.com [209.85.216.182]) (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 78B8B3ED for ; Mon, 17 Oct 2016 14:07:41 +0000 (UTC) (envelope-from shawn.webb@hardenedbsd.org) Received: by mail-qt0-f182.google.com with SMTP id q7so122668202qtq.1 for ; Mon, 17 Oct 2016 07:07:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hardenedbsd-org.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=KafhTnHbG0CFIZJTU5XhCtBB6AAALZpWtBw48OQk2cs=; b=E8Fh2/4hts0Wm0zLod7EopNVv2MD4F9ozAzwb19OsfQN/hvVm/b3HgzZCIrD/4swM4 7t+Iru4oVeZNyarg3uo5BD8pXz421wRJSLua8U+SXMysM0i/euH98KQzDGvQ0JJpx7XA TdEbmWsvoiDQS9ocBr6hfGwkb3ccOstWuQKDpj+XKGs0QHFOhalF36mAqgJvwrNFOh8W sfE/23p5wm4qG1XZ6F6BP86AhOszmw+wgXTS54H2mi2w6YVekAwZ+Ny23hiVNTx/eDCZ FEZbgrvsP4CENo+KjHd4qUu3NfseZ72A0yhVlHOH/yo3ppHlOqMOqa+h/o1srxC4q5us C6QQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=KafhTnHbG0CFIZJTU5XhCtBB6AAALZpWtBw48OQk2cs=; b=GP9WX+/2+cw16iQOV42D5upzd9vYUAtk8CWi4p7HOJjrlQxKvFgDzB9DI0Y9w0fZPJ qlOzaCT/9hFafrWJYP4ow9hC3SYkJC2qVupnjCbBLCqvg9+Q0GRI05lMZ5+YfyatMvfs m0EZdykHj3hvFQHZJb9tVjjhvHPe6mrxriHG8EZpghWD2ivaQY1TQzaGVmRX9CRJ1sqc eLsA605ag6Wi+Rrn6ef/9CIjK4lNniEdYe/D5OkJeVSXQgoE7tSIDEiOGk3OGhcu3HBD yICPggZGxZ00Pzvbnrr78J2A1fUcgMHarTfg918TNo/xWmMqpwg7dQPKnn0aKA8MXapL rjdQ== X-Gm-Message-State: AA6/9Rm2STAMA9s5y/5VGssPtI12gi8R8xnkX86MyZkQLuOhbc5ee0HT1e4gUkXCifsvghvt X-Received: by 10.200.37.177 with SMTP id e46mr25969274qte.14.1476713194667; Mon, 17 Oct 2016 07:06:34 -0700 (PDT) Received: from mutt-hardenedbsd ([63.88.83.66]) by smtp.gmail.com with ESMTPSA id w29sm15052669qtc.27.2016.10.17.07.06.33 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 17 Oct 2016 07:06:33 -0700 (PDT) Date: Mon, 17 Oct 2016 10:06:31 -0400 From: Shawn Webb To: Ross Alexander Cc: freebsd-arm@freebsd.org Subject: Re: Raspberry Pi 3 support Message-ID: <20161017140631.GA77580@mutt-hardenedbsd> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="45Z9DzgjV8m4Oswq" Content-Disposition: inline In-Reply-To: X-Operating-System: FreeBSD mutt-hardenedbsd 12.0-CURRENT-HBSD FreeBSD 12.0-CURRENT-HBSD X-PGP-Key: http://pgp.mit.edu/pks/lookup?op=vindex&search=0x6A84658F52456EEE User-Agent: Mutt/1.6.1 (2016-04-27) 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 14:07:41 -0000 --45Z9DzgjV8m4Oswq Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Oct 17, 2016 at 12:33:27AM -0600, Ross Alexander wrote: > On Fri Oct 14 22:10:56 UTC 2016, Shawn Webb wrote: >=20 > > 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). >=20 > 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 - >=20 > You say: "Download all the files from the boot directory in the > official Raspberry Pi firmware repository on GitHub." I read that as >=20 > 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 >=20 > You say: "Copy $MAKEOBJDIRPREFIX/arm64.aarch64//sys/= boot/efi/boot1/boot1.efi > to /mnt/EFI/BOOT/bootaa64.efi". I read that as >=20 > mount -t ufs /dev/da0s2a /mnt1 > mkdir -p /mnt0/EFI/BOOT > cp /mnt1/boot/boot1.efi /mnt0/EFI/BOOT/bootaa64.efi >=20 > given that /dev/da0s2a is all the stuff from "Building", "World", and > "Kernel" sections and a "make -s installworld installkernel distribution > KERNCONF=3DRPI3 DESTDIR=3D/mnt1 TARGET=3Darm64 TARGET_ARCH=3Daarch64". >=20 > And hey, guess what: it boots fine :). No hints as to how many times > I got it wrong, though. Hey Ross, Good catch. What I'll do is add a "prerequisites" section, instructing on how and where to download the required files. Then I'll refactor that bit to make better sense. Thanks for the input. I appreciate it. --=20 Shawn Webb Cofounder and Security Engineer HardenedBSD GPG Key ID: 0x6A84658F52456EEE GPG Key Fingerprint: 2ABA B6BD EF6A F486 BE89 3D9E 6A84 658F 5245 6EEE --45Z9DzgjV8m4Oswq Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJYBNrlAAoJEGqEZY9SRW7uYmkQAJXghxPcIR0msF87izKNC11r /+EeyLjH2NDwPa/iz7R2Zn0Y+y11gI5HAyBVN7SaBh7BM/F87r6Ne+gVs+D2USgr XzJjx9vY8Q8eut9J15QueF59EspSgwzmmmflrNyBHjAqGu73Cgz/IiRsKBDWWT+C kVpNfkEIM4uXnNYvxpE7jSuQHq+vNwfblbJv9+cBQjvWfKbU+Tyd6p2OTcaYGLKg vwG43fC28a97cuvEouyowBZWXE+qBIfv4CM4xMgg2rFuIowmO34HsU908ZwPLGPH RnAir3dOUWO0rQXLyThXE18Uz8oi6247sjkOKaC0AunEwRsHsDnqV5pYQkdpCUzP PmtVJflH57SUIFd3XiByomry+iTTMmUjwaSMQuiavoMqio72cTG3o2vuhflPPmby vfBo1ZpMoIYAqDpB6nKfBCG39pcRWiZvZs+sVSv3gdifeCNX5O4sjW1xfJbnJkFQ exzWaJcI9L1JG8JNVjAwxXKviY3LdCqoiqu/1WxenRGjQzetXnn9WaEvEbp3KBRF /z1vgGfFy8dGDl58zBHne62wQqgVkfhq7Wk4n8akXmuq44nZNrqLe40xQBR7CcfC gbt/hjZYqxsqjCYk6YdpPvv3LbdC6TA16c0bIpiMJBoskyW3O+0Yh78NX9zQIqdc YuMe2UnA8vY8EfCxAq0S =oECB -----END PGP SIGNATURE----- --45Z9DzgjV8m4Oswq--