From owner-freebsd-arm@freebsd.org Mon Jul 23 08:47:07 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 EEFF41043BCF for ; Mon, 23 Jul 2018 08:47:06 +0000 (UTC) (envelope-from dave@dogwood.com) Received: from mail-oi0-x236.google.com (mail-oi0-x236.google.com [IPv6:2607:f8b0:4003:c06::236]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 806DD72396 for ; Mon, 23 Jul 2018 08:47:06 +0000 (UTC) (envelope-from dave@dogwood.com) Received: by mail-oi0-x236.google.com with SMTP id k12-v6so31851415oiw.8 for ; Mon, 23 Jul 2018 01:47:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dogwood.com; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=iIbxfEcJaJN6J3tKXvXyU0q3NSx4PMzipmp/QLWQox4=; b=kBKiVKaM2KBF/1aM0zZn57OlWClc5vno9+vV/aNl/s9iH5NupAQV7ix7hmfA68SkDf AwxIz+fUDhkVLe6wEFJ9LxfON73bFGfp+q17cPeK/IyVnofqxb0+gR1aeymcXeR8nnWe B9h78WrXjJZMG5AWUTyeaEfkG0Hk4JCWMPicw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=iIbxfEcJaJN6J3tKXvXyU0q3NSx4PMzipmp/QLWQox4=; b=unTlq556e5151VxUB9vpcvYHW6PgRduZ8hUsLfWQzIIDuEoREbQOFJuw7OjuJjEqps HYJhy/EFCtYvUkqcEFkY1B6BIGnNAtj7xZsSrp46FojJP+VQ8UngolL/W8ctyqr0aUeD C9m6Ock0pMl3jL+At4ex66HbIdzyv5/BhP8sSZwA3mRgM1rTHmLITnzmQEV2KblsR9cy aALifXD3GItzEY51QP94PhzUFMh+h2r/Vu8YYBEsU1vz7Npf5hZ4GaZ0O0b1l2HJGY7Q BuKDi82DFRkiqXkDBzZcVMt141rQPPL1tAN9gePijs4KNL4ruvf9EMHafYRZWTCno0uT Rx9A== X-Gm-Message-State: AOUpUlE08pXhu31skY+ZJOq3gZgT67Gh1oEFA4M5K/ecqGNRtsp3GJo+ NfOh0M2s5WhFVUbH+JkZThFhVOcXEdEUuxA0xUbhZKn0 X-Google-Smtp-Source: AAOMgpdKjzcVP76yJWp6pxQybhssmLLrJcbK9H47AyR0NP3/An7O9ER0yBDfmkQOjG0EOsQ5jAwJcdXujerhI0kk3zI= X-Received: by 2002:aca:e2d3:: with SMTP id z202-v6mr8166604oig.121.1532335624210; Mon, 23 Jul 2018 01:47:04 -0700 (PDT) MIME-Version: 1.0 References: <47f49a55-66b0-1c02-4530-4701a3bd0c43@nethead.se> <20180718170157.GA40221@night.db.net> In-Reply-To: From: David Cornejo Date: Sun, 22 Jul 2018 22:46:53 -1000 Message-ID: Subject: Re: rpi3 and Adafruit GPS Hat To: peo@nethead.se Cc: db@db.net, freebsd-arm Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.27 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 08:47:07 -0000 this might be a little blasphemous, but for grins I tried an Oncore with PPS to a GPIO and running the serial through a TTL-USB serial cable and that seems to work ok. there's probably some good reason that this is a bad idea. dave c On Sun, Jul 22, 2018 at 9:09 PM Per olof Ljungmark wrote: > 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 f= or > >> 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=3Dpi3-disable-bt > > device_tree_address=3D0x4000 > > kernel=3Du-boot.bin > > enable_uart=3D1 > > > > 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=3D1 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 > > > _______________________________________________ > 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 Kailua, Hawai=CA=BBi US +1 (808) 728-3050 UK +44 (020) 3286 2808