For functional reasons, I had to go to kernel 4.12 version for my LS1046A RDB evaluation card.
I used a mix between the kernel.org arm-soc branch for-next (kernel/git/arm/arm-soc.git - ARM SoC tree ) as main source and the kernel.org qbman version (kernel/git/leo/linux.git - Leo kernel tree ) for the driver/soc/fsl/qbman/ files. I had to patch the Kconfig for qbman driver to permit ARM ([PATCH 10/10] fsl/qbman: Enable FSL_LAYERSCAPE config on ARM ) and used the fragment freescale.config from the freescale upstream branch ldup (http://git.freescale.com/git/cgit.cgi/ppc/upstream/linux.git/tree/?h=ldup ). I modified the ls1046a dts files to add missing configurations (mainly pcie) (see joined tar file). The rest of the system is based on the LSDK 2.0 1703. I used the cryptodev from the qoriq open source (GitHub - qoriq-open-source/cryptodev-linux ) based on 1.9 version and remove all reference to dpaa user part and pkc-host (problem with includes).
The system is working, I have my Ethernets. But there are 2 problems:
- Uboot is wrongly modifying the dts MAC address. It begins with the first Ethernet which is disabled on the RDB card, so all MAC address are shifted and wrong. But this is not my real problem. I will look later with the denx qoriq version (git.denx.de Git - u-boot-fsl-qoriq.git/summary ) based on the 2017.06.
- The Ethernet port is receiving frames but sent frame are not going out. A tcpdump on the other side can't see anything. On the card side, ifconfig statistic show send tx data. This is my problem.
My question is: what can I do to debug this? I don't know where to look. I know this not the LSDK version of the kernel and I had to remove some parts of the base image. But I don't know what is wrong with this asymetrical problem.
Original Attachment has been moved to: u-boot.txt.zip
Original Attachment has been moved to: freescale_dts_1046ardb.tar.zip
Original Attachment has been moved to: linux.txt.zip