From owner-freebsd-arm@freebsd.org Thu Dec 1 03:31:59 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 1D98DC5EA1D for ; Thu, 1 Dec 2016 03:31:59 +0000 (UTC) (envelope-from gnn@neville-neil.com) Received: from smtp.hungerhost.com (smtp.hungerhost.com [216.38.51.7]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E85E013CC for ; Thu, 1 Dec 2016 03:31:58 +0000 (UTC) (envelope-from gnn@neville-neil.com) Received: from pool-108-46-177-117.nycmny.fios.verizon.net ([108.46.177.117]:56248 helo=[192.168.64.1]) by vps.hungerhost.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.87) (envelope-from ) id 1cCI6A-0002ke-Rd; Wed, 30 Nov 2016 22:31:50 -0500 From: "George Neville-Neil" To: "Oleksandr Tymoshenko" Cc: freebsd-arm@freebsd.org Subject: Re: SMP support for Raspberry Pi 3 Date: Wed, 30 Nov 2016 22:31:50 -0500 Message-ID: <0E215457-596F-46AE-BF3A-46E59E69552E@neville-neil.com> In-Reply-To: <69A40241-CD89-4AFA-BA35-32EEB2663FDE@bluezbox.com> References: <69A40241-CD89-4AFA-BA35-32EEB2663FDE@bluezbox.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Mailer: MailMate (1.9.6r5310) X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - vps.hungerhost.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - neville-neil.com X-Get-Message-Sender-Via: vps.hungerhost.com: authenticated_id: gnn@neville-neil.com X-Authenticated-Sender: vps.hungerhost.com: gnn@neville-neil.com X-Source: X-Source-Args: X-Source-Dir: 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: Thu, 01 Dec 2016 03:31:59 -0000 On 29 Nov 2016, at 15:55, Oleksandr Tymoshenko wrote: > Hello, > > SMP support for Raspberry Pi 3 is in usable state now. I didn’t run > any load tests, only checked that all four cores are started on boot. > > Short instruction: > > - Build GENERIC arm64 kernel for your image, not GENERIC-UP > - Copy https://people.freebsd.org/~gonzo/arm/rpi3-smp/u-boot.bin and > https://people.freebsd.org/~gonzo/arm/rpi3-smp/armstub8.bin to FAT > partition on SD card. > - Edit config.txt: change value of device_tree_address parameter: > device_tree_address=0x4000 > - Reboot device. It should boot with all four cores enabled and reboot > should work too. > > More detailed description of what all these binaries/changes contain > is in these two posts: > > https://kernelnomicon.org/?p=714 > https://kernelnomicon.org/?p=718 > > Please note that FreeBSD/arm64 has been broken by clang 3.9.0 import > and you will have to update aarch64-binutils to the 2.27_5 to get > it booting. Details: https://reviews.freebsd.org/D8622 > Thanks for all this work! I'm going to be away for about 10 days but will test this on the pi-top I have when I get back. Best, George