Hi Philip, With that information I can, at best, only provide some very limited guidance. On 4 December 2014 at 23:26, Philip Boucherat wrote: > Sorry for the unsolicited email, but it seems like you may be able to help > me. Try to always CC subsystem mailing list, that way someone else hitting your issue will be able to find the solution or at least can chime in. > I am working with an x86_64 board which has got an F81216 quad UART > chip on it and I need to get these serial ports to work. > > I'm doing a arch linux build of the 3.17 kernel (I think) and have enabled > 8250_PNP or whatever it is (sorry, haven't got access to my dev machine at > the moment), but it is not detecting the serial ports. > > This is a Intel Atom E3800 and the lpc_ich module is loaded, PCU is > detected when I do lspci, so I'm kind of thinking it should all work, but > it's not. Ports not detected at all. If you could provide kernel log (dmesg) and a reference to the mainboard documentation that might already help. The CPU/SOC documentation is not that helpful. From the software side, your best bet would be to start poking at the IO space to see if the F81216 is responding/reachable. If it's not, maybe you need to power it up using some GPIO, though that information should hopefully be present in the mainboard's Datasheet. Datasheet of the F81216: http://www.fintek.com.tw/files/productfiles/F81216_V035P.pdf My test code as written years ago: https://bugzilla.kernel.org/show_bug.cgi?id=13008#c9 (also read comment #11 for the second configuration address and adjust text code accordingly when testing!) Please post the output from test program for both IO ports (0x4e and 0x2e). > Do I need to do some extra kernel config? Do I need to add your platform > driver to the kernel build? If BIOS/firmware has setup the mainboard and all resources you don't need any specific kernel config (except not limiting UART count too much): CONFIG_SERIAL_8250_NR_UARTS CONFIG_SERIAL_8250_RUNTIME_UARTS If the UARTs are not reported as PNP resources 8250_PNP will not find them and you will need some extra work to get them hooked up (probably a platform driver to write). Cheers, Bruno > Any help very much appreciated! > > Cheers Phil
Attachment:
signature.asc
Description: PGP signature