Issues uploading an image on Linux (segmentation fault)

  • 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
  • Thank you for your reply. I changed the cable (the one provided with the device) and I was able to flash it once. But only once! Now the segmentation error message occurs every time I try to update the device, using the same cable!
    What can I do? This seems very unreliable. Is this the case for all devices?

    I've noticed that you loader time is more recent than mine. Yours is 2025-04-23. Might this be an issue?
    Last edited by random123 on 2025-05-12 19:02, edited 2 times in total.
  • I found a solution. I can successfully flash the firmware when I press the BOOT button all the time while starting the `sudo ./rkflash.sh update` command.

    This was not really clear from the guide in your wiki. Maybe something you could update. Here is my updated procedure, which might help someone in the future

    - Download SDK (git clone ) https://github.com/LuckfoxTECH/luckfox-pico into new folder `luckfox-pico`
    - Download Image https://wiki.luckfox.com/Luckfox-Pico/L ... e-download
    - Extract and put image into folder `luckfox-pico/output/image`
    - Open a terminal and go into `luckfox-pico` folder
    - Copy the udev rules and restart udev (maybe you need to use sudo for all commands)

    Code: Select all

    cp tools/linux/Linux_Upgrade_Tool/88-rockusb.rules /etc/udev/rules.d/
    udevadm control --reload-rules
    service udev restart
    
    - Hold Boot button while connecting Board to USB and hold the button until flashing is complete (at least until the flash command started successfully)
    - check with `lsusb` if device is visible (refer to https://wiki.luckfox.com/Luckfox-Pico/L ... Burn-Image)
    - Run the command `sudo ./rkflash.sh update`