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的USB没法用,[RK3399] Type-C改为普通USB相关推荐

  1. 华硕e202s安装linux系统,华硕笔记本E202S原装win10系统可以改win7吗?

    可以的,需修改bios引导和硬盘格式,具体方法如下: 1.首先在其他电脑上制作安装U盘,方法如下:双击运行下载好的大番薯u盘启动盘制作工具,将用来u盘装系统的u盘插入注意大小在4GB以上.然后选择u盘 ...

  2. 怎么通过硬盘装linux系统文件下载,通过硬盘上的镜像文件安装Linux操作系统

    关于,在不是用光驱情况下安装Linux方法 通过硬盘上的镜像文件安装Linux操作系统 如何在没有光驱.没有软驱.不能usb启动的情况下,进入dos硬盘安装linux系统?(当然,前提是已经有一个wi ...

  3. Easy bcd有没Linux版本,Windows下使用EasyBCD和LiLi USB Creator安装Linux系统

    Windows下使用EasyBCD和LiLi USB Creator安装Linux系统 写在前面:针对BIOS出现故障或者对U盘启动安装不是很熟练的朋友而写. 使用Win10朋友大多数使用UEFI启动 ...

  4. 嵌入式linux之buildroot(二)编译rk3399镜像

    编译rk3399镜像 1. 前言 2. 编译 3. 输出 4. 测试 5. 目录 1. 前言 开发环境:ubuntu20(docker) 开发板:roc-rk3399-pc-plus 软件:vscod ...

  5. mac+usb安装linux系统安装,Mac OS X下制作安装Linux系统的USB启动盘

    帮同学把Linux安装到他们做的一个类似Mac mini大小(一个小盒子)的机器里面.这个其实就是一个pc,不过是基于atom的cpu.经过一 帮同学把Linux安装到他们做的一个类似Mac mini ...

  6. 水星usb无线网卡linux驱动,水星MW150US安装Linux驱动

    水星MW150US安装Linux驱动 2013-4-29 王健宇 Linux 假期前一天,和同事同买的无线网卡到货了,查了一下没有linux驱动,直接崩溃掉:当天晚上查到了这款无线网卡芯片是realt ...

  7. 低配置系统安装 linux,在低配置机中安装Linux系统

    试验机配置: 联想 同禧300 6C/533 CPU:Intel(r) Celeron(tm) Processor GenuineIntel 533M 希捷硬盘:20G 现代内存:128M BIOS版 ...

  8. SLAM导航机器人零基础实战系列:(一)Linux基础——2.安装Linux发行版ubuntu系统

    SLAM导航机器人零基础实战系列:(一)Linux基础--2.安装Linux发行版ubuntu系统 摘要 由于机器人SLAM.自动导航.语音交互这一系列算法都在机器人操作系统ROS中有很好的支持,所以 ...

  9. u盘装linux运行慢,从U盘安装Linux的一点心得体会

    前些天下载了一个UBUNTU8.04,一个Fedora9两个linux的安装镜像.不过手头上没有DVD刻录光驱,只有一个2G的U盘,主机bios 可以设置从usb启动.于是就想从U盘启动安装linux ...

最新文章

  1. Vue.js组件中v-model的使用
  2. 全面解析多种区块链隐私保护解决方案
  3. CodeForces - 1321E World of Darkraft: Battle for Azathoth(二维偏序+线段树)
  4. 自动化的OSGi测试运行器
  5. LeetCode 1496. 判断路径是否相交(set)
  6. 70个经典的 Shell 脚本面试问题
  7. swift:创建滚动视图的图片轮播器
  8. SICNU ACM新生第一次考核
  9. thinkphp3.2 七牛 bad token
  10. 一首好听的英文歌lemon tree(柠檬树)的中文歌词
  11. HDU - 1242
  12. python-赫-day02
  13. 服务器30M带宽能承受多少人同时请求?
  14. EtherCAT 寻址模式详解
  15. NB,用这一篇文章带你了解什么是爬虫?
  16. Burpsuite+夜神模拟器对app抓包(安卓7及其以上)
  17. 链路追踪:SkyWalking
  18. 青柠启动v1.0发布
  19. 商标买卖哪个平台最好_商标买卖网站哪个靠谱?
  20. 逻辑推理篇:数据分析最爱用的估算法:费米估计

热门文章

  1. Python有趣|寻找知乎最美小姐姐
  2. 使用MATLAB快速计算Khatri-Rao积
  3. Mplus 结构方程模型建模笔记(一)
  4. 初学者也能上手的Python数据分析案例
  5. 头歌机器学习---决策树
  6. 计算机存储系统的特点,分布式存储系统的特点和意义
  7. 敏捷开发(一)敏捷开发和Scrum
  8. Excel 函数 - VLookup 常见问题和使用技巧(超详细)
  9. notes for lxf(五)
  10. win10日历同步到华为手机outlook提示账号错误的原因