Hi- long-time user/lover/lurker of GL-iNet routers and have owned at least 5 different models and sorry that my first post is a question.
I ran into an issue yesterday, trying to update to firmware 4.3.25 via the web interface from an earlier version (I believe it was in the 3 range). The file uploaded and firmware verification passed, and after hitting update and waiting a while, I lost wifi connection to the router and assumed it would reboot, but the router appeared to go into a boot-loop situation, where the green left power LED was on, and then every so often I’d see a green blip on the middle and red blip on the right LED. I couldn’t access it via ethernet (DHCP or manually setting the ethernet interface on my connecting device to 192.168.8.x or 192.168.1.2).
I probably messed up and had left the checkbox checked to keep settings as I didn’t run into any issues when doing the same update on a Mango-V2 router with the appropriate Mango firmware just before.
The plug in power and hold reset procedure gave the 5 expected LED blinks of the red light and then constant left green and right red LED to suggest that it was in uboot recovery mode, but it was not accessible at 192.168.1.1 via LAN ethernet port from a device with IP address of 192.168.1.2.
I popped the bottom cover off and used my 3.3v UART serial USB converter based on CH340x and connected to the ground/tx/rx pins by taping some dupont connectors into the through-holes, and connected via Putty with 157200 baud rate, 8N1, no flow control or parity.
When the router is in the reboot loop (not uboot mode), I’m seeing a bunch of gibberish but then suddenly I get some readable output before the cycle repeats. I’m not able to get a shell by mashing keys during the boot up cycle, and when I get it into uboot (based on the LEDs), I don’t get any readable serial output, just occasionally some gibberish. Because I do get some repeatable output via serial during the regular boot attempt, it seems that my serial settings are ok and I don’t have tx/rx pin reversal issues?
It doesn’t seem to make a difference if I leave the switch in left or right position to try and boot into NAND or NOR (I think I had previously repurposed the switch for VPN).
Here’s a sample of the log output, which suggests that I have major filesystem issues and no root/boot partition defined.
Since I can’t seem to access uboot, I can’t attempt to do a TFTP firmware upload or uboot reload. I have a JTAG device and I’m wondering if there’s something else I can do to revive this router, as although it’s cheap and underpowered, it has been a great companion in my every-day-carry work bag.
Thanks in advance if anyone has any ideas.
�eV��^B T��'�����¸^BB^WV��^B1���h� �b��d
22:17:23.379 ��.��:‚�^S�00C!^B��������t'����0C�#�^R���Zk^Ai[ݥ
22:17:24.564 �A�L�00�����
22:17:24.564 �^B*�a�A��+i�^B*�P*:�ek%�A�Zk��)��&Sj
22:17:24.570 ^B��NVѥV^B��^B�2�&��S^Iʠ��'^S�2^BjQC�!^B����ՠ5���^B��^R�A�Z+�)��e^K
22:17:24.573 �a�A�K������rY�.^V6�
22:17:24.576 �^B"�tXZ�z�'^B��^L�ʰ� ��^NꂠL���h� �b���
22:17:24.580 ��rY������� ^C!��^QK鹂���W����^S�0�C!^B�V�.��ikA������^K��A�a1�°^S^B���I� �����[ɕs.˝ ���e�J�ŧYr��O�C!�^KʹŴ.�H(����������k���K�^K������xB��A�^V^Vճ.‚�^S ʠ��j����^ZW˝ �^Zk���k��J�A�^W�,�ڴF���j
22:17:25.654 C�*W�tZ�k��kѠ��j�C�� � 0.�00��0]�Li��x ��rs�on��.1��24��(g�ine�@ub�nt�� (��c ��rs�on �.5�� (��en��t �CC��.5�0 ��12�7‑5�90��2a�3)��#0�Th��Ju��29�19��0:�� 2�21��[ �� 0�00��00� b��tc�nso�e ��ar�y0]�en��le��
22:17:25.671 [�� �.00�00�] ��U0�rev�si�� i�: ��01�37��(M�PS �4K��
22:17:25.678 [� �0.0�00�0] �IP�� m�ch��e �s ��.i��t �L‑��30�M ��AN��
22:17:25.684 �� �0.��00�0] �oC��Qu�lco�m ��he�os��CA�53��ve� 2��ev�0
22:17:25.686 �� �0.��00�0]��et��mi�ed��hy�ic�� R�M ��p:�
22:17:25.692 [ �� 0�00��00�� m�mo��: �800�00��@ �000�00��(u��bl�)^M�� ��0.�000�0]��ni��d �ot��ou�� o� e��ty�� d�sab�in��in�tr��
22:17:25.704 [� �.0��00�] P�im��y ��st��ct�on �ac�� 6�kB,�VI��, ��wa�, l�ne��ze��2 �yt��.^M�� ��0.��00�0]��ri�ar��da�� c�ch��32��, �‑w��, ��PT� c��he��li�se�� l�ne��ze�32��yt�s^M�[� ��.0�00��] �on��ra�ges�
22:17:25.722 [�� �.0��00�] ��No�mal� �mem�0x�00��00�00��00�0‑�x00�00�000�ff��ff�
22:17:25.730 [� ��.0�00��] ��va�le��on� s��rt��or�ea�� n�de��[ �� 0�00��00� Ea�ly��em�ry��od� r��ge�
22:17:25.739 [� ��.0��00�] ��no�� �0:��me��0x�00��00��00��00�‑0��00��00�07��ff�f]^M�� � 0.�00��0]�Ini�me��se�up�nod� 0��me� 0x�00��00�00��00�0‑��00��00�007�ff��f]���� ��.0��00�] ��nd�m:��et�ra��om�by��s �al��d ��om�st��t_��rn�l+��98��x4�� w�th �rn��in�t=0�
22:17:25.773 � ��0.�00��0]�Bu��t � z��el�st�, ��bi�ity�gr��pi�g ��. ��ot�l p�ge�� 3��12�
22:17:25.782 [ � 0�00��00��Ke�ne��co�ma�� l�ne��co��ol�=t��S0��15�00�� r��tf��yp�=s��as��s,�ff��
22:17:25.791 [� ��.0�00��] �ID �as��ta��e �ntr�es:�51��(o��er� ‑�� 2�48��yt�s)^M�[� �.0��00�] D�nt�� c�ch��ha�h ��bl� en�ri��: �63�� (��de�: 4� 6��36��yt�s)��� ��0.�00��0]��no��‑c�che�ha�� t�ble�en��ie�: 8�92��or�er��3,��27�8 b�te��
22:17:25.812 �� �0.��00�0] �ri��ng�Err�tl��eg�st��=0��00�00��[ �� 0�00��00� R��db��k �rr��l �eg��te�=0��00�00�
22:17:25.828 [�� �.00�00�� M��or�� 1�234�K/��10��K �vai�ab�� (�48�� k��ne� co�e,��55� rw�at�� 1�16K�ro��ta��12�4K��ni�� 2�8K��ss��87�2K �es��ve�� 0� cm�‑re�erv�d)^M�� ��0.��00�0] �LU�� H��li��=3�, ��de��0‑�, ��nO��ec�s=�� C�Us��, ��de�=1��[� ��.0��00�] N�_I��S:��1^M�[� ��.0�00��] ��U ��oc�� 6�0.��0 ��z^M�[ �� 0��00��0]�clo�ks��rc�� M�PS:�ma��: �xf��ff��f ��x_�ycl�s:��xf��ff�ff��ma��id��_n�� 5�808�13�� n��
22:17:25.864 [ � 0��00��8]�sc��d_�loc�: �� b��s �� 3�5MH�, ��so��ti�� 3��, �rap� ev�ry��60��41��8n�
22:17:25.934 [ �� 0�00��51��Ca�ib��ti�� d��ay�lo��..��43�.5��Bo�oMI�S ��pj�21��68�)^M�� � 0.�74��2]��id�max� d��au�t: �27�� m�ni��m:��01�
22:17:25.943 [ � 0�07�93�� M�un��ca�he��as� t��le�en�ri�s: �02� (��de�: �, ��96�by��s)�
22:17:25.951 � � 0�086�10��Mo�ntp�in��ca�he �as��ta�le��nt�ies� 1��4 �or��r:�0,��09� b��es�
22:17:25.964 [ � ��09�54�� c�ock�ou��e:��if�ie�� m��k:�0x��ff�fff�ma��cy�les� 0��ff�ff��, �ax_�dl��ns��19�12��44�27��00��ns�
22:17:25.973 [ �� 0�10��58� f��ex�ha�� t�bl��en�ri��: �56��or�er��‑1� 3�72 �yt�s)��[ �� 0�11��84� p��ct�l c�re��in�ti��iz�d ��nc�rl �ub�yst�m^M�[� ��.1�21��] �ET� Re�is��re� p��to�ol��am��y �6^M��� �0.��43�4] �CI��os��br�dg��/a�b/��ie�co��ro�le��18��00�0 ��ng�s:^M�� ��0.�40��2]� M�� 0��00�00��10�00��0.��x0�00��00��ff��ff�
22:17:26.011 [ � ��14��11� �O ��00�00��00�00��00�.0��00�00��00��00��
22:17:26.014 �� ��.1�18��] ��72��‑p�i ��0c�000�pc��‑c�ntr�ll��: �CI��li�� i� do�n^M�[�� �.1��38�� P�I ��st��ri�ge�to��us�000�:0��
22:17:26.043 [ � ��17��63� p��_b�� 0�00��0:�ro�� b�s r�so��ce�[m�� 0��00�00��‑0�13f�ff��]^M�� � 0��86�05��pc��bu� 0��0:�0:��oo� b�� r�so��ce��io� 0��00�]^M�[� ��.1�18��] �ci��us�00��:0�: ��ot�bu� r��ou�ce��??� 0��00��00� f��gs�0x��
22:17:26.063 �� �0.��90�6]��ci��us�00��:0�: �� b��n ��so�rce�fo��d �or �oo��bu�, w�ll��se�[b�� 0�‑f��
22:17:26.077 [� �.2�985�] ��oc�so��ce��Sw�tc�ed��o �lo��so�rc��MI�S
22:17:26.079 [� ��.2�618�] ��T:�Re��st��ed�pr��oc�l ��mi�� 2�
22:17:26.085 [ � ��22��43� I��id�nts�ha�� t�bl��en�rie�: ��48��or�er��2,�16��4 ��te�)
22:17:26.093 � ��0.�285�4]��CP��st�bl��he��ha�h ��bl��en�rie�: ��24�(or�er��0,�40�� b��es��
22:17:26.101 � ��0.�360�0] �CP��in� ha�h ��bl��en��ie�: ��24�(o��er� 0��40�6 ��te��
22:17:26.107 � � 0.�42��8]��CP��Ha�h ��bl�� c�nf��ur�d ��st�bl��he� 1��4 ��nd�10��)^M�� � 0.�49��8]�UD��ha�h ��bl��en�ri��: �56��or�er:�0,��09� b�te��
22:17:26.118 [ � ��25�779� U��‑L��e �ash�ta��e �nt��es� 25� (�rde�: �, 4�96��yt�s)��[�� �.2��67�] N�T:��eg�ste�ed��ro��co� fa�il��1^M�[�� �.2��18�] C�as��og�al��ca�ed��AM��t �ddr�ss��x3��00��
22:17:26.142 � � 0��77��0]��or�in��et��ti��st�mp��it��30��ax��rd��=1� b��ke��or�er��
22:17:26.157 �� ��.2�885�] ��ua��fs��ve��io� 4�� (�00��01��1)�Ph��li� L��gh��
22:17:26.161 �� ��.2�504�] ��fs�� v��si�n ��2 �NA��) ��UM�AR�� (��MA� (��IM�) (�MO��_P��OR�TY��(c� 20�1‑��06��ed�Ha�� I��.^M�[ �� 0�31��03��io�sch�du��r ��op�reg�st��ed�
22:17:26.184 [ � 0�31��38��io�sc��du��r ��ad�in��re��st��ed�(d��au��)^M�� �0.��73��] ��nc�rl��in��e ��04�02c�pin�ux:�57��pi�� a��pa��80�002� s��e �2
22:17:26.199 [ �� 0�33��00��gp�o‑��po�t ��io��xp�rt��1 ��io�s)��xp��te�
22:17:26.206 [� �.3��43�] ��ri�l:��25�/16�50��ri�er��16��or�s,��RQ�sh�ri�� e�ab��d^M�[ �� 0�350�62��co�so�� [��yS�] ��sa�le��
22:17:26.219 [� ��.3�427�] ��02�00��ua�t: �ty�� a� MM�O ��18��00�0 (�rq�� 9��ba�e_b�ud�� 1�62��0)��s � 16�50��
22:17:26.228 [ 0.363415] console [ttyS0] enabled
22:17:26.230 [ 0.363415] console [ttyS0] enabled
22:17:26.234 [ 0.370975] bootconsole [early0] disabled
22:17:26.240 [ 0.370975] bootconsole [early0] disabled
22:17:26.264 [ 0.398550] m25p80 spi0.0: w25q128 (16384 Kbytes)
22:17:26.267 [ 0.403502] 4 fixed‑partitions partitions found on MTD device spi0.0
22:17:26.274 [ 0.410073] Creating 4 MTD partitions on "spi0.0":
22:17:26.279 [ 0.415032] 0x000000000000‑0x000000040000 : "u‑boot"
22:17:26.285 [ 0.420959] 0x000000040000‑0x000000050000 : "u‑boot‑env"
22:17:26.292 [ 0.427205] 0x000000050000‑0x000000ff0000 : "reserved"
22:17:26.298 [ 0.433312] 0x000000ff0000‑0x000001000000 : "art"
22:17:26.309 [ 0.441958] spi‑nand: Paragon(XTX) SPI NAND was found.
22:17:26.310 [ 0.447280] spi‑nand: 128 MiB, block size: 128 KiB, page size: 2048, OOB size: 128
22:17:26.319 [ 0.455258] 2 fixed‑partitions partitions found on MTD device spi0.1
22:17:26.325 [ 0.461846] Creating 2 MTD partitions on "spi0.1":
22:17:26.330 [ 0.466802] 0x000000000000‑0x000000400000 : "kernel"
22:17:26.348 [ 0.482964] 0x000000400000‑0x000008000000 : "ubi"
22:17:26.996 [ 1.130748] found bad block 7ee0000
22:17:26.999 [ 1.134622] found bad block 7f00000
22:17:27.002 [ 1.138480] found bad block 7f20000
22:17:27.006 [ 1.142352] found bad block 7f40000
22:17:27.011 [ 1.146204] found bad block 7f60000
22:17:27.015 [ 1.150061] found bad block 7f80000
22:17:27.018 [ 1.153919] found bad block 7fa0000
22:17:27.021 [ 1.157772] found bad block 7fc0000
22:17:27.027 [ 1.161643] found bad block 7fe0000
22:17:27.030 [ 1.165929] libphy: Fixed MDIO Bus: probed
22:17:27.377 [ 1.510962] ag71xx 19000000.eth: Could not connect to PHY device. Deferring probe.
22:17:28.056 [ 2.190242] libphy: ag71xx_mdio: probed
22:17:28.346 [ 2.480324] mdio‑bus.0:1f: Found an AR934X built‑in switch
22:17:28.349 [ 2.486161] libphy: ar7240sw_mdio: probed
22:17:28.413 [ 2.547466] ag71xx 1a000000.eth: connected to PHY at fixed‑0:00 [uid=00000000, driver=Generic PHY]
22:17:28.422 [ 2.557361] eth1: Atheros AG71xx at 0xba000000, irq 5, mode: gmii
22:17:28.431 [ 2.565631] NET: Registered protocol family 10
22:17:28.434 [ 2.570281] random: fast init done
22:17:28.445 [ 2.578182] Segment Routing with IPv6
22:17:28.447 [ 2.582136] NET: Registered protocol family 17
22:17:28.449 [ 2.586775] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
22:17:28.464 [ 2.600174] 8021q: 802.1Q VLAN Support v1.8
22:17:28.808 [ 2.942046] ag71xx 19000000.eth: connected to PHY at mdio‑bus.0:1f:04 [uid=004dd042, driver=Generic PHY]
22:17:28.817 [ 2.952712] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode: mii
22:17:28.828 [ 2.962408] UBI: auto‑attach mtd5
22:17:28.831 [ 2.965865] ubi0: attaching mtd5
22:17:33.278 [ 7.412164] ubi0: scanning is finished
22:17:33.331 [ 7.464329] ubi0 error: ubi_read_volume_table: not enough PEBs, required 986, available 983
22:17:33.339 [ 7.473285] ubi0 error: ubi_attach_mtd_dev: failed to attach mtd5, error ‑28
22:17:33.344 [ 7.480653] UBI error: cannot attach mtd5
22:17:33.348 [ 7.485461] VFS: Cannot open root device "(null)" or unknown‑block(0,0): error ‑6
22:17:33.357 [ 7.493250] Please append a correct "root=" boot option; here are the available partitions:
22:17:33.365 [ 7.501887] 1f00 256 mtdblock0
22:17:33.371 [ 7.501891] (driver?)
22:17:33.374 [ 7.508637] 1f01 64 mtdblock1
22:17:33.377 [ 7.508639] (driver?)
22:17:33.380 [ 7.515392] 1f02 16000 mtdblock2
22:17:33.383 [ 7.515396] (driver?)
22:17:33.385 [ 7.522159] 1f03 64 mtdblock3
22:17:33.391 [ 7.522163] (driver?)
22:17:33.394 [ 7.528913] 1f04 4096 mtdblock4
22:17:33.397 [ 7.528916] (driver?)
22:17:33.400 [ 7.535669] 1f05 126976 mtdblock5
22:17:33.403 [ 7.535673] (driver?)
22:17:33.406 [ 7.542434] Kernel panic ‑ not syncing: VFS: Unable to mount root fs on unknown‑block(0,0)
22:17:33.415 [ 7.551946] Rebooting in 1 seconds..
22:17:34.419 ^@�!ȵ^K��K��)r��vҤ����KVK��I*�������j��^N��L���^M�T^U��^B�1�^BM(HN�.2��s���^L^Sj^I,�NV�.^Z����=�&���*�^E�Ų+�ݠ��^B��^M�e���
22:17:35.012 jݤ^]kA���f�]^K^A�H*��X+^Ai^V
22:17:35.796 EELH�^PJA�+͡�^Bʲ��(^I���嚥�eꂰa0^B��o�‑�źYꂰ�0����K^AsZ�^V���0���K��^W����^RA�� �^Iʦ���^Y5
22:17:35.807 U��ɽ�Y,7�ݠ.��o�A��^I��^K��n‑ʍa��^I��tY,��^A1���t+�A^TųZkA�+����)��.˝��+�hɲ�C!T+����^S��s^W¸^S�գ�KA�Z�^V���0���!^H�^H^B��^M�Q���^V����,�^K͍���Zk^A�^K2�a.�r� �.�� X^VV�.^V␂�C���+5�%��e,W�^AsY,�K� ��I��^K^R��‑ʍ!%ݴ�,W�A�����K�5�P���A���^V^W��t��^Af^KA�^Wbա.^Wj�K���Y,^I���n�^K���2���.٥j���C!JVմ^R����^KJ�A�n���^V��r'����^H^H���^H^H���^H^H��^H�^H���^H^H�C�H(����A��.����n^V^Af+A���ͮɩ
22:17:41.717 H���s���ɠZ.�х�^W˝ �K�f�nk��Y��dXW��r*
22:17:41.720 ^M!��i�^V*�j
22:17:41.720 Y^W^K��^Z�A��5
22:17:41.725 ^T��C�T���ݠY^W+j
22:17:41.725 ��E��r���5
22:17:41.728 �^]�1�^N�դ�0�*����A�Y.W^VA�^N�ѡ.W�kA�^WJ�����)��^I��^C��^U^U^E�ղW^VA�.���^V����22:18:03.125 j
22:18:03.236 �!����Ѳ^^Z�������YV�;��^NW�k��V�ٍ�T��˝�Y^W^Kj
22:18:03.240 �^W^K^BlZk�dk���T��C�T�^˝ Y^W+*�22:18:04.777 j
22:18:05.560 j
22:18:18.382 printenv
22:18:24.248 �aI��*^V�y^Zݵ��e�lV��V��W���a���5�T���^V���j
22:18:24.253 �^W^K��Z�^A�k�5
22:18:24.253 T��C�T���ݠY^W+*�22:18:28.954 printenv
22:18:38.696 printenv
22:18:41.029 printenv
22:18:45.258 ^M!������^���K����YV�� �^W��ikA�V����T��˝�Y^W^Kj
22:18:45.262 �^W^K^B���‑��w�
22:18:45.262 ���5�T��˝�Y^W+j
22:18:47.928 uboot
22:18:51.754
22:18:52.417
22:18:53.108
22:19:00.227
22:19:00.775
22:19:01.724
22:19:04.797 ^M�U^VA�؋�ᖁ���A��K��^V*�^C�U�nZ�� ��K��^K^A(&^I*��YV�� �.˝ X��o�ѮC���^B�ݴ�,^W2ѡ.^K^R���^Z�1�!�^B^^������B��|�^HB������ ��^H���^P^H^B�����^H���B����^H��^HB`���^_���