[FSL P50x0] DPAA Ethernet issue

Christian Zigotzky chzigotzky at xenosoft.de
Wed Jan 4 06:59:47 AEDT 2023



> On 3. Jan 2023, at 05:04, Christian Zigotzky <chzigotzky at xenosoft.de> wrote:
> 
> On 02 January 2023 at 04:32 am, Christian Zigotzky wrote:
>> On 01 January 2023 at 07:11 pm, Sean Anderson wrote:
>> 
>> Thank you for testing this. Unfortunately, I have no P-series hardware,
>> so I was unable to test the 10gec/dtsec parts of this conversion. I had
>> hoped that this would get tested by someone with the hardware (at NXP)
>> before now, but it seems you get to be the "lucky" first user.
>> 
>> I see you have labeled one of your kernels as supporting QEMU.  Do you
>> happen to have instructions for running Linux on QEMU?
>> 
>> Can you try the following patch. I think my mail client will mangle it,  so I have also attached it to this email.
>> 
>> ------------
>> 
>> Hi Sean,
>> 
>> Thanks a lot for your answer.
>> 
>> I use the virtio-net device in a virtual e5500 QEMU/KVM HV machine. [1] [2]
>> 
>> I will test your patch as soon as possible.
>> 
>> Thanks,
>> Christian
>> 
>> [1] QEMU command: qemu-system-ppc64 -M ppce500 -cpu e5500 -m 1024 -kernel uImage-6.2 -drive format=raw,file=void-live-powerpc-20220129.img,index=0,if=virtio -netdev user,id=mynet0 -device virtio-net,netdev=mynet0 -append "rw root=/dev/vda2" -device virtio-gpu -device virtio-mouse-pci -device virtio-keyboard-pci -device pci-ohci,id=newusb -audiodev id=sndbe,driver=pa,server=/run/user/1000/pulse/native -device usb-audio,bus=newusb.0 -enable-kvm -smp 4 -fsdev local,security_model=passthrough,id=fsdev0,path=/home/amigaone/Music -device virtio-9p-pci,id=fs0,fsdev=fsdev0,mount_tag=hostshare
>> 
>> [2] https://forum.hyperion-entertainment.com/viewtopic.php?p=46749
> 
> Hi Sean,
> 
> I tested your patch with the RC2 today but unfortunately the kernel doesn't link after compiling.
> 
> Error messages:
> 
>   LD      .tmp_vmlinux.kallsyms1
> `.exit.text' referenced in section `__bug_table' of crypto/algboss.o: defined in discarded section `.exit.text' of crypto/algboss.o
> `.exit.text' referenced in section `__bug_table' of crypto/algif_hash.o: defined in discarded section `.exit.text' of crypto/algif_hash.o
> `.exit.text' referenced in section `__bug_table' of drivers/char/hw_random/core.o: defined in discarded section `.exit.text' of drivers/char/hw_random/core.o
> make[1]: *** [scripts/Makefile.vmlinux:34: vmlinux] Error 1
> make: *** [Makefile:1252: vmlinux] Error 2
> 
> Maybe it is not an issue because of the patch because the RC1 compilied and linked with the patch.
> 
> @Dave
> Please test the RC1 with Sean's patch.
> 
> Download: http://www.xenosoft.de/uImage-6.2-dpaa-t1
> 
> Cheers,
> Christian

Hi Sean,

Dave successfully tested the DPAA Ethernet with the patched RC1 on his P5020 board (X5000) today.

Link to the test thread: https://forum.hyperion-entertainment.com/viewtopic.php?p=56360#p56360

Your patch has solved the issue. Thanks for your help.

Cheers,
Christian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20230103/eec9ed56/attachment.htm>


More information about the Linuxppc-dev mailing list