[Bug 276523] serial console not functional orange pi 5 plus

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 22 Jan 2024 11:13:34 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=276523

            Bug ID: 276523
           Summary: serial console not functional orange pi 5 plus
           Product: Base System
           Version: 14.0-STABLE
          Hardware: arm64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: arm
          Assignee: freebsd-arm@FreeBSD.org
          Reporter: rdunkle@smallcatbrain.com

Created attachment 247841
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=247841&action=edit
var/log/messages from boot -v

FreeBSD14-stable  orange pi 5 plus
I see the same problem in FreeBSD 13.2
serial console works during the efi boot steps.
The console looks like this:
Setting currdev to disk0p2:
Loading /boot/defaults/loader.conf
Loading /boot/defaults/loader.conf
Loading /boot/device.hints
Loading /boot/loader.conf
The processors are identified and then serial output stops.
Final output looks like this:
output to serial always stops here--> I/TC: Secondary CPU 7 switching to normal
world boot.
---
# dmesg | grep uart
uart0: <16750 or compatible> iomem 0xfeb50000-0xfeb50fff irq 21 on acpi0
uart0: fast interrupt
uart0: PPS capture mode: DCD
-- never see that typical line-->  uart0: console (115200,n,8,1)

I filed a bug report with the github efi project.
https://github.com/edk2-porting/edk2-rk3588/issues/118
---
I made the change as suggested to: 
sys/dev/uart/uart_dev_ns8250.c
line 452
{"HISI0031", &uart_ns8250_class, 0, 2, 0, 24000000, UART_F_BUSY_DETECT,
"HiSilicon / Synopsys Designware UART"},
-----
I see the same problem with serial port.
Need guidance on how to fix this problem

-- 
You are receiving this mail because:
You are the assignee for the bug.