Referring to the AN13185 document, files can be downloaded normally using GMAC. Now I want to use other interfaces, such as PFE MAC1. How should I configure Uboot’s environment variables?
解決済! 解決策の投稿を見る。
Hello, @learnx
I just created BSP33 images and use them running on a RDB2 to have a try locally.
I found that with the following settings from uboot variables based on default settings, the PFE2(U58 from the picture you attached) could be used under u-boot to communicate with the host:
setenv pfengemac 2
setenv ipaddr xxxx
setenv serverip xxxx
ping $serverip
Attached to pfe2
Using eth_pfeng device
host xxxxx is alive
Hope it helps.
Best Regards
Chenyin
Hello, @learnx
I just created BSP33 images and use them running on a RDB2 to have a try locally.
I found that with the following settings from uboot variables based on default settings, the PFE2(U58 from the picture you attached) could be used under u-boot to communicate with the host:
setenv pfengemac 2
setenv ipaddr xxxx
setenv serverip xxxx
ping $serverip
Attached to pfe2
Using eth_pfeng device
host xxxxx is alive
Hope it helps.
Best Regards
Chenyin
您好!
请问s32g2ardb2在uboot阶段是否可以ping通pfe_emac0,也就是通过连接sja1110网口使用tftp,如何操作
谢谢
thank you
Hello, @learnx
Thanks for the questions
I could understand that you are using a RDB2, may I know which BSP used in your test? You may want to download images under U-boot via PFE port, is it right?
Best Regards
Chenyin
Sorry, the background of my question and my requirements are not very clear. I will ask again.
Hardware environment: S32G274ARDB2
Software environment: BSP33.0
Requirement: Download the sdcard image through the PFE port in Uboot
What I tried:
1. Follow the steps described in 2.3.4 "Flashing image with SD card-less" of document AN13185 to download the image normally. The port used in the document is GMAC.
2. I want to download the image through the PFE port. Under uboot, I tried to modify the environment variables ethact, pfengmac, pfeng_mode, ipaddr and serverip, but none of them successfully communicated with my host.