From owner-freebsd-arm@freebsd.org Sat Mar 5 21:40:46 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 36B9BA928CB for ; Sat, 5 Mar 2016 21:40:46 +0000 (UTC) (envelope-from e.moe@rcn.com) Received: from smtp.rcn.com (smtp.rcn.com [69.168.97.78]) (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 0652FC5F for ; Sat, 5 Mar 2016 21:40:45 +0000 (UTC) (envelope-from e.moe@rcn.com) X_CMAE_Category: , , X-CNFS-Analysis: v=2.1 cv=ZulNU4PG c=1 sm=1 tr=0 a=kLIaxcRmAfIWWG5Fo3VFTQ==:117 a=kLIaxcRmAfIWWG5Fo3VFTQ==:17 a=L9H7d07YOLsA:10 a=9cW_t1CCXrUA:10 a=s5jvgZ67dGcA:10 a=IkcTkHD0fZMA:10 a=6I5d2MoRAAAA:8 a=OA2lqS22AAAA:8 a=NEAV23lmAAAA:8 a=7Qk2ozbKAAAA:8 a=KlDsoipUaRnV-jtHF-QA:9 a=wKSZJLQF0MkymDBu:21 a=Kg-bxbX7rXO71c4r:21 a=QEXdDO2ut3YA:10 X-CM-Score: 0 X-Scanned-by: Cloudmark Authority Engine X-Authed-Username: ZS5tb2VAcmNuLmNvbQ== Authentication-Results: smtp02.rcn.cmh.synacor.com header.from=e.moe@rcn.com; sender-id=neutral Authentication-Results: smtp02.rcn.cmh.synacor.com smtp.mail=e.moe@rcn.com; spf=neutral; sender-id=neutral Authentication-Results: smtp02.rcn.cmh.synacor.com smtp.user=e.moe; auth=pass (PLAIN) Received-SPF: neutral (smtp02.rcn.cmh.synacor.com: 24.148.20.83 is neither permitted nor denied by domain of rcn.com) Received: from [24.148.20.83] ([24.148.20.83:37575] helo=[192.168.1.175]) by smtp.rcn.com (envelope-from ) (ecelerity 3.6.2.43620 r(Platform:3.6.2.0)) with ESMTPSA (cipher=AES256-SHA) id 4F/2D-31527-C525BD65; Sat, 05 Mar 2016 16:40:44 -0500 Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 9.1 \(3096.5\)) Subject: Re: FreeBSD on the RaspberryPi 3 From: Erik Moe In-Reply-To: <20160305205453.24bfca73@zapp.Home> Date: Sat, 5 Mar 2016 15:40:43 -0600 Cc: Warner Losh , "freebsd-arm@freebsd.org" Content-Transfer-Encoding: quoted-printable Message-Id: <8E0082B4-9A6D-4AA4-9E58-591D962247CC@rcn.com> References: <20160229225811.GB74374@server.rulingia.com> <20160304135821.79d140ae@zapp> <3265A43A-885B-42F8-984E-46C385FECFA2@rcn.com> <20160305205453.24bfca73@zapp.Home> To: Andrew Turner X-Mailer: Apple Mail (2.3096.5) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Mar 2016 21:40:46 -0000 Nice! That fixed the serial console issues. It gets as far as loading = the kernel, but that=E2=80=99s about it. U-Boot 2015.04 (Feb 17 2016 - 10:41:14) DRAM: 944 MiB WARNING: Caches not enabled RPI: Board rev 8 outside known range RPI Unknown model 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: 0 Booting from: mmc 0 ubldr reading ubldr 262739 bytes read in 330 ms (777.3 KiB/s) ## Starting application at 0x02000094 ... Consoles: U-Boot console Compatible U-Boot API signature found @3ab4a4c8 FreeBSD/armv6 U-Boot loader, Revision 1.2 (root@releng2.nyi.freebsd.org, Wed Feb 17 11:04:47 UTC 2016) DRAM: 944MB Number of U-Boot devices: 1 U-Boot env: loaderdev=3D'mmc 0' Found U-Boot device: disk Checking unit=3D0 slice=3D partition=3D... good. Booting from disk0s2a: /boot/kernel/kernel data=3D0x5f7ee4+0xf011c = syms=3D[0x4+0x820c0+0x4+0x9490f] Hit [Enter] to boot immediately, or any other key for command prompt. Booting [/boot/kernel/kernel]... Using DTB provided by U-Boot at address 0x100. Kernel entry at 0x2200100... Kernel args: (null) > On Mar 5, 2016, at 2:54 PM, Andrew Turner = wrote: >=20 > Try setting "init_uart_clock=3D3000000". >=20 > Andrew >=20 > On Sat, 5 Mar 2016 14:49:43 -0600 > Erik Moe wrote: >=20 >> My RaspberryPi 3 arrived last night. I=E2=80=99ve taken the latest = RPI-2 >> snapshot and updated to the latest firmware. I can tell it=E2=80=99s = booting >> up, but it=E2=80=99s getting hung up somewhere. I can=E2=80=99t tell = where because >> the serial console is spitting out gibberish. The serial console >> issue is not specific to FreeBSD. I had the same issue trying to get >> the serial console working on Raspbian. There is a thread discussing >> the problem here: https://github.com/RPi-Distro/repo/issues/22. On >> Raspbian I was able to get around the serial console issue by adding >> "force_turbo=3D1=E2=80=9D to the config.txt, but that doesn=E2=80=99t = seem to work on >> FreeBSD. >>=20 >> Erik >>=20 >>=20 >>> On Mar 4, 2016, at 7:58 AM, Andrew Turner >>> wrote: >>>=20 >>> On Wed, 2 Mar 2016 11:57:48 -0700 >>> Warner Losh wrote: >>>=20 >>>> I suspect that we'll need an aarch64 kernel and userland, at the >>>> very least, to make this work. Plus there's likely some dragons >>>> hiding in uboot / ubldr. =20 >>>=20 >>> Someone should try updating the firmware on the RPI2 image, and >>> teaching the kernel about the Cortex-A53 in cpufunc.c. I suspect >>> with these two FreeBSD will boot in AArch32. >>>=20 >>> Andrew >>> _______________________________________________ >>> freebsd-arm@freebsd.org mailing list >>> https://lists.freebsd.org/mailman/listinfo/freebsd-arm >>> To unsubscribe, send any mail to >>> "freebsd-arm-unsubscribe@freebsd.org" =20 >>=20 >=20