Hi all,
Recently I flashed a mainline kernel (5.10-rc6) and u-boot into my vim3. I would like to configure WOL for this device, and tried following the instructions in the WakeOnLan setup doc. However, the kbi
program in my u-boot version is missing the kbi trigger wol
feature. Is this something missing from mainline u-boot? Is there a patch I can cherry pick to make it work? Is there another way of enabling wol?
Thanks!
Here are the options in my u-boot:
=> kbi
kbi - Khadas Bootloader Instructions sub-system
Usage:
kbi [function] [mode] [write|read] <value>
kbi version - read version information
kbi usid - read usid information
kbi adc - read adc value
kbi powerstate - read power on state
kbi poweroff - power off device
kbi ethmac - read ethernet mac address
kbi hwver - read board hardware version
kbi led [systemoff|systemon] w <off|on|breathe|heartbeat> - set blue led mode
kbi led [systemoff|systemon] r - read blue led mode
kbi bootmode w <emmc|spi> - set bootmode to emmc or spi
kbi bootmode r - read current bootmode
kbi portmode w <0|1> - set port as usb3.0 or pcie
kbi portmode r - read current port mode
kbi trigger [rtc|ir|dcin|key|gpio] w <0|1> - disable/enable boot trigger
kbi trigger [rtc|ir|dcin|key|gpio] r - read mode of a boot trigger
PS: In the docs it mentions the register that is used for the wol feature. Is it possible to write from that register from u-boot without needing to patch it?