From owner-freebsd-arm@freebsd.org Mon Jul 23 07:08:57 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 92944104153C for ; Mon, 23 Jul 2018 07:08:57 +0000 (UTC) (envelope-from peo@nethead.se) Received: from ns1.nethead.se (ns1.nethead.se [5.150.237.139]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "ns1.nethead.se", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2C57897282 for ; Mon, 23 Jul 2018 07:08:57 +0000 (UTC) (envelope-from peo@nethead.se) X-Virus-Scanned: amavisd-new at Nethead AB DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=nethead.se; s=NETHEADSE; t=1532329729; bh=I6ytDwuzFJMdYmNJyBs3GobyEnOKkKMK0QIykKwmp68=; h=Subject:To:Cc:References:From:Date:In-Reply-To; b=xvGezVjyH/oYD6yPkzN+p+KYkndr6XNU7DqHb7Ahyl5KbnZ5tere3jn6R9Y+QTGqY +5QOH9SCVfizDQJ410m9vzLrjj3erhmiRnGpEVnvhZfUtv7eYyfQius8wSDJCeRxlL xa9+PJ/Rcnaq0x4mWbjLH3dCF9BHYO18UPo33id8= Subject: Re: rpi3 and Adafruit GPS Hat To: Diane Bruce Cc: freebsd-arm@freebsd.org References: <47f49a55-66b0-1c02-4530-4701a3bd0c43@nethead.se> <20180718170157.GA40221@night.db.net> From: Per olof Ljungmark Message-ID: Date: Mon, 23 Jul 2018 09:08:47 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: <20180718170157.GA40221@night.db.net> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit 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: Mon, 23 Jul 2018 07:08:57 -0000 On 07/18/18 19:01, Diane Bruce wrote: > 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) > Yes, 12.0-CURRENT #2 r336461. Unfortunately your advice did not solve the problem, when the hat is attached it sends NMEA sequences to the u-boot loader making it impossible to boot further, just like it is described in this thread: http://freebsd.1045724.x6.nabble.com/Adding-a-GPS-Module-hat-shield-on-a-Raspberry-Pi-td6236680.html