Page 1 of 1

请教关于Luckfox Lyra Ultra W刷固件的问题

Posted: 2025-12-21 12:25
by hopkit
型号:Luckfox Lyra Ultra W
初始状态:刷官方Buildroot固件和Ubuntu固件一切正常,Ubuntu固件登陆后能正常sudo apt update/upgrade和安装程序。
后来,尝试执行sudo ./rkflash.sh erase 擦除eMMC之后,出现以下情况:

1.网口MAC地址改变了。后续无论刷Buildroot固件或Ubuntu固件,网口MAC地址都恢复不了原来的,请问能找回原来的MAC地址么?自定义MAC地址具体操作路径是怎样的?

2.擦除eMMC之后,Ubuntu固件无法正常升级,提示如下:
lyra@luckfox:~$ sudo apt update
[sudo] password for lyra:
Hit:1 http://ports.ubuntu.com/ubuntu-ports jammy InRelease
Get:2 http://ports.ubuntu.com/ubuntu-ports jammy-updates InRelease [128 kB]
Get:3 http://ports.ubuntu.com/ubuntu-ports jammy-backports InRelease [127 kB]
Get:4 http://ports.ubuntu.com/ubuntu-ports jammy-security InRelease [129 kB]
Reading package lists... Done
E: Release file for http://ports.ubuntu.com/ubuntu-ports/di ... /InRelease is not valid yet (invalid for another 760d 11h 24min 22s). Updates for this repository will not be applied.
E: Release file for http://ports.ubuntu.com/ubuntu-ports/di ... /InRelease is not valid yet (invalid for another 760d 11h 28min 7s). Updates for this repository will not be applied.
E: Release file for http://ports.ubuntu.com/ubuntu-ports/di ... /InRelease is not valid yet (invalid for another 760d 11h 21min 4s). Updates for this repository will not be applied.

请问是什么原因,有无解决办法?

Re: 请教关于Luckfox Lyra Ultra W刷固件的问题

Posted: 2025-12-22 7:57
by Luckfox Taylor
1. Mac 地址不是固定的,每次都是开机随机的,想要固定Mac地址可以自己设置自启脚本,buildroot 主要是在/etc/init.d 路径下设置,ubuntu主要是systemctl 设置。
2. 无法更新看着是时间的问题,可以执行 sudo timedatectl set-ntp true 进行网络校时。

Re: 请教关于Luckfox Lyra Ultra W刷固件的问题

Posted: 2025-12-22 15:25
by hopkit
Luckfox Taylor wrote: 2025-12-22 7:57 1. Mac 地址不是固定的,每次都是开机随机的,想要固定Mac地址可以自己设置自启脚本,buildroot 主要是在/etc/init.d 路径下设置,ubuntu主要是systemctl 设置。
2. 无法更新看着是时间的问题,可以执行 sudo timedatectl set-ntp true 进行网络校时。
收到,谢谢回复。
对于问题2,可能erase芯片把时间搞掉了,一直没有注意到,今天上午把sources.list里面出错的源都屏蔽,只保留main InRelease,能顺利装上软件,但curl提示ssl出错,百度了一下说是时间不对,装上ntp校时,然后就能正常curl,现在把源全部恢复,都能正常更新了。源可以换成http://mirrors.ustc.edu.cn/ubuntu-ports/ 网速感人。