Page 1 of 1

Firmware update not working via upgrade_tool (v2.17 for linux)

Posted: 2025-11-29 11:06
by mamedict
Hi,
i followed the instruction of the section 5.2 (https://wiki.luckfox.com/Luckfox-PicoKV ... ithout-sdk) but the operation failed. how can i perform the firmware update?

Thank you,

Code: Select all

$ cat /etc/os-release
PRETTY_NAME="Ubuntu 24.04.1 LTS"
NAME="Ubuntu"
VERSION_ID="24.04"
VERSION="24.04.1 LTS (Noble Numbat)"
VERSION_CODENAME=noble
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=noble
LOGO=ubuntu-logo

Code: Select all

$ lsusb
(snip)
Bus 001 Device 011: ID 2207:110c Fuzhou Rockchip Electronics Company

$ sudo ./upgrade_tool ld
Using /home/foobar/opt/luckfox_upgrade_tool/config.ini
List of rockusb connected(1)
DevNo=1 Vid=0x2207,Pid=0x110c,LocationID=11     Mode=Maskrom    SerialNo=

$ sudo ./upgrade_tool uf ~/Downloads/picokvm/Luckfox-KVM-0.1.2-251119.img
Using /home/foobar/opt/luckfox_upgrade_tool/config.ini
Loading firmware...
Support Type:1106       FW Ver:0.0.00   FW Time:2025-11-19 12:02:32
Loader ver:1.01 Loader Time:2025-11-19 12:01:32
Start to upgrade firmware...
Download Boot Start
Download Boot Success
Wait For Maskrom Start
Wait For Maskrom Fail

Re: Firmware update not working via upgrade_tool (v2.17 for linux)

Posted: 2025-12-01 8:45
by Luckfox Taylor
Hello sir,

I've tested the burning process on my end, and everything worked normally. I wasn't able to reproduce your issue. Could you please try replacing the download data cable? Additionally, you can refer to the successful download log I've provided to check for any error messages. Identify the relevant issues based on the errors. During the flashing process, you might experience brief USB disconnections/reconnections, which is normal.

Code: Select all

sudo dmesg | tail -n 50
kvm-flash.png
upgrade_tool-USB.png

Re: Firmware update not working via upgrade_tool (v2.17 for linux)

Posted: 2025-12-03 14:41
by mamedict
Thank you for your answer.

As you describe the problem was caused by the usb disconnection/reconnection procedure during the process.
I successfully updated the firmware under Ubuntu 24.04 on my laptop by using an another usb type-c-to-a cable and checking again my procedure, also on wsl2 with usbipd-win 5.3.0.

Thank you,