From owner-freebsd-arm@FreeBSD.ORG Wed Feb 27 16:48:01 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id CFFF4FF for ; Wed, 27 Feb 2013 16:48:01 +0000 (UTC) (envelope-from kientzle@freebsd.org) Received: from monday.kientzle.com (99-115-135-74.uvs.sntcca.sbcglobal.net [99.115.135.74]) by mx1.freebsd.org (Postfix) with ESMTP id AEBACDFD for ; Wed, 27 Feb 2013 16:48:01 +0000 (UTC) Received: (from root@localhost) by monday.kientzle.com (8.14.4/8.14.4) id r1RGm18g036952 for freebsd-arm@freebsd.org; Wed, 27 Feb 2013 16:48:01 GMT (envelope-from kientzle@freebsd.org) Received: from [192.168.2.143] (CiscoE3000 [192.168.1.65]) by kientzle.com with SMTP id gv5qtrrbvt6yr7jrg64svst2g2; for freebsd-arm@freebsd.org; Wed, 27 Feb 2013 16:48:01 +0000 (UTC) (envelope-from kientzle@freebsd.org) From: Tim Kientzle Content-Type: multipart/signed; boundary="Apple-Mail=_D9719AAA-93B7-4E52-8F6C-F4D02BD74C5A"; protocol="application/pgp-signature"; micalg=pgp-sha1 Subject: Dual-boot Proof-of-Concept Date: Wed, 27 Feb 2013 08:47:59 -0800 Message-Id: <476CC481-A00E-4B19-BA58-60074CC816B3@freebsd.org> To: freebsd-arm@freebsd.org Mime-Version: 1.0 (Apple Message framework v1283) X-Mailer: Apple Mail (2.1283) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Feb 2013 16:48:01 -0000 --Apple-Mail=_D9719AAA-93B7-4E52-8F6C-F4D02BD74C5A Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii Over the weekend, I tinkered with my build scripts a bit and added the ability to build a single image that includes both RPi and BBone boot bits. This will load the FreeBSD kernel and give it the appropriate FDT for the platform it's booting on. The configuration looks something like this: # config.sh board_setup BeagleBonePlusRaspberryPi SD_SIZE=$((1950 * MB)) Obvious problem: We don't (yet) have a kernel that will properly boot on either platform. The configuration above is using RPI-B kernel right now, but I'll be switching that around as I do more experiments. If anyone wants to start mixing all of RPI-B and BEAGLEBONE kernel configs into a single GENERIC ARM kernel config, that would be a start. (But not sufficient, as there are a few other differences between those two kernels that will need to be resolved.) Tim --Apple-Mail=_D9719AAA-93B7-4E52-8F6C-F4D02BD74C5A Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.18 (Darwin) iQEcBAEBAgAGBQJRLjjAAAoJEGMNyGo0rfFBrDEIAJrt4OTW8O0Gu6l9nyI9csmb 4PqFomuEgDzCgxtagieyxVxbuMEmGceb/iuKxzXnQ8BtGqnLwYsMHnOPsOZw96ON ZJDjqEnAQ60MIvy9tw0hWMhW03eNrGBbUgQKzX2oD8mKGog9b5M28vOXqI+cFxBa JpPmP/QPMjk5dQlwBpenKX4MNZP+BKiDEHDNBSzuCQ99UwCscGKWzpFaiOjVgK6I wmaIFz7N5+V/TGQUXmaBwqxSHBXaEz8f9kC7AkPAlUf+BHPlEHVmuiiLwBUTrsgn g6J5Wjx2rXY0m/bI9fzP0AYiKgsDwl0EhmqK6j8j4hnHeIT26Xyf+NjZU2871u8= =j2oo -----END PGP SIGNATURE----- --Apple-Mail=_D9719AAA-93B7-4E52-8F6C-F4D02BD74C5A--