From owner-freebsd-arm@freebsd.org Wed Jul 18 17:02:06 2018 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 92ADE1029875 for ; Wed, 18 Jul 2018 17:02:06 +0000 (UTC) (envelope-from db@db.net) Received: from artemis.db.net (artemis.db.net [45.32.229.41]) by mx1.freebsd.org (Postfix) with ESMTP id 36955835B4 for ; Wed, 18 Jul 2018 17:02:05 +0000 (UTC) (envelope-from db@db.net) Received: from night.db.net (localhost [127.0.0.1]) by artemis.db.net (Postfix) with ESMTP id 1B80B101BE; Wed, 18 Jul 2018 17:01:58 +0000 (UTC) Received: by night.db.net (Postfix, from userid 1000) id 7F0DD39813; Wed, 18 Jul 2018 13:01:57 -0400 (EDT) Date: Wed, 18 Jul 2018 13:01:57 -0400 From: Diane Bruce To: Per olof Ljungmark Cc: freebsd-arm@freebsd.org Subject: Re: rpi3 and Adafruit GPS Hat Message-ID: <20180718170157.GA40221@night.db.net> References: <47f49a55-66b0-1c02-4530-4701a3bd0c43@nethead.se> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <47f49a55-66b0-1c02-4530-4701a3bd0c43@nethead.se> User-Agent: Mutt/1.10.0 (2018-05-17) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Jul 2018 17:02:06 -0000 On Wed, Jul 18, 2018 at 05:10:16PM +0200, Per olof Ljungmark wrote: > Being a complete newbie to arm I thought a nice project would be to > build a NTP server with the parts in the subject line. > > Unfortunately I have almost no idea where to start, it seems FreeBSD for > arm have shifted around quite a bit, almost none of the googled pages I > find has relevance, and to add insult to injury, the Pi project > apparently shifted the serial ports around for the Pi3. > > What I need to achieve, > > - Stop the kernel to use the uart for console output (I have ethernet > and HDMI connected) No need. change your config.txt #dtoverlay=pi3-disable-bt device_tree_address=0x4000 kernel=u-boot.bin enable_uart=1 This moves the console port to the less capable micro uart port this will free up the good uart (the pl011 device) as /dev/ttyu0 Remove the pi3-disable-dt in config.txt enable_uart=1 is needed. > VERY grateful if someone that knows better can give me a push in the > right direction for up to date information. .. This is assuming you use FreeBSD-12 (Head of tree) > -- > Per olof Ljungmark Diane -- - db@FreeBSD.org db@db.net http://www.db.net/~db