[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

https://github.com/lede-project/source/commit/63d7f7fc925ebfa3aba7e65837676d2ba85c1c69
https://github.com/lede-project/source/commit/26dc65b126dfa6b63a9df725069bf331a3e8577a

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

ed72540c10d87d6c75982d206fe3fe942f345ebd
7f68bd811929fca11ae5dd046107d8a193d7441b
4a4d957d1a66ae5004b8ff01206a76ffa0cef9b5

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