root@OpenWrt:/tmp# sysupgrade -n be29cab4-d6b7-47de-b91f-55a46fd0bd0b\?X-Amz-Algorithm=AWS4-HMAC-SHA256
Tue Sep 3 14:43:03 UTC 2024 upgrade: Device glinet,gl-ar300m-nor not supported by this image
Tue Sep 3 14:43:03 UTC 2024 upgrade: Supported devices: glinet,gl-ar300m16 gl-ar300m
Image check failed.
Based on the error message you received, it appears that you may have indeed selected the wrong device when building the firmware image. Let's break down the key information:
1. The error message states:
Device glinet,gl-ar300m-nor not supported by this image
Supported devices: glinet,gl-ar300m16 gl-ar300m
2. This indicates that your router is identified as `glinet,gl-ar300m-nor`, but the firmware image you're trying to install supports `glinet,gl-ar300m16` and `gl-ar300m`.
3. The discrepancy is in the "nor" part of your device name, which likely refers to the type of flash memory your router uses (NOR flash).
To resolve this issue:
1. Double-check your router's exact model. It seems to be a GL-AR300M variant, but with NOR flash.
2. When using `make menuconfig`, you need to select the correct target system and device. Look for an option that specifically mentions "GL-AR300M" with NOR flash, if available.
3. If you can't find an exact match, you may need to research if your specific variant is supported by OpenWrt and what the correct target configuration should be.
4. Rebuild the firmware with the correct configuration.
5. Alternatively, you could try to find a pre-built firmware image that specifically mentions support for the GL-AR300M with NOR flash.
Remember, using an incorrect firmware can potentially brick your device, so it's crucial to ensure you're using the right image for your specific hardware variant.
Device glinet,gl-ar300m-nor not supported by this image Supported devices: glinet,gl-ar300m16 gl-ar300m