t113s3通过usb口连接air780模组,air780模组的调试串口引出,且power_key引脚接地设为上电开机,sel_io管脚接地设vdd_ext为3.3v.
电池供电,电压在4.1v左右。结果供电后,调试口显示输出几行信息,然后就变为乱码了...
(E) Welcome to EiGENCOM D-Fota Time!
___ _____ ___ _____ _
| _ \ | ___/ _ \_ _|/ \
|| \| -- | |_ || || | | / _ \
||_/| -- | _| ||_|| | |/ ___ \
|___/ |_| \___/ |_/_/ \_\
(C) Copyright 2020, All Rights Reserved.
(V) Version(2.5), Built @Jan 22 2024 16:52:51
uart(1) urc baud: 115200
total length(40):
[1/1] ffffff3feeffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
no par(0xffff) found!
exit...
bootloader flashXIPLimit(0x809978), try normal boot system start!
[16:59:43.581]收←◆s
[16:59:43.612]收←◆鴪`$`0爟:?: < #")! ! 3r0`?? 阷憘:j?
睊 b嵃d皹憻
[16:59:43.643]收←◆?`
[16:59:43.696]收←◆j簉??*0鴇y堮 $09??`""b# 鸓8癭+餈!?P\ :0硼?麪牪h€
[16:59:43.759]收←◆&! ?!8!釋?0 0P( ?("H?(悂? 牎 ! 牋?"膫0岈1 :瀶€!\0??"b0?~? 0* ?`?8倽:{!?
€2?哷
酁傝hH?h\0"`"?iIA\0?丠0?*癶9+ ㄐ
[16:59:43.928]收←◆h8
[16:59:43.997]收←◆! ?b e ???98q`?
?% ( ? \0!獪?&牸姪"!悽8? 筡0C2悇??楡"書 鹱餻
[16:59:44.028]收←◆€#)("?鄠!"
[16:59:44.060]收←◆徵;臓@?2b i`? p 鹪领夻+r*釧 9
[16:59:44.082]收←◆嘀"*)屺鰄?0 ?9?C鵫?+?瘌)悦`?Ai`?i`)" 3`+#?"(?\0偍\0峔0??H侤d y掤???峇!"??⒕? #}0r? w`"A鑊堾!J2# (j?L0?? :U⒓俓05rd `?! ($桛(↙`仮x@ i卩? #I#+? $!) \0
[16:59:44.144]收←◆⑩省 =(#u9 !a`Q??D酄蝤簒纀焱椴凐?撞;:?鋌⒔磡燶2*)**):9!(p蓇?3#膠「?1\? ?(癨0竬1!E 椤犫 ??) a統1狲f鈈栤c8?" 拆盃'!??犪唨 ? @@\0"\0繮?|F尅苧 `pGp?!L买?j?髍a?y 棰!\0
[16:59:44.182]收←◆?"鄲K晫?
?"?]*+i應?vs徭?€?*#醳€F狆#?#?炳瘕犙?膣饆2?#亵h)??襦?3A痧3h6黫`忐?惔
[16:59:44.229]收←◆10#T鹺;?騗?e?襦"rC1?rPb馶0
[16:59:44.260]收←◆?豉\0?`)?ya?+?2
[16:59:44.282]收←◆2?鰛郟黚騣1枚驙黚1
[16:59:44.314]收←◆舛?b?9+2鼘( ?瘕9023C?忤??
[16:59:44.345]收←◆鹌蛸aj?驂2;b+i?3C麵聳瘌怛猏0
[16:59:44.383]收←◆i?;?Z?b釿9?齀 4夲乞r\0
[16:59:44.414]收←◆???H?I?赳銧?b(?2b\09
[16:59:44.445]收←◆亵0?9鈮21b!棹2?m+9??21
[16:59:44.483]收←◆???2a)鸢痧?I;夻鸢??﨎+?酏鱘03?)?\0
[16:59:44.514]收←◆2?23b痧噜f%
[16:59:45.931]收←◆鬬
[16:59:46.000]收←◆`0?1!仭
[16:59:47.335]收←◆00ET#4黒0
[16:59:47.404]收←◆ ?鼈?帏?a
[16:59:47.435]收←◆h堻桴(睜
[16:59:47.504]收←◆
[16:59:47.535]收←◆?a?" ` 罓N?(0p鳼!)
[16:59:47.589]收←◆!t
[16:59:47.620]收←◆惔
[16:59:47.673]收←◆*
[16:59:47.705]收←◆酅銗AH
[16:59:47.736]收←◆"
[16:59:47.774]收←◆ ?)垚# !F~愸?
[16:59:47.805]收←◆?`?ㄠ?浴嘅1?狛?赴T!0?wccK,""*!雮
[16:59:47.836]收←◆?@(勸矤x ?
[16:59:47.874]收←◆?Х
攭`D
[16:59:47.905]收←◆兏a7 鷃
离线
找了个air780e开发板,上电后过了d-fota信息后,其他的也都是乱码。看样子我板子上的air780算是正常工作了。
乱码信息不一样,可能是因为固件不同吧。
[01:45:45.257]收←◆->
\0
[01:45:45.380]收←◆
boot rom try normal boot start!
\0
[01:45:45.464]收←◆Start power on debounce. Delay=500
[01:45:45.964]收←◆
(E) Welcome to EiGENCOM D-Fota Time!
___ _____ ___
[01:45:46.011]收←◆ _____ _
| _ \ | ___/ _ \_ _|/ \
|| \| -- | |_ || || | | / _ \
||_/| -- | _| ||_|| | |/ ___ \
|___/ |_| \___/ |_/_/ \_\
(C) Copyright 2020, All Rights Reserved.
(V) Version(2.5), Built @Dec 18 2023 10:21:59
uart(1) urc baud: 115200
total length(40):
[1/1] ffffff3feeffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
no par(0xffff) found!
exit...
bootloader flashXIPLimit(0x809a90), try normal boot system start!
[01:45:46.080]收←◆?郔恇*゛ (傴:0 :! ? !*0* @!`p!€
B
[01:45:46.164]收←◆郻0?郻聵1#?1t?`"?0娿酭?€0i?8?($鴕` (\0?悁# ?狲 溤?? <!肎豇0??!r鼝20`d?`j儼" ?!俰4!!?""倻"醼*?? ??ⅳ€?*??(2#c ?`(\0? ?!?\0h翇??(?8)"皃炔1?2"?\"(+箙)C0!3? ??俼€)0'饍"瞏€( !?"?
嗲\0`b"0h NY惱★?€3鸁娱郳0\?!!0片1oJ莚?傽6?h﹐>錃 ?唓牺r~?0??0$悭BU)
----------------------------
尝试了多次重启,开机上电信息,有时候多,有时候少。
(E) Welcome to EiGENCOM D-Fota Time!
___ _____ ___ _____ _
| _ \ | ___/ _ \_ _|/ \
|| \| -- | |_ || || | | / _ \
||_/| -- | _| ||_|| | |/ ___ \
|___/ |_| \___/ |_/_/ \_\
(C) Copyright 2020, All Rights Reserved.
(V) Version(2.5), Built @Dec 18 2023 10:21:59
uart(1) urc baud: 115200
total length(40):
[1/1] ffffff3feeffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
no par(0xffff) found!
exit...
bootloader flashXIPLimit(0x809a90), try normal boot system start!
[01:49:41.136]收←◆@鳬?#(1竝`h"?€" $$r(1!`q??(1殹
[01:49:41.225]收←◆+!驅3?(扊() `瘼?鎎? 罍\ 仩1?瀉!*?琛
[01:49:41.302]收←◆`ch小?0狆狔狺??(?C亪0 !? 0罍2Q D??€8?&.渜8??"\0 ! 狏P+f D灠1t? ?3 :I$ 8#`奬0敖0?230癭02q ?33"$ 癮═驙 c()@i !xp駩`嬧侐``0?1忄鲷帑瘀z篌??齄牝??郳0
[01:49:41.378]收←◆ 篌蝥?怿
[01:49:41.410]收←◆筱螓??篁篼簋簋?赈!桠?颃!聩鵼 t?嗖惛冢\0?0?" 鋋?€?!xia爳)$\0"%a*!? 2 t凙癓@\0
[01:49:41.525]收←◆h(稩cKRH?@銀h垾▲瘌?瘊0溹??(帏帏@槈!!??瘊豉??1?瘊瘃篌???D椟
[01:49:41.641]收←◆ 瘘x)狳狴1???狴豉?騬
[01:49:41.679]收←◆#膱?!'1)q"??H皠? ` hJ1t( E乣 ?!
0 逍唷s ? 7 R\0!(?亨 b!b 0 !x#D\0") 幝 d"Z凫q鴵癭&1xY0 p\0
[01:49:41.710]收←◆峥?@ 0 (€俐3 0睠 鄲0 ( "4 " ?\0$9恓 4 0 琥b= r! 0L("€9?08\0\0 ??*M#Dx !? ?埰膊, )A佽Z{ba"a "uM犼?0pjk?覃?
[01:49:41.757]收←◆??a←臌+$k9)?9╇筴`k4 @ \0?? ! : "p 餚閈0? h?V冭扮鼉????戹
[01:49:41.795]收←◆?酏顸鲻蝥餫 1腚jkxk莐{?0\0€) `┌cu%??\0 (???禿蝮駮蝥#轼辇
[01:49:41.826]收←◆??鎖鲴z0 鹝zk歿k;{k~k狷o?皜P" 偝1?a鲨p$!8 $ ╆q0p0?y&?鵞???
[01:49:41.857]收←◆?"猘鄨0灏隿Dr豫隨{ 0)妶剙??詡牥啖!?
[01:49:41.895]收←◆(p~攞{v鷎纊鷎{k?{ 榒 A`?#1`€8?羂0 ≦?
[01:49:41.926]收←◆?9k‰x発{媋﹌9? 0!j睒(?拋 !l"燖 \0?
[01:49:41.973]收←◆ 臌瑃k侜雥k喙鹹{j?喐5睮p?(?? `?!?\0?偟爛塨 蔴0€
[01:49:42.011]收←◆\0H嫮vk{胞{@半 $a`毑* 0 (\0€2?\0€\0
[01:49:42.042]收←◆馉狉k{尔腚 霐k竗{襨\0*"\0?\0`皜奝,?8\0a ?€?
[01:49:42.080]收←◆?k雓=毹6{{q 锣 ?€盃!a 8F ?? `0
[01:49:42.111]收←◆( kkる雓)?牖[{k{)€€?0`x04\0?\0| 疣惃!?
[01:49:42.143]收←◆"p!腚?陵9u醳y鹝\0€刯00? p€ ?(0"( ǘ1!`
[01:49:42.174]收←◆? è霠駕?z?固良?帯?j黑d`a !? p?u 龤? \0 h閎0玴0 (?k~k?凓鹺鸓雬z9 ! ?x┌#?p?\0
[01:49:42.227]收←◆{?1?(
[01:49:42.258]收←◆爌蒩鬨Rk{磌?鹝i ` ` p?& ) ?(]砵08`(
[01:49:42.296]收←◆?氳kk{鶦?{P{ ?k跭k{p{I 帘1? "?y冟\0)?0p0`"`A,
[01:49:42.327]收←◆
[01:49:42.359]收←◆( k鹝)+ 9kk{珄k{?&? x3鑱?`
€! (郹 ?
[01:49:42.381]收←◆ 1雓滕{€{{雓+("???#q 皃 )€?(hqh? €
[01:49:42.412]收←◆ z~k#鷞k:?kz{鷞€ ?"?(?@?1? ?? `
[01:49:42.443]收←◆ !k{臌鴎k{雙k{趝?)唊6(?8?猏0 摹牪8p ! 5 " `\0`(
[01:49:42.481]收←◆?耣腚鑬偣 k{╇i?\0 €(D?" ? \0 y?2`a
[01:49:42.512]收←◆鼱)橕k萾{?腴敫?kU@l(C 繾 q?
t \0??祦床$?0`
[01:49:42.544]收←◆鋩)爞霅k鹝爗您?)(ㄑ?? (p *`牂TA@0
[01:49:42.581]收←◆?)爇)k|p)腚yA{a鹥?"1 k共(?蓟 B ∴ea酄
[01:49:42.613]收←◆?Sk{痣{?kk{閷纊:”?餼7`俙" ! `(?? 狘
[01:49:42.644]收←◆\0?雥腚 kk鸧雓半鹝▔勑?J?2??F牋閈0(10
[01:49:42.682]收←◆?鹝k"k)雥恵?{k雭€0"`?4?2!?€耟怐\0 爛2? !*u<0燖0+\0
[01:49:42.713]收←◆?愞k発脍?k9???聙"驃0#鷫B !`餪2` p
[01:49:42.744]收←◆(?kkb氡雥 1?牰?,建?0`! i??!
[01:49:42.782]收←◆?€ bkk橕臌?k{`|k{0\0
[01:49:42.813]收←◆€D—i€c 1? 2m?! 0 鼱(2臌?{+k搿雥{(
Pb??j ╕1)9"?
8€ "?q?
[01:49:42.860]收←◆﨧 !kE涣牍{? ?\0F€ah@`\0圽0Q\0
[01:49:42.882]收←◆`S惵圽0宼隤雥 k{鹝←{{鹻){ ? 0 `?犫 ? 祦a溟1蘚0
[01:49:42.929]收←◆ B"亱7000?!€ €$?0d镫 k@kk`坽€4h - \0
[01:49:42.960]收←◆d€> ????F€€ ?渀肷6pokk?峁雥+v鹻k?(3?(皺盃! !犇1p`q 窧?
[01:49:42.994]收←◆b?€氱0?c筴臌(?詹( 0`?
潬?? 燾?悹? g+?`\0v`
[01:49:43.034]收←◆P?笭"噌?珥9 B"泞#ⅲF鐮苨a 蜝UF???犫惞0?0?弃#!??a辩2DQ?
最近编辑记录 Gentlepig (2024-12-13 09:50:35)
离线
有四五个虚拟串口,换个试一试
离线
有四五个虚拟串口,换个试一试
板子上t113直接usb连到air780的usb口了。ifconfig看没多出网口设备,所以怀疑air780的工作状态。
air780的调试串口倒是引出来了,看到乱码我以为780没正常工作。找了air780开发板发现也是这样,那就放心了。我板上的air780大概率正常工作了。
接下来找tina linux的问题吧。
root@TinaLinux:/# lsusb
Bus 001 Device 001: ID 1d6b:0002
Bus 001 Device 002: ID 19d1:0001
Bus 002 Device 001: ID 1d6b:0001
root@TinaLinux:/# [ 33.799534] usb1-vbus: disabling
[ 69.968810] g_ether gadget: high-speed config #1: CDC Ethernet (ECM)
root@TinaLinux:/#
root@TinaLinux:/# ifconfig
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
root@TinaLinux:/#
19d1这个usb设备就是air780,但是ifconfig没看到新的网卡设备。
-----------------------------------------------------------------
root@TinaLinux:/# ifconfig usb0 up
root@TinaLinux:/# ifconfig
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
usb0 Link encap:Ethernet HWaddr 32:B4:5D:AB:60:DD
inet6 addr: fe80::30b4:5dff:feab:60dd/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:19 errors:0 dropped:0 overruns:0 frame:0
TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2907 (2.8 KiB) TX bytes:656 (656.0 B)
这算正常了吗?
------------------------------------------
root@TinaLinux:/# ifconfig
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
root@TinaLinux:/# udhcpc
udhcpc: started, v1.27.2
udhcpc: sending discover
udhcpc: sending select for 192.168.10.2
udhcpc: lease of 192.168.10.2 obtained, lease time 86400
udhcpc: ifconfig eth0 192.168.10.2 netmask 255.255.255.0 broadcast +
udhcpc: setting default routers: 192.168.10.1
root@TinaLinux:/# ifconfig
eth0 Link encap:Ethernet HWaddr 20:89:84:6A:96:AB
inet addr:192.168.10.2 Bcast:192.168.10.255 Mask:255.255.255.0
inet6 addr: fe80::2289:84ff:fe6a:96ab/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:3 errors:0 dropped:0 overruns:0 frame:0
TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:684 (684.0 B) TX bytes:1552 (1.5 KiB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
需要手动执行udhcpc才行吗?
最近编辑记录 Gentlepig (2024-12-13 11:31:39)
离线
看起来没问题
离线
以为搞定了,吃饭回来,发现调试口卡死了。
root@TinaLinux:/# [ 6.879707] sunxi_usb_udc 4100000.udc-controller: 4100000.udc-controller supply udc not f
重启后,进到系统,此时可以输入命令,但很快出现这行后就卡住了。等很久后,可以再输入几句命令行,然后就又卡死了。
重启进uboot,结果进到uboot后,就自动出现乱码:
secure storage read rsa_cert1 fail
[00.615]secure storage read rsa_cert1 fail with:-1
secure storage read rsa_cert2 fail
[00.623]secure storage read rsa_cert2 fail with:-1
secure storage read rsa_cert3 fail
[00.630]secure storage read rsa_cert3 fail with:-1
[00.635]out of usb burn from boot: not need burn key
root_partition is rootfs
set root to /dev/mmcblk0p5
[00.644]update part info
[00.647]update bootcmd
[00.649]change working_fdt 0x43ebee70 to 0x43e9ee70
[00.655][mmc]: no mmc-hs400-1_8v!
[00.657][mmc]: delete mmc-hs200-1_8v from dtb
[00.662][mmc]: get max-frequency ok 50000000 Hz
disable nand error: FDT_ERR_BADPATH
[00.678]update dts
Hit any key to stop autoboot: 0
=>
=>
=> @@ @ @A@ @@@B$ @
@@)@@$@ I d &
FQ0",Hds0#2v, !!$`",b63 ! ɲ
尝试重新烧写吧,ubuntu下竟然烧写不成功,切到win下用phonex那个软件,一样的结果。
烧录时,调试串口信息:
[4379][AUTO DEBUG] rank 0 row = 13
[4382][AUTO DEBUG] rank 0 bank = 8
[4385][AUTO DEBUG] rank 0 page size = 2 KB
[4389]DRAM BOOT DRIVE INFO: V0.33
[4392]DRAM CLK = 936 MHz
[4395]DRAM Type = 3 (2:DDR2,3:DDR3)
[4398]DRAMC read ODT off.
[4401]DRAM ODT value: 0x42.
[4403]ddr_efuse_type: 0xa
[4407]DRAM SIZE =128 M
[4409]dram_tpr4:0x0
[4411]PLL_DDR_CTRL_REG:0xf8004d00
[4414]DRAM_CLK_REG:0xc0000000
[4416][TIMING DEBUG] MR2= 0x20
[4421]DRAM simple test OK.
[4423]rtc standby flag is 0x0, super standby flag is 0x0
[4428]init dram ok
LiveSuit后台输出:
--------------Init Called------------------
workDir /home/any/mpu/t113s3/sunxi-livesuite-master/x86-64/LiveSuit
ImgLenHigh 0
ImgLenLow 141215744
Mode 8
hWnd 0
imgFilePath /home/any/mpu/t113s3/sdk_2_1/tina-d1-2.1/out/t113-nezha/tina_t113-nezha_uart0.img
[TL_MSG]:Mode = 8, ImgLenHigh=0, ImgLenLow = 86ac800, imgFilePath = /home/any/mpu/t113s3/sdk_2_1/tina-d1-2.1/out/t113-nezha/tina_t113-nezha_uart0.img
IMAGEWTY
ItemTableSize = 1048576
[TL_MSG]:Tools Open Img
---fun end---
--------------entry-fel2fes Called-----------
felDevName /dev/aw_efex0
[TL_MSG]:Hi, I'm fel, dev=/dev/aw_efex0
[TL_MSG]:To down and Run fes1-1
[TL_MSG]:fes1 down addr = 0x28000, retAddr =0x28340
[TL_MSG]:tlFelDev.FelRun finish
[TL_MSG]:hasRetLog finish
[TL_MSG]:Tools_Buffer finish
[TL_FEX]:fel UP addr=0x28340, len=136
Fex_Send error: 没有那个设备
Fex_transmit_receive Error: ./eFexCore.cpp, 318
Fex_command Error ./eFexCore.cpp 409
[TL_FEX]:fexCdmRet = 200
<TL_ERR>:usbtool.lua_1951>:FAil to UP fes aide log area, times=1
<TL_ERR>:usbtool.lua_3471>:fes1-1 failed
L225, Exception, returned value of Tools.entry_fel2fes is error.
FelThreadEntry g_Tools_if->Fel2Fes 227
LiveSuit界面提示:烧写固件失败:Wait for Fes Device Timeout...
------------------------------------------------------------------
找到之前以为坏了的另一块板子,烧录进取,能正常启动,启动完也不会卡住。
目前这个板子t113s3坏了?uboot命令行里,调试串口乱码很奇怪。
-------------------------------------------------------------------
将下午出问题的这个板子上的air780,吹下来了。问题依旧...
热风枪吹了下t113s3和usb口,正常了...
最近编辑记录 Gentlepig (2024-12-13 15:13:11)
离线