1、内核源码修改u-boot/include/env_default.h文件第32行的bootargs参数,修改后:
"bootargs= net.ifrenames=0 " CONFIG_BOOTARGS "\0"
2、修改rootfs里的lib/systemd/network/99-default.link文件:
[Match]
OriginalName=*
[Link]
NamePolicy=keep
AlternativeNamesPolicy=database onboard slot path
MACAddressPolicy=persistent
3、重新打包内核,刷入开发板