From owner-freebsd-arm@freebsd.org Wed Jul 18 15:10:26 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 93149104DC13 for ; Wed, 18 Jul 2018 15:10:26 +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 2D97F7E63F for ; Wed, 18 Jul 2018 15:10:26 +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=1531926618; bh=N42DY0ZWJ+XABBBt1P2cYReaQUL0Ia+kNwO4V6JJirw=; h=To:From:Subject:Date; b=s8G0Gw2Y/YI7mSAIO/drwBS0aKApsZvH0qUuP9j3TybSPBkdQtv1zJbsuZvyTtEMD L+5lBfGgOtssiTckkDI4xWmcdLmqJrj55t2glh8Ze0zt/W5oR7wZpFZlwhWDdWjsD1 xaaWp7sKiYTS1PV+bZqbuTtZNEtt8ZrUmwkISEd0= To: freebsd-arm@freebsd.org From: Per olof Ljungmark Subject: rpi3 and Adafruit GPS Hat Message-ID: <47f49a55-66b0-1c02-4530-4701a3bd0c43@nethead.se> Date: Wed, 18 Jul 2018 17:10:16 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 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: Wed, 18 Jul 2018 15:10:26 -0000 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) - Find the real uart, I suppose it is uart0 below - Figure out how to control the gpio pins - Enable PPS in the kernel (I can probably figure this one) FreeBSD 12.0-CURRENT #0 r336134 GENERIC arm64 (bcm2835) uart0: mem 0x7e201000-0x7e201fff irq 24 on simplebus0 uart0: console (115200,n,8,1) VERY grateful if someone that knows better can give me a push in the right direction for up to date information. -- Per olof Ljungmark