Zyxel GS1900-48 flashing from OEM

Hi,
I'm troubled as I can't install openwrt with the firmware upgrade via WebUI of the Zyxel GS1900-48.
Each time I get the reply :

Device only can support firmware from V1.00(AAHN.0) and later version

I tried this with the Firmware OpenWrt Install URL:

openwrt-22.03.2-realtek-rtl839x-zyxel_gs1900-48-initramfs-kernel.bin

I stopped there, before I soft-brick my second unit.

Maybe I missed something?

I really appreciate any help! Thank you in advance

And thank you Openwrt Community for your awesome work :slight_smile:

https://git.openwrt.org/?p=openwrt/openwrt.git;a=commit;h=47f5a0a3eed593e147ee1bdd36ea532ee266ba18

Installation:
Install the squashfs image via Realtek's original Web-Interface.

There seems to be a bug in the gs1900-48 image definition, which declares AAHO (gs1900-48hp) for this device, although AAHN (gs1900-48) would be needed - the DTS itself seems to be for the PoE-less gs1900-48/ AAHN…

This will need checking by someone with this hardware, but you should be able to test is by tftbooting the initramfs image via serial console as well. Technically, it would also be possible to 'fix' the ZYXEL_VERS in target/linux/realtek/image/rtl839x.mk to AAHN (ideally by building from source, but the imagebuilder should also be able to do this), but doing that blindly without supervision from the serial console could be risky.

1 Like

Thanks for spotting this. I prepared a small patch to fix it:
https://git.openwrt.org/?p=openwrt/staging/svanheule.git;a=commit;h=72d7904e48ee77da0c8ed170423c8fd05c7b35fa

@slh, @nonalcoholic If you would like those Reported-by and Suggested-by tags to be kept, I'll need a real name and email address (PM is OK). Otherwise I'll change it to a non-standard form as part of the commit message text.

4 Likes

Tested on my own GS1900-48 and flashing works as expected now.

However, there are still some other issues. With SMP (both on 5.10 and 5.15) that causes the kernel to hang on boot. Even with SMP disabled, the device still doesn't boot because the kernel cannot find the root partition. There are at least issues with the DT partition definition, but fixing those doesn't resolve the issue yet.

I will hold off with the image generator patch until I'm a bit more confident this device can actually be cold booted into OpenWrt...

Pushed a few fixes to master, but please do not flash your device yet. There are still some SMP issues on RTL839x devices (like the GS1900-48), causing it to stall somewhere in the boot process.

Turns out there were multiple other issues:

  • The install instruction in the commit message are wrong. You're supposed to flash an initramfs image like for the other GS1900 devices. Since you were getting the ID warning, it appears you were doing this correctly though.
  • The WebUI (at least on V2.70) however, will gladly eat a squashfs image without the ZyXEL-specific image trailer. It will then silently discard the rootfs part of that image, leaving you in bootloop.
  • A recent commit accidentally broke default image generation, resulting in broken sysupgrades (with more bootloops).

Just for the record, I was able to install openwrt following these instructions:

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.