[SOLVED] Buffalo WBMR-HP-G300H firmware upgrading problem

Hi, i have a problem trying to flash a new firmware version on my router Buffalo WBMR-HP-G300H Annex A through LuCi Backup / Flash Firmware page. I'll try to explain my configuration:

Current firmware (05/15/2017 build): LEDE Reboot SNAPSHOT r5447-e23ff063d3 - LuCi git-17.338.50622-d2bbfa5
New firmware (04/01/2018 build): OpenWrt SNAPSHOT r5672-09ae6897f7 - LuCi git-18.003.80735-dac0cce

When i try to flash the new firmware version i get the following error:

"The uploaded image file does not contain a supported format. Make sure that you choose the generic image format for your platform."

I've made a compare between the two config.seed, the only different line is:

Old config.seed: CONFIG_TARGET_lantiq_xway_DEVICE_WBMRA=y
New config.seed: CONFIG_TARGET_lantiq_xway_DEVICE_buffalo_wbmr-hp-g300h-a=y

The two image files have different names:

Old firmware: lede-lantiq-xway-WBMRA-squashfs-sysupgrade.bin
New firmware: openwrt-lantiq-xway-buffalo_wbmr-hp-g300h-a-squashfs-sysupgrade.bin

Taking a look at the LEDE git history i see commits related to lantiq board name refactoring


plus these three (i can post them because forum limitation for new users)


Could these commits be the cause of the issue or it's a simple bug in LuCI interface ? Do you think i'm safe to upgrade via sysupgrade ? I don't want to brick the router :wink:

Thanks in advance

LuCI is just a GUI wrapper aroung the sysupgrade script, so you have already been trying to use "sysupgrade".

Likely it is just a board rename problem, and you could overcome it with "sysupgrade -F", but it might be good to get input from Lantiq specialists like @mkresin who authored those commits.

Yeah it is a bug. The script I used for migrating the boardname didn't covered the wbmr-hp-g300h special case. I'll push a fix later.

1 Like

I pushed a fix. A new image should be available within the next hour.

1 Like

Thanks Mathias for the quick fix. I confirm it's ok

1 Like