Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Jul 2018 21:49:54 +0200
From:      Per olof Ljungmark <peo@nethead.se>
To:        Diane Bruce <db@db.net>
Cc:        freebsd-arm@freebsd.org
Subject:   Re: rpi3 and Adafruit GPS Hat
Message-ID:  <e835dab7-4b5a-1c4f-10b3-2733a65bc579@nethead.se>
In-Reply-To: <20180718170157.GA40221@night.db.net>
References:  <47f49a55-66b0-1c02-4530-4701a3bd0c43@nethead.se> <20180718170157.GA40221@night.db.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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)
> 

Thank you, this looks better:

uart0: <PrimeCell UART (PL011)> mem 0x7e201000-0x7e201fff irq 24 on
simplebus0
uart1: <BCM2835 Mini-UART> mem 0x7e215040-0x7e21507f irq 32 on simplebus0
uart1: console (115200,n,8,1)

//per



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?e835dab7-4b5a-1c4f-10b3-2733a65bc579>