Checksum error during firmware upgrade

For our board banana PI, we had made some customization inside folder /package/base-files/files/ according to our requirement. When I use latest "sysupgrade" image, I get cheksum error. Even if I force upgrade it, firmware gets flashed, but new changes do not appear on the board.
How can I resolve this checksum error issue?

you mean you built an image you're not telling us anything about, and want us to tell you why it isn't flashing/CRC failing ?

is that's correct ?

You should not change files there!
For such cases, you should place the changed files in the /files folder.

Example: /files/etc/opkg/customfeeds.conf

1 Like

Hi Frollic,
here is the firmware details-

root@LEDE:/# ubus call system board
{
"kernel": "4.14.221",
"hostname": "LEDE",
"system": "ARMv7 Processor rev 3 (v7l)",
"model": "Bananapi BPI-R2",
"board_name": "bananapi,bpi-r2",
"release": {
"distribution": "OpenWrt",
"version": "19.07.7",
"revision": "r11306-c4a6851c72",
"target": "mediatek/mt7623",
"description": "OpenWrt 19.07.7 r11306-c4a6851c72"
}
}

We added some custom themes, added ethernet address and a usb0 interface in dhcp mode. Some customized package also added by us in the /package/files/ folder. Is it the issue for checksum error? can I bypass this checksum process?

19.07 is very EOL.

Hi frollic,
I have another board, where we use Openwrt 22.03. Here is the firmware details-

root@(none):/# ubus call system board
{
"kernel": "5.10.140",
"hostname": "HuskyRTR",
"system": "ARM926EJ-S rev 5 (v5l)",
"model": "Nuvoton NUC980 IOT V1.0",
"board_name": "spinand",
"rootfs_type": "squashfs",
"release": {
"distribution": "OpenWrt",
"version": "22.03.0",
"revision": "r19685-512e76967f",
"target": "nuc980/iotg2",
"description": "OpenWrt 22.03.0 r19685-512e76967f"
}
}

I want to do the same customization in this, yesterday I observed same kind of checksum error. If you can suggest a method, it will be very helpful.

22.03.0 is EOL too :slight_smile:

1 Like

You can customize generate a customized image using the firmware selector, although the modified defaut configuration is achieved by means of a firstboot script rather than copying the files.

https://firmware-selector.openwrt.org/?version=23.05.4&target=mediatek%2Fmt7623&id=bananapi_bpi-r2

Or, download the image builder for the device for 23.05 so that you're actually up to date.

This one doesn't appear to be firmware from the official project... where did it come from?

2 Likes

Hi,
Nuvoton NUC980 is built by nuvoton, they have customization over Openwrt 22.03. I will try to customize it from firstboot script.

Only they can fix your checksums.

1 Like