Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Topics - dbyte

#1
Hi,
   Going a little nuts. I managed to boot and install OPNSense on my new server (SolidRun Bedrock v3000) and it is using a not so standard MMIO serial console. I can interrupt the loader at boot and add the appropriate hw.uart.console, but I am stumped on how to permanently configure this.

at initial boot I put this manually in the loader
hw.uart.console="mm:0xfedc9000,rs:2"

serial console works fine if i manually set it at boot time

I have tried adding it to tunables with no success and trying /boot/loader.conf.local

It appears to be using /dev/ttyu0 for the console when working.

OPNsense 23.7.r2-amd64
FreeBSD 13.2-RELEASE-p1

CPU type   AMD Ryzen Embedded V3C18I 8-Core Processor (8 cores, 16 threads)

root@OPNsense:~ # dmesg | grep -i uart
uart0: <16x50 with 256 byte FIFO> iomem 0xfedc9000-0xfedc9fff,0xfedc7000-0xfedc7fff irq 3 flags 0x10 on acpi0


root@OPNsense:~ # sysctl -a | grep uart
uart0: <16x50 with 256 byte FIFO> iomem 0xfedc9000-0xfedc9fff,0xfedc7000-0xfedc7fff irq 3 flags 0x10 on acpi0
device   uart_ns8250
device   uart
debug.uart_force_poll: 0
debug.uart_poll_freq: 50
irq3: uart0:5 @cpu0(domain0): 0
dev.uart.0.rx_overruns: 0
dev.uart.0.pps_mode: 2
dev.uart.0.%parent: acpi0
dev.uart.0.%pnpinfo: _HID=AMDI0020 _UID=0 _CID=none
dev.uart.0.%location: handle=\_SB_.FUR0
dev.uart.0.%driver: uart
dev.uart.0.%desc: 16x50 with 256 byte FIFO
dev.uart.%parent: