RK3399安卓改linux,RK3399 Type-C改为MicroUSB
CPU
:
RK3399
系统:
Android 7.1.2
为了降低成本,主板将
Type-C
改为
MicroUSB
接口,节省了
fusb302
芯片
参考
Rockchip
的官方文档第
4
部分:
Micro USB2.0 OTG DTS
配置
RKDocs/common/usb/Rockchip-Developer-Guide-Linux4.4-RK3399-USB-DTS-CN.pdf
&tcphy0 {
status =
"disabled"
;
};
&u2phy0 {
status =
"okay"
;
/* Micro USB2 PHY
删除了
extcon
属性
*/
otg-vbus-gpios = ;
/* Vbus GPIO
配置
*/
u2phy0_otg: otg-port {
/*
文档中错误写成了
u2phy1_otg */
status =
"okay"
;
};
......
};
&usbdrd3_0 {
extcon = ;
/* Micro USB3
控制器的
extcon
属性引用
u2phy0 */
status =
"okay"
;
};
&usbdrd_dwc3_0 {
dr_mode =
"otg"
;
/* Micro USB3
控制器的
dr_mode
配置为
otg */
maximum-speed =
"high-speed"
;
/* maximum-speed
属性配置为
high-speed */
phys = ;
/* phys
属性只引用
USB2 PHY
节点
*/
phy-names =
"usb2-phy"
;
status =
"okay"
;
};
按照文档中说明,修改这部分就可以了,但是编译内核部分烧录后,不能进安卓系统,串口一直循环打印如下:
[
9.878630
] init: Starting service
'surfaceflinger'
...
[
10.294620
] init: Service
'surfaceflinger'
(pid
532
) killed by signal
6
[
10.294664
] init: Service
'surfaceflinger'
(pid
532
) killing any children
in
process group
[
10.294709
] init: Service
'zygote'
is
being killed...
[
10.356365
] init: Service
'zygote'
(pid
254
) killed by signal
9
[
10.356441
] init: Service
'zygote'
(pid
254
) killing any children
in
process group
[
10.356634
] init: write_file: Unable to open
'/sys/android_power/request_state'
: No such file or directory
[
10.356778
] init: write_file: Unable to write to
'/sys/power/state'
: Invalid argument
[
10.356805
] init: Service
'audioserver'
is
being killed...
[
10.357239
] init: Service
'cameraserver'
is
being killed...
[
10.357327
] init: Service
'media'
is
being killed...
[
10.357454
] init: Service
'netd'
is
being killed...
[
10.358943
] init: Starting service
'zygote'
...
[
10.364342
] init: Service
'audioserver'
(pid
299
) killed by signal
9
[
10.364427
] init: Service
'audioserver'
(pid
299
) killing any children
in
process group
[
10.365879
] init: Starting service
'audioserver'
...
[
10.369573
] init: Service
'netd'
(pid
310
) killed by signal
9
[
10.369677
] init: Service
'netd'
(pid
310
) killing any children
in
process group
[
10.370582
] init: Untracked pid
575
killed by signal
9
[
10.374127
] init: Service
'media'
(pid
297
) killed by signal
9
[
10.374192
] init: Service
'media'
(pid
297
) killing any children
in
process group
[
10.375119
] init: Service
'cameraserver'
(pid
300
) killed by signal
9
[
10.375158
] init: Service
'cameraserver'
(pid
300
) killing any children
in
process group
[
10.376450
] init: Starting service
'media'
...
[
10.378976
] init: Starting service
'cameraserver'
...
[
10.382610
] init: couldn
't write 580 to /dev/cpuset/camera-daemon/tasks: No such file or directory
[
12.079202
] init: Starting service
'netd'
...
开始怀疑是因为没有全部编译的问题,但是全部编译烧录后,还是不能开机,一直提示找不到
drm device
,串口一直循环打印如下:
__bionic_open_tzdata: couldn
't find any tzdata when looking for GMT!
Starting recovery (pid
185
) on Fri Jan
18
08
:
52
:
30
2013
bootmode = emmc
recovery filesystem table
=========================
0
/mnt/internal_sd vfat /dev/block/platform/fe330000.sdhci/by-name/user
0
1
/mnt/external_sd vfat /dev/block/mmcblk0p1
0
2
/system ext4 /dev/block/platform/fe330000.sdhci/by-name/system
0
3
/cache ext4 /dev/block/platform/fe330000.sdhci/by-name/cache
0
4
/metadata ext4 /dev/block/platform/fe330000.sdhci/by-name/metadata
0
5
/data ext4 /dev/block/platform/fe330000.sdhci/by-name/userdata
0
6
/cust ext4 /dev/block/platform/fe330000.sdhci/by-name/cust
0
7
/custom ext4 /dev/block/platform/fe330000.sdhci/by-name/custom
0
8
/misc emmc /dev/block/platform/fe330000.sdhci/by-name/misc
0
9
/uboot emmc /dev/block/platform/fe330000.sdhci/by-name/uboot
0
10
/charge emmc /dev/block/platform/fe330000.sdhci/by-name/charge
0
11
/resource emmc /dev/block/platform/fe330000.sdhci/by-name/resource
0
12
/parameter emmc /dev/block/platform/fe330000.sdhci/by-name/parameter
0
13
/boot emmc /dev/block/platform/fe330000.sdhci/by-name/boot
0
14
/recovery emmc /dev/block/platform/fe330000.sdhci/by-name/recovery
0
15
/backup emmc /dev/block/platform/fe330000.sdhci/by-name/backup
0
16
/trust emmc /dev/block/platform/fe330000.sdhci/by-name/trust
0
17
/baseparameter emmc /dev/block/platform/fe330000.sdhci/by-name/baseparameter
0
18
/frp emmc /dev/block/platform/fe330000.sdhci/by-name/frp
0
19
/tmp ramdisk ramdisk
0
emmc_point
is
/dev/block/mmcblk1
sd_point
is
(
null
)
sd_point_2
is
(
null
)
I:InternalSD_ROOT: /mnt/internal_sd
I:ExternalSD_ROOT: /mnt/external_sd
read cmdline
[
4.309235
] fs_mgr: Warning: unknown flag resize
I:Boot command: boot-recovery
I:Got arguments
from
boot message
[
4.311229
] fs_mgr: Warning: unknown flag resize
=== start
void
dumpCmdArgs(
int
,
char
**):
296
===
argv[
0
] = recovery.
argv[
1
] = --wipe_all.
locale
is
[en_US]
stage
is
[]
reason
is
[(
null
)]
cannot find/open a drm device: No such file or directory
cannot open fb0: No such file or directory
[
4.352842
] init: Service
'recovery'
(pid
185
) killed by signal
11
[
4.352952
] init: Service
'recovery'
(pid
185
) killing any children
in
process group
[
9.358734
] init: Starting service
'recovery'
...
查看
dts
文件,里面还有一个地方
&cdn_dp
使用了
fusb0
,屏蔽此处即可开机
&cdn_dp {
status =
"disabled"
;
extcon = ;
phys = ;
};
最后建议把
i2c
中与
fusb302
通讯的部分也
disable
掉,此处不改也没有问题,只是
i2c
不通,但可以正常开机。
fusb0: fusb30x@
22
{
compatible =
"fairchild,fusb302"
;
reg = <
0x22
>;
pinctrl-names =
"default"
;
pinctrl-
0
= ;
int
-n-gpios =
2
GPIO_ACTIVE_HIGH>;
vbus-5v-gpios =
26
GPIO_ACTIVE_HIGH>;
status =
"disabled"
;
};
RK3399安卓改linux,RK3399 Type-C改为MicroUSB相关推荐
- android 内存播放视频播放器,视频流媒体播放器EasyPlayer-RTSP安卓版在RK3399上运行APP崩溃问题...
原标题:视频流媒体播放器EasyPlayer-RTSP安卓版在RK3399上运行APP崩溃问题 我们的流媒体服务器现在都已经支持H.265编码视频的播放,流媒体播放器EasyPlayer就是目前比较稳 ...
- RK3399驱动开发 | 08 - RK3399显示系统详解(基于RK SDK Linux 4.4.194内核)
一.RK3399的显示系统 RK3399有两个视频显示控制器(VOP,Video Output Processor),支持不同的分辨率,分别为VOPB和VOPL. 在多媒体接口框图中可以看到,RK33 ...
- 安卓手机改机 抹机 硬改手机参数 手机 改串 改机器内存存储信息 虎贲T610 机器演示
安卓手机改机 抹机 硬改手机参数 手机 改串 改机器内存存储信息 虎贲T610 机器演示 - 哔哩哔哩 国产5G 手机 改串 改机器内存存储信息 改CPU 屏幕参数信息 硬改手机参数 虎贲T610 机 ...
- 安卓手机更新过程手机乱码_安卓手机怎么换字体与改回原字体乱码解决办法
安卓手机怎么换字体与改回原字体乱码解决办法 时间:2014-11-10 好主题:www.hzhuti.com 本文章来讲述二个问题,一个是安卓手机怎么换字体然后就是手机改回原字体后无法正常显示怎么办吧 ...
- linux下好用的截图软件下载,爆改 Linux 下最好用的截图工具!
原标题:爆改 Linux 下最好用的截图工具! 公众号关注 "五分钟学算法" 设为 "星标",带你挖掘更多开发神器! 因为日常Linux办公,经常有截图顺带简单 ...
- Linux入门:~/.bashrc改字体颜色
Linux入门:~/.bashrc改字体颜色(视自己使用情况,修改后可用) 实验室待了许久,Linux居然一直没改字体颜色,决定改一下~/.bashrc档,顺便在这里记个笔记. step0:开 fil ...
- RK3399芯片规格书,RK3399参考设计方案
RK3399芯片规格书,RK3399参考设计方案 较新的RK3368虽然专门针对电视盒子做了优化,但是其硬件性能相比上一代的RK3288还要孱弱,老当益壮的RK3288退休不得,与RK3368勉力维持 ...
- 计算机教师个人诊改方案,教师个人诊改报告-20210716124929.doc-原创力文档
精品范文模板,值得参考借鉴! 第 PAGE \* Arabic 1页/共 NUMPAGES \* Arabic 2页 教师个人诊改报告 教师个人诊改报告 报告使用范围很广.按照上级部署或工作计划,每完 ...
- 安卓连接linux软件,利用 Telnet 无线控制安卓手机 无需 Root
以往的文章里菲菲君一直在极力推荐 adb 来远程执行安卓 shell 命令,虽然 adb 也支持无线连接但需 Root 权限(现在的 Android 真的没有 Root 的必要了),连接数据线又很麻烦 ...
- 【算法java版01】:键盘录入一个字符串,将字符串中的大写改成小写,小写改成大写,数字改成*
键盘录入一个字符串,将字符串中的大写改成小写,小写改成大写,数字改成 * 一.题目描述 二.解题思路 三.代码示例 四.测评结果 一.题目描述 键盘录入一个字符串,将字符串中的大写改成小写,小写改成大 ...
最新文章
- 【狼】unity3d point light 个数限制更改
- 技术控必看: RSA 2017 信息安全大会技术议程一览 | RSA 2017
- Database之SQLSever:SQLSever数据表管理(GUI法/SQL语句命令法两种方法实现建立表、修改表,以及增、删、改、查)之详细攻略
- AM,DSB,SSB,FM信号调制matlab
- windows配置gvim高效率编程(cc++)带自动补全代码
- matlab程序转java_用面向对象的方法将一段JAVA代码转化为matlab
- 外卖员不满上楼送餐要求向外卖吐口水4次,顾客不知情吃下整份外卖...
- 《软件需求》学习笔记
- 信捷plc编程100例梯形图_PLC分类组成与梯形图编程语言
- smartupload java_smartupload实现文件上传
- HDU-不定积分-求一条直线与抛物线所围成的面积
- springboot 多topic 动态配置
- html文本框的文字间距,word文本框中2行文字的间距为什么那么大
- 适合所有网站的前端优化技巧,值得你收藏!
- GlobalSign和DigiCert对比
- 软件测试 前置条件是什么意思,测试用例的前置条件
- 在线批量无损压缩图片工具
- 剑指offer.把数字翻译成字符串
- ifix如何设画面大小_IFIX优化_画面设计.pdf
- Linux之网络性能测试工具netperf实践