@giminni Hi ,
We test it just now, It’s work fine.This is my step ,can you check it .THX
In Edge(in uboot)
kedge# kbi trigger wol w 1
Setting bus to 8
set_wol: 1
kedge# kbi trigger wol r
boot wol: enable
kedge# kbi ethmac
mac address: de:e7:c6:35:6a:e5
kedge# kbi poweroff
System poweroff
Setting bus to 8
set_wol: 1
kedge#
In PC
$ wakeonlan de:e7:c6:35:6a:e5
Sending magic packet to 255.255.255.255:9 with de:e7:c6:35:6a:e5
I read somewhere that the data is stored inside the eMMC card. I cleared all the data on eMMC because I am using it as a local storage cache. Could it be I erased the data that is needed for WoL?
I suspect this because executing kbi ethmac I always get 00:00:00:00:00:00 and kbi poweroffis not powering off the system it is rebooting the system.
kedge# kbi trigger wol w 1
Setting bus to 8
kedge# kbi trigger wol r
boot wol: enable
kedge# kbi ethmac
mac address: 00:00:00:00:00:00
kedge# kbi poweroff
resets the system
How can I restore the data into I guess mmcblk1rpmb?
@numbqq is there a way to reflash the mmcblk1rpmb?
I wiped out the first 16MiB on the eMMC storage.
I guess this is my problem because I cannot get anything out of kbi ethmac all values are always zero.
If I look above in Frank’s output kbi ethmac returns the current mac address of the board, and
if I use kbi poweroff the board reboots instead of poweroff
Count for 2 to 3 seconds, then release the ‘Function’ key to enter into Upgrade Mode. You will see the sys-led turn ON when you’ve entered Upgrade Mode (Loader Mode).
The right tool to use is RkDevInfoWriteTool V1.0.3NOTWNpctool V1.2.2
The right loader to use is MiniLoaderAll.binNOTrk3399_loader_v1.19.118.bin
Take a note of your eth0 mac address inside u-boot with print ethaddr
Read LAN MAC key BEFORE WRITE
Select ONLYLAN MACANDInput/scan
Problem solved, WoL is working!
Lesson learned:
Use your router like AVM Fritz!Box there is a WoL feature for testing
Use wakeonlan under MacOS by installing it with brew install wakeonlan
Use wakeonlan under Ubuntu Bionic by installing it with sudo apt install wakeonlan
To use WoL from the Internet or another network, configure your router to map an external port (e.g. 9999) to the internal magic packet WoL address: 255.255.255.255 and port: 9. This allows the magic paket to be broadcasted into the designated network.