Firefly开源社区

标题: Firefly3288—Lubuntu安装usb转串口驱动(pc210x,PL2303) [打印本页]

作者: chen    时间: 2015-4-19 18:28
标题: Firefly3288—Lubuntu安装usb转串口驱动(pc210x,PL2303)
  注意:我这里是在单系统Lubuntu(我用的是Ubuntu的镜像“Firefly-RK3288_Ubuntu14.04_201412111722.7z),安装usb转串口的驱动,androidLubuntu双系统的情况类似,但有点不同。
一、按照wiki中《编译Android 固件》的步骤下载android SDK ,搭建ubuntu12.04的环境。(参考http://wiki.t-firefly.com/index.php/Firefly-RK3288/Build_android
二、配置编译内核(参考:http://wiki.t-firefly.com/index.php/Firefly-RK3288/Build_kernel
①      :cd~/proj/firefly-rk3288/kernel
makefirefly-rk3288-linux_defconfig
②      :makemenuconfig       选中两个常用的usb转串口的芯片并保存,如下图。
③      :make -j8 firefly-rk3288.img
三、创建 boot.img(参考http://wiki.t-firefly.com/index.php/Firefly-RK3288/Build_kernel
   注意不要编译内核模块。
四、烧写boot.img(参考http://wiki.t-firefly.com/index.php/Firefly-RK3288/Flash_image
五、上电重启系统,插入usb转串口就可以看到ttyUSB了。
   
上面步骤比较简单,有些注意事项可以参考http://developer.t-firefly.com/thread-1077-1-1.html
同时谢谢论坛帮助我的人,虽然这步骤对于前辈们的话比较简单,但是对于初学者还是很有帮助的。


QQ截图20150417230140.jpg (574.64 KB, 下载次数: 314)

QQ截图20150417230140.jpg

作者: zhansb    时间: 2015-4-20 09:52
{:3_48:}楼主总结的不错
作者: chen    时间: 2015-4-20 13:22
zhansb 发表于 2015-4-20 09:52
楼主总结的不错

谢谢,版主的指导!!!:handshake:lol
作者: 暴走的阿Sai    时间: 2015-4-20 14:44
支持原创:handshake
作者: quhezheng    时间: 2015-6-19 11:24
我用的是android和Lubuntu双系统的,这两个的区别在哪里?怎样编译烧写对应的boot.img
作者: quhezheng    时间: 2015-6-19 22:25
重新开机后无法启动要怎么半?
es8323_create file error
Gave up waiting for root device. Common problems:
- Boot args (cat /proc/cmdline)
  --check rootdelay = (did the system wait  long enough?)
  --check root = ( did the system wait for the right device?)
- Missing modules (cat /proc/moudles: ls /dev)
ALERT!  /dev/block/mtd/by-name/linuxroot does not exist . Dropping  to a shell!
FATAL: Could not load /lib/moudles/3.10.0/moudles.dep: No such file or directory
FATAL: Could not load /lib/moudles/3.10.0/moudles.dep: No such file or directory
/bin/sh: can't access tty; job control turned off
(initramfs)


作者: busybee    时间: 2015-6-23 10:37
提示信息已经有答案了:

ALERT!  /dev/block/mtd/by-name/linuxroot does not exist . Dropping  to a shell!

就是 /dev/block/mtd/by-name/linuxroot 没有找到。

这是个链接,由 initramfs 里的 /scripts/init-premount/mtd-by-name.sh 脚本创建,
查一下为什么没有创建到就可以了。

作者: peak9527    时间: 2016-8-23 19:14
三、创建 boot.img(参考http://wiki.t-firefly.com/index.php/Firefly-RK3288/Build_kernel
   注意不要编译内核模块。
不编译内核模块可以么,那么uSB转串口驱动不是也没有编译吗

按你说的步骤操作了一遍貌似没成功,不知道问题出在哪里??



作者: peak9527    时间: 2016-8-24 09:33
zhansb 发表于 2015-4-20 09:52
楼主总结的不错

三、创建 boot.img(参考http://wiki.t-firefly.com/index.php/Firefly-RK3288/Build_kernel
   注意不要编译内核模块。

上面第三步说不要编译内核模块可以吗,那串口驱动不是也没有编译吗?
作者: snprpc    时间: 2018-4-6 20:59
为什么好多链接都失效了,要不然就是跳转到其他页面

作者: 淡然于心    时间: 2021-12-2 15:35
学习学习




欢迎光临 Firefly开源社区 (https://dev.t-firefly.com/) Powered by Discuz! X3.1