LS1021A-TWR QUICC ENGINE VALlDATION

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

LS1021A-TWR QUICC ENGINE VALlDATION

221 Views
manibharathi_27
Contributor I

Hello All,

I'm currently working on LS1021A - TWR Board. We have Successfully loaded the QUICC Firmware please find the below logs for your reference.

"Firmware 'Microcode version 0.0.1 for LS1021a r1.0' for 1021 V1.0
QE: uploading microcode 'Microcode for LS1021a r1.0' version 0.0.1"

I included the qe_ic driver and UCC Uart driver into the kernel. I got below logs for the successful loading of UCC uart driver.

[ 1.955532] Freescale QUICC Engine UART device driver
[ 1.961056] 2402000.ucc: ttyQE0 at MMIO 0x2402000 (irq = 38, base_baud = 9375000) is a QE
[ 1.969579] ucc_uart 2402000.ucc: UCC1 assigned to /dev/ttyQE0
[ 1.975734] 2402200.ucc: ttyQE1 at MMIO 0x2402200 (irq = 39, base_baud = 9375000) is a QE
[ 1.984191] ucc_uart 2402200.ucc: UCC3 assigned to /dev/ttyQE1

Once i get the console i check the interrupt entry of QUICC driver using the below command "cat /proc/interrupts"


Find the below attachment "interrupts.txt".

 

Please let me know whether I need to get the interrupt entry in the "/proc/interrupts".  And also I'm running the below commands for transmitting the data through ttyQE0 by using the below command.

echo "hi" > /dev/ttyQE0

Here I want to check whether I got transmitted the interrupt or not. Can you please help me to check it.

For your reference "TWR-LS1021A-kernel-logs.txt" attached below.


Thanks in Advance.

0 Kudos
1 Reply

109 Views
yipingwang
NXP TechSupport
NXP TechSupport

Verification in Linux

1. After uboot startup,set "qe" parameter in hwconfig.

2. After bootup kernel, create the device node manually:
  QE serial port1: mknod /dev/ttyQE0 c 204 46
  QE serial port2: mknod /dev/ttyQE1 c 204 47

3. Type the command: getty 115200 /dev/ttyQE0

4. Connect one console cable(RS485 to RS232)to PC COM2 and open a terminal binding with it, and Set the terminal baud rate to 115200.

5. You can type any shell command in UCC UART TERMINAL.

0 Kudos