[meta-intel] Request for assistance - Yocto 2.0 - Changing Kernel UART support from 4 to 20
Cal Sullivan
california.l.sullivan at intel.com
Fri Nov 17 09:46:47 PST 2017
I don't have hardware to test, but I believe I've found a few more
necessary CONFIG options for this setup:
config SERIAL_8250_EXTENDED
bool "Extended 8250/16550 serial driver options"
depends on SERIAL_8250
help
If you wish to use any non-standard features of the standard
"dumb"
driver, say Y here. This includes HUB6 support, shared serial
interrupts, special multiport support, support for more than the
four COM 1/2/3/4 boards, etc.
Note that the answer to this question won't directly affect the
kernel: saying N will just cause the configurator to skip all
the questions about serial driver options. If unsure, say N.
config SERIAL_8250_SHARE_IRQ
bool "Support for sharing serial interrupts"
depends on SERIAL_8250_EXTENDED
help
Some serial boards have hardware support which allows
multiple dumb
serial ports on the same board to share a single IRQ. To enable
support for this in the serial driver, say Y here.
config SERIAL_8250_MANY_PORTS
bool "Support more than 4 legacy serial ports"
depends on SERIAL_8250_EXTENDED && !IA64
help
Say Y here if you have dumb serial boards other than the four
standard COM 1/2/3/4 ports. This may happen if you have an AST
FourPort, Accent Async, Boca (read the Boca mini-HOWTO,
available
from <http://www.tldp.org/docs.html#howto>), or other custom
serial port hardware which acts similar to standard serial port
hardware. If you only use the standard COM 1/2/3/4 ports, you
can
say N here to save some memory. You can also say Y if you
have an
"intelligent" multiport card such as Cyclades, Digiboards, etc.
Try toggling these and report back.
Thanks,
Cal
On 10/16/2017 01:11 AM, Mike Maggs wrote:
>
> Request for assistance - Yocto 2.0 - Changing Kernel UART support
> from 4 to 20
>
> I am using Yocto 2.0 with Intel® Atom® Processor E3800 with Open
> Source Graphics (Valley Island) BSP from
> https://www.yoctoproject.org/downloads/bsps/jethro20/valley-island on
> My Custom SMARC Carrier using Adlink LEC-BTS SMARC Processor with
> Intel E3845 Processor with 2 x EXAR PCIe XR17V358s (16 UARTs) and 2 x
> Intel i210 Ethernet Controllers
>
> I have done the following
>
> 1. Verified that the Hardware is working using Fedora 18 with Exar
> XR17V358 driver
>
> cat /proc/tty/driver/xrserial
>
> serinfo:1.0 driver
> revision:
>
> 0: uart:XR17v35x mmio:0xD0800000 irq:16 tx:0 rx:0
>
> 1: uart:XR17v35x mmio:0xD0800400 irq:16 tx:0 rx:0
>
> 2: uart:XR17v35x mmio:0xD0800800 irq:16 tx:0 rx:0
>
> 3: uart:XR17v35x mmio:0xD0800C00 irq:16 tx:0 rx:0
>
> 4: uart:XR17v35x mmio:0xD0801000 irq:16 tx:0 rx:0
>
> 5: uart:XR17v35x mmio:0xD0801400 irq:16 tx:0 rx:0
>
> 6: uart:XR17v35x mmio:0xD0801800 irq:16 tx:0 rx:0
>
> 7: uart:XR17v35x mmio:0xD0801C00 irq:16 tx:0 rx:0
>
> 8: uart:XR17v35x mmio:0xD0802000 irq:16 tx:0 rx:0
>
> 9: uart:XR17v35x mmio:0xD0802400 irq:16 tx:0 rx:0
>
> 10: uart:XR17v35x mmio:0xD0802800 irq:16 tx:0 rx:0
>
> 11: uart:XR17v35x mmio:0xD0802C00 irq:16 tx:0 rx:0
>
> 12: uart:XR17v35x mmio:0xD0803000 irq:16
> tx:0 rx:0
>
> 13: uart:XR17v35x mmio:0xD0803400 irq:16 tx:0 rx:0
>
> 14: uart:XR17v35x mmio:0xD0803800 irq:16 tx:0 rx:0
>
> 15: uart:XR17v35x mmio:0xD0803C00 irq:16 tx:0 rx:0
>
> 2. Created a file named 8250.cfg in the files directory with the
> following content (without indentation):
>
> CONFIG_SERIAL_8250=y
>
> CONFIG_SERIAL_8250_CONSOLE=y
>
> CONFIG_SERIAL_8250_PCI=y
>
> CONFIG_SERIAL_8250_NR_UARTS=20
>
> CONFIG_SERIAL_8250_RUNTIME_UARTS=20
>
> CONFIG_SERIAL_CORE=y
>
> CONFIG_SERIAL_CORE_CONSOLE=y
>
> Next, include this configuration fragment and extend the FILESPATH
> variable in your .bbappend file:
>
> FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
>
> SRC_URI += "file://8250.cfg"
>
> 3. Kernel Config using menuconfig tool
>
> Changed
>
> CONFIG_SERIAL_8250_NR_UARTS=20
>
> CONFIG_SERIAL_8250_RUNTIME_UARTS=20
>
> My other Kernel Config changes for the Intel i210 are working
>
> 4. Running Yocto Dylan Image (No support for Intel HSUART)
>
> cat /proc/tty/driver/serial
>
> serinfo:1.0 driver revision:
>
> 0: uart:16550A port:000003F8 irq:4 tx:2069 rx:115 RTS|DTR
>
> 1: uart:XR17V35X mmio:0xD0900000 irq:16 tx:0 rx:0
>
> 2: uart:XR17V35X mmio:0xD0900400 irq:16 tx:0 rx:0
>
> 3: uart:XR17V35X mmio:0xD0900800 irq:16 tx:0 rx:0
>
> 5. Running Yocto 2.0 Jethro Image (With support for Intel HSUART)
>
> cat /proc/tty/driver/serial
>
> serinfo:1.0 driver revision:
>
> 0: uart:16550A port:000003F8 irq:4 tx:2042 rx:117 RTS|DTR
>
> 1: uart:16550A mmio:0xD0922000 irq:18 tx:0 rx:0 DSR|CD
>
> 2: uart:16550A mmio:0xD0920000 irq:19 tx:0 rx:0 DSR|CD
>
> 3: uart:XR17V35X mmio:0xD0800000 irq:16 tx:0 rx:0
>
> Hoping that you will be able to help
>
> Regards
>
> Mike Maggs
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/meta-intel/attachments/20171117/e02ba68d/attachment.html>
More information about the meta-intel
mailing list