[Bug 278316] Intel Atom S1200 (Centerton) serial UART not working

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 11 Apr 2024 22:05:51 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=278316

            Bug ID: 278316
           Summary: Intel Atom S1200 (Centerton) serial UART not working
           Product: Base System
           Version: 14.0-RELEASE
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: henrichhartzer@tuta.io

I'm unable to use "COM3" on a Intel Atom S1260 server, which is a HSUART. It
has no device entry in uart_bus_pci.c. Unfortunately, while I'm able to get the
device to show up if I add it, I can't communicate with it using cu. I'm able
to get two different USB serial devices to talk using the same null modem cable
and the same commands (minus the devices), so I don't suspect it's the device.

I *assume* this applies to CURRENT as well.

To test, I added `{ 0x8086, 0x0c5f, 0xffff, 0, "Atom Processor S1200 UART",
0x10},` to uart_bus_pci.c.


The driver is loaded with this change, however it doesn't seem to function.


```uart2@pci0:0:20:0:      class=0x070002 rev=0x02 hdr=0x00 vendor=0x8086
device=0x0c5f subvendor=0x15d9 subdevice=0x0651

    vendor     = 'Intel Corporation'

    device     = 'Atom Processor S1200 UART'

    class      = simple comms

    subclass   = UART
```


If I use this change, like some other Intel serial devices, it does not load
the module and says "no driver attached".


```{ 0x8086, 0x0c5f, 0xffff, 0, "Atom Processor S1200 UART", 0x10,

    24 * DEFAULT_RCLK, 2 },
```

Not sure how to proceed with this. Would appreciate any pointers.

Related:
https://forums.freebsd.org/threads/intel-pci-serial-port-no-driver-attached.30252/

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=207910

https://www.intel.com/content/dam/www/public/us/en/documents/datasheets/atom-processor-s1200-datasheet-vol-1.pdf
https://www.intel.com/content/dam/www/public/us/en/documents/datasheets/atom-processor-s1200-datasheet-vol-2.pdf

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