Yes i know it is 2 differents target....
but when i use Hexedit on them they are really do not start with the same kind of data , my device seems expected.
when i look at the stock firmware i am seeing the same start...
“Factory” images are formatted to meet the OEM’s firmware layout, required for upload and flash. This may include headers, padding to various sizes, trailers, checksums, “magic numbers” or the like.
Looking at that, it would seem that 30 MB comes from RAS_ROOTFS_SIZE := 29696k. My guess is that the boot loader or the OEM firmware updater needs a "full" image of the root file system. Perhaps it is that it doesn't handle auto-resize i the same way that OpenWrt does.
ZyXEL's OEM firmware upgrader (in the webinterface, the bootloader based recovery flasher is less strict) checks the firmware size against the size of their very first released firmware version for that device. Any future firmware upgrade must have at least that size - smaller images are rejected straight away, therefore factory images must be padded to that size.
That's would explain the isssue i was having flashing this device with the 18.x who was getting reject up front
and flashing of the ath79 was actually flashing but getting reboot loop.
Now Noob question, how do a build a 18.x and get a factory images padded to the size expected.
please dont forget i am new to this , even if i learn so much in the last 5 days
i have a build env and i have actually build 18.x , i am making progress
Thanks in advance