<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>PowerQUICC ProcessorsのトピックRe: LS1021 ucc_uart giving kernel panic</title>
    <link>https://community.nxp.com/t5/PowerQUICC-Processors/LS1021-ucc-uart-giving-kernel-panic/m-p/1177788#M3453</link>
    <description>&lt;P&gt;Would you please provide your Linux Kernel bootup log?&lt;/P&gt;</description>
    <pubDate>Wed, 04 Nov 2020 08:48:14 GMT</pubDate>
    <dc:creator>yipingwang</dc:creator>
    <dc:date>2020-11-04T08:48:14Z</dc:date>
    <item>
      <title>LS1021 ucc_uart giving kernel panic</title>
      <link>https://community.nxp.com/t5/PowerQUICC-Processors/LS1021-ucc-uart-giving-kernel-panic/m-p/1172666#M3431</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am working on LS1021ATWR. I downloaded NXP provided SDK for kernel development. I enabled required configrurations for ucc_uart&amp;nbsp; and hdlc (QE engine).I didnt modify anything in the source code. When running test application, ucc_uart is throwing error. LPUART works fine in that application.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;root@ls1021atwr:~# /serial_test -s -e -p /dev/ttyLP0 
Linux serial test app
/dev/ttyLP0: No data received for 2.3s.
/dev/ttyLP0: No data received for 3.6s.
/dev/ttyLP0: No data received for 5.0s.
/dev/ttyLP0: count for this session: rx=0, tx=69392, rx err=0
/dev/ttyLP0: TIOCGICOUNT: ret=0, rx=0, tx=65297, frame = 0, overrun = 0, parity = 0, brk = 0, buf_overrun = 0
/dev/ttyLP0: No data received for 6.3s.
/dev/ttyLP0: No data received for 7.6s.
random: nonblocking pool is initialized
/dev/ttyLP0: No data received for 9.0s.
/dev/ttyLP0: No data received for 10.3s.
/dev/ttyLP0: No data received for 11.6s.
/dev/ttyLP0: count for this session: rx=0, tx=138513, rx err=0
/dev/ttyLP0: TIOCGICOUNT: ret=0, rx=0, tx=134418, frame = 0, overrun = 0, parity = 0, brk = 0, buf_overrun = 0
^C
root@ls1021atwr:~# /serial_test -s -e -p /dev/ttyQE0 
Linux serial test app
qe2cpu_addr: addr=0
------------[ cut here ]------------
kernel BUG at /home/zumi/QorIQ-SDK-V2.0-20160527-yocto/build_ls1021atwr/tmp/work-shared/ls1021atwr/kernel-source/drivers/tty/serial/ucc_uar!
Internal error: Oops - BUG: 0 [#1] SMP THUMB2
Modules linked in:
CPU: 1 PID: 330 Comm: serial_test Not tainted 4.1.8-rt8+gbd51baf #25
Hardware name: Freescale LS1021A
task: bebaf440 ti: be00a000 task.ti: be00a000
PC is at qe_uart_tx_pump+0x16e/0x1dc
LR is at qe_uart_tx_pump+0x16f/0x1dc
pc : [&amp;lt;801e2a22&amp;gt;]    lr : [&amp;lt;801e2a23&amp;gt;]    psr: a00600b3
sp : be00be98  ip : 00000030  fp : 00000400
r10: 60060013  r9 : be4cb600  r8 : 00000000
r7 : bf09c000  r6 : bf0bc400  r5 : c0850520  r4 : be804400
r3 : 00000001  r2 : 00000000  r1 : 00000007  r0 : 00000013
Flags: NzCv  IRQs off  FIQs on  Mode SVC_32  ISA Thumb  Segment user
Control: 70c5387d  Table: beb90a80  DAC: e6bff97b
Process serial_test (pid: 330, stack limit = 0xbe00a210)
Stack: (0xbe00be98 to 0xbe00c000)
be80:                                                       be804400 bf0bc400
bea0: 00000000 be4ce000 be804400 801e2d7b 00000000 801dc75f 801dc6d7 be4cb600
bec0: 00000400 be4cdc00 c0bf3274 be4cb680 be403540 be4cdc00 beb90cc0 801ce89f
bee0: be4cb78c 800acb51 00000041 00000000 bebaf440 8004d3e7 be4cb790 be4cb790
bf00: 00000000 be4cb600 00000000 00000400 801ce65d 00025018 00000400 be00a000
bf20: beb90cc0 801cc19d 00001538 be403540 801ce65d 00000400 00000000 00000400
bf40: be403540 00025018 be00bf88 80018bc4 be00a000 00000000 00000000 800a414b
bf60: be403540 00025018 00000400 be403540 be403540 00025018 00000400 80018bc4
bf80: be00a000 800a4627 00000000 00000000 00000400 00012455 00000000 00010999
bfa0: 00000004 80018a21 00012455 00000000 00000003 00025018 00000400 00000400
bfc0: 00012455 00000000 00010999 00000004 00000000 00000000 76f35000 00000000
bfe0: 00000000 7edadbf4 00011809 76e890b0 60060010 00000003 00001fff 00002000
[&amp;lt;801e2a22&amp;gt;] (qe_uart_tx_pump) from [&amp;lt;801e2d7b&amp;gt;] (qe_uart_start_tx+0x1f/0x42)
[&amp;lt;801e2d7b&amp;gt;] (qe_uart_start_tx) from [&amp;lt;801dc75f&amp;gt;] (uart_write+0x89/0x9a)
[&amp;lt;801dc75f&amp;gt;] (uart_write) from [&amp;lt;801ce89f&amp;gt;] (n_tty_write+0x243/0x2c4)
[&amp;lt;801ce89f&amp;gt;] (n_tty_write) from [&amp;lt;801cc19d&amp;gt;] (tty_write+0x109/0x17c)
[&amp;lt;801cc19d&amp;gt;] (tty_write) from [&amp;lt;800a414b&amp;gt;] (vfs_write+0x63/0xd8)
[&amp;lt;800a414b&amp;gt;] (vfs_write) from [&amp;lt;800a4627&amp;gt;] (SyS_write+0x27/0x54)
[&amp;lt;800a4627&amp;gt;] (SyS_write) from [&amp;lt;80018a21&amp;gt;] (ret_fast_syscall+0x1/0x4c)
Code: 491b 481b f148 fb65 (de02) f04f 
---[ end trace ee79774bc7f1b2a6 ]---&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 24 Oct 2020 10:54:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/PowerQUICC-Processors/LS1021-ucc-uart-giving-kernel-panic/m-p/1172666#M3431</guid>
      <dc:creator>m_syed_ahmed</dc:creator>
      <dc:date>2020-10-24T10:54:41Z</dc:date>
    </item>
    <item>
      <title>Re: LS1021 ucc_uart giving kernel panic</title>
      <link>https://community.nxp.com/t5/PowerQUICC-Processors/LS1021-ucc-uart-giving-kernel-panic/m-p/1174188#M3432</link>
      <description>&lt;P&gt;Please check whether the following message would be found when booting the target board.&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;of_serial 2402200.ucc: clk or clock-frequency not defined&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;of_serial: probe of 2402200.ucc failed with error -2&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Freescale QUICC Engine UART device driver&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;ucc-uart: Using loopback mode&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;2402200.ucc: ttyQE1 at MMIO 0x2402200 (irq = 288, base_baud = 6250000) is a QE&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;ucc_uart 2402200.ucc: UCC3 assigned to /dev/ttyQE1&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;The attached is QE ucode image, please check whether you have programmed QE ucode image at 0x600c0000 on NOR flash.&lt;/P&gt;</description>
      <pubDate>Wed, 28 Oct 2020 03:34:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/PowerQUICC-Processors/LS1021-ucc-uart-giving-kernel-panic/m-p/1174188#M3432</guid>
      <dc:creator>yipingwang</dc:creator>
      <dc:date>2020-10-28T03:34:12Z</dc:date>
    </item>
    <item>
      <title>Re: LS1021 ucc_uart giving kernel panic</title>
      <link>https://community.nxp.com/t5/PowerQUICC-Processors/LS1021-ucc-uart-giving-kernel-panic/m-p/1174255#M3433</link>
      <description>&lt;P&gt;Hi&amp;nbsp;yipingwang,&lt;/P&gt;&lt;P&gt;Thanks for the QE code. It works fine. Can you tell me how to enable HDLC in the same serial port? We needs both HDLC and UART in the same port.&lt;/P&gt;</description>
      <pubDate>Wed, 28 Oct 2020 06:06:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/PowerQUICC-Processors/LS1021-ucc-uart-giving-kernel-panic/m-p/1174255#M3433</guid>
      <dc:creator>m_syed_ahmed</dc:creator>
      <dc:date>2020-10-28T06:06:48Z</dc:date>
    </item>
    <item>
      <title>Re: LS1021 ucc_uart giving kernel panic</title>
      <link>https://community.nxp.com/t5/PowerQUICC-Processors/LS1021-ucc-uart-giving-kernel-panic/m-p/1175102#M3434</link>
      <description>&lt;P&gt;HDLC also giving Kernel Panic.&amp;nbsp;&lt;/P&gt;&lt;P&gt;dts file entry&lt;/P&gt;&lt;P&gt;&amp;amp;uqe {&lt;BR /&gt;status = "okay";&lt;BR /&gt;serial: ucc@2000 {&lt;BR /&gt;device_type = "serial";&lt;BR /&gt;compatible = "ucc_uart";&lt;BR /&gt;cell-index = &amp;lt;1&amp;gt;;&lt;BR /&gt;port-number = &amp;lt;0&amp;gt;;&lt;BR /&gt;reg = &amp;lt;0x2000 0x200&amp;gt;;&lt;BR /&gt;rx-clock-name = "brg1";&lt;BR /&gt;tx-clock-name = "brg1";&lt;BR /&gt;};&lt;/P&gt;&lt;P&gt;ucc_hdlc: ucc@2200 {&lt;BR /&gt;compatible = "fsl,ucc_hdlc";&lt;BR /&gt;rx-clock-name = "brg2";&lt;BR /&gt;tx-clock-name = "brg2";&lt;BR /&gt;fsl,rx-sync-clock = "none";&lt;BR /&gt;fsl,tx-sync-clock = "none";&lt;BR /&gt;fsl,tx-timeslot = &amp;lt;0xfffffffe&amp;gt;;&lt;BR /&gt;fsl,rx-timeslot = &amp;lt;0xfffffffe&amp;gt;;&lt;BR /&gt;fsl,tdm-framer-type = "e1";&lt;BR /&gt;fsl,tdm-mode = "normal";&lt;BR /&gt;fsl,tdm-id = &amp;lt;1&amp;gt;;&lt;BR /&gt;fsl,siram-entry-id = &amp;lt;2&amp;gt;;&lt;BR /&gt;fsl,inter-loopback;&lt;BR /&gt;};&lt;BR /&gt;};&lt;/P&gt;&lt;P&gt;&amp;nbsp; Enabled&amp;nbsp;FSL_UCC_HDLC,&amp;nbsp;CONFIG_FSL_UCC_TDM,&amp;nbsp;CONFIG_QUICC_ENGINE in menuconfig.&lt;/P&gt;&lt;P&gt;Log File&lt;/P&gt;&lt;P&gt;root@atc-gen2:~# ifconfig hdlc0 192.168.0.1 up&lt;BR /&gt;root@atc-gen2:~# route add -net 192.168.0.0 netmask 255.255.255.0 gw 192.168.0.1 hdlc0;&lt;BR /&gt;root@atc-gen2:~# route -n&lt;BR /&gt;Kernel IP routing table&lt;BR /&gt;Destination Gateway Genmask Flags Metric Ref Use Iface&lt;BR /&gt;192.168.0.0 192.168.0.1 255.255.255.0 UG 0 0 0 hdlc0&lt;BR /&gt;root@atc-gen2:~# ping 192.168.0.2;&lt;BR /&gt;PING 192.168.0.2(192.168.0.2)Unable to handle kernel NULL pointer dereference at virtual address 00000020&lt;BR /&gt;: 56 data bytespgd = be620840&lt;/P&gt;&lt;P&gt;[00000020] *pgd=be6c2003, *pmd=bebad003, *pte=00000000&lt;BR /&gt;Internal error: Oops: 207 [#1] SMP THUMB2&lt;BR /&gt;Modules linked in:&lt;BR /&gt;CPU: 1 PID: 342 Comm: ping Not tainted 4.1.8-rt8+gbd51baf #38&lt;BR /&gt;Hardware name: Freescale LS1021A&lt;BR /&gt;task: be659c80 ti: be6c6000 task.ti: be6c6000&lt;BR /&gt;PC is at hdlc_start_xmit+0x14/0x54&lt;BR /&gt;LR is at hdlc_start_xmit+0xf/0x54&lt;BR /&gt;pc : [&amp;lt;8023fb28&amp;gt;] lr : [&amp;lt;8023fb23&amp;gt;] psr: 600b0033&lt;BR /&gt;sp : be6c7ca8 ip : 00000030 fp : 00000000&lt;BR /&gt;r10: be970200 r9 : 00000001 r8 : 00000000&lt;BR /&gt;r7 : bf1cf000 r6 : be419c00 r5 : be419c00 r4 : bf1cf000&lt;BR /&gt;r3 : 00000000 r2 : 3f2bd000 r1 : bf7d942c r0 : 8047275d&lt;BR /&gt;Flags: nZCv IRQs on FIQs on Mode SVC_32 ISA Thumb Segment user&lt;BR /&gt;Control: 70c5387d Table: be620840 DAC: e6b7f17b&lt;BR /&gt;Process ping (pid: 342, stack limit = 0xbe6c6210)&lt;BR /&gt;Stack: (0xbe6c7ca8 to 0xbe6c8000)&lt;BR /&gt;7ca0: be54bc00 be419c00 be419c00 802b8001 00000000 bf1cf000&lt;BR /&gt;7cc0: 00000000 be6c7d0c 805252f4 bf1cf000 bf1cf000 00000000 be970200 00000000&lt;BR /&gt;7ce0: 00000000 be54bc00 be970200 be419c00 bf1cf000 be54bc68 00000001 be54bc68&lt;BR /&gt;7d00: 00000000 802c7857 be419c00 00000010 bf1cf000 be54bc00 be419c00 bf1cf000&lt;BR /&gt;7d20: be970200 00000000 00000000 802b81e7 be54bc68 00000001 00000800 fffffff4&lt;BR /&gt;7d40: be419c00 be54b800 bf1cf000 beb84e00 00000040 00000000 00000000 802d2285&lt;BR /&gt;7d60: 4550c7f6 801aaf0b ffffc4a0 0200a8c0 be54ba20 be419c00 bf1d0c80 bf1cf000&lt;BR /&gt;7d80: be6c7ee4 00000040 00000000 802d3137 00000000 802d2abd be65a100 be54ba00&lt;BR /&gt;7da0: be6c7df8 be419c00 bf1d0c80 802d2b75 bf1d0c80 8054c4c0 00000000 802d3817&lt;BR /&gt;7dc0: 00000000 bf1d0c80 00000000 802e8d23 00000040 00000000 be6c7e08 be6c7df0&lt;BR /&gt;7de0: 00000000 bf8054e0 00000000 00000000 00000000 8007a325 be6c7ee4 00000008&lt;BR /&gt;7e00: be5185b0 00000002 0200a8c0 00000000 00000000 ffff0000 80551740 00000000&lt;BR /&gt;7e20: 80022cdb be5184e0 bffbd5a0 be5184e0 76fad000 80094b6f 00000005 00000001&lt;BR /&gt;7e40: 00000000 00010000 00000000 0100a8c0 0200a8c0 00000008 00005401 be5184e0&lt;BR /&gt;7e60: be1ad75f 00e00000 be526db8 bf2b1c00 fffff000 000000ff 00000d68 80092093&lt;BR /&gt;7e80: 00000000 bf2b1c00 be6c7ee4 76fac000 04600000 00111ae8 bec46f00 be6c7f10&lt;BR /&gt;7ea0: 00000000 bec46f00 0000001c 00111ae8 be6c6000 00000000 00000000 802a9459&lt;BR /&gt;7ec0: 00000000 802aa0d5 be6c7eec 8004d08b 000080d0 00000000 00000000 001140f8&lt;BR /&gt;7ee0: 00000040 be6c7f10 0000001c 00000001 00000000 00000000 be6c7ee4 00000000&lt;BR /&gt;7f00: 00000000 00000000 00000000 bf1d0c80 00000002 0200a8c0 00000000 00000000&lt;BR /&gt;7f20: 00000000 00000000 00000000 00000000 81e64bc4 00000000 81e3e91e 00000000&lt;BR /&gt;7f40: ffffffff 00ffffff 00000000 002887fa 76f02000 be6c7f90 00000001 000120cc&lt;BR /&gt;7f60: 00000107 80018bc4 be6c6000 00000001 000120cc 00000107 80018bc4 7ebc8b68&lt;BR /&gt;7f80: 00000008 00000000 7ebc8b68 8005dadd 00111ae8 0000001c 000473ec 00000122&lt;BR /&gt;7fa0: 80018bc4 80018a21 00111ae8 0000001c 00000000 001140f8 00000040 00000000&lt;BR /&gt;7fc0: 00111ae8 0000001c 000473ec 00000122 00000000 7ebc8bf0 00111840 00000000&lt;BR /&gt;7fe0: 7ebc8b60 7ebc8b54 00021d0c 76e99a58 600b0010 00000000 ffffffff ffffffff&lt;BR /&gt;[&amp;lt;8023fb28&amp;gt;] (hdlc_start_xmit) from [&amp;lt;802b8001&amp;gt;] (dev_hard_start_xmit+0x187/0x1ea)&lt;BR /&gt;[&amp;lt;802b8001&amp;gt;] (dev_hard_start_xmit) from [&amp;lt;802c7857&amp;gt;] (sch_direct_xmit+0x77/0x140)&lt;BR /&gt;[&amp;lt;802c7857&amp;gt;] (sch_direct_xmit) from [&amp;lt;802b81e7&amp;gt;] (__dev_queue_xmit+0x183/0x374)&lt;BR /&gt;[&amp;lt;802b81e7&amp;gt;] (__dev_queue_xmit) from [&amp;lt;802d2285&amp;gt;] (ip_finish_output+0x689/0x6c8)&lt;BR /&gt;[&amp;lt;802d2285&amp;gt;] (ip_finish_output) from [&amp;lt;802d3137&amp;gt;] (ip_output+0x8f/0xc8)&lt;BR /&gt;[&amp;lt;802d3137&amp;gt;] (ip_output) from [&amp;lt;802d3817&amp;gt;] (ip_send_skb+0xb/0x74)&lt;BR /&gt;[&amp;lt;802d3817&amp;gt;] (ip_send_skb) from [&amp;lt;802e8d23&amp;gt;] (raw_sendmsg+0x41f/0x58c)&lt;BR /&gt;[&amp;lt;802e8d23&amp;gt;] (raw_sendmsg) from [&amp;lt;802a9459&amp;gt;] (sock_sendmsg+0xb/0x16)&lt;BR /&gt;[&amp;lt;802a9459&amp;gt;] (sock_sendmsg) from [&amp;lt;802aa0d5&amp;gt;] (SyS_sendto+0x6d/0x80)&lt;BR /&gt;[&amp;lt;802aa0d5&amp;gt;] (SyS_sendto) from [&amp;lt;80018a21&amp;gt;] (ret_fast_syscall+0x1/0x4c)&lt;BR /&gt;Code: fbcd f8d4 34c8 480d (6a19) f0eb&lt;BR /&gt;---[ end trace 97f619b8ef20b610 ]---&lt;BR /&gt;Kernel panic - not syncing: Fatal exception in interrupt&lt;BR /&gt;CPU0: stopping&lt;BR /&gt;CPU: 0 PID: 0 Comm: swapper/0 Tainted: G D 4.1.8-rt8+gbd51baf #38&lt;BR /&gt;Hardware name: Freescale LS1021A&lt;BR /&gt;[&amp;lt;8001caa1&amp;gt;] (unwind_backtrace) from [&amp;lt;8001add7&amp;gt;] (show_stack+0xb/0xc)&lt;BR /&gt;[&amp;lt;8001add7&amp;gt;] (show_stack) from [&amp;lt;8032d5b9&amp;gt;] (dump_stack+0x51/0x64)&lt;BR /&gt;[&amp;lt;8032d5b9&amp;gt;] (dump_stack) from [&amp;lt;8001c187&amp;gt;] (handle_IPI+0x7f/0xf4)&lt;BR /&gt;[&amp;lt;8001c187&amp;gt;] (handle_IPI) from [&amp;lt;80009337&amp;gt;] (gic_handle_irq+0x37/0x40)&lt;BR /&gt;[&amp;lt;80009337&amp;gt;] (gic_handle_irq) from [&amp;lt;80330ddb&amp;gt;] (__irq_svc+0x3b/0x5c)&lt;BR /&gt;Exception stack(0x80523f58 to 0x80523fa0)&lt;BR /&gt;3f40: 00000001 00000000&lt;BR /&gt;3f60: 00000000 80023141 80522000 00000000 00000000 80523fa8 8051c41c 00000001&lt;BR /&gt;3f80: 805148f0 00000000 80524180 80523fa0 80019431 80019432 40060033 ffffffff&lt;BR /&gt;[&amp;lt;80330ddb&amp;gt;] (__irq_svc) from [&amp;lt;80019432&amp;gt;] (arch_cpu_idle+0x14/0x1e)&lt;BR /&gt;[&amp;lt;80019432&amp;gt;] (arch_cpu_idle) from [&amp;lt;8004dad9&amp;gt;] (cpu_startup_entry+0x175/0x1b0)&lt;BR /&gt;[&amp;lt;8004dad9&amp;gt;] (cpu_startup_entry) from [&amp;lt;804ec917&amp;gt;] (start_kernel+0x273/0x2dc)&lt;BR /&gt;---[ end Kernel panic - not syncing: Fatal exception in interrupt&lt;/P&gt;</description>
      <pubDate>Thu, 29 Oct 2020 07:34:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/PowerQUICC-Processors/LS1021-ucc-uart-giving-kernel-panic/m-p/1175102#M3434</guid>
      <dc:creator>m_syed_ahmed</dc:creator>
      <dc:date>2020-10-29T07:34:12Z</dc:date>
    </item>
    <item>
      <title>Re: LS1021 ucc_uart giving kernel panic</title>
      <link>https://community.nxp.com/t5/PowerQUICC-Processors/LS1021-ucc-uart-giving-kernel-panic/m-p/1175174#M3437</link>
      <description>&lt;P&gt;You could download&amp;nbsp; sethdlc&amp;nbsp; application&amp;nbsp; from &lt;A href="https://mirrors.edge.kernel.org/pub/linux/utils/net/hdlc/" target="_blank"&gt;https://mirrors.edge.kernel.org/pub/linux/utils/net/hdlc/&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;Please refer to the following procedure to test hdlc&lt;/P&gt;
&lt;P&gt;root@ls1021atwr:~# ./sethdlc hdlc0 hdlc&lt;BR /&gt;root@ls1021atwr:~# ifconfig hdlc0 192.168.0.1 up&lt;BR /&gt;root@ls1021atwr:~# route add -net 192.168.0.0 netmask 255.255.255.0 gw 192.168.0.1 hdlc0&lt;BR /&gt;root@ls1021atwr:~# ping 192.168.0.2 -c 2&lt;BR /&gt;PING 192.168.0.2 (192.168.0.2) 56(84) bytes of data.&lt;/P&gt;
&lt;P&gt;Transmitted data:&lt;BR /&gt;68 &lt;BR /&gt;aa 44 &lt;BR /&gt;0 0 &lt;BR /&gt;0 54 &lt;BR /&gt;73 16 &lt;BR /&gt;40 0 &lt;BR /&gt;40 1 &lt;BR /&gt;46 3f &lt;BR /&gt;c0 &lt;BR /&gt;Received data:&lt;BR /&gt;68 &lt;BR /&gt;aa 44 &lt;BR /&gt;0 0 &lt;BR /&gt;0 54 &lt;BR /&gt;73 16 &lt;BR /&gt;40 0 &lt;BR /&gt;40 1 &lt;BR /&gt;46 3f &lt;BR /&gt;c0 &lt;BR /&gt;Transmitted data:&lt;BR /&gt;69 &lt;BR /&gt;aa 44 &lt;BR /&gt;0 0 &lt;BR /&gt;0 54 &lt;BR /&gt;73 29 &lt;BR /&gt;40 0 &lt;BR /&gt;40 1 &lt;BR /&gt;46 2c &lt;BR /&gt;c0&lt;/P&gt;</description>
      <pubDate>Thu, 29 Oct 2020 08:55:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/PowerQUICC-Processors/LS1021-ucc-uart-giving-kernel-panic/m-p/1175174#M3437</guid>
      <dc:creator>yipingwang</dc:creator>
      <dc:date>2020-10-29T08:55:18Z</dc:date>
    </item>
    <item>
      <title>Re: LS1021 ucc_uart giving kernel panic</title>
      <link>https://community.nxp.com/t5/PowerQUICC-Processors/LS1021-ucc-uart-giving-kernel-panic/m-p/1175231#M3439</link>
      <description>&lt;P class="lia-indent-padding-left-30px"&gt;Hi&amp;nbsp;&lt;SPAN&gt;yipingwang,&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;SPAN&gt;I am currently working on Single board without loopback. I think I can only test Tx alone. HDLC is transmitting continously, but UART transmits only once. Can you suggest why its happening?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;root@atc-gen2:~# /serial_test -s -e -p /dev/ttyQE0&lt;BR /&gt;Linux serial test app&lt;BR /&gt;/dev/ttyQE0: No data received for 2.0s. No data transmitted for 2.0s.&lt;BR /&gt;/dev/ttyQE0: No data received for 3.0s. No data transmitted for 3.0s.&lt;BR /&gt;/dev/ttyQE0: No data received for 4.0s. No data transmitted for 4.0s.&lt;BR /&gt;/dev/ttyQE0: No data received for 5.0s. No data transmitted for 5.0s.&lt;BR /&gt;/dev/ttyQE0: No data received for 6.0s. No data transmitted for 6.0s.&lt;BR /&gt;/dev/ttyQE0: count for this session: rx=0, tx=4223, rx err=0&lt;BR /&gt;&lt;STRONG&gt;/dev/ttyQE0: TIOCGICOUNT: ret=0, rx=0, tx=128, frame = 0, overrun = 0, parity = 0, brk = 0, buf_overrun = 0&lt;/STRONG&gt;&lt;BR /&gt;/dev/ttyQE0: No data received for 7.0s. No data transmitted for 7.0s.&lt;BR /&gt;/dev/ttyQE0: No data received for 8.0s. No data transmitted for 8.0s.&lt;BR /&gt;/dev/ttyQE0: No data received for 9.0s. No data transmitted for 9.0s.&lt;BR /&gt;/dev/ttyQE0: No data received for 10.0s. No data transmitted for 10.0s.&lt;BR /&gt;/dev/ttyQE0: No data received for 11.0s. No data transmitted for 11.0s.&lt;BR /&gt;/dev/ttyQE0: No data received for 12.0s. No data transmitted for 12.0s.&lt;BR /&gt;/dev/ttyQE0: count for this session: rx=0, tx=4223, rx err=0&lt;BR /&gt;&lt;STRONG&gt;/dev/ttyQE0: TIOCGICOUNT: ret=0, rx=0, tx=128, frame = 0, overrun = 0, parity = 0, brk = 0, buf_overrun = 0&lt;/STRONG&gt;&lt;BR /&gt;/dev/ttyQE0: No data received for 13.0s. No data transmitted for 13.0s.&lt;BR /&gt;^Cucc_uart 2402000.ucc: shutdown timeout&lt;/P&gt;&lt;P&gt;root@atc-gen2:~# /se&lt;BR /&gt;serial_test sethdlc&lt;BR /&gt;root@atc-gen2:~# /sethdlc hdlc0 hdlc&lt;BR /&gt;root@atc-gen2:~# ifconfig hdlc0 192.168.0.1 up&lt;BR /&gt;hdlc0: Carrier detected&lt;BR /&gt;root@atc-gen2:~# route add -net 192.168.0.0 netmask 255.255.255.0 gw 192.168.0.1 hdlc0;&lt;BR /&gt;root@atc-gen2:~# route add -net 192.168.0.0 netmask 255.255.255.0 gw 192.168.0.1 hdlc0&lt;BR /&gt;route: SIOCADDRT: File exists&lt;BR /&gt;root@atc-gen2:~# ping 192.168.0.2 -c 4&lt;BR /&gt;PING 192.168.0.2 (192.168.0.2): 56 data bytes&lt;/P&gt;&lt;P&gt;--- 192.168.0.2 ping statistics ---&lt;BR /&gt;&lt;STRONG&gt;4 packets transmitted, 0 packets received, 100% packet loss&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;root@atc-gen2:~# ifconfig hdlc0&lt;BR /&gt;hdlc0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00&lt;BR /&gt;inet addr:192.168.0.1 P-t-P:192.168.0.1 Mask:255.255.255.255&lt;BR /&gt;UP POINTOPOINT RUNNING NOARP MTU:1500 Metric:1&lt;BR /&gt;&lt;STRONG&gt;RX packets:0 errors:0 dropped:0 overruns:0 frame:0&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;TX packets:0 errors:0 dropped:0 overruns:0 carrier:0&lt;/STRONG&gt;&lt;BR /&gt;collisions:0 txqueuelen:16&lt;BR /&gt;RX bytes:0 (0.0 B) TX bytes:172 (172.0 B)&lt;/P&gt;&lt;P&gt;root@atc-gen2:~#&lt;/P&gt;</description>
      <pubDate>Thu, 29 Oct 2020 11:20:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/PowerQUICC-Processors/LS1021-ucc-uart-giving-kernel-panic/m-p/1175231#M3439</guid>
      <dc:creator>m_syed_ahmed</dc:creator>
      <dc:date>2020-10-29T11:20:35Z</dc:date>
    </item>
    <item>
      <title>Re: LS1021 ucc_uart giving kernel panic</title>
      <link>https://community.nxp.com/t5/PowerQUICC-Processors/LS1021-ucc-uart-giving-kernel-panic/m-p/1175283#M3440</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am currently testing in Single board without loopback. So, I think I can test Tx operation alone. In that case, HDLC is transmitting continously while UART transmits only once. HDLC Tx packets was not increasing in ifconfig output.&lt;/P&gt;&lt;P&gt;root@atc-gen2:~# /serial_test -s -e -p /dev/ttyQE0&lt;BR /&gt;Linux serial test app&lt;BR /&gt;/dev/ttyQE0: No data received for 2.0s. No data transmitted for 2.0s.&lt;BR /&gt;/dev/ttyQE0: No data received for 3.0s. No data transmitted for 3.0s.&lt;BR /&gt;/dev/ttyQE0: No data received for 4.0s. No data transmitted for 4.0s.&lt;BR /&gt;/dev/ttyQE0: No data received for 5.0s. No data transmitted for 5.0s.&lt;BR /&gt;/dev/ttyQE0: No data received for 6.0s. No data transmitted for 6.0s.&lt;BR /&gt;/dev/ttyQE0: count for this session: rx=0, tx=4223, rx err=0&lt;BR /&gt;/dev/ttyQE0: TIOCGICOUNT: ret=0, rx=0, tx=128, frame = 0, overrun = 0, parity = 0, brk = 0, buf_overrun = 0&lt;BR /&gt;/dev/ttyQE0: No data received for 7.0s. No data transmitted for 7.0s.&lt;BR /&gt;/dev/ttyQE0: No data received for 8.0s. No data transmitted for 8.0s.&lt;BR /&gt;/dev/ttyQE0: No data received for 9.0s. No data transmitted for 9.0s.&lt;BR /&gt;/dev/ttyQE0: No data received for 10.0s. No data transmitted for 10.0s.&lt;BR /&gt;/dev/ttyQE0: No data received for 11.0s. No data transmitted for 11.0s.&lt;BR /&gt;/dev/ttyQE0: No data received for 12.0s. No data transmitted for 12.0s.&lt;BR /&gt;/dev/ttyQE0: count for this session: rx=0, tx=4223, rx err=0&lt;BR /&gt;/dev/ttyQE0: TIOCGICOUNT: ret=0, rx=0, tx=128, frame = 0, overrun = 0, parity = 0, brk = 0, buf_overrun = 0&lt;BR /&gt;/dev/ttyQE0: No data received for 13.0s. No data transmitted for 13.0s.&lt;BR /&gt;/dev/ttyQE0: No data received for 14.0s. No data transmitted for 14.0s.&lt;BR /&gt;/dev/ttyQE0: No data received for 15.0s. No data transmitted for 15.0s.&lt;BR /&gt;^Cucc_uart 2402000.ucc: shutdown timeout&lt;/P&gt;&lt;P&gt;root@atc-gen2:~# /sethdlc hdlc0 hdlc&lt;BR /&gt;fconfig hdlc0 192.168.0.1 up&lt;BR /&gt;route add -net 192.168.0.0 netmask 255.255.255.0 gw 192.168.0.root@atc-gen2:~# ifconfig hdlchdlc0: Carrier detected&lt;BR /&gt;0 192.168.0.1 up&lt;BR /&gt;dlc0&lt;BR /&gt;ping 192.168.0.2root@atc-gen2:~# route add -net 192.168.0.0 netmask 255.255.255.0 gw 192.168.0.1 hdlc0&lt;BR /&gt;root@atc-gen2:~# ping 192.168.0.2&lt;BR /&gt;PING 192.168.0.Tx data skb-&amp;gt;len:86 2 (192.168.0.2)&lt;BR /&gt;: 56 data bytes&lt;BR /&gt;Transmitted data:&lt;/P&gt;&lt;P&gt;ff&lt;BR /&gt;44&lt;BR /&gt;45&lt;BR /&gt;00&lt;BR /&gt;00&lt;BR /&gt;54&lt;BR /&gt;1f&lt;BR /&gt;f9&lt;BR /&gt;40&lt;BR /&gt;00&lt;BR /&gt;40&lt;BR /&gt;01&lt;BR /&gt;99&lt;BR /&gt;5c&lt;BR /&gt;c0&lt;BR /&gt;a8&lt;BR /&gt;Tx data skb-&amp;gt;len:86&lt;/P&gt;&lt;P&gt;Transmitted data:&lt;BR /&gt;ff&lt;BR /&gt;44&lt;BR /&gt;45&lt;BR /&gt;00&lt;BR /&gt;00&lt;BR /&gt;54&lt;BR /&gt;20&lt;BR /&gt;42&lt;BR /&gt;40&lt;BR /&gt;00&lt;BR /&gt;40&lt;BR /&gt;01&lt;BR /&gt;99&lt;BR /&gt;13&lt;BR /&gt;c0&lt;BR /&gt;a8&lt;BR /&gt;Tx data skb-&amp;gt;len:86&lt;/P&gt;&lt;P&gt;Transmitted data:&lt;BR /&gt;ff&lt;BR /&gt;44&lt;BR /&gt;45&lt;BR /&gt;00&lt;BR /&gt;00&lt;BR /&gt;54&lt;BR /&gt;20&lt;BR /&gt;6e&lt;BR /&gt;40&lt;BR /&gt;00&lt;BR /&gt;40&lt;BR /&gt;01&lt;BR /&gt;98&lt;BR /&gt;e7&lt;BR /&gt;c0&lt;BR /&gt;a8&lt;BR /&gt;Tx data skb-&amp;gt;len:86&lt;/P&gt;&lt;P&gt;Transmitted data:&lt;BR /&gt;ff&lt;BR /&gt;44&lt;BR /&gt;45&lt;BR /&gt;00&lt;BR /&gt;00&lt;BR /&gt;54&lt;BR /&gt;20&lt;BR /&gt;8a&lt;BR /&gt;40&lt;BR /&gt;00&lt;BR /&gt;40&lt;BR /&gt;01&lt;BR /&gt;98&lt;BR /&gt;cb&lt;BR /&gt;c0&lt;BR /&gt;a8&lt;BR /&gt;Tx data skb-&amp;gt;len:86&lt;/P&gt;&lt;P&gt;Transmitted data:&lt;BR /&gt;ff&lt;BR /&gt;44&lt;BR /&gt;45&lt;BR /&gt;00&lt;BR /&gt;00&lt;BR /&gt;54&lt;BR /&gt;20&lt;BR /&gt;ae&lt;BR /&gt;40&lt;BR /&gt;00&lt;BR /&gt;40&lt;BR /&gt;01&lt;BR /&gt;98&lt;BR /&gt;a7&lt;BR /&gt;c0&lt;BR /&gt;a8&lt;BR /&gt;^C&lt;BR /&gt;--- 192.168.0.2 ping statistics ---&lt;BR /&gt;5 packets transmitted, 0 packets received, 100% packet loss&lt;BR /&gt;root@atc-gen2:~# ifconfig hdlc0&lt;BR /&gt;hdlc0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00&lt;BR /&gt;inet addr:192.168.0.1 P-t-P:192.168.0.1 Mask:255.255.255.255&lt;BR /&gt;UP POINTOPOINT RUNNING NOARP MTU:1500 Metric:1&lt;BR /&gt;RX packets:0 errors:0 dropped:0 overruns:0 frame:0&lt;BR /&gt;TX packets:0 errors:0 dropped:0 overruns:0 carrier:0&lt;BR /&gt;collisions:0 txqueuelen:16&lt;BR /&gt;RX bytes:0 (0.0 B) TX bytes:430 (430.0 B)&lt;/P&gt;&lt;P&gt;root@atc-gen2:~#&lt;/P&gt;</description>
      <pubDate>Thu, 29 Oct 2020 12:33:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/PowerQUICC-Processors/LS1021-ucc-uart-giving-kernel-panic/m-p/1175283#M3440</guid>
      <dc:creator>m_syed_ahmed</dc:creator>
      <dc:date>2020-10-29T12:33:48Z</dc:date>
    </item>
    <item>
      <title>Re: LS1021 ucc_uart giving kernel panic</title>
      <link>https://community.nxp.com/t5/PowerQUICC-Processors/LS1021-ucc-uart-giving-kernel-panic/m-p/1177788#M3453</link>
      <description>&lt;P&gt;Would you please provide your Linux Kernel bootup log?&lt;/P&gt;</description>
      <pubDate>Wed, 04 Nov 2020 08:48:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/PowerQUICC-Processors/LS1021-ucc-uart-giving-kernel-panic/m-p/1177788#M3453</guid>
      <dc:creator>yipingwang</dc:creator>
      <dc:date>2020-11-04T08:48:14Z</dc:date>
    </item>
    <item>
      <title>Re: LS1021 ucc_uart giving kernel panic</title>
      <link>https://community.nxp.com/t5/PowerQUICC-Processors/LS1021-ucc-uart-giving-kernel-panic/m-p/1177799#M3454</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Even after flashing the QE code binary in corresponding memory address, UART was transmitting only once. But, after sometime, it started sending continously. HDLC also working as intended.&lt;/P&gt;&lt;P&gt;Now, I needs to enable both (HDLC and UART) in the same port. So, I am looking into QEIWRM for switching between protocols. Is that steps same for all processors? What should be the steps in LS1021-atwr? Also in which source code we needs to implement this switching between protocols steps?&lt;/P&gt;</description>
      <pubDate>Wed, 04 Nov 2020 09:10:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/PowerQUICC-Processors/LS1021-ucc-uart-giving-kernel-panic/m-p/1177799#M3454</guid>
      <dc:creator>m_syed_ahmed</dc:creator>
      <dc:date>2020-11-04T09:10:05Z</dc:date>
    </item>
    <item>
      <title>Re: LS1021 ucc_uart giving kernel panic</title>
      <link>https://community.nxp.com/t5/PowerQUICC-Processors/LS1021-ucc-uart-giving-kernel-panic/m-p/1177805#M3455</link>
      <description>&lt;P&gt;Would you please provide a new thread to address your new requirement?&lt;/P&gt;</description>
      <pubDate>Wed, 04 Nov 2020 09:16:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/PowerQUICC-Processors/LS1021-ucc-uart-giving-kernel-panic/m-p/1177805#M3455</guid>
      <dc:creator>yipingwang</dc:creator>
      <dc:date>2020-11-04T09:16:26Z</dc:date>
    </item>
    <item>
      <title>Re: LS1021 ucc_uart giving kernel panic</title>
      <link>https://community.nxp.com/t5/PowerQUICC-Processors/LS1021-ucc-uart-giving-kernel-panic/m-p/1177878#M3457</link>
      <description>&lt;P&gt;Created a new thread here.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/t5/PowerQUICC-Processors/switching-between-QUICC-slow-and-fast-protocols/td-p/1177877/jump-to/first-unread-message" target="_blank"&gt;https://community.nxp.com/t5/PowerQUICC-Processors/switching-between-QUICC-slow-and-fast-protocols/td-p/1177877/jump-to/first-unread-message&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Nov 2020 10:24:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/PowerQUICC-Processors/LS1021-ucc-uart-giving-kernel-panic/m-p/1177878#M3457</guid>
      <dc:creator>m_syed_ahmed</dc:creator>
      <dc:date>2020-11-04T10:24:30Z</dc:date>
    </item>
  </channel>
</rss>

