使用过的板子越来越多, 从FSL/NXP到三星, QualComm, Broadcom, Amlogic, MTK与海思, 还有NVIDIA Tegra.每一次使用板子做setup都需要去看一下Manual. 有些板子比较方便, 有些板子各种奇葩. 而记忆力又有限. 所以干脆以后每使用一个不同板子都记录一下.
Fastboot mode
这一次用到的板子是DragonBoard 410C, QualComm的芯片. 死活进入不了manual上面的说道的fastboot mode. 结果发现原因是:
即如果USB作为 device来进入到fastboot mode, 那么需要拔出其他所有的USB设备,否则无法进去.
来源于: https://discuss.96boards.org/t/android-on-96boards-faq/650#post-14462
串口问题
注意是1.8V的电平. 然后线序根据说明, 如果是淘宝买的串口转USB, 那么就按照标注上面的说明来连接:
具体说明见: https://github.com/96boards/documentation/blob/master/ConsumerEdition/DragonBoard-410c/Guides/uart-serial-console.md
另外Linux串口的波特率为115200 8n1.
如果使用的是debian,那么cmdline是:
1
2
3root@linaro-alip:~# cat /proc/cmdline root=/dev/disk/by-partlabel/rootfs rw rootwait console=tty0 console=ttyMSM0,115200n8 androidboot.emmc=true androidboot.serialno=6ea8a8f6 androidboot.baseband=apq adv7533_dsi2hdmi.panel=dsi mdss_mdp.panel=1:� ������U���e��gR�:���9���Tj���ճ#0;6R�/�!�t��";�K'�;0��+R�R��P��
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
94root@linaro-alip:~# hexdump -C /proc/cmdline 00000000 72 6f 6f 74 3d 2f 64 65 76 2f 64 69 73 6b 2f 62 |root=/dev/disk/b| 00000010 79 2d 70 61 72 74 6c 61 62 65 6c 2f 72 6f 6f 74 |y-partlabel/root| 00000020 66 73 20 72 77 20 72 6f 6f 74 77 61 69 74 20 63 |fs rw rootwait c| 00000030 6f 6e 73 6f 6c 65 3d 74 74 79 30 20 63 6f 6e 73 |onsole=tty0 cons| 00000040 6f 6c 65 3d 74 74 79 4d 53 4d 30 2c 31 31 35 32 |ole=ttyMSM0,1152| 00000050 30 30 6e 38 20 61 6e 64 72 6f 69 64 62 6f 6f 74 |00n8 androidboot| 00000060 2e 65 6d 6d 63 3d 74 72 75 65 20 61 6e 64 72 6f |.emmc=true andro| 00000070 69 64 62 6f 6f 74 2e 73 65 72 69 61 6c 6e 6f 3d |idboot.serialno=| 00000080 36 65 61 38 61 38 66 36 20 61 6e 64 72 6f 69 64 |6ea8a8f6 android| 00000090 62 6f 6f 74 2e 62 61 73 65 62 61 6e 64 3d 61 70 |boot.baseband=ap| 000000a0 71 20 61 64 76 37 35 33 33 5f 64 73 69 32 68 64 |q adv7533_dsi2hd| 000000b0 6d 69 2e 70 61 6e 65 6c 3d 64 73 69 20 6d 64 73 |mi.panel=dsi mds| 000000c0 73 5f 6d 64 70 2e 70 61 6e 65 6c 3d 31 3a 64 73 |s_mdp.panel=1:ds| 000000d0 69 3a 30 3a 71 63 6f 6d 2c 6d 64 73 73 5f 64 73 |i:0:qcom,mdss_ds| 000000e0 69 5f 36 27 17 76 86 7b 7a 20 db 58 9e e4 f0 72 |i_6'.v.{z .X...r| 000000f0 3a 65 d4 f5 7c 3a 13 95 f1 41 a7 ff 77 21 1a 94 |:e..|:...A..w!..| 00000100 36 2b 4c d4 eb bd b6 70 f2 9c d2 41 67 41 88 4a |6+L....p...AgA.J| 00000110 e8 56 df b1 c8 0a 15 b2 bb 15 c7 fe ee a2 7f 55 |.V.............U| 00000120 8b c5 eb 65 df dd 67 52 94 3a e6 d8 5c 30 99 39 |...e..gR.:...9| 00000130 89 a2 01 ca 54 6a f5 9e cd d5 b3 23 30 3b 36 52 |....Tj.....#0;6R| 00000140 d6 2f e0 21 e2 5c 74 84 bb 22 19 3b f2 4b 27 f4 |./.!.t..".;.K'.| 00000150 3b c2 95 30 a4 a7 2b 52 ff 52 81 ef 50 bd f6 c4 |;..0..+R.R..P...| 00000160 1b 0a |..| 00000162
对应的sd card的installer Qt程序代码位于: https://git.linaro.org/people/nicolas.dechesne/db410c-installer.git
其他资源
如何编译kernel bootloader
参考release中的说明, 例如: https://builds.96boards.org/releases/dragonboard410c/linaro/debian/16.04/
HW SW Manuals
https://github.com/96boards/documentation/tree/master/ConsumerEdition/DragonBoard-410c
prebuilt的images
http://builds.96boards.org/releases/dragonboard410c/
最后
以上就是默默大碗最近收集整理的关于DragonBoard 410C中的Fastboot与调试串口注意事项的全部内容,更多相关DragonBoard内容请搜索靠谱客的其他文章。
发表评论 取消回复