Support MA5671A SFP GPON

G010SA is different from our modules.

My guess is the G-010S-A's folder containing etc must be mounted as read-only. It is still possible to find a way around it.
That's what I would do. There are probably automated scripts for this task.

  1. Examine the G-010S-A firmware (6291456 bytes) with binwalk.
  2. Use dd to extract the squash filesystem from the firmware.
  3. Unpack the squash filesystem using the unsquashfs.
  4. Make changes to omcid.sh
  5. Re-pack the filesystem using mksquashfs sqdir/ sqsh.bin -all-root -b 262144 -comp xz
  6. Assemble the firmware parts cat(uImage+LZMA+Squashfs)
  7. If the modified firmware is less than 6291456 bytes, append some zeros (dd if=/dev/zero, cat)