[meta-intel] Request for assistance - Yocto 2.0 - Changing Kernel UART support from 4 to 20
Mike Maggs
MMaggs at nortech.co.za
Mon Oct 16 01:11:40 PDT 2017
Request for assistance - Yocto 2.0 - Changing Kernel UART support from 4 to 20
I am using Yocto 2.0 with Intel(r) Atom(r) 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/20171016/5391794e/attachment.html>
More information about the meta-intel
mailing list