From owner-freebsd-arm@freebsd.org Sun Aug 28 01:18:39 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 CD207A94B20 for ; Sun, 28 Aug 2016 01:18:39 +0000 (UTC) (envelope-from db@db.net) Received: from diana.db.net (unknown [IPv6:2620:64:0:1:223:7dff:fea2:c8f2]) by mx1.freebsd.org (Postfix) with ESMTP id BD4F17C9 for ; Sun, 28 Aug 2016 01:18:39 +0000 (UTC) (envelope-from db@db.net) Received: from night.db.net (localhost [127.0.0.1]) by diana.db.net (Postfix) with ESMTP id D5F042AA3A3; Sat, 27 Aug 2016 19:17:52 -0600 (MDT) Received: by night.db.net (Postfix, from userid 1000) id 8534E1CDE4; Sat, 27 Aug 2016 21:18:36 -0400 (EDT) Date: Sat, 27 Aug 2016 21:18:36 -0400 From: Diane Bruce To: Kia Cc: freebsd-arm@freebsd.org Subject: Re: RPi 3 port status? Message-ID: <20160828011836.GA84193@night.db.net> References: <20160828003159.GB65126@riseup.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable In-Reply-To: <20160828003159.GB65126@riseup.net> User-Agent: Mutt/1.6.1 (2016-04-27) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Aug 2016 01:18:39 -0000 On Sun, Aug 28, 2016 at 12:31:59AM +0000, Kia wrote: > What is the status on having a usable freebsd port for the RPi 3? I found > https://github.com/zxombie/freebsd and tested it but it seems to boot wit= h only > one CPU activated and the USB and ethernet and wifi do not seem to work. >=20 > Has there been other work done / is there work being done on those issues= or on > the port to that hardware? I am willing to work on this port but would li= ke to > make sure that I am not duplicating things that have already been dealt w= ith. >=20 I have u-boot running on this platform. zxombie's work predates the 64bit support code added upstream in both the firmware and u-boot. Note the u-boot version. Script started on Thu Aug 25 21:33:23 2016 U-Boot 2016.09-rc2 (Aug 25 2016 - 21:05:43 -0400) DRAM: 944 MiB RPI 3 Model B (0xa22082) MMC: bcm2835_sdhci: 0 reading uboot.env ** Unable to read "uboot.env" from mmc0:1 ** Using default environment In: serial Out: lcd Err: lcd Net: Net Initialization Skipped No ethernet found. Hit any key to stop autoboot: 2 =08=08=08 0=20 U-Boot> fatload mmc 0 0x2000000 kernel reading kernel 9670328 bytes read in 602 ms (15.3 MiB/s) U-Boot> fdt addr 0x100;bootelf 0x2000000 ## Starting application at 0x00001000 ... "Synchronous Abort" handler, esr 0x02000000 ELR: 1000 LR: 3af3d688 x0 : 0000000000000001 x1 : 000000003ab38f18 x2 : 0000000000000006 x3 : 000000000000000f x4 : ffffffffffffffff x5 : 000000000000001c x6 : ffffffffffffffff x7 : 0000000000000000 x8 : 000000003ab349e0 x9 : 0000000000000008 x10: 000000000a200023 x11: 0000000000000002 x12: 0000000000000002 x13: 00000000ffffffff x14: 000000003ab34d54 x15: 000000003af3b304 x16: bdff204801d18c91 x17: 8ffbb368d5f277b3 x18: 000000003ab34df8 x19: 0000000000000001 x20: 0000000000001000 x21: 000000003ab38f18 x22: 0000000000000001 x23: 0000000000000000 x24: 0000000000000000 x25: 0000000000000000 x26: 0000000000000000 x27: 0000000000000000 x28: 000000003ab38f70 x29: 000000003ab34b20 Resetting CPU ... resetting ... U-Boot 2016.09-rc2 (Aug 25 2016 - 21:05:43 -0400) DRAM: 944 MiB RPI 3 Model B (0xa22082) MMC: bcm2835_sdhci: 0 reading uboot.env ** Unable to read "uboot.env" from mmc0:1 ** Using default environment In: serial Out: lcd Err: lcd Net: Net Initialization Skipped No ethernet found. Hit any key to stop autoboot: 2 Script done on Thu Aug 25 21:34:41 2016 u-boot-log.txt Once I figure out how to get a FreeBSD kernel booting, I'll commit the u-boot port.=20 > --=20 > Kia >=20 - Diane --=20 - db@FreeBSD.org db@db.net http://www.db.net/~db