From owner-freebsd-arm@freebsd.org Thu Aug 2 17:29:54 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 22069106D4B2 for ; Thu, 2 Aug 2018 17:29:54 +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 B32C871D75 for ; Thu, 2 Aug 2018 17:29:53 +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=1533230986; bh=12/86UjYBrwDsLsa5WTYrotavDHyOYB/qBHY6sU51ss=; h=Subject:To:Cc:References:From:Date:In-Reply-To; b=nCUgG1Dw1lx//V8FjI2JdJ8UCEmFjytgmtVKiJEzHwm8yQZ6u6trdtqPI78RCAkDo Lxpgb1mw5ux41PhKKK9TCr6/OJwF+Dt5MjuPRjS6sh16rtNCRGE0UsnbypmEkEuGs5 UgXnx0D9d4c/4O6PNVodBKKPzX3pvpEzXNQmCO1I= 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: <69777450-a532-3f00-c2ed-426d20a6bf0e@nethead.se> Date: Thu, 2 Aug 2018 19:29:44 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.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: Thu, 02 Aug 2018 17:29:54 -0000 On 7/18/18 7:01 PM, 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. But would this move uart0 to pin 14 & 15? It moves the serial console to uart1 which is fine bit if I want to talk to the hat I need uart0 on pins 14 and 15.