折腾:无线宝鲁班openwrt 21.02.1

免责声明

  1. 仅用于测试与学习研究,作者没有对该设备进行任何形式的“破解”,所有信息都是通过正常的方式获取。
  2. 如果任何单位或个人认为本文内容可能涉嫌侵犯其权利,则应及时联系作者并要求删除相关内容。
  3. 作者对本文带来的潜在问题概不负责,包括但不限于由任何错误导致的任何损失或损害。

前言

前几天在京东上买了个京东云无线宝鲁班,硬件配置如下:

1
2
3
4
5
CPU:MT7621A
内存:南亚512MB
闪存:XM25QH128C 128Mit/16MB
无线:MT7975DN + MT7905DAN
网口:全千兆LLLW

本来天天放那边跑分换京豆的,但是这官方固件实在有点用不下去,所以给它搞个适配个openwrt吧。

更新

2022/01/28

结束,告一段落。

为鲁班适配了不死uboot,来自于D-Link AX1860的GPL源码,上电长按JOY键3秒进入刷机页面,需要手动把电脑以太网卡ip地址设置成192.168.68.10。支持刷入原厂固件3.1.1.r1911和我编译的openwrt(源码

  1. u-boot源码地址:https://github.com/lyq1996/MT7621-U-Boot
  2. u-boot下载地址:https://github.com/lyq1996/MT7621-U-Boot/releases/tag/v1.0.0
  3. openwrt 21.02.1下载地址:https://lyq.blogd.club/assets/img/openwrt-ramips-mt7621-jdcloud_re-cp-02-squashfs-sysupgrade.bin ,sha256:3f6413643bb0f9d75c4830998e720517fe56655958400794511c9a5dfe8f81c6
  4. 请注意:刷入前务必备份0x40000 - 0x4ffff的u-boot-env分区(原厂固件叫Config),以及0x50000 - 0x8ffff的factory分区!!!

刷入方式:
仅在3.1.1.r1911测试通过。

  1. 拆机,编程器备份整个闪存,保存一份
  2. 拷贝一份编程器固件,使用二进制编辑器(推荐010 Editor)打开编程器固件。
  3. 用我提供的u-boot-mt7621.bin替换掉编程器固件0x0-0x3ffff(256k)的内容。因为u-boot-mt7621.bin大小228030字节(223k),不足256k的部分要设置成0xff。
  4. 编程器刷入,获得不死u-boot!!
  5. 关机,上电按住JOY不放,ip地址设置为192.168.68.10
  6. 浏览器打开192.168.68.1进入web刷机页面,选择openwrt刷入
  7. 耐心等待,成功Enjoy!!!失败进入web刷机页面

2022/01/27

回到家中,接上了UART,附上启动日志。

点击查看
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237

===================================================================
MT7621 stage1 code Dec 16 2019 17:45:55 (ASIC)
CPU=500000000 HZ BUS=166666666 HZ
==================================================================
Change MPLL source from XTAL to CR...
do MEMPLL setting..
MEMPLL Config : 0x11000000
3PLL mode + External loopback
=== XTAL-40Mhz === DDR-1200Mhz ===
PLL2 FB_DL: 0x8, 1/0 = 629/395 21000000
PLL3 FB_DL: 0x14, 1/0 = 542/482 51000000
PLL4 FB_DL: 0x17, 1/0 = 656/368 5D000000
DDR patch working
do DDR setting..[01F40000]
Apply DDR3 Setting...(use default AC)
0 8 16 24 32 40 48 56 64 72 80 88 96 104 11 2 120
-------------------------------------------------------------------------- ------
0000:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0001:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0002:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0003:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0004:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0005:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0006:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0007:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0008:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0009:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
000A:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
000B:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
000C:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
000D:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1
000E:| 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1
000F:| 0 0 0 1 1 1 1 1 1 1 1 1 1 0 0 0
0010:| 1 1 1 1 1 1 1 1 0 0 0 0 0 0 0 0
0011:| 1 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0
0012:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0013:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0014:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0015:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0016:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0017:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0018:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0019:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
001A:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
001B:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
001C:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
001D:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
001E:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
001F:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
DRAMC_DQSCTL1[0e0]=13000000
DRAMC_DQSGCTL[124]=80000033
rank 0 coarse = 15
rank 0 fine = 64
B:| 0 0 0 0 0 0 0 0 1 1 1 0 0 0 0 0
opt_dle value:9
DRAMC_DDR2CTL[07c]=C287221D
DRAMC_PADCTL4[0e4]=000022B3
DRAMC_DQIDLY1[210]=0B0B0A0B
DRAMC_DQIDLY2[214]=090B0A09
DRAMC_DQIDLY3[218]=0B0B0B09
DRAMC_DQIDLY4[21c]=0C090E0A
DRAMC_R0DELDLY[018]=00001F1F
==================================================================
RX DQS perbit delay software calibration
==================================================================
1.0-15 bit dq delay value
==================================================================
bit| 0 1 2 3 4 5 6 7 8 9
--------------------------------------
0 | 9 8 8 10 8 8 9 9 7 8
10 | 9 9 9 11 9 11
--------------------------------------

==================================================================
2.dqs window
x=pass dqs delay value (min~max)center
y=0-7bit DQ of every group
input delay:DQS0 =31 DQS1 = 31
==================================================================
bit DQS0 bit DQS1
0 (1~58)29 8 (1~58)29
1 (1~58)29 9 (1~56)28
2 (1~55)28 10 (1~58)29
3 (1~60)30 11 (1~57)29
4 (1~60)30 12 (1~60)30
5 (1~58)29 13 (1~56)28
6 (1~58)29 14 (1~62)31
7 (1~62)31 15 (1~59)30
==================================================================
3.dq delay value last
==================================================================
bit| 0 1 2 3 4 5 6 7 8 9
--------------------------------------
0 | 11 10 11 11 9 10 11 9 9 11
10 | 11 11 10 14 9 12
==================================================================
==================================================================
TX perbyte calibration
==================================================================
DQS loop = 15, cmp_err_1 = ffff0000
dqs_perbyte_dly.last_dqsdly_pass[0]=15, finish count=1
dqs_perbyte_dly.last_dqsdly_pass[1]=15, finish count=2
DQ loop=15, cmp_err_1 = ffff01aa
DQ loop=14, cmp_err_1 = ffff0080
dqs_perbyte_dly.last_dqdly_pass[1]=14, finish count=1
DQ loop=13, cmp_err_1 = ffff0000
dqs_perbyte_dly.last_dqdly_pass[0]=13, finish count=2
byte:0, (DQS,DQ)=(9,8)
byte:1, (DQS,DQ)=(8,8)
DRAMC_DQODLY1[200]=88888888
DRAMC_DQODLY2[204]=88888888
20,data:89
[EMI] DRAMC calibration passed

===================================================================
MT7621 stage1 code done
CPU=500000000 HZ BUS=166666666 HZ
===================================================================

U-Boot SPL 2018.09 (Jul 01 2021 - 11:17:33 +0800)
Trying to boot from NOR


U-Boot 2018.09 (Jul 01 2021 - 11:17:33 +0800)

CPU: MediaTek MT7621AT ver 1, eco 3
Clocks: CPU: 880MHz, DDR: 1200MHz, Bus: 220MHz, XTAL: 40MHz
Model: MediaTek MT7621 reference board
DRAM: 448 MiB
MMC: mmc@1e130000: 0
Loading Environment from SPI Flash... SF: Detected whxx25q128 with page size 256 Bytes, erase size 64 KiB, total 16 MiB
OK
In: uartlite0@1e000c00
Out: uartlite0@1e000c00
Err: uartlite0@1e000c00
Net:
Warning: eth@1e100000 (eth0) using random MAC address - 5e:69:c8:f8:cf:5b
eth0: eth@1e100000
Saving Environment to SPI Flash... SF: Detected whxx25q128 with page size 256 By tes, erase size 64 KiB, total 16 MiB
Erasing SPI flash...Writing to SPI flash...done
OK
Hit any key to stop autoboot: 0
++++++++++++++upgradeFlag=<NULL>
rest gpio value=1 (Low Level effective)
SF: Detected whxx25q128 with page size 256 Bytes, erase size 64 KiB, total 16 Mi B
Reading from flash 0x90000 to mem 0x80010000, size 0x3b08a0 ...
## Executing script at 80010000
sha1+ sha1,rsa2048:image-key+ ## Loading kernel from FIT Image at 80010000 ...
Using 'config@1' configuration
Verifying Hash Integrity ... sha1,rsa2048:image-key+ OK
Trying 'kernel@1' kernel subimage
Description: MIPS OpenWrt Linux-4.4.198
Type: Kernel Image
Compression: lzma compressed
Data Start: 0x800100e4
Data Size: 3852951 Bytes = 3.7 MiB
Architecture: MIPS
OS: Linux
Load Address: 0x81001000
Entry Point: 0x81001000
Hash algo: crc32
Hash value: 2c11ced7
Hash algo: sha1
Hash value: 44803cad6dd7b24a65388120ba20036833bd6105
Sign algo: sha1,rsa2048:image-key
Sign value: 68a55673190a4727a5dd853e4cbe94c0a33e06ccb1ac1faacd21942372c5c 6c8f835cd9d888ada09b60f56d342c3bf09ae68130ed09b77b3fda5629565ce6fce265ab4f693c69 0498de059b0c631c0c904fdfd1cac453fb90a124092d4b3c0ab784d2ba73e66c59bd1abf81eabde9 795b2f91849aedaa17db3cd2581f39a09c55468a7ceff4c12801e6a4a30c4e5b76738f487bd9c52c 44ddb664895b76045b0649f5c7e108b6073928244cf53224f8eb84cd35297f8dc389e763b154abab cef97860eb08ffc496cf1da0488c2d15fffa75ca77bb95f482b1de7fc4f20b685e9694e8de3b4de4 71b0555845645013edcf112de02da3fee94ba85debe7213a0a4
Verifying Hash Integrity ... crc32+ sha1+ sha1,rsa2048:image-key+ OK
## Loading fdt from FIT Image at 80010000 ...
Using 'config@1' configuration
Verifying Hash Integrity ... sha1,rsa2048:image-key+ OK
Trying 'fdt@1' fdt subimage
Description: MIPS OpenWrt mt7621-rfb-ax-nor device tree blob
Type: Flat Device Tree
Compression: uncompressed
Data Start: 0x803bce48
Data Size: 11111 Bytes = 10.9 KiB
Architecture: MIPS
Hash algo: sha1
Hash value: f39fecda8c158b89aaddb4d8cf0763e02004f94a
Sign algo: sha1,rsa2048:image-key
Sign value: 814b52f657b2070f2bd3cdd7ae9920ca5f391cf2eedb74f363a1472a183b2 2e81b29354efddec93d26822e81c6945ea41ec0202430dd6e59d63c975b3c73b4f30cdda6c7ebecb 2b3a6262050b860e8a5c38b055cda8ba35ad8f11f4c07723a996b7ffd83d8ebd707effbd8969c76e c21a801719f5a9bd56372be19463dbd940bc3a52dc3dbd134a5b5b0689bdb3eb83b306ff8eff6240 f4581ce4b2cae57905b5ba1f33f28bc82d915c1b56799b9b4beb27ad40060115bdf687fe346c1c6e 04209dcc22096623d66a1ec1b559dcdf0dcf527533832f07ba178dd71c33216e340359c8f98e923c 13d3df3d49c8ae7322f28caff7e85bbeb05bd4e3d35330bddd0
Verifying Hash Integrity ... sha1+ sha1,rsa2048:image-key+ OK
Booting using the fdt blob at 0x803bce48
## Loading loadables from FIT Image at 80010000 ...
Trying 'script@1' loadables subimage
Description: U-Boot Script
Type: Script
Compression: uncompressed
Data Start: 0x803bfbf8
Data Size: 282 Bytes = 282 Bytes
Hash algo: sha1
Hash value: b42cbbd71c993080b3ab33eda944ae6440b6e2d9
Sign algo: sha1,rsa2048:image-key
Sign value: bdc64d70cf35d0b9cfd01b7d115d80baa7912281685d54e81260335551abc 72193a5a17f85b70f56b9aa55e7f23200e87733ca4419a3e2e58f714b2706f08342f6ed59c3478d6 96081b598337c6f0167cc072ac69d6125bf815434faa03e159fc4a4ca82f9830dcd6a61743f8bfc8 f7fccd34108a8e73df2635364b48d49e66311385c0a7705810f30174dcbcf709dd6aa2a83a0b8c73 c72b21efc3ca37599682bbc6223d4c3e0055e73d00ddc9ec9e4ef7573b23485a13812c3956e8e313 b0ebb00d939d7a7200cb27adbf888363e20b80712a2c3534a7372e184bc949ada5cacdbc7a5b6f0e a0f40f63b7472930d15d0cb1d9150f9ba82155708339f720f8f
Verifying Hash Integrity ... sha1+ sha1,rsa2048:image-key+ OK
Uncompressing Kernel Image ... OK
Loading Device Tree to 9be47000, end 9be4cb66 ... OK
[ 0.000000] Initializing cgroup subsys cpuset
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Initializing cgroup subsys cpuacct
[ 0.000000] Linux version 4.4.198 (nick@ubuntu) (gcc version 5.4.0 (LEDE GCC 5.4.0 r0-0eb9e52b) ) #0 SMP Wed Nov 17 16:24:02 UTC 2021
[ 0.000000] SoC Type: MediaTek MT7621 ver:1 eco:3
[ 0.000000] bootconsole [early0] enabled
[ 0.000000] CPU0 revision is: 0001992f (MIPS 1004Kc)
[ 0.000000] MIPS: machine is MediaTek MT7621 RFB (802.11ax,SNOR)
[ 0.000000] Determined physical RAM map:
[ 0.000000] memory: 1c000000 @ 00000000 (usable)
[ 0.000000] memory: 04000000 @ 20000000 (usable)
[ 0.000000] Initrd not found or empty - disabling initrd
[ 0.000000] Zone ranges:
[ 0.000000] DMA [mem 0x0000000000000000-0x0000000000ffffff]
[ 0.000000] Normal [mem 0x0000000001000000-0x000000000fffffff]
[ 0.000000] HighMem [mem 0x0000000010000000-0x0000000023ffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000000000000-0x000000001bffffff]
[ 0.000000] node 0: [mem 0x0000000020000000-0x0000000023ffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000023ffffff]
[ 0.000000] VPE topology {2,2} total 4
[ 0.000000] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[ 0.000000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 byt es
[ 0.000000] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[ 0.000000] PERCPU: Embedded 10 pages/cpu @82335000 s9280 r8192 d23488 u40960
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pag es: 130496
[ 0.000000] Kernel command line: console=ttyS0,115200n1 root=/dev/dm-0 dm="vr oot none ro 1,0 21104 verity 1 /dev/mtdblock5 /dev/mtdblock5 4096 4096 2638 2639 sha256 a9b9cf7e1af382ba64dc3ccac9c67f9a8cf6f711d1af1e119ad626a1a561ac1b b693944 4d89bd8901c7768afd88ae630a4bbc9abddc5b8f21ff9f4ce8b162c7c," rootfstype=squashfs, jffs2
[ 0.000000] device-mapper: init: will configure 1 devices
[ 0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
[ 0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
[ 0.000000] Writing ErrCtl register=00042052
[ 0.000000] Readback ErrCtl register=00042052
[ 0.000000] Memory: 504236K/524288K available (8036K kernel code, 4044K rwdat a, 1840K rodata, 212K init, 260K bss, 20052K reserved, 0K cma-reserved, 262144K highmem)
[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[ 0.000000] Hierarchical RCU implementation.
[ 0.000000] NR_IRQS:256
[ 0.000000] clocksource: GIC: mask: 0xffffffffffffffff max_cycles: 0xcaf478abb4, max_idle_ns: 440795247997 ns
[ 0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 4343773742 ns
[ 0.000009] sched_clock: 32 bits at 440MHz, resolution 2ns, wraps every 4880645118ns
[ 0.007786] Calibrating delay loop... 586.13 BogoMIPS (lpj=2930688)
[ 0.070412] pid_max: default: 32768 minimum: 301
[ 0.075160] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.081686] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.089595] Initializing cgroup subsys io
[ 0.093582] Initializing cgroup subsys memory
[ 0.097887] Initializing cgroup subsys devices
[ 0.102255] Initializing cgroup subsys freezer
[ 0.106684] Initializing cgroup subsys net_cls
[ 0.111065] Initializing cgroup subsys pids
[ 5.262259] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[ 5.262269] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[ 5.262279] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[ 5.262428] CPU1 revision is: 0001992f (MIPS 1004Kc)
[ 0.202710] Synchronize counters for CPU 1: done.
[ 4.889306] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[ 4.889312] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[ 4.889319] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[ 4.889392] CPU2 revision is: 0001992f (MIPS 1004Kc)
[ 0.293165] Synchronize counters for CPU 2: done.
[ 4.979457] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[ 4.979464] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[ 4.979471] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[ 4.979552] CPU3 revision is: 0001992f (MIPS 1004Kc)
[ 0.378344] Synchronize counters for CPU 3: done.
[ 0.383094] Brought up 4 CPUs
[ 0.390962] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.400762] futex hash table entries: 1024 (order: 3, 32768 bytes)
[ 0.407198] pinctrl core: initialized pinctrl subsystem
[ 0.413886] NET: Registered protocol family 16
[ 0.453765] mt7621_gpio 1e000600.gpio: registering 32 gpios
[ 0.459407] mt7621_gpio 1e000600.gpio: registering 32 gpios
[ 0.465127] mt7621_gpio 1e000600.gpio: registering 32 gpios
[ 0.470705] ######## gpiomode ====40C #############
[ 0.476072] mt7621-pci 1e140000.pcie: Failed to get gpio for PCIe1
[ 0.482172] mt7621-pci 1e140000.pcie: Failed to get gpio for PCIe2
[ 0.688674] PCIe port 2 link down
[ 0.691903] PCI coherence region base: 0x60000000, mask/settings: 0xf0000002
[ 0.721865] PCI host bridge to bus 0000:00
[ 0.725902] pci_bus 0000:00: root bus resource [mem 0x60000000-0x6fffffff]
[ 0.732750] pci_bus 0000:00: root bus resource [io 0x1e160000-0x1e16ffff]
[ 0.739540] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[ 0.746296] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[ 0.754965] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[ 0.762895] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[ 0.772405] pci 0000:00:00.0: BAR 9: assigned [mem 0x60000000-0x601fffff pref]
[ 0.779555] pci 0000:00:01.0: BAR 9: assigned [mem 0x60200000-0x603fffff pref]
[ 0.786696] pci 0000:00:00.0: BAR 1: assigned [mem 0x60400000-0x6040ffff]
[ 0.793463] pci 0000:00:01.0: BAR 1: assigned [mem 0x60410000-0x6041ffff]
[ 0.800175] pci 0000:01:00.0: BAR 0: assigned [mem 0x60000000-0x600fffff 64bit pref]
[ 0.807897] pci 0000:01:00.0: BAR 2: assigned [mem 0x60100000-0x60103fff 64bit pref]
[ 0.815572] pci 0000:01:00.0: BAR 4: assigned [mem 0x60104000-0x60104fff 64bit pref]
[ 0.823277] pci 0000:00:00.0: PCI bridge to [bus 01]
[ 0.828167] pci 0000:00:00.0: bridge window [mem 0x60000000-0x601fffff pref]
[ 0.835363] pci 0000:02:00.0: BAR 0: assigned [mem 0x60200000-0x602fffff 64bit pref]
[ 0.843038] pci 0000:02:00.0: BAR 2: assigned [mem 0x60300000-0x60303fff 64bit pref]
[ 0.850751] pci 0000:02:00.0: BAR 4: assigned [mem 0x60304000-0x60304fff 64bit pref]
[ 0.858421] pci 0000:00:01.0: PCI bridge to [bus 02]
[ 0.863353] pci 0000:00:01.0: bridge window [mem 0x60200000-0x603fffff pref]
[ 0.872331] clocksource: Switched to clocksource GIC
[ 0.879735] NET: Registered protocol family 2
[ 0.884926] TCP established hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.891816] TCP bind hash table entries: 2048 (order: 2, 16384 bytes)
[ 0.898247] TCP: Hash tables configured (established 2048 bind 2048)
[ 0.904598] UDP hash table entries: 256 (order: 1, 8192 bytes)
[ 0.910347] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[ 0.916888] NET: Registered protocol family 1
[ 0.935279] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.941033] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 0.954564] bounce: pool size: 64 pages
[ 0.958321] io scheduler noop registered
[ 0.962205] io scheduler deadline registered (default)
[ 0.969009] Serial: 8250/16550 driver, 3 ports, IRQ sharing disabled
[ 0.976647] console [ttyS0] disabled
[ 0.980189] 1e000c00.uartlite: ttyS0 at MMIO 0x1e000c00 (irq = 33, base_baud = 3125000) is a 16550A
[ 0.989184] console [ttyS0] enabled
[ 0.989184] console [ttyS0] enabled
[ 0.996089] bootconsole [early0] disabled
[ 0.996089] bootconsole [early0] disabled
[ 1.004592] 1e000d00.uartfull: ttyS1 at MMIO 0x1e000d00 (irq = 34, base_baud = 3125000) is a 16550A
[ 1.014157] 1e000e00.uartfull: ttyS2 at MMIO 0x1e000e00 (irq = 35, base_baud = 3125000) is a 16550A
[ 1.027003] m25p80 spi32766.0: whxx25q128 (16384 Kbytes)
[ 1.032411] 4 ofpart partitions found on MTD device spi32766.0
[ 1.038241] Creating 4 MTD partitions on "spi32766.0":
[ 1.043439] 0x000000000000-0x000000040000 : "Bootloader"
[ 1.050364] 0x000000040000-0x000000050000 : "Config"
[ 1.056821] 0x000000050000-0x000000090000 : "Factory"
[ 1.063445] 0x000000090000-0x000001000000 : "firmware"
[ 1.080845] 2 fit-fw partitions found on MTD device firmware
[ 1.086573] 0x000000090000-0x000000450000 : "kernel"
[ 1.093058] 0x000000450000-0x000001000000 : "rootfs"
[ 1.099272] mtd: device 5 (rootfs) set to be root filesystem
[ 1.105115] 1 squashfs-split partitions found on MTD device rootfs
[ 1.111302] 0x000000ec0000-0x000001000000 : "rootfs_data"
[ 1.118759] libphy: Fixed MDIO Bus: probed
[ 1.182602] libphy: mdio: probed
[ 1.186415] mtk_soc_eth 1e100000.ethernet: generated random MAC address 66:9d:27:2b:84:27
[ 1.195149] mtk_soc_eth 1e100000.ethernet: connected mac 0 to PHY at fixed-0:00 [uid=00000000, driver=Generic PHY]
[ 1.206356] mtk_soc_eth 1e100000.ethernet eth0: mediatek frame engine at 0xbe100000, irq 10
[ 1.214816] mtk_soc_eth 1e100000.ethernet: generated random MAC address d2:82:12:7d:29:f3
[ 1.223590] mtk_soc_eth 1e100000.ethernet: connected mac 1 to PHY at fixed-0:01 [uid=00000000, driver=Generic PHY]
[ 1.234773] mtk_soc_eth 1e100000.ethernet eth1: mediatek frame engine at 0xbe100000, irq 10
[ 1.243438] register mt_drv
[ 1.246433] <--mt7916_hif_init()
[ 1.250147] Rx[0] Ring: total 24576 bytes allocated
[ 1.259467] Rx[1] Ring: total 16384 bytes allocated
[ 1.264464] <-- pci_alloc_tx_rx_ring_mem, Status=0
[ 1.303562]
[ 1.303562]
[ 1.303562] === pAd = c0301000, size = 13703424 ===
[ 1.303562]
[ 1.314445] <-- RTMPAllocAdapterBlock, Status=0
[ 1.318990] PCI CSRBaseAddress =0xc0200000, csr_addr=0xc0200000!
[ 1.325033] RTMPInitPCIeDevice():device_id=0x7915
[ 1.329739] mt7915_init()-->
[ 1.332628] Use the default iPAiLNA bin image!
[ 1.337146] <--mt7915_init()
[ 1.340357] RtmpOSFileOpen(): Error 2 opening /etc/wireless/l1profile.dat
[ 1.348180] wdev_init(caller:RTMP_COM_IoctlHandle+0x39c/0x18a4), wdev(0)
[ 1.355927] Rx[0] Ring: total 24576 bytes allocated
[ 1.360997] Rx[1] Ring: total 24576 bytes allocated
[ 1.368211] Rx[2] Ring: total 8192 bytes allocated
[ 1.377259] Rx[3] Ring: total 16384 bytes allocated
[ 1.384600] Rx[4] Ring: total 8192 bytes allocated
[ 1.389450] <-- pci_alloc_tx_rx_ring_mem, Status=0
[ 1.396414] mt7621_wdt 1e000100.wdt: Initialized
[ 1.401960] device-mapper: ioctl: 4.34.0-ioctl (2015-10-28) initialised: dm-devel@redhat.com
[ 1.412592] NET: Registered protocol family 10
[ 1.418645] NET: Registered protocol family 17
[ 1.423235] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
[ 1.435872] 8021q: 802.1Q VLAN Support v1.8
[ 1.482457] mt753x gsw: Switch is MediaTek MT7530 rev 1
[ 1.509199] libphy: mt753x_mdio: probed
[ 1.521156] mt753x gsw: eth1,link is down.
[ 1.525966] hctosys: unable to open rtc device (rtc0)
[ 1.531995] device-mapper: init: attempting early device configuration.
[ 1.540116] device-mapper: init: adding target '0 21104 verity 1 /dev/mtdblock5 /dev/mtdblock5 4096 4096 2638 2639 sha256 a9b9cf7e1af382ba64dc3ccac9c67f9a8cf6f711d1af1e119ad626a1a561ac1b b6939444d89bd8901c7768afd88ae630a4bbc9abddc5b8f21ff9f4ce8b162c7c'
[ 1.563594] device-mapper: init: dm-0 is ready
[ 1.718953] VFS: Mounted root (squashfs filesystem) readonly on device 254:0.
[ 1.726730] Freeing unused kernel memory: 212K
[ 1.731183] This architecture does not have kernel memory protection.
[ 2.816936] init: Console is alive
[ 2.820587] init: - watchdog -
[ 3.720258] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[ 3.865232] mtk-eip93 1e004000.crypto: Assigning IRQ: 26
[ 3.872171] mtk-eip93 1e004000.crypto: Init succesfull
[ 3.887647] NET: Registered protocol family 38
[ 3.903218] ip_rate: module license 'unspecified' taints kernel.
[ 3.909240] Disabling lock debugging due to kernel taint
[ 3.922370] SCSI subsystem initialized
[ 3.975211] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[ 4.002632] init: - preinit -
[ 4.214138] mmc0: new high speed SDXC card at address aaaa
[ 4.220902] mmcblk0: mmc0:aaaa SD64G 59.5 GiB
[ 4.227317] mmcblk0: p1 p2 p3 p4
[ 4.428573] random: procd: uninitialized urandom read (4 bytes read, 84 bits of entropy available)
[ 4.681751] mt753x gsw: Port 3 Link is Up - 1Gbps/Full
[ 5.725892] random: jshn: uninitialized urandom read (4 bytes read, 112 bits of entropy available)
[ 5.781855] random: jshn: uninitialized urandom read (4 bytes read, 114 bits of entropy available)
[ 5.920053] random: jshn: uninitialized urandom read (4 bytes read, 115 bits of entropy available)
[ 5.965030] random: jshn: uninitialized urandom read (4 bytes read, 116 bits of entropy available)
[ 6.035601] random: jshn: uninitialized urandom read (4 bytes read, 116 bits of entropy available)
sendto(): Network unreachable
Press the [f] key and hit [enter] to enter failsafe mode
Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level
[ 8.874264] random: nonblocking pool is initialized
[ 11.028490] mount_root: loading kmods from internal overlay
[ 11.063343] kmodloader: loading kernel modules from //etc/modules-boot.d/*
[ 11.076813] kmodloader: done loading kernel modules from //etc/modules-boot.d/*
[ 13.025513] jffs2: notice: (593) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[ 16.436251] block: cryptsetup open [dev] overlay: 0
[ 19.191173] block: cryptsetup open [dev] opt: 0
[ 19.195866] block: attempting to load /tmp/jffs_cfg/upper/etc/config/fstab
[ 19.209546] block: extroot: device not present, retrying in 5 seconds
Device overlay already exists.
[ 24.252149] block: cryptsetup open [dev] overlay: 1280
Device opt already exists.
[ 24.287185] block: cryptsetup open [dev] opt: 1280
[ 24.553227] EXT4-fs (dm-1): recovery complete
[ 24.559658] EXT4-fs (dm-1): mounted filesystem with ordered data mode. Opts:
[ 24.614905] mount_root: switched to extroot
[ 24.625188] urandom-seed: Seeding with /etc/urandom.seed
[ 24.818072] procd: - early -
[ 24.821067] procd: - watchdog -
[ 25.532716] procd: - watchdog -
[ 25.536184] procd: - ubus -
[ 25.706349] procd: - init -
[ 26.224474] EXT4-fs (mmcblk0p4): recovery complete
[ 26.230468] EXT4-fs (mmcblk0p4): mounted filesystem with ordered data mode. Opts:
############## nick mt7615_detect skip uci2dat ################
############## nick mt7615_detect skip uci2dat ################
[ 27.815445] kmodloader: loading kernel modules from /etc/modules.d/*
[ 27.885822] l2tp_core: L2TP core driver, V2.0
[ 27.891378] l2tp_netlink: L2TP netlink interface
[ 27.897353] gre: GRE over IPv4 demultiplexor driver
[ 27.903781] ip_gre: GRE over IPv4 tunneling driver
[ 27.917432] ip6_tables: (C) 2000-2006 Netfilter Core Team
[ 27.937143] fuse init (API version 7.23)
[ 27.946356] Bridge firewalling registered
[ 27.964359] Ebtables v2.0 registered
[ 27.969683] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 27.981130] Current mapfilter version v2.0.2
[ 27.986937] -->mtfwd_init(ver:1.0)<--
[ 27.997327] nf_conntrack version 0.5.0 (7882 buckets, 31528 max)
[ 28.309201] xt_time: kernel timezone is -0000
[ 28.329748] PPP generic driver version 2.4.2
[ 28.336855] PPP MPPE Compression module registered
[ 28.343397] NET: Registered protocol family 24
[ 28.349231] PPTP driver version 0.8.5
[ 28.356755] l2tp_ppp: PPPoL2TP kernel driver, V2.0
[ 28.364663] kmodloader: done loading kernel modules from /etc/modules.d/*
++++++++ Current 2G +++++ 458 ++++++++++++
++++++++ Current 5G +++++ 456 ++++++++++++
[ 28.981421] [mtfwd] update eth interface eth0
[ 32.127532] xt_FULLCONENAT: RFC3489 Full Cone NAT module
[ 32.127532] xt_FULLCONENAT: Copyright (C) 2018 Chion Tang <tech@chionlab.moe>
[ 32.755760] mediatek_soc_hnat 1e100000.hnat: wan = eth1
[ 32.761007] mediatek_soc_hnat 1e100000.hnat: lan = eth0
[ 32.766290] mediatek_soc_hnat 1e100000.hnat: ppd = eth0
[ 32.771542] mediatek_soc_hnat 1e100000.hnat: gmac num = 2
[ 32.777398] lhchtest 00000000000000000001 mkdir /proc/mtksta ok
[ 32.783541] mediatek_soc_hnat 1e100000.hnat: ext devices = rax0
[ 32.789460] mediatek_soc_hnat 1e100000.hnat: ext devices = ra0
[ 32.795341] mediatek_soc_hnat 1e100000.hnat: ext devices = rax1
[ 32.801291] mediatek_soc_hnat 1e100000.hnat: ext devices = ra1
[ 32.807183] mediatek_soc_hnat 1e100000.hnat: ext devices = rax2
[ 32.813132] mediatek_soc_hnat 1e100000.hnat: ext devices = ra2
[ 32.818968] mediatek_soc_hnat 1e100000.hnat: ext devices = rax3
[ 32.824929] mediatek_soc_hnat 1e100000.hnat: ext devices = ra3
[ 32.830781] mediatek_soc_hnat 1e100000.hnat: ext devices = apclix0
[ 32.837018] mediatek_soc_hnat 1e100000.hnat: ext devices = apcli0
[ 32.845689] mediatek_soc_hnat 1e100000.hnat: FOE entry number = 8192
[ 32.853517] mediatek_soc_hnat 1e100000.hnat: hwnat start
#######nick reload uci2dat /etc/wireless/mediatek/mt7915.dbdc.b0.dat#########
[ 35.240932] device eth0 entered promiscuous mode
[ 35.248319] br-lan: port 1(eth0) entered forwarding state
[ 35.253941] br-lan: port 1(eth0) entered forwarding state
[ 35.272936] ra0: ===> main_virtual_if_open
[ 35.277076] RTMP_COM_IoctlHandle -> CMD_RTPRIV_IOCTL_VIRTUAL_INF_INIT
[ 35.289411] load l1profile succeed!
[ 35.293043] mt_service_open: wlan service opens successfully!
[ 35.320949] APWdsInitialize():WdsEntry[0~15]
[ 35.335710] mt_wc file line count: 458 !
[ 35.340115] mt_wc file line count: 456 !
[ 35.536785] [multi_profile_merge_5g_only] DBDC_MODE=1
[ 35.568005] WdsEnable is unknow(0;0)
#######nick up s[ 35.603505] multi-profile merge success, en:1,pf1_num:2,pf2_num:1,total:3
kip uci2dat /etc[ 35.611050] Open file "/etc/wireless/mediatek/DBDC_card0.dat" to store DBDC cfg! (23)
/wireless/mediatek/mt7915.dbdc.b0.dat#########
[ 35.629458] Write file "/etc/wireless/mediatek/DBDC_card0.dat" success (size=7603)!
[ 35.638372] BssidNum=3
[ 35.640789] Pf2MbssIdxMap:
[ 35.643605] 0 1 2
[ 35.650995] E2pAccessMode=2
[ 35.655221] SSID[0]=Cr4ck3d-2.4G, EdcaIdx=0
[ 35.659853] SSID[1]=aaaaaaa, EdcaIdx=0
[ 35.664044] SSID[2]=Cr4ck3d-5G, EdcaIdx=0
[ 35.668773] RTMPSetProfileParameters(): DBDC Mode=1, eDBDC_mode = 1
[ 35.676583] cfg_mode=16
[ 35.679052] cfg_mode=16
[ 35.681511] cfg_mode=16
[ 35.684007] wmode_band_equal(): Band Equal!
[ 35.688218] cfg_mode=16
[ 35.690674] cfg_mode=16
[ 35.693246] cfg_mode=16
[ 35.695810] cfg_mode=17
[ 35.698279] cfg_mode=17
[ 35.701690] auto_ch_select_set_cfg(): BandIdx0, AutoChannelAtBootup=1, AutoChannelAlg = 3
[ 35.710045] auto_ch_select_set_cfg(): BandIdx1, AutoChannelAtBootup=0, AutoChannelAlg = 0
[ 35.719152] Index0 Channel=0
[ 35.722143] Index1 Channel=36
[ 35.728097] BandSteering=0
[ 35.731416] BndStrgBssIdx=1;0;1
[ 35.735251] [TxPower] BAND0: 100, BAND1: 100
[ 35.739925] [PowerUpenable] BAND0: 0, BAND1: 100
[ 35.752883] [SKUenable] BAND0: 0, BAND1: 0
[ 35.757343] [SkuTableIdx]: 0
[ 35.760597] [CCKTxStream] BAND0: 4, BAND1: 0
[ 35.765438] [PERCENTAGEenable] BAND0: 0, BAND1: 0
[ 35.770852] [BFBACKOFFenable] BAND0: 0, BAND1: 0
[ 35.776127] [Disable160RuMu] BAND0: 1, BAND1: 1
[ 35.781233] [MaxRuOfdma] BAND0: 8, BAND1: 8
[ 35.786147] [MaxDLMuMimo] BAND0: 2, BAND1: 2
[ 35.790959] [MaxULMuMimo] BAND0: 2, BAND1: 2
[ 35.797505] profile: FragThreshold[0]=2346
[ 35.801742] profile: FragThreshold[1]=2346
[ 35.805947] profile: FragThreshold[2]=2346
[ 35.811950] APEdca0
[ 35.814707] Valid=1
[ 35.816856] APAifsn[0]=3
[ 35.819590] APAifsn[1]=7
[ 35.822341] APAifsn[2]=1
[ 35.824982] APAifsn[3]=1
[ 35.827583] APEdca1
[ 35.830137] Valid=1
[ 35.832425] APAifsn[0]=3
[ 35.835003] APAifsn[1]=7
[ 35.837587] APAifsn[2]=1
[ 35.840251] APAifsn[3]=1
[ 35.842926] APEdca2
[ 35.845758] APEdca3
[ 35.857250] BSSAifsn[0]=3
[ 35.859917] BSSAifsn[1]=7
[ 35.862610] BSSAifsn[2]=2
[ 35.865251] BSSAifsn[3]=2
[ 35.868443] BSSAifsn[0]=3
[ 35.871162] BSSAifsn[1]=7
[ 35.873900] BSSAifsn[2]=2
[ 35.876547] BSSAifsn[3]=2
[ 35.879978] BSSAifsn[0]=3
[ 35.882719] BSSAifsn[1]=7
[ 35.885402] BSSAifsn[2]=2
[ 35.888089] BSSAifsn[3]=2
[ 35.891725] UAPSDCapable[0]=1
[ 35.894829] UAPSDCapable[1]=1
[ 35.897920] default ApCliUAPSDCapable[0]=1
[ 35.902043] default ApCliUAPSDCapable[1]=1
[ 35.909917] DfsZeroWait Support=0/0
[ 35.916407] DfsZeroWaitCacTime=255/255
[ 35.921993] read_itxbf: ITxBfEn = 1
[ 35.925561] read_itxbf: BSSID[0]
[ 35.928812] read_itxbf: MBSS[0] ITxBfEn = 1
[ 35.933043] read_itxbf: ITxBfEn = 1
[ 35.936545] read_itxbf: BSSID[1]
[ 35.939888] read_itxbf: MBSS[1] ITxBfEn = 1
[ 35.944217] read_itxbf: ITxBfEn = 0
[ 35.947734] read_itxbf: BSSID[2]
[ 35.950974] read_itxbf: MBSS[2] ITxBfEn = 0
[ 35.955196] read_itxbf: Common.ITxBfEn = 1
[ 35.959814] read_etxbf: ETxBfEnCond = 1
[ 35.963775] read_etxbf: BSSID[0]
[ 35.967109] read_etxbf: MBSS[0] ETxBfEnCond = 1
[ 35.971662] read_etxbf: ETxBfEnCond = 1
[ 35.975609] read_etxbf: BSSID[1]
[ 35.978863] read_etxbf: MBSS[1] ETxBfEnCond = 1
[ 35.983435] read_etxbf: ETxBfEnCond = 1
[ 35.987291] read_etxbf: BSSID[2]
[ 35.990565] read_etxbf: MBSS[2] ETxBfEnCond = 1
[ 35.996325] HeraStbcPriority[0] = 0
[ 35.999893] HeraStbcPriority[1] = 0
[ 36.007997] MBSS[0] MuOfdmaDlEnable = 1
[ 36.011902] MBSS[1] MuOfdmaDlEnable = 1
[ 36.015923] MBSS[2] MuOfdmaDlEnable = 1
[ 36.020258] MBSS[0] MuOfdmaUlEnable = 1
[ 36.024214] MBSS[1] MuOfdmaUlEnable = 1
[ 36.028159] MBSS[2] MuOfdmaUlEnable = 0
[ 36.032778] MBSS[0] MuMimoDlEnable = 1
[ 36.036642] MBSS[1] MuMimoDlEnable = 1
[ 36.040431] MBSS[2] MuMimoDlEnable = 1
[ 36.045018] MBSS[0] MuMimoUlEnable = 1
[ 36.048886] MBSS[1] MuMimoUlEnable = 1
[ 36.052765] MBSS[2] MuMimoUlEnable = 0
[ 36.126070] [PMF]Set_PMFMFPC_Proc:: apidx=0, Desired MFPC=0
[ 36.131680] [PMF]Set_PMFMFPC_Proc:: apidx=1, Desired MFPC=0
[ 36.137350] [PMF]Set_PMFMFPC_Proc:: apidx=2, Desired MFPC=1
[ 36.143537] [PMF]Set_PMFMFPR_Proc:: apidx=0, Desired MFPR=0
[ 36.149216] [PMF]Set_PMFMFPR_Proc:: apidx=1, Desired MFPR=0
[ 36.154894] [PMF]Set_PMFMFPR_Proc:: apidx=2, Desired MFPR=0
[ 36.161068] [PMF]Set_PMFSHA256_Proc:: apidx=0, Desired PMFSHA256=0
[ 36.167390] [PMF]Set_PMFSHA256_Proc:: apidx=1, Desired PMFSHA256=0
[ 36.173795] [PMF]Set_PMFSHA256_Proc:: apidx=2, Desired PMFSHA256=0
[ 36.182266] ReadMboParameterFromFile::(bMboEnable[0]=1, MboCapIndication = 0x40)
[ 36.189722] ReadMboParameterFromFile::(bMboEnable[1]=1, MboCapIndication = 0x40)
[ 36.197207] ReadMboParameterFromFile::(bMboEnable[2]=1, MboCapIndication = 0x40)
[ 36.205295] ReadMboParameterFromFile::(bMboEnable[0]=1)
[ 36.210757] ReadMboParameterFromFile::(bMboEnable[1]=1)
[ 36.216478] MAP_MODE=0
[ 36.220824] ApCliEntry[0].Enable=0
[ 36.224441] ApCliEntry[1].Enable=0
[ 36.235044] APCLI[0] ApCliMuOfdmaDlEnable = 1
[ 36.239435] APCLI[1] ApCliMuOfdmaDlEnable = 1
[ 36.244465] APCLI[0] ApCliMuOfdmaUlEnable = 0
[ 36.248931] APCLI[1] ApCliMuOfdmaUlEnable = 0
[ 36.253901] APCLI[0] ApCliMuMimoDlEnable = 0
[ 36.258273] APCLI[1] ApCliMuMimoDlEnable = 0
[ 36.263172] APCLI[0] ApCliMuMimoUlEnable = 0
[ 36.267531] APCLI[1] ApCliMuMimoUlEnable = 0
[ 36.272689] rtmp_read_wds_from_file(): WDS Profile
[ 36.278240] WDS Number: band[0]=0, band[1]=0
[ 36.283322] WDS-Enable mode=0
[ 36.286388] WDS-Enable mode=0
[ 36.290817] If/wds0 - PeerPhyMode=0xb1
[ 36.294717] If/wds1 - PeerPhyMode=0xb1
[ 36.298526] If/wds2 - PeerPhyMode=0xb1
[ 36.302441] If/wds3 - PeerPhyMode=0xb1
[ 36.306339] If/wds4 - PeerPhyMode=0xb1
[ 36.312459] AsicSetReptFuncEnable, caller:RTMPSetProfileParameters+0xbc10/0x1140c
[ 36.319988] RepeaterCtrlExit, wrong state(0,0)
[ 36.324551] Band_0_RpEn(0),RpEnByAnyBnd(0),RpEn(0)
[ 36.329469] AndesSendCmdMsg: Could not send in band command due to diablefRTMP_ADAPTER_MCU_SEND_IN_BAND_CMD
[ 36.339322] AndesSendCmdMsg: Command type = ed, Extension command type = 48
[ 36.346371] MACRepeaterEn=0 Band=0
[ 36.349909] AsicSetReptFuncEnable, caller:RTMPSetProfileParameters+0xbc10/0x1140c
[ 36.357479] RepeaterCtrlExit, wrong state(0,0)
[ 36.361992] Band_1_RpEn(0),RpEnByAnyBnd(0),RpEn(0)
[ 36.366895] AndesSendCmdMsg: Could not send in band command due to diablefRTMP_ADAPTER_MCU_SEND_IN_BAND_CMD
[ 36.376763] AndesSendCmdMsg: Command type = ed, Extension command type = 48
[ 36.383797] MACRepeaterEn=0 Band=1
[ 36.396301] HT_BAWinSize: wdev[0]: (TX=256, RX=256)
[ 36.401212] HT_BAWinSize: wdev[1]: (TX=256, RX=256)
[ 36.406227] HT_BAWinSize: wdev[2]: (TX=256, RX=256)
[ 36.412809] HT: WDEV[0] Ext Channel = ABOVE
[ 36.417027] HT: WDEV[1] Ext Channel = ABOVE
[ 36.421222] HT: WDEV[2] Ext Channel = ABOVE
[ 36.426149] HT: greenap_cap = 0
[ 36.429721] ChipI=7915, Value=0, pcie_aspm in profile=0
[ 36.435587] 0:ra0 TWTsupport = 0
[ 36.438842] 1:(null) TWTsupport = 0
[ 36.442365] 2:(null) TWTsupport = 0
[ 36.623136] ICapMode = 0
[ 36.635341] KernelRps --> 1
[ 36.642428] rtmp_read_mlme_multiqueue_parms_from_file(): Mlme.MultiQEnable=1
[ 36.649701] rtmp_read_mlme_multiqueue_parms_from_file(): [hp_q_ration]-[np_q_ration]-[lp_q_ration] = 5-3-1
[ 36.659792] WtcSetMaxStaNum: MaxStaNum:235, BssidNum:3, WdsNum:16, MSTANum:1, MaxNumChipRept:32, MinMcastWcid:284
[ 36.670189] Top Init Done!
[ 36.673022] Use dev_alloc_skb
[ 36.676077] token_tx_two_queues_init(): ct sw token(0) number = 2048
[ 36.682730] token_tx_two_queues_init(): token que(0) inited done!id_head/tail=0/2048
[ 36.690573] token_tx_two_queues_init(): 8fe7d804,8fe7d804
[ 36.696061] token_tx_two_queues_init(): ct sw token(1) number = 6144
[ 36.703212] token_tx_two_queues_init(): token que(1) inited done!id_head/tail=0/6144
[ 36.711070] token_tx_two_queues_init(): 8fe7d8ac,8fe7d8ac
[ 36.722587] TxRing[0]: attr:0, total 2048 entry initialized
[ 36.732705] TxRing[1]: attr:0, total 2048 entry initialized
[ 36.742782] TxRing[2]: attr:0, total 2048 entry initialized
[ 36.748689] RX[0] DESC a0c30000 size = 24576
[ 36.755423] RX[1] DESC a0c04000 size = 16384
[ 36.761164] RX[2] DESC a0d18000 size = 24576
[ 36.768043] RX[3] DESC a0d20000 size = 24576
[ 36.772423] RX[4] DESC a0d04000 size = 8192
[ 36.777447] RX[5] DESC a0d38000 size = 16384
[ 36.783277] RX[6] DESC a0d06000 size = 8192
[ 36.788461] -->TX_RING_0[0xd9330]: Attr:0, Base=0xc28000, Cnt=2048!
[ 36.794792] -->TX_RING_1[0xd5420]: Attr:0, Base=0xd08000, Cnt=2048!
[ 36.801170] -->TX_RING_2[0xd5430]: Attr:0, Base=0xd10000, Cnt=2048!
[ 36.807562] -->TX_RING_3[0xd5400]: Attr:3, Base=0xd01000, Cnt=128!
[ 36.813843] -->TX_RING_4[0xd5410]: Attr:2, Base=0xd02000, Cnt=256!
[ 36.820125] -->TX_RING_5[0xd5440]: Attr:1, Base=0xd03000, Cnt=256!
[ 36.826409] -->RX_RING_0[0xd8510]: Base=0xc30000, Cnt=1536
[ 36.831986] -->RX_RING_1[0xd9520]: Base=0xc04000, Cnt=1024
[ 36.837586] -->RX_RING_2[0xd4500]: Base=0xd18000, Cnt=1536
[ 36.843163] -->RX_RING_3[0xd4510]: Base=0xd20000, Cnt=10
[ 36.848552] -->RX_RING_4[0xd5500]: Base=0xd04000, Cnt=512
[ 36.854062] -->RX_RING_5[0xd5510]: Base=0xd38000, Cnt=1024
[ 36.859631] -->RX_RING_6[0xd5520]: Base=0xd06000, Cnt=512
[ 36.865143] Hif Init Done!
[ 36.870788] pci_driver_own_by_port: success to clear p=0 fw own, from(1): 1 is interrupt mode, 2 is polling mode.
[ 36.882220] pci_driver_own_by_port: success to clear p=1 fw own, from(1): 1 is interrupt mode, 2 is polling mode.
[ 36.892568] fw_prepare():using E2 ROM patch
[ 36.896842] fw_prepare():using E2 RAM
[ 36.900619] Parsing patch header
[ 36.903937] Built date: 20201105222230a
[ 36.907945]
[ 36.909438] Platform: ALPS
[ 36.912332] HW/SW version: 0x8a108a10
[ 36.916290] Patch version: 0xffffffff
[ 36.920225] Section num: 0x2, subsys: 0x4
[ 36.924430] Section 0: type = 0x30002, offset = 0xe0, size = 0xfc90
[ 36.930857] Target address: 0x200000, length: 0xfc90
[ 36.936010] Section 1: type = 0x30002, offset = 0xfd70, size = 0x13720
[ 36.942710] Target address: 0xe000f000, length: 0x13720
[ 36.948291] Patch SEM Status = 2
[ 36.951651] patch is not ready && get semaphore success
[ 36.957037] Start address = 0x200000, DL length = 64656, Data mode = 0x80000000
[ 36.965745] EventGenericEventHandler: CMD Success
[ 36.970554] MtCmdAddressLenReq:(ret = 0)
[ 36.975626] Start address = 0xe000f000, DL length = 79648, Data mode = 0x80000000
[ 36.984474] EventGenericEventHandler: CMD Success
[ 36.989269] MtCmdAddressLenReq:(ret = 0)
[ 36.994514] MtCmdPatchFinishReq
[ 37.001576] EventGenericEventHandler: CMD Success
[ 37.006569] Patch SEM Status = 3
[ 37.009842] release patch semaphore
[ 37.013433] WfMcuHwInit: Before NICLoadFirmware, check ICapMode = 0
[ 37.020618] Parsing CPU 0 fw tailer
[ 37.024189] Chip ID: 0x0b
[ 37.026934] Eco version: 0x01
[ 37.030004] Region number: 0x07
[ 37.033315] Format version: 0x02
[ 37.036648] Format flag: 0x01
[ 37.039713] Ram version: [ 37.041554] jffs2: notice: (1627) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[ 37.043080] FAT-fs (mmcblk0p1): utf8 is not a recommended IO charset for FAT filesystems, filesystem will be case sensitive!

[ 37.069031] ____000000
[ 37.071610] Built date: 20201105222304
[ 37.075538] Common crc: 0xaa870ac
[ 37.078939] Parsing tailer region 0
[ 37.082456] Decomp crc: 0x0
[ 37.085344] Decomp size: 0x0
[ 37.088314] Decomp block size: 0x0
[ 37.091796] Target address: 0x21fc00
[ 37.095499] Download size: 110592
[ 37.098912] Feature set: 0x20
[ 37.101984] Parsing tailer region 1
[ 37.105509] Decomp crc: 0x0
[ 37.108403] Decomp size: 0x0
[ 37.111370] Decomp block size: 0x0
[ 37.114882] Target address: 0x31dc00
[ 37.118558] Download size: 205824
[ 37.121958] Feature set: 0x00
[ 37.125069] Parsing tailer region 2
[ 37.128554] Decomp crc: 0x0
[ 37.131428] Decomp size: 0x0
[ 37.134443] Decomp block size: 0x0
[ 37.137946] Target address: 0x417400
[ 37.141608] Download size: 31744
[ 37.144947] Feature set: 0x00
[ 37.148040] Parsing tailer region 3
[ 37.151526] Decomp crc: 0x0
[ 37.154431] Decomp size: 0x0
[ 37.157411] Decomp block size: 0x0
[ 37.160900] Target address: 0xe0022800
[ 37.164760] Download size: 411136
[ 37.168172] Feature set: 0x00
[ 37.171243] Parsing tailer region 4
[ 37.174757] Decomp crc: 0x0
[ 37.177651] Decomp size: 0x0
[ 37.180617] Decomp block size: 0x0
[ 37.184150] Target address: 0xe0086e00
[ 37.188002] Download size: 332288
[ 37.191406] Feature set: 0x00
[ 37.194538] Parsing tailer region 5
[ 37.198023] Decomp crc: 0x0
[ 37.200898] Decomp size: 0x0
[ 37.203892] Decomp block size: 0x0
[ 37.207395] Target address: 0x23ac00
[ 37.211057] Download size: 87040
[ 37.214396] Feature set: 0x00
[ 37.217482] Parsing tailer region 6
[ 37.220967] Decomp crc: 0x0
[ 37.223872] Decomp size: 0x0
[ 37.226853] Decomp block size: 0x0
[ 37.230341] Target address: 0x400000
[ 37.234032] Download size: 81920
[ 37.237363] Feature set: 0x00
[ 37.240435] Release info: header tag = 0, total length = 68
[ 37.246145] tag 1, padding length = 3, tag length = 61
[ 37.251370] payload: [ 37.252314] br-lan: port 1(eth0) entered forwarding state

[ 37.258980] t-neptune-main-mt7915-1953-MT7915D_1953_MT7621-20201105221902
[ 37.266240] Start address = 0x21fc00, DL length = 110592, Data mode = 0x80000000
[ 37.275029] EventGenericEventHandler: CMD Success
[ 37.275906] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[ 37.289752] MtCmdAddressLenReq:(ret = 0)
[ 37.295736] Start address = 0x31dc00, DL length = 205824, Data mode = 0x80000000
[ 37.304513] EventGenericEventHandler: CMD Success
[ 37.309314] MtCmdAddressLenReq:(ret = 0)
[ 37.315170] Start address = 0x417400, DL length = 31744, Data mode = 0x80000000
[ 37.323956] EventGenericEventHandler: CMD Success
[ 37.328788] MtCmdAddressLenReq:(ret = 0)
[ 37.333238] Start address = 0xe0022800, DL length = 411136, Data mode = 0x80000000
[ 37.342149] EventGenericEventHandler: CMD Success
[ 37.349080] MtCmdAddressLenReq:(ret = 0)
[ 37.356778] Start address = 0xe0086e00, DL length = 332288, Data mode = 0x80000000
[ 37.365781] EventGenericEventHandler: CMD Success
[ 37.375598] MtCmdAddressLenReq:(ret = 0)
[ 37.383430] Start address = 0x23ac00, DL length = 87040, Data mode = 0x80000000
[ 37.392131] EventGenericEventHandler: CMD Success
[ 37.397657] MtCmdAddressLenReq:(ret = 0)
[ 37.402908] Start address = 0x400000, DL length = 81920, Data mode = 0x80000000
[ 37.411525] EventGenericEventHandler: CMD Success
[ 37.416342] MtCmdAddressLenReq:(ret = 0)
[ 37.421236] MtCmdFwStartReq: override = 0x1, address = 0x21fc00
[ 37.428582] EventGenericEventHandler: CMD Success
[ 37.433381] Parsing CPU 1 fw tailer
[ 37.436898] Chip ID: 0x00
[ 37.439678] Eco version: 0x01
[ 37.442934] Region number: 0x03
[ 37.446263] Format version: 0x02
[ 37.449653] Format flag: 0x01
[ 37.452868] Ram version: DEV_000000
[ 37.456626] Built date: 20201105222323
[ 37.460672] Common crc: 0x8fcbc5ad
[ 37.464245] Parsing tailer region 0
[ 37.467812] Decomp crc: 0x0
[ 37.470723] Decomp size: 0x0
[ 37.473748] Decomp block size: 0x0
[ 37.477253] Target address: 0x10200000
[ 37.481139] Download size: 88512
[ 37.484494] Feature set: 0x00
[ 37.487617] Parsing tailer region 1
[ 37.491175] Decomp crc: 0x0
[ 37.494114] Decomp size: 0x0
[ 37.497110] Decomp block size: 0x0
[ 37.500622] Target address: 0x10300000
[ 37.504551] Download size: 19392
[ 37.507889] Feature set: 0x00
[ 37.511051] Parsing tailer region 2
[ 37.514623] Decomp crc: 0x0
[ 37.517528] Decomp size: 0x0
[ 37.520505] Decomp block size: 0x0
[ 37.524043] Target address: 0xe0000000
[ 37.527895] Download size: 8768
[ 37.531127] Feature set: 0x00
[ 37.534261] Release info: header tag = 0, total length = 0
[ 37.539849] Start address = 0x10200000, DL length = 88512, Data mode = 0x80000010
[ 37.548664] EventGenericEventHandler: CMD Success
[ 37.559768] MtCmdAddressLenReq:(ret = 0)
[ 37.564795] Start address = 0x10300000, DL length = 19392, Data mode = 0x80000010
[ 37.573720] EventGenericEventHandler: CMD Success
[ 37.584960] MtCmdAddressLenReq:(ret = 0)
[ 37.589265] Start address = 0xe0000000, DL length = 8768, Data mode = 0x80000010
[ 37.598073] EventGenericEventHandler: CMD Success
[ 37.603401] MtCmdAddressLenReq:(ret = 0)
[ 37.607612] MtCmdFwStartReq: override = 0x4, address = 0x0
[ 37.679661] EXT4-fs (dm-2): recovery complete
[ 37.686228] EXT4-fs (dm-2): mounted filesystem with ordered data mode. Opts:
[ 37.713754] EventGenericEventHandler: CMD Success
[ 37.718582] MCU Init Done!
[ 37.721307] efuse_probe: efuse = 10000012
[ 37.725422] RtmpChipOpsEepromHook::e2p_type=2, inf_Type=5
[ 37.730839] RtmpEepromGetDefault::e2p_dafault=1
[ 37.735448] RtmpChipOpsEepromHook: E2P type(2), E2pAccessMode = 2, E2P default = 1
[ 37.743115] NVM is FLASH mode. dev_idx [0] FLASH OFFSET [0x0]
[ 37.748939] rtmp_nv_init(): EEPROM Size[131072]
[ 37.782747] [EEPROMImage - PreCalImageInfo - PreCalImage - TxDPDImage]
[ 37.782747] [0x8b4a0000 - 0x8b4a0e00 - 0x8b4a0e10 - 0x8b4ad220]
[ 37.796672] validFlashEepromID(): eeFlashId=7915, pAd->ChipID=7915
[ 37.804964] [d-die version:1]
[ 37.845164] [a-die version:2]
[ 37.987655]
[ 37.989188] NICReadEEPROMParameters: EEPROM 0x62 0
[ 43.298620] Country Region from e2p = 0
[ 43.302572] antenna_default_reset() todo
[ 43.306502] antenna_default_reset() value = 0x5292, TxPath = 2, RxPath = 2
[ 43.313431] RTMPReadTxPwrPerRate(458): Don't Support this now!
[ 43.319292] rc_radio_init(): DBDC MODE=1, ConcurrentBand=2
[ 43.324883] rc_radio_init(): radio_ctrl=8edd9710,Band=0,rfcap=3,channel=1,PhyMode=2 extCha=0xf
[ 43.333541] rc_radio_init(): radio_ctrl=8edd9a68,Band=1,rfcap=3,channel=1,PhyMode=2 extCha=0xf
[ 43.342225] ucAction = 0, ucBandIdx = 0, ucSmthIntlBypass = 0
[ 43.348031] ucAction = 0, ucBandIdx = 1, ucSmthIntlBypass = 0
[ 43.353824] AntCfgInit(2858): Not support for HIF_MT yet!
[ 43.359250] mt7915_check_RF_lock_down: RFlockDown Enable: 0
[ 43.364865] MtReadPwrLimitTable: sku table idx: 0
mt7915_check_RF_lock_down: RFlockDown Enable: 0
[ 43.381649] mt7915_check_RF_lock_down: RFlockDown Enable: 0
[ 43.387267] MtReadPwrLimitTable: sku table idx: 0
mt7915_check_RF_lock_down: RFlockDown Enable: 0
[ 43.404308] EEPROM Init Done!
[ 43.407325] mac_init()-->
[ 43.409941] init_mac_cr()-->
[ 43.412856] <--mac_init()
[ 43.418702] CmdRxHdrTransBLUpdateRsp::EventExtCmdResult.u4Status = 0x0
[ 43.427079] CmdRxHdrTransBLUpdateRsp::EventExtCmdResult.u4Status = 0x0
[ 43.435430] CmdRxHdrTransBLUpdateRsp::EventExtCmdResult.u4Status = 0x0
[ 43.442033] MAC Init Done!
[ 43.444806] BBPInit():BBP Initialization.....
[ 43.449171] Band 0: valid=1, Band=2, CBW=1, CentCh/PrimCh=1/1, prim_ch_idx=0, txStream=2
[ 43.457404] Band 1: valid=0, Band=0, CBW=0, CentCh/PrimCh=0/0, prim_ch_idx=0, txStream=0
[ 43.465611] BBPInit() todo
[ 43.468320] PHY Init Done!
[ 43.482994] tx_pwr_comp_init():NotSupportYet!
[ 43.487394] Set_SCSDefaultEnable(): BandIdx=0, SCSEnable=1
[ 43.493016] Set_SCSDefaultEnable(): BandIdx=1, SCSEnable=1
[ 43.498741] MtCmdSetMacTxRx:(ret = 0)
[ 43.502647] MtCmdSetMacTxRx:(ret = 0)
[ 43.507051] ap_ftkd> Initialize FT KDP Module...
[ 43.511705] Main bssid = 00:00:00:00:00:00
[ 43.515882] SetMuruPlatformTypeProc: param.ucPlatformType = 2
[ 43.521717] muru_cfg_dlul_limits:(Ret = 1
[ 43.525797] muru_cfg_dlul_limits:(Ret = 1
[ 43.530185] MtCmdSetMacTxRx:(ret = 0)
[ 43.534114] MtCmdSetMacTxRx:(ret = 0)
[ 43.537860] <==== mt_wifi_init, Status=0
[ 43.541861] CmdHeraStbcPriorityCtrl: u1BandIdx=0, u1Operation=1, u1StbcPriority=0
[ 43.549433] CmdHeraStbcPriorityCtrl: u1BandIdx=1, u1Operation=1, u1StbcPriority=0
[ 43.557120] Register MBSSID IF 1 (ra1)
[ 43.560910] wdev_init(caller:mbss_create_vif+0x2fc/0x4c4), wdev(1)
[ 43.568650] Register MBSSID IF 2 (rax0)
[ 43.572624] wdev_init(caller:mbss_create_vif+0x2fc/0x4c4), wdev(2)
[ 43.580333] MSTA_Init (2) ---> ApCli
[ 43.584093] Register MSTA IF (apcli0) , pAd->MSTANum = 1
[ 43.589452] wdev_init(caller:MSTA_Init+0x3ec/0x658), wdev(3)
[ 43.595455] Caller: SetCommonHT+0x100/0x170
[ 43.599675]
[ 43.599675] phy_mode=78, ch=0, wdev_type=2
[ 43.605345] ht_cap: ht_cap->HtCapInfo,
[ 43.609219] ldpc=1,ch_width=1,gf=0,sgi20=1,sgi40=1,tx_stbc=1,rx_stbc=1,amsdu_size=1
[ 43.616992] ht_cap: ht_cap->HtCapParm,
[ 43.620903] mdpu_density=0, ampdu_factor=3
[ 43.627192] Register MSTA IF (apclix0) , pAd->MSTANum = 2
[ 43.632756] wdev_init(caller:MSTA_Init+0x3ec/0x658), wdev(4)
[ 43.638697] Caller: SetCommonHT+0x100/0x170
[ 43.643003]
[ 43.643003] phy_mode=177, ch=36, wdev_type=2
[ 43.648855] ht_cap: ht_cap->HtCapInfo,
[ 43.652791] ldpc=1,ch_width=1,gf=0,sgi20=1,sgi40=1,tx_stbc=1,rx_stbc=1,amsdu_size=1
[ 43.660525] ht_cap: ht_cap->HtCapParm,
[ 43.664411] mdpu_density=0, ampdu_factor=3
[ 43.670405] mt_service_init: wlan service inits successfully!
[ 43.676243] WtcSetMaxStaNum: MaxStaNum:233, BssidNum:3, WdsNum:16, MSTANum:2, MaxNumChipRept:32, MinMcastWcid:283
[ 43.845263] RedInit: set CR4/N9 RED Enable to 1.
[ 43.849937] RedInit: RED Initiailize Done.
[ 43.854513] proc_rps_file_open open proc file[/sys/class/net/eth0/queues/rx-0/rps_cpus] OK
[ 43.863054] proc_rps_file_open open proc file[/sys/class/net/ra0/queues/rx-0/rps_cpus] OK
[ 43.871474] proc_rps_file_open open proc file[/sys/class/net/rax0/queues/rx-0/rps_cpus] OK
[ 43.880010] proc_rps_file_open open proc file[/proc/irq/31/smp_affinity] OK
[ 43.887241] proc_rps_file_open open proc file[/proc/sys/net/core/netdev_max_backlog] OK
[ 43.895449] proc_rps_file_open open proc file[/sys/module/rcupdate/parameters/rcu_cpu_stall_timeout] OK
[ 43.905291] cp_support_is_enabled: set CR4 CP_SUPPORT to Mode 2.
[ 43.911344] RTMP_COM_IoctlHandle -> CMD_RTPRIV_IOCTL_VIRTUAL_INF_UP
[ 43.917678] wifi_sys_open(), wdev idx = 0
[ 43.921844] ucAction = 0, ucBandIdx = 0, ucSmthIntlBypass = 0
[ 43.927668] ucAction = 0, ucBandIdx = 1, ucSmthIntlBypass = 0
[ 43.933504] BuildChannelList() BandIdx = 0, PhyMode = 78, ChListNum = 13:
[ 43.940364] phy_oper_init(): operate TxStream = 2, RxStream = 2
[ 43.946389] phy_freq_adjust : no prim_ch value for adjust!
[ 43.951938] Caller: wlan_operate_init+0x104/0x118
[ 43.956701]
[ 43.956701] phy_mode=78, ch=0, wdev_type=1
[ 43.962324] ht_cap: ht_cap->HtCapInfo,
[ 43.966187] ldpc=1,ch_width=1,gf=0,sgi20=1,sgi40=1,tx_stbc=1,rx_stbc=1,amsdu_size=1
[ 43.974120] ht_cap: ht_cap->HtCapParm,
[ 43.978000] mdpu_density=5, ampdu_factor=3
[ 43.982280] hw_ctrl_flow_v2_open: wdev_idx=0
[ 43.988117] AP inf up for ra_0(func_idx) OmacIdx=0
[ 43.993155] AsicRadioOnOffCtrl(): DbdcIdx=0 RadioOn
[ 43.998688] ApAutoChannelAtBootUp----------------->
[ 44.003755] ApAutoChannelAtBootUp: AutoChannelBootup[0] = 1
[ 44.009694] MtCmdSetMacTxRx:(ret = 0)
[ 44.013676] MtCmdSetMacTxRx:(ret = 0)
[ 44.017539] UpdateBeaconHandler, wdev(0) bss not ready (state:0, caller:MTAPAutoSelectChannel+0x1b8/0x464)!!
[ 44.027717] mt7915_apply_dpd_flatness_data: eeprom 0x62 bit 0 is 0, do runtime cal
[ 44.035391] MtCmdChannelSwitch: ctrl_chl=1, ctrl_ch2=0, cent_ch=1 DBDCIdx=0, ChBand=0, BW=0, TXStream=2, RXStream=2, scan(1)
[ 44.055717] MtCmdSetTxRxPath: ctrl_chl=1, ctrl_ch2=0, cent_ch=1, RxPath=3, BandIdx=0, ChBand=0, BW=0,TXStream=2, RXStream=3, scan(1)
[ 44.273184] mt7915_apply_dpd_flatness_data: eeprom 0x62 bit 0 is 0, do runtime cal
[ 44.280898] MtCmdChannelSwitch: ctrl_chl=2, ctrl_ch2=0, cent_ch=2 DBDCIdx=0, ChBand=0, BW=0, TXStream=2, RXStream=2, scan(1)
[ 44.301187] MtCmdSetTxRxPath: ctrl_chl=2, ctrl_ch2=0, cent_ch=2, RxPath=3, BandIdx=0, ChBand=0, BW=0,TXStream=2, RXStream=3, scan(1)
[ 44.523010] mt7915_apply_dpd_flatness_data: eeprom 0x62 bit 0 is 0, do runtime cal
[ 44.530772] MtCmdChannelSwitch: ctrl_chl=3, ctrl_ch2=0, cent_ch=3 DBDCIdx=0, ChBand=0, BW=0, TXStream=2, RXStream=2, scan(1)
[ 44.550969] MtCmdSetTxRxPath: ctrl_chl=3, ctrl_ch2=0, cent_ch=3, RxPath=3, BandIdx=0, ChBand=0, BW=0,TXStream=2, RXStream=3, scan(1)
[ 44.772982] mt7915_apply_dpd_flatness_data: eeprom 0x62 bit 0 is 0, do runtime cal
[ 44.780606] MtCmdChannelSwitch: ctrl_chl=4, ctrl_ch2=0, cent_ch=4 DBDCIdx=0, ChBand=0, BW=0, TXStream=2, RXStream=2, scan(1)
[ 44.800874] MtCmdSetTxRxPath: ctrl_chl=4, ctrl_ch2=0, cent_ch=4, RxPath=3, BandIdx=0, ChBand=0, BW=0,TXStream=2, RXStream=3, scan(1)
[ 45.022998] mt7915_apply_dpd_flatness_data: eeprom 0x62 bit 0 is 0, do runtime cal
[ 45.030708] MtCmdChannelSwitch: ctrl_chl=5, ctrl_ch2=0, cent_ch=5 DBDCIdx=0, ChBand=0, BW=0, TXStream=2, RXStream=2, scan(1)
[ 45.050936] MtCmdSetTxRxPath: ctrl_chl=5, ctrl_ch2=0, cent_ch=5, RxPath=3, BandIdx=0, ChBand=0, BW=0,TXStream=2, RXStream=3, scan(1)
[ 45.273157] mt7915_apply_dpd_flatness_data: eeprom 0x62 bit 0 is 0, do runtime cal
[ 45.280857] MtCmdChannelSwitch: ctrl_chl=6, ctrl_ch2=0, cent_ch=6 DBDCIdx=0, ChBand=0, BW=0, TXStream=2, RXStream=2, scan(1)
[ 45.301232] MtCmdSetTxRxPath: ctrl_chl=6, ctrl_ch2=0, cent_ch=6, RxPath=3, BandIdx=0, ChBand=0, BW=0,TXStream=2, RXStream=3, scan(1)
[ 45.523133] mt7915_apply_dpd_flatness_data: eeprom 0x62 bit 0 is 0, do runtime cal
[ 45.530810] MtCmdChannelSwitch: ctrl_chl=7, ctrl_ch2=0, cent_ch=7 DBDCIdx=0, ChBand=0, BW=0, TXStream=2, RXStream=2, scan(1)
[ 45.551037] MtCmdSetTxRxPath: ctrl_chl=7, ctrl_ch2=0, cent_ch=7, RxPath=3, BandIdx=0, ChBand=0, BW=0,TXStream=2, RXStream=3, scan(1)
[ 45.773201] mt7915_apply_dpd_flatness_data: eeprom 0x62 bit 0 is 0, do runtime cal
[ 45.780968] MtCmdChannelSwitch: ctrl_chl=8, ctrl_ch2=0, cent_ch=8 DBDCIdx=0, ChBand=0, BW=0, TXStream=2, RXStream=2, scan(1)
[ 45.801242] MtCmdSetTxRxPath: ctrl_chl=8, ctrl_ch2=0, cent_ch=8, RxPath=3, BandIdx=0, ChBand=0, BW=0,TXStream=2, RXStream=3, scan(1)
[ 46.022955] mt7915_apply_dpd_flatness_data: eeprom 0x62 bit 0 is 0, do runtime cal
[ 46.030641] MtCmdChannelSwitch: ctrl_chl=9, ctrl_ch2=0, cent_ch=9 DBDCIdx=0, ChBand=0, BW=0, TXStream=2, RXStream=2, scan(1)
[ 46.050853] MtCmdSetTxRxPath: ctrl_chl=9, ctrl_ch2=0, cent_ch=9, RxPath=3, BandIdx=0, ChBand=0, BW=0,TXStream=2, RXStream=3, scan(1)
[ 46.273094] mt7915_apply_dpd_flatness_data: eeprom 0x62 bit 0 is 0, do runtime cal
[ 46.280703] MtCmdChannelSwitch: ctrl_chl=10, ctrl_ch2=0, cent_ch=10 DBDCIdx=0, ChBand=0, BW=0, TXStream=2, RXStream=2, scan(1)
[ 46.300940] MtCmdSetTxRxPath: ctrl_chl=10, ctrl_ch2=0, cent_ch=10, RxPath=3, BandIdx=0, ChBand=0, BW=0,TXStream=2, RXStream=3, scan(1)
[ 46.522792] mt7915_apply_dpd_flatness_data: eeprom 0x62 bit 0 is 0, do runtime cal
[ 46.530401] MtCmdChannelSwitch: ctrl_chl=11, ctrl_ch2=0, cent_ch=11 DBDCIdx=0, ChBand=0, BW=0, TXStream=2, RXStream=2, scan(1)
[ 46.550622] MtCmdSetTxRxPath: ctrl_chl=11, ctrl_ch2=0, cent_ch=11, RxPath=3, BandIdx=0, ChBand=0, BW=0,TXStream=2, RXStream=3, scan(1)
[ 46.772837] mt7915_apply_dpd_flatness_data: eeprom 0x62 bit 0 is 0, do runtime cal
[ 46.780441] MtCmdChannelSwitch: ctrl_chl=12, ctrl_ch2=0, cent_ch=12 DBDCIdx=0, ChBand=0, BW=0, TXStream=2, RXStream=2, scan(1)
[ 46.800655] MtCmdSetTxRxPath: ctrl_chl=12, ctrl_ch2=0, cent_ch=12, RxPath=3, BandIdx=0, ChBand=0, BW=0,TXStream=2, RXStream=3, scan(1)
[ 47.022782] mt7915_apply_dpd_flatness_data: eeprom 0x62 bit 0 is 0, do runtime cal
[ 47.030387] MtCmdChannelSwitch: ctrl_chl=13, ctrl_ch2=0, cent_ch=13 DBDCIdx=0, ChBand=0, BW=0, TXStream=2, RXStream=2, scan(1)
[ 47.050603] MtCmdSetTxRxPath: ctrl_chl=13, ctrl_ch2=0, cent_ch=13, RxPath=3, BandIdx=0, ChBand=0, BW=0,TXStream=2, RXStream=3, scan(1)
[ 47.272753] UpdateBeaconHandler, wdev(0) bss not ready (state:0, caller:MTAPAutoSelectChannel+0x3b4/0x464)!!
[ 47.282633] ====================================================================
[ 47.290029] Channel 1 : Busy Time = 9378, Skip Channel = FALSE, BwCap = TRUE
[ 47.297461] Channel 2 : Busy Time = 3649, Skip Channel = FALSE, BwCap = TRUE
[ 47.304937] Channel 3 : Busy Time = 2394, Skip Channel = FALSE, BwCap = TRUE
[ 47.312404] Channel 4 : Busy Time = 1396, Skip Channel = FALSE, BwCap = TRUE
[ 47.319809] Channel 5 : Busy Time = 1704, Skip Channel = FALSE, BwCap = TRUE
[ 47.327257] Channel 6 : Busy Time = 7531, Skip Channel = FALSE, BwCap = TRUE
[ 47.334696] Channel 7 : Busy Time = 1477, Skip Channel = FALSE, BwCap = TRUE
[ 47.342092] Channel 8 : Busy Time = 1064, Skip Channel = FALSE, BwCap = TRUE
[ 47.349519] Channel 9 : Busy Time = 1390, Skip Channel = FALSE, BwCap = TRUE
[ 47.356956] Channel 10 : Busy Time = 1301, Skip Channel = FALSE, BwCap = TRUE
[ 47.364421] Channel 11 : Busy Time = 7629, Skip Channel = FALSE, BwCap = TRUE
[ 47.371829] Channel 12 : Busy Time = 757, Skip Channel = FALSE, BwCap = TRUE
[ 47.379508] Channel 13 : Busy Time = 367, Skip Channel = FALSE, BwCap = TRUE
[ 47.386950] ====================================================================
[ 47.394402] Rule 3 Channel Busy time value : Select Primary Channel 13
[ 47.400930] Rule 3 Channel Busy time value : Min Channel Busy = 367
[ 47.407249] Rule 3 Channel Busy time value : BW = 20
[ 47.412221] [SelectClearChannelBusyTime] - band0 END
[ 47.417238] ApAutoChannelAtBootUp : Auto channel selection: Selected channel = 13, IsAband = 0
[ 47.426052] mt7915_apply_dpd_flatness_data: eeprom 0x62 bit 0 is 0, do runtime cal
[ 47.433702] MtCmdChannelSwitch: ctrl_chl=13, ctrl_ch2=0, cent_ch=11 DBDCIdx=0, ChBand=0, BW=1, TXStream=2, RXStream=2, scan(0)
[ 47.532729] MtCmdSetTxRxPath: ctrl_chl=13, ctrl_ch2=0, cent_ch=11, RxPath=3, BandIdx=0, ChBand=0, BW=1,TXStream=2, RXStream=3, scan(0)
[ 47.545122] zero_wait_dfs_switch_ch(): outband ch 0, ch_stat 0
[ 47.550954] ApAutoChannelAtBootUp<-----------------
[ 47.555928] ===> APStartUpForMbss(caller:ap_inf_open+0x178/0x1d4), mbss_idx:0, CfgMode:177
[ 47.564259] [PMF]APPMFInit:: apidx=0, MFPC=0, MFPR=0, SHA256=0
[ 47.570209] Caller: SetCommonHT+0x100/0x170
[ 47.574605]
[ 47.574605] phy_mode=78, ch=13, wdev_type=1
[ 47.580275] ht_cap: ht_cap->HtCapInfo,
[ 47.584170] ldpc=1,ch_width=1,gf=0,sgi20=1,sgi40=1,tx_stbc=1,rx_stbc=1,amsdu_size=1
[ 47.591827] ht_cap: ht_cap->HtCapParm,
[ 47.595714] mdpu_density=5, ampdu_factor=3
[ 47.599818] Enable 20/40 BSSCoex Channel Scan(BssCoex=1)
[ 47.605467] MtCmdSetMacTxRx:(ret = 0)
[ 47.609303] MtCmdSetMacTxRx:(ret = 0)
[ 47.613151] mt7915_apply_dpd_flatness_data: eeprom 0x62 bit 0 is 0, do runtime cal
[ 47.620756] MtCmdChannelSwitch: ctrl_chl=6, ctrl_ch2=0, cent_ch=6 DBDCIdx=0, ChBand=0, BW=0, TXStream=2, RXStream=2, scan(1)
[ 47.640813] MtCmdSetTxRxPath: ctrl_chl=6, ctrl_ch2=0, cent_ch=6, RxPath=3, BandIdx=0, ChBand=0, BW=0,TXStream=2, RXStream=3, scan(1)
[ 47.653007] AP OBSS SYNC - BBP R4 to 20MHz.l
[ 47.962448] mt7915_apply_dpd_flatness_data: eeprom 0x62 bit 0 is 0, do runtime cal
[ 47.970053] MtCmdChannelSwitch: ctrl_chl=7, ctrl_ch2=0, cent_ch=7 DBDCIdx=0, ChBand=0, BW=0, TXStream=2, RXStream=2, scan(1)
[ 47.990265] MtCmdSetTxRxPath: ctrl_chl=7, ctrl_ch2=0, cent_ch=7, RxPath=3, BandIdx=0, ChBand=0, BW=0,TXStream=2, RXStream=3, scan(1)
[ 48.002468] AP OBSS SYNC - BBP R4 to 20MHz.l
[ 48.312467] mt7915_apply_dpd_flatness_data: eeprom 0x62 bit 0 is 0, do runtime cal
[ 48.320068] MtCmdChannelSwitch: ctrl_chl=8, ctrl_ch2=0, cent_ch=8 DBDCIdx=0, ChBand=0, BW=0, TXStream=2, RXStream=2, scan(1)
[ 48.340103] MtCmdSetTxRxPath: ctrl_chl=8, ctrl_ch2=0, cent_ch=8, RxPath=3, BandIdx=0, ChBand=0, BW=0,TXStream=2, RXStream=3, scan(1)
[ 48.352335] AP OBSS SYNC - BBP R4 to 20MHz.l
[ 48.662441] mt7915_apply_dpd_flatness_data: eeprom 0x62 bit 0 is 0, do runtime cal
[ 48.670046] MtCmdChannelSwitch: ctrl_chl=9, ctrl_ch2=0, cent_ch=9 DBDCIdx=0, ChBand=0, BW=0, TXStream=2, RXStream=2, scan(1)
[ 48.690090] MtCmdSetTxRxPath: ctrl_chl=9, ctrl_ch2=0, cent_ch=9, RxPath=3, BandIdx=0, ChBand=0, BW=0,TXStream=2, RXStream=3, scan(1)
[ 48.702328] AP OBSS SYNC - BBP R4 to 20MHz.l
[ 48.882658] UpdateBeaconHandler, wdev(0) bss not ready (state:0, caller:update_ap_qload_to_bcn+0x94/0xc4)!!
[ 49.012468] mt7915_apply_dpd_flatness_data: eeprom 0x62 bit 0 is 0, do runtime cal
[ 49.020073] MtCmdChannelSwitch: ctrl_chl=10, ctrl_ch2=0, cent_ch=10 DBDCIdx=0, ChBand=0, BW=0, TXStream=2, RXStream=2, scan(1)
[ 49.040288] MtCmdSetTxRxPath: ctrl_chl=10, ctrl_ch2=0, cent_ch=10, RxPath=3, BandIdx=0, ChBand=0, BW=0,TXStream=2, RXStream=3, scan(1)
[ 49.052655] AP OBSS SYNC - BBP R4 to 20MHz.l
[ 49.362463] mt7915_apply_dpd_flatness_data: eeprom 0x62 bit 0 is 0, do runtime cal
[ 49.370065] MtCmdChannelSwitch: ctrl_chl=11, ctrl_ch2=0, cent_ch=11 DBDCIdx=0, ChBand=0, BW=0, TXStream=2, RXStream=2, scan(1)
[ 49.390324] MtCmdSetTxRxPath: ctrl_chl=11, ctrl_ch2=0, cent_ch=11, RxPath=3, BandIdx=0, ChBand=0, BW=0,TXStream=2, RXStream=3, scan(1)
[ 49.402710] AP OBSS SYNC - BBP R4 to 20MHz.l
[ 49.712479] mt7915_apply_dpd_flatness_data: eeprom 0x62 bit 0 is 0, do runtime cal
[ 49.720086] MtCmdChannelSwitch: ctrl_chl=12, ctrl_ch2=0, cent_ch=12 DBDCIdx=0, ChBand=0, BW=0, TXStream=2, RXStream=2, scan(1)
[ 49.740332] MtCmdSetTxRxPath: ctrl_chl=12, ctrl_ch2=0, cent_ch=12, RxPath=3, BandIdx=0, ChBand=0, BW=0,TXStream=2, RXStream=3, scan(1)
[ 49.752677] AP OBSS SYNC - BBP R4 to 20MHz.l
[ 50.062444] mt7915_apply_dpd_flatness_data: eeprom 0x62 bit 0 is 0, do runtime cal
[ 50.070050] MtCmdChannelSwitch: ctrl_chl=13, ctrl_ch2=0, cent_ch=13 DBDCIdx=0, ChBand=0, BW=0, TXStream=2, RXStream=2, scan(1)
[ 50.090271] MtCmdSetTxRxPath: ctrl_chl=13, ctrl_ch2=0, cent_ch=13, RxPath=3, BandIdx=0, ChBand=0, BW=0,TXStream=2, RXStream=3, scan(1)
[ 50.102628] AP OBSS SYNC - BBP R4 to 20MHz.l
[ 50.412469] Channel[Idx=5, Ch=6].bEffectedChannel=0x2!
[ 50.417631] needFallBack=TRUE due to OP/OT!
[ 50.421813] Channel[Idx=6, Ch=7].bEffectedChannel=0x1!
[ 50.427024] needFallBack=TRUE due to OS!
[ 50.430976] Channel[Idx=7, Ch=8].bEffectedChannel=0x2!
[ 50.436262] needFallBack=TRUE due to OP/OT!
[ 50.440470] Channel[Idx=8, Ch=9].bEffectedChannel=0x0!
[ 50.445678] Channel[Idx=9, Ch=10].bEffectedChannel=0x2!
[ 50.450904] needFallBack=TRUE due to OP/OT!
[ 50.455152] Channel[Idx=10, Ch=11].bEffectedChannel=0x2!
[ 50.460466] needFallBack=TRUE due to OP/OT!
[ 50.464711] Channel[Idx=11, Ch=12].bEffectedChannel=0x0!
[ 50.470029] Channel[Idx=12, Ch=13].bEffectedChannel=0x0!
[ 50.475621] mt7915_apply_dpd_flatness_data: eeprom 0x62 bit 0 is 0, do runtime cal
[ 50.483280] MtCmdChannelSwitch: ctrl_chl=13, ctrl_ch2=0, cent_ch=11 DBDCIdx=0, ChBand=0, BW=1, TXStream=2, RXStream=2, scan(0)
[ 50.582354] MtCmdSetTxRxPath: ctrl_chl=13, ctrl_ch2=0, cent_ch=11, RxPath=3, BandIdx=0, ChBand=0, BW=1,TXStream=2, RXStream=3, scan(0)
[ 50.594810] ap_link_up(caller:APStartUpForMbss+0x430/0x6b8), wdev(0)
[ 50.601163] wifi_sys_linkup, wdev idx = 0
[ 50.763462] wtc_acquire_groupkey_wcid: Found a non-occupied wtbl_idx:287 for WDEV_TYPE:1
[ 50.763462] LinkToOmacIdx = 0, LinkToWdevType = 1
[ 50.776369] TRTableInsertMcastEntry:band0 group_idx[0]=0
[ 50.781702] wifi_sys_linkup:wdev(type=0,func_idx=1,wdev_idx=0),BssIndex(0)
[ 50.788691] hw_ctrl_flow_v2_link_up: wdev_idx=0
[ 50.793289] (bssUpdateChannel), ucPrimCh=13, ucCentChSeg0=11, ucCentChSeg1=0, BW=1, ucHetbRU26Disable=0, ucHetbAllDisable=1
[ 50.804462] bssUpdateBmcMngRate (BSS_INFO_BROADCAST_INFO), CmdBssInfoBmcRate.u2BcTransmit= 8320, CmdBssInfoBmcRate.u2McTransmit = 8320
[ 50.821075] UpdateBeaconHandler, BCN_UPDATE_INIT, OmacIdx = 0 (ra0)
[ 50.827409] Band0 BcnInitedRnd = 69
[ 50.831052] MtCmdTxPowerSKUCtrl: tx_pwr_sku_en: 0, BandIdx: 0
[ 50.836919] MtCmdTxBfBackoffCtrl: fgTxBFBackoffEn: 0, BandIdx: 0
[ 50.843013] MtCmdTxPowerPercentCtrl: fgTxPowerPercentEn: 0, BandIdx: 0
[ 50.849613] TxCCKStreamCtrl: set wrong parameters
[ 50.860833] set muru_update_he_cfg()!!!!
[ 50.864828] PrintSrCmd:
[ 50.864828] u1CmdSubId = 1, u1ArgNum = 0, u1DbdcIdx = 0, u1Status = 0
[ 50.864828] u1DropTaIdx = 0, u1StaIdx = 0, u4Value = 1
[ 50.878911] PrintSrCmd:
[ 50.878911] u1CmdSubId = 5, u1ArgNum = 0, u1DbdcIdx = 0, u1Status = 0
[ 50.878911] u1DropTaIdx = 0, u1StaIdx = 0, u4Value = 0
[ 50.893034] PrintSrCmd:
[ 50.893034] u1CmdSubId = 3, u1ArgNum = 0, u1DbdcIdx = 0, u1Status = 0
[ 50.893034] u1DropTaIdx = 0, u1StaIdx = 0, u4Value = 1
[ 50.907138] PrintSrCmd:
[ 50.907138] u1CmdSubId = 23, u1ArgNum = 0, u1DbdcIdx = 0, u1Status = 0
[ 50.907138] u1DropTaIdx = 0, u1StaIdx = 0, u4Value = 1
[ 50.921344] apidx 0 for WscUUIDInit
[ 50.924916] Generate UUID for apidx(0)
[ 50.928712] WDS_Init():wds_num[0]=0, count=0, MAX_WDS_ENTRY=16, if_idx=0, flg_wds_init=0
[ 50.936879] Total allocated 0 WDS(es) for band0!
[ 50.941939] extif_set_dev(ra0)
[ 50.945968] add tx_src: dc:d8:7c:42:2e:57
[ 50.948902] device ra0 entered promiscuous mode
[ 50.949059] br-lan: port 2(ra0) entered forwarding state
[ 50.949106] br-lan: port 2(ra0) entered forwarding state
[ 50.961460] rax0: ===> mbss_virtual_if_open
[ 50.961490] RTMP_COM_IoctlHandle -> CMD_RTPRIV_IOCTL_VIRTUAL_INF_INIT
[ 50.961513] RTMP_COM_IoctlHandle -> CMD_RTPRIV_IOCTL_VIRTUAL_INF_UP
[ 50.961552] wifi_sys_open(), wdev idx = 2
[ 50.961748] ucAction = 0, ucBandIdx = 0, ucSmthIntlBypass = 0
[ 50.961773] ucAction = 0, ucBandIdx = 1, ucSmthIntlBypass = 0
[ 50.962012] BuildChannelList() BandIdx = 1, PhyMode = 177, ChListNum = 13:
[ 50.962736] DfsBuildChannelList(): Done
[ 50.962774] phy_oper_init(): operate TxStream = 2, RxStream = 2
[ 50.962855] [RadarStateCheck] RD_NORMAL_MODE
[ 50.963195] mt7915_apply_dpd_flatness_data: eeprom 0x62 bit 0 is 0, do runtime cal
[ 50.963292] MtCmdChannelSwitch: ctrl_chl=36, ctrl_ch2=0, cent_ch=42 DBDCIdx=1, ChBand=1, BW=2, TXStream=2, RXStream=2, scan(0)
[ 51.064895] MtCmdSetTxRxPath: ctrl_chl=36, ctrl_ch2=0, cent_ch=42, RxPath=3, BandIdx=1, ChBand=1, BW=2,TXStream=2, RXStream=3, scan(0)
[ 51.077329] Caller: wlan_operate_init+0x104/0x118
[ 51.082034]
[ 51.082034] phy_mode=177, ch=36, wdev_type=1
[ 51.087867] ht_cap: ht_cap->HtCapInfo,
[ 51.091715] ldpc=1,ch_width=1,gf=0,sgi20=1,sgi40=1,tx_stbc=1,rx_stbc=1,amsdu_size=1
[ 51.099456] ht_cap: ht_cap->HtCapParm,
[ 51.103347] mdpu_density=5, ampdu_factor=3
[ 51.107587] hw_ctrl_flow_v2_open: wdev_idx=2
[ 51.112088] AP inf up for ra_2(func_idx) OmacIdx=0
[ 51.117011] AsicRadioOnOffCtrl(): DbdcIdx=1 RadioOn
[ 51.122198] ApAutoChannelAtBootUp----------------->
[ 51.127212] ApAutoChannelAtBootUp: AutoChannelBootup[1] = 0
[ 51.133124] MtCmdSetMacTxRx:(ret = 0)
[ 51.136959] MtCmdSetMacTxRx:(ret = 0)
[ 51.140623] ap_run_at_boot() : ACS is disable !!
[ 51.146141] ===> APStartUpForMbss(caller:ap_inf_open+0x178/0x1d4), mbss_idx:2, CfgMode:177
[ 51.154508] [PMF]APPMFInit:: apidx=2, MFPC=1, MFPR=0, SHA256=0
[ 51.160434] [PMF]PMF_MakeRsnIeGMgmtCipher: Insert BIP to the group management cipher of RSNIE
[ 51.169141] Caller: SetCommonHT+0x100/0x170
[ 51.173429]
[ 51.173429] phy_mode=177, ch=36, wdev_type=1
[ 51.179212] ht_cap: ht_cap->HtCapInfo,
[ 51.183154] ldpc=1,ch_width=1,gf=0,sgi20=1,sgi40=1,tx_stbc=1,rx_stbc=1,amsdu_size=1
[ 51.190844] ht_cap: ht_cap->HtCapParm,
[ 51.194787] mdpu_density=5, ampdu_factor=3
[ 51.198938] Enable 20/40 BSSCoex Channel Scan(BssCoex=1)
[ 51.204412] ap_link_up(caller:APStartUpForMbss+0x430/0x6b8), wdev(2)
[ 51.210820] wifi_sys_linkup, wdev idx = 2
[ 51.372769] wtc_acquire_groupkey_wcid: Found a non-occupied wtbl_idx:286 for WDEV_TYPE:1
[ 51.372769] LinkToOmacIdx = 0, LinkToWdevType = 1
[ 51.385673] TRTableInsertMcastEntry:band1 group_idx[2]=2
[ 51.391006] wifi_sys_linkup:wdev(type=2,func_idx=1,wdev_idx=2),BssIndex(1)
[ 51.398324] hw_ctrl_flow_v2_link_up: wdev_idx=2
[ 51.402937] (bssUpdateChannel), ucPrimCh=36, ucCentChSeg0=42, ucCentChSeg1=0, BW=2, ucHetbRU26Disable=0, ucHetbAllDisable=1
[ 51.414160] bssUpdateBmcMngRate (BSS_INFO_BROADCAST_INFO), CmdBssInfoBmcRate.u2BcTransmit= 8320, CmdBssInfoBmcRate.u2McTransmit = 8320
[ 51.430730] UpdateBeaconHandler, BCN_UPDATE_INIT, OmacIdx = 0 (ra0)
[ 51.437064] Band1 BcnInitedRnd = 75
[ 51.440700] MtCmdTxPowerSKUCtrl: tx_pwr_sku_en: 0, BandIdx: 1
[ 51.446629] MtCmdTxBfBackoffCtrl: fgTxBFBackoffEn: 0, BandIdx: 1
[ 51.452738] MtCmdTxPowerPercentCtrl: fgTxPowerPercentEn: 0, BandIdx: 1
[ 51.466631] set muru_update_he_cfg()!!!!
[ 51.470575] PrintSrCmd:
[ 51.470575] u1CmdSubId = 1, u1ArgNum = 0, u1DbdcIdx = 1, u1Status = 0
[ 51.470575] u1DropTaIdx = 0, u1StaIdx = 0, u4Value = 0
[ 51.484686] PrintSrCmd:
[ 51.484686] u1CmdSubId = 5, u1ArgNum = 0, u1DbdcIdx = 1, u1Status = 0
[ 51.484686] u1DropTaIdx = 0, u1StaIdx = 0, u4Value = 0
[ 51.498791] PrintSrCmd:
[ 51.498791] u1CmdSubId = 3, u1ArgNum = 0, u1DbdcIdx = 1, u1Status = 0
[ 51.498791] u1DropTaIdx = 0, u1StaIdx = 0, u4Value = 1
[ 51.512894] PrintSrCmd:
[ 51.512894] u1CmdSubId = 23, u1ArgNum = 0, u1DbdcIdx = 1, u1Status = 0
[ 51.512894] u1DropTaIdx = 0, u1StaIdx = 0, u4Value = 1
[ 51.527119] apidx 2 for WscUUIDInit
[ 51.530613] Generate UUID for apidx(2)
[ 51.534463] WDS_Init():wds_num[1]=0, count=0, MAX_WDS_ENTRY=16, if_idx=0, flg_wds_init=0
[ 51.542598] Total allocated 0 WDS(es) for band1!
[ 51.547737] extif_set_dev(rax0)
[ 51.552543] add tx_src: de:d8:7c:62:2e:57
[ 51.554622] device rax0 entered promiscuous mode
[ 51.554779] br-lan: port 3(rax0) entered forwarding state
[ 51.554818] br-lan: port 3(rax0) entered forwarding state
[ 51.562959] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
[ 51.578678] add tx_src: d6:d8:7c:42:2e:57
[ 51.583571] nf_unregister_hooks()
[ 51.591292] no net device found for rax1 or apclix0
[ 51.596806] no net device found for rax2 or apclix0
[ 51.601802] no net device found for rax3 or apclix0
[ 51.617742] no net device found for rax4 or apclix0
[ 51.623477] no net device found for rax5 or apclix0
[ 51.628520] no net device found for rax6 or apclix0
[ 51.639147] no net device found for rax7 or apclix0
[ 51.644333] no net device found for rax8 or apclix0
[ 51.649371] no net device found for rax9 or apclix0
[ 51.656114] no net device found for rax10 or apclix0
[ 51.661266] no net device found for rax11 or apclix0
[ 51.675196] no net device found for rax12 or apclix0
[ 51.685986] no net device found for rax13 or apclix0
[ 51.691103] no net device found for rax14 or apclix0
[ 51.708586] no net device found for rax15 or apclix0
[ 51.714767] add tx_src: da:d8:7c:42:2e:57
[ 51.718992] no net device found for ra2 or apcli0
[ 51.733767] no net device found for ra3 or apcli0
[ 51.739617] no net device found for ra4 or apcli0
[ 51.752229] no net device found for ra5 or apcli0
[ 51.757387] no net device found for ra6 or apcli0
[ 51.772598] no net device found for ra7 or apcli0
[ 51.781007] no net device found for ra8 or apcli0
[ 51.785922] no net device found for ra9 or apcli0
[ 51.796882] no net device found for ra10 or apcli0
[ 51.801864] no net device found for ra11 or apcli0
[ 51.813358] no net device found for ra12 or apcli0
[ 51.819087] no net device found for ra13 or apcli0
[ 51.824357] no net device found for ra14 or apcli0
[ 51.830536] no net device found for ra15 or apcli0
#################nick vif=====MT7915D_1_1 apCliEnable= ########
#######nick reload uci2dat /etc/wireless/mediatek/mt7915.dbdc.b1.dat#########
[ 52.526142] cgroup: mkdir (2853) created nested cgroup for controller "memory" which has incomplete hierarchy support. Nested cgroups may change behavior in the future.
[ 52.541342] cgroup: "memory" requires setting use_hierarchy to 1 on the root
#######nick up skip uci2dat /etc/wireless/mediatek/mt7915.dbdc.b1.dat#########

2022/01/26

我把对xmc闪存支持放到pending的patch里了,但是没有先发到Linux,好麻烦。

2022/01/25

验证原厂u-boot,也可以引导openwrt 21.02.1

解压dtb

首先当然是从FIT uImage里面解压dtb啦

1
2
3
4
5
6
7
8
ubuntu@a:~/OpenWRT_JDC03$ extract-dtb mtd4.bin -o dtbs
Dumped 00_kernel, start=0 end=0
Dumped 01_dtbdump_MIPS_OpenWrt_FIT_(Flattened_Image_Tree).dtb, start=0 end=3853896
Dumped 02_dtbdump_mediatek,mt7621-rfb-nor.dtb, start=3853896 end=3932160
Extracted 2 appended dtbs + kernel to dtbs
ubuntu@a:~/OpenWRT_JDC03$ cd dtbs/
ubuntu@a:~/OpenWRT_JDC03/dtbs$ ls
00_kernel '01_dtbdump_MIPS_OpenWrt_FIT_(Flattened_Image_Tree).dtb' 02_dtbdump_mediatek,mt7621-rfb-nor.dtb

这里镜像格式是FIT uImage,这个难搞。

  1. 固件有签名(没细看);
  2. 现有mtk7621的uboot源码不知道能不能支持FIT引导;
  3. 现有官方uboot不知道能不能引导21.02.1。

所以可能永远不会openwrt factory img以供原厂固件直刷到openwrt,因为原厂固件用了jd私钥签名。。。

原厂dts获取

把dtc编译出来之后,反编译dtb得到dts。

1
dtc -q -I dtb -O dts 02_dtbdump_mediatek,mt7621-rfb-nor.dtb -o ./mt7621-rfb-nor.dts

于是收集了一些反编译的dts,大概看了一下,原厂是基于mtk-lede-4.2.0.0编译出来的。主要就是分区、led有点用,其它东西没啥用,mt7621方案都烂大街了,闭着眼都能适配。

刷入breed

jdc-01 r1388 breed尝试

我目前手上没有编程器,挑战一波不拆机适配openwrt,另外我也不知道官方uboot能不能引导legacy uImage,所以保险起见我决定找个gpio reset口一样的breed替换uboot,这样至少可以救砖+引导openwrt 21.02.1。

一开始用了最新的jdc-01(一代无线宝)的r1338的breed,炸了,闪存提示无效。
这时候我的固件还没编译出来,所以随便找了openwrt-21.02.0-ramips-mt7621-zbtlink_zbt-wg3526-16m-initramfs-kernel.bin,然后boot mem 0x84000000,尝试从内存启动固件,进去之后发现/proc/mtd没有分区信息,写不了原来的uboot。。

1
2
3
[    3.632938] spi-mt7621 1e000b00.spi: sys_freq: 220000000
[ 3.639256] spi-nor spi0.0: unrecognized JEDEC id bytes: 20 40 18 20 40 18
[ 3.646348] spi-nor: probe of spi0.0 failed with error -2

然后顺手添加了对闪存XMC_XM25QH128C的支持(PR),又手动编译了initramfs固件,再用breed从内存启动。

启动之后:

1
2
3
4
5
6
root@OpenWrt:~# mtd -r write breed-mt7621-jd-cloud-1.bin u-boot
Could not open mtd device: u-boot
Can't open device for writing!
root@OpenWrt:~# mtd unlock u-boot
Could not open mtd device: u-boot
Could not open mtd device: u-boot

这里把wg3526的dts里面的u-boot partition节点的readonly删除就行,但我懒得改原型号的dts了,所以编译了固件+mtd-rw.ipk,解锁uboot分区rw。

1
2
3
4
5
6
7
8
9
root@OpenWrt:~# opkg install kmod-mtd-rw_5.10.92%2Bgit-20160214-2_mipsel_24kc.ipk 
Installing kmod-mtd-rw (5.10.92+git-20160214-2) to root...
Configuring kmod-mtd-rw.
root@OpenWrt:~# insmod mtd-rw i_want_a_brick=1
root@OpenWrt:~# mtd -r write breed-mt7621-jd-cloud-1.bin u-boot
Unlocking u-boot ...

Writing from breed-mt7621-jd-cloud-1.bin to u-boot ...
Rebooting ...

修改后的jdc-01 breed尝试

后面联系了hackpascal,他单独给了个添加这个闪存id的breed,直接开冲,成功识别内存。但是依然没用,官方固件是FIT uImage格式的,breed目前好像不支持;启动地址也不对,jdc-01是0x50000公版布局,鲁班是0x90000。

但毕竟可以内存启动,所以就先当调试的工具用吧。

编写dts

参考了wr1800k-nor、cr660x、x5000r的dts。有三个节点不知道怎么搞,所以没写:

1
2
3
4
5
6
7
8
9
10
1. 	Mediatek EIP93加密驱动,没找驱动,看了下lean的仓库有驱动,先不搞
crypto@1e004000 {
status = "okay";
compatible = "mediatek,mtk-eip93";
reg = <0x1e004000 0x1000>;
interrupt-parent = <0x01>;
interrupts = <0x00 0x13 0x04>;
};
2. usb@1e1c0000 usb-phy@1e1d0000 应该没用
3. hnat@1e100000 mtk-hnat-v1 硬件nat?不知道怎么回事,先不搞

具体的提交见:ramips: add support for jdcloud_re-cp-02

通过breed环境变量自启

编译openwrt之后,我换到了breed重构前(可以识别不支持的闪存,标记为unknow)的版本,breed-mt7621-pbr-m1-r1286。

另外我想到可以通过修改环境变量的方式,设置autoboot.command的值,指定从闪存0的0x90000位置启动。

具体步骤为:在web上设置环境变量,选择breed内存,然后保存。接着telnet 192.168.1.1,在breed telnet控制台里输入:

1
2
3
4
5
6
7
8
9
breed> env set autoboot.command "boot flash 0x90000"
'autoboot.command' is set with value 'boot flash 0x90000'.

breed> env list
Total size: 8186 bytes / Free size: 8150 byte(s)

autoboot.command=boot flash 0x90000

breed> env save

这样之后,openwrt就可以自启了,后面也就不需要用breed更新openwrt了,直接从openwrt里升级系统即可。我使用breed的目的只是在不确定原厂uboot的情况下保证让openwrt起来。

Back To Factory

如果想回官方,就在openwrt里面刷入此前备份的分区。

1
2
3
4
# 恢复firmware分区
mtd write mtd3.bin firmware
# 恢复uboot
mtd write mtd0.bin u-boot

重启就会回到原系统。

折腾:无线宝鲁班openwrt 21.02.1

https://lyq.blogd.club/2022/01/23/jdc03-openwrt/

Author

lyq1996

Posted on

2022-01-23

Updated on

2022-04-21

Licensed under

Comments