Hi, I have the DPDK driver running on the LS1043A. is there a way to debug the application via CodeWarrior? I would like to step through the code and understand how the DPAA driver works.
Thank you. I went through the manual, that talks about setting up a remote connection. But the board is connected via CodeWarrior TAP as USB serial port and not an IP address. What is to be done in that case?
Please refer to the section "8.2.2.2 Updating remote connection" in the document.
Please click Run->Debug Configuration->C/C++ Remote Application->Edit
Please specify the IP address of the Linux target board, specify the user name and password to login in the target board.
You could configure IP address on LS1043ARDB as the following
ifconfig fm1-mac1 10.171.171.10
Then try whether you could use ssh to access the target board, with the user name and password specified in CodeWarrior IDE.
In USDPAA dts file fsl-ls1043a-rdb-usdpaa.dts, all Ethernet ports have been assigned to DPDK, you need to delete one Ethernet port definition in the dts file to assign it to Linux Kernel.
fsl,dpaa {
compatible = "fsl,ls1043a", "fsl,dpaa", "simple-bus";
dma-coherent;
/* ethernet@0 {
compatible = "fsl,dpa-ethernet-init";
fsl,bman-buffer-pools = <&bp7 &bp8 &bp9>;
fsl,qman-frame-queues-rx = <0x50 1 0x51 1>;
fsl,qman-frame-queues-tx = <0x70 1 0x71 1>;
};*/
... ...