Unable to do Flash new firmware image

Hello, I am trying to upgrade my software using System > Backup / Flash Firmware > Flash new firmware image. But when I flash the firmware, it fails to do sysuparde with log message

 Watchdog handover: fd=3
- watchdog -
Watchdog does not have CARDRESET support
killall: telnetd: no process killed
killall: dropbear: no process killed
killall: ash: no process killed
Thu Jan 12 17:14:06 IST 2023 upgrade: Sending TERM to remaining processes ... dbus-daemonsh: I: bad number

Thu Jan 12 17:14:10 IST 2023 upgrade: Sending KILL to remaining processes ...sh: I: bad number

[  610.195962] stage2 (7789): drop_caches: 3
Thu Jan 12 17:14:16 IST 2023 upgrade: Switching to ramdisk...
[  612.250112] EXT4-fs (mmcblk0p1): re-mounted. Opts: (null)
losetup: invalid option -- 'D'
BusyBox v1.33.2 (2022-09-29 08:23:58 UTC) multi-call binary.

Usage: losetup [-rP] [-o OFS] {-f|LOOPDEV} FILE: associate loop devices
        losetup -c LOOPDEV: reread file size
        losetup -d LOOPDEV: disassociate
        losetup -a: show status
        losetup -f: show next free loop device
Thu Jan 12 11:44:18 UTC 2023 upgrade: Performing system upgrade...
Thu Jan 12 11:44:18 UTC 2023 upgrade: Reading partition table from bootdisk...
0+1 records in
0+1 records out
zcat: write error: Broken pipe
zcat: write: Broken pipe
Thu Jan 12 11:44:19 UTC 2023 upgrade: Reading partition table from image...
BusyBox v1.33.2 (2022-09-29 08:23:58 UTC) multi-call binary.

Usage: dd [if=FILE] [of=FILE] [bs=N] [count=N] [skip=N] [seek=N]

zcat: write error: Broken pipe
/lib/upgrade/do_stage2: line 67: partx: not found
/lib/upgrade/do_stage2: line 68: partx: not found
zcat: write: Broken pipe
mount: mounting /dev/mmcblk0p1 on /boot failed: Invalid argument
tar: boot/cmdline.txt: not found in archive
umount: can't unmount /boot: Invalid argument
Thu Jan 12 11:44:19 UTC 2023 upgrade: Upgrade completed
Thu Jan 12 11:44:20 UTC 2023 upgrade: Rebooting system...
umount: can't unmount /tmp: Dev[  613.688914] kvm: exiting hardware virtualization
ice or resource busy
umount: can't unmount /dev: Device or resource busy
[  613.713799] imx2-wdt 30280000.watchdog: Device shutdown: Ex

Is there any package that I am missing or is there any other problem, please let me know.
Thank You

What is the device and current version?
What is the output of this:

ubus call system board
2 Likes

It is a custom board based on NXP imx8mq and Openwrt version is 19.07

then you should ask the folks providing the board, not us.

2 Likes

Is this custom board in the openwrt table of hardware? If not, that means that it is not supported by the official openwrt project and is running a customized fork. And in that situation, you need to ask the manufacturer or maintainer of that device for support.

1 Like

Yes will ask the manufactures for the support. Thanks for replying