Created
January 20, 2022 20:36
-
-
Save Habbie/46fcdfc8e5290e229c9cce48e078aa27 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ "metadata_version": "1.1", | |
"compat_version": "2.0", | |
"compat_message": "The partitioning of the HiveAP 330 has changed. \n To upgrade to this version, please: \n 1) Be running OpenWrt 21.02, \n 2) Paste and run this script into an SSH shell and follow its instructions: \n \ncat << \"EOF\" > /tmp/fix-uboot.sh; chmod +x /tmp/fix-uboot.sh; /tmp/fix-uboot.sh \n#!/bin/sh -e \n. /lib/functions.sh \n. /lib/functions/system.sh \nopkg install uboot-envtools kmod-mtd-rw || { echo \"Cannot install packages; aborting\" && false; } \ninsmod mtd-rw i_want_a_brick=y \n [ -s \"/etc/fw_env.config\" ] || echo \"/dev/mtd 0x0 0x20000 0x10000\" > \"/etc/fw_env.config\" \nmtd=/dev/mtd\"\"; \ndd if=td of=/tmp/u-boot \nfw_setenv owrt_boot 'cp.l 0xEC040000 0x2000000 0x500000; bootm 0xEE840000 0x2000000 0xEC000000;' \ncp /tmp/u-boot /tmp/u-boot_patched \nstrings -td < /tmp/uboot | grep '^ *[0-9]* *\\(run owrt_boot\\|setenv bootargs\\).*cp\\.l' | \nawk '{print }' | \nwhile read offset; do \necho -n \"run owrt_boot; \" | dd of=/tmp/u-boot_patched bs=1 seek= conv=notrunc \ndone; \nmtd write /tmp/u-boot_patched u-boot \nuci set system.@system[0].compat_version=2.0; uci commit; \necho \"Done; you may now sysupgrade to >21.02. Note that if this fails, \nyou will need to use the serial console to re-install OpenWrt. \nNote that after this sysupgrade, the AP will be unavailable for 7 \nminutes to reformat flash.\" \nEOF\n ", | |
"new_supported_devices": ["aerohive,hiveap-330"], "supported_devices": ["aerohive,hiveap-330 - Image version mismatch: image 2.0, device 1.0. Please wipe config during upgrade (force required) or reinstall. Reason: The partitioning of the HiveAP 330 has changed. \n To upgrade to this version, please: \n 1) Be running OpenWrt 21.02, \n 2) Paste and run this script into an SSH shell and follow its instructions: \n \ncat << \"EOF\" > /tmp/fix-uboot.sh; chmod +x /tmp/fix-uboot.sh; /tmp/fix-uboot.sh \n#!/bin/sh -e \n. /lib/functions.sh \n. /lib/functions/system.sh \nopkg install uboot-envtools kmod-mtd-rw || { echo \"Cannot install packages; aborting\" && false; } \ninsmod mtd-rw i_want_a_brick=y \n [ -s \"/etc/fw_env.config\" ] || echo \"/dev/mtd 0x0 0x20000 0x10000\" > \"/etc/fw_env.config\" \nmtd=/dev/mtd\"\"; \ndd if=td of=/tmp/u-boot \nfw_setenv owrt_boot 'cp.l 0xEC040000 0x2000000 0x500000; bootm 0xEE840000 0x2000000 0xEC000000;' \ncp /tmp/u-boot /tmp/u-boot_patched \nstrings -td < /tmp/uboot | grep '^ *[0-9]* *\\(run owrt_boot\\|setenv bootargs\\).*cp\\.l' | \nawk '{print }' | \nwhile read offset; do \necho -n \"run owrt_boot; \" | dd of=/tmp/u-boot_patched bs=1 seek= conv=notrunc \ndone; \nmtd write /tmp/u-boot_patched u-boot \nuci set system.@system[0].compat_version=2.0; uci commit; \necho \"Done; you may now sysupgrade to >21.02. Note that if this fails, \nyou will need to use the serial console to re-install OpenWrt. \nNote that after this sysupgrade, the AP will be unavailable for 7 \nminutes to reformat flash.\" \nEOF\n "], "version": { "dist": "OpenWrt", "version": "SNAPSHOT", "revision": "r18439+1-d0501dc7fc", "target": "mpc85xx/p1020", "board": "aerohive_hiveap-330" } } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment