Open mwaibel01 opened 3 years ago
Not yet.
As explained by the readme, the two oldest firmwares (3FE46398AFGA95 and 3FE46398BFGA06) have it, but it is not launched without modifying the start script.
Before creating a modified firmware, there are several issues :
sys.zip There is a custom firmware from China which used omcid
# backup
cat /dev/mtd1 > /tmp/uboot_env.bi
# set uboot env (I don't know what it means)
fw_setenv asc0 0
fw_setenv preboot
#reboot
reboot
# upload and flash the firmware
mtd -e image1 write sys.bin image1 # depend which image currently running
update_env_flag 1
reboot
# default user/password is root/password
# the custom firmware missed a startup script that can clear the boot_failed flag
# so you had better upload and flash another image to prevent reset after several booting
# Warning! you should confirm that the firmware works well before flash another image.
mtd -e image0 write sys.bin image0
There are a lot of modifications in this firmware
It looks like a cross-flash, not a modded G-010S-A image. But it's strange to have this flashed without any partition change, since the G-010S-A is slightly different from the more standard MA5671 / G-010S-P / ...
This is a more recent Lantiq SDK (7.5.13 vs 7.5.3), I find references to Zaram SFP-P05.
It seems to have custom changes, like /etc/vlan
, /bin/config_onu.sh
.
So maybe it works in the G-010S-A, but maybe it has issues due to slight hardware differences. It's difficult to know if the optical calibration is correct for example (the files in /etc/optic
have different values).
Many people have used the firmware for a while in china, it seems stable.
what difference between G-010S-P and G-010S-A ? I found a seller who have many G-010S-P sticks.
G-010S-P is older, and has a firmware which has less changes from the Lantiq SDK (the original omcid is present, and the firmware can be modified to use it). It also has the UART wired like the MA5671, which means there is no need to short pin 6 to ground for it to work in BCM57810S cards.
g010sa_ported-squashfs.zip
Another custom firmware from china which based on Carlitoxx-V1
.
It can be flashed directly.
@AxisRay
do you mean, the parameters fill in ASCII or Hex style ???
exam: hex is 30303535393132323700 or 0x30 0x30 0x35 0x35 0x39 0x31 0x32 0x32 0x37 0x00 ???
no, fill in ASCII.
sys.zip There is a custom firmware from China which used omcid
# backup cat /dev/mtd1 > /tmp/uboot_env.bi # set uboot env (I don't know what it means) fw_setenv asc0 0 fw_setenv preboot #reboot reboot # upload and flash the firmware mtd -e image1 write sys.bin image1 # depend which image currently running update_env_flag 1 reboot # default user/password is root/password # the custom firmware missed a startup script that can clear the boot_failed flag # so you had better upload and flash another image to prevent reset after several booting # Warning! you should confirm that the firmware works well before flash another image. mtd -e image0 write sys.bin image0
hi @AxisRay after upgrading sys.bin, no optical connection, router always says no link.
UPDATE: @vuducdong
would you like to provide the log of omci?
for this custom firmware , you need modify /etc/init.d/omci.sh
add -l /tmp/omcid.log
and change debug level -d1
find this line
${OMCID_BIN} -d3 -p$mib_file -o$omcc_version -i$omci_iop_mask ${lct} > /dev/console 2> /dev/console &
modify to
${OMCID_BIN} -d1 -l /tmp/omcid.log -p$mib_file -o$omcc_version -i$omci_iop_mask ${lct} > /dev/console 2> /dev/console &
and copy the log in /tmp/omcid.log
for the origin firmware , just copy the log in /tmp/omci.log
would you like to provide the log of omci?
for this custom firmware , you need modify
/etc/init.d/omci.sh
add-l /tmp/omci.log
and change debug level-d1
for the origin firmware , just copy the log in
/tmp
sorry, I didn't take my laptop from office. so I cannot tell you the exact step.
oki, please step detail. Thanks!
sys.zip There is a custom firmware from China which used omcid
# backup cat /dev/mtd1 > /tmp/uboot_env.bi # set uboot env (I don't know what it means) fw_setenv asc0 0 fw_setenv preboot #reboot reboot # upload and flash the firmware mtd -e image1 write sys.bin image1 # depend which image currently running update_env_flag 1 reboot # default user/password is root/password # the custom firmware missed a startup script that can clear the boot_failed flag # so you had better upload and flash another image to prevent reset after several booting # Warning! you should confirm that the firmware works well before flash another image. mtd -e image0 write sys.bin image0
I can't using this firmware, upgrade ok, but router no link ,
change back original firmware, Router link ok.
I can't using this firmware, upgrade ok, but router no link ,
sorry, i can't help you. I don't know much about this firmware
maybe you can try another custom firmware mentioned in https://github.com/hwti/G-010S-A/issues/1#issuecomment-1073158517
PS: I have updated the steps of fetching log.
does anyone have a firmware with the original lantiq omcid enabled.