Sent with Proton Mail secure email.

On Friday, 16 August 2024 at 12:41, Stuart Henderson 
<stu.li...@spacehopper.org> wrote:

> On 2024-08-16, Laura Smith n5d9xq3ti233xiyif...@protonmail.ch wrote:
> 
> > On Friday, 16 August 2024 at 09:52, Peter N. M. Hansteen pe...@bsdly.net 
> > wrote:
> > 
> > > On Fri, Aug 16, 2024 at 08:31:50AM +0000, Laura Smith wrote:
> > > 
> > > > Is there an OpenBSD equivalent to the below flag which is set in 
> > > > /boot/loader.conf.local on FreeBSD ?
> > > > 
> > > > hw.uart.console="mm:0xfedc9000,rs:2"
> > > 
> > > In order to get useful responses it is always a good idea to give some 
> > > context on
> > > what it is you are trying to do.
> > 
> > I am trying to get console output during boot.
> > 
> > This is on Deciso hardware, specifically the newer models.
> > 
> > On the older models, getting OpenBSD working was simple:
> > echo "stty com0 115200" >> /etc/boot.conf
> > echo "set tty com0" >> /etc/boot.conf
> > 
> > But this does not work on the newer models.
> > 
> > After experimenting with FreeBSD (on which OPNsense that is bundled with 
> > Decisio hardware) is based, I achieved a "known-good" config of:
> > 
> > echo hw.uart.console="mm:0xfedc9000,rs:2" > /boot/loader.conf.local
> > 
> > Therefore all I am looking to replicate that on OpenBSD.
> 
> 
> No idea about the rs: and I couldn't find any FreeBSD docs about
> what that does.

Something to do with Register Shift : 
https://bsdimp.blogspot.com/2018/07/how-to-get-memory-mapped-serial-console.html

> 
> mm: looks like an address to use for memory-mapped io.
> 
> You might get somewhere with 'machine comaddr <base address>'.
> 
> 
> Details from 'sendbug -P' run as root might give enough information
> to figure out a bit more about what to do with the machine.
> 

I'm tied up with work at the moment, but hopefully next week I'll have some 
time to (try to) load OpenBSD on it and will send the sendbug output then.

Reply via email to