Page 1 of 1

Issues uploading an image on Linux (segmentation fault)

Posted: 2025-05-08 13:52
by random123
I'm having issues uploading a new image to the Luckfox Pico Ultra W from Linux, resulting in a segmentation fault. I first followed the explanation in the wiki, but that seems to be incorrect. Then, I somehow found out that the following should be used, but I still get the segmentation fault. Please help me to flash a new image, because the system is completely useless right now.

- Download SDK (git clone ) https://github.com/LuckfoxTECH/luckfox-pico
- Download Image https://wiki.luckfox.com/Luckfox-Pico/L ... e-download
- Put image into folder in SDK folder `output/image`
- Hold Boot button while connecting Board to USB
- check with `lsusb` (refer to https://wiki.luckfox.com/Luckfox-Pico/L ... Burn-Image)

Code: Select all

$ lsusb
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 027: ID 2207:110c Fuzhou Rockchip Electronics Company 

Code: Select all

./luckfox-pico$ sudo ./rkflash.sh update
[sudo] password for user: 
Using ./luckfox-pico/tools/linux/Linux_Upgrade_Tool/config.ini
Loading firmware...
Support Type:1106       FW Ver:0.0.00   FW Time:2025-03-13 10:07:02
Loader ver:1.01 Loader Time:2025-03-13 10:05:39
./rkflash.sh: line 96: 1505574 Segmentation fault      (core dumped) $UPGRADETOOL uf $UPDATE

Re: Issues uploading an image on Linux (segmentation fault)

Posted: 2025-05-09 8:41
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
flash-emmc-linux.png
flash-emmc-linux-dmesg.png