|
官方5.5寸mipi屏幕lubuntu 驱动问题
发表于 2015-7-31 19:54:28
浏览:9112
|
回复:2
打印
只看该作者
[复制链接]
楼主
本帖最后由 qiyei2009 于 2015-7-31 19:57 编辑
官方5.5寸mipi屏幕lubuntu 驱动问题
在firefly开发板上,本人新买了官方的5.5寸屏,由于对linux熟悉,官方又没有移植5.5寸lubuntu的驱动,因此自己打算移植,折腾的也有一星期了,现在遇到以下问题。
一:自己移植的驱动无法启动内核问题
使用内核:默认板内核,已更新到最新
参考http://wiki.t-firefly.com/index.php/Firefly-RK3288/DSI和pad版5.5寸mipi屏幕驱动
参考了lcd-ips5k0350fpc-mipi.dtsi文件,pad内核中的RK3288.dtsi和firefly-rk3288.dts文件,主要做了以下修改:
1 修改默认版内核RK3288.dtsi文件:修改如下:
主要修改了LCDC0,LCDC1部分,见下图1
2 修改了firefly-rk3288.dts文件
添加了头文件#include "lcd-ips5k0350fpc-mipi.dtsi",屏蔽了//#include "lcd-box.dtsi"
修改了LCDC0和LCDC1部分,见下图2
3 修改了firefly-rk3288-linux_defconfig
添加了如下:
CONFIG_LCD_MIPI=y
CONFIG_MIPI_DSI=y
CONFIG_RK32_MIPI_DSI=y
4 拷贝了lcd-ips5k0350fpc-mipi.dtsi到arch/arm/boot/dts目录
5 执行make distclean清理,然后执行了make firefly-rk3288-linux_defconfig配置和编译
首先板子烧写了Firefly-RK3288_Ubuntu14.04_201501271612.img能正常工作,我只是更新了Resource和boot部分,发现一直重启,进入不了系统,如下:怎么回事,希望版主解答下:
GetParam
check parameter success
Unknow param: MACHINE_MODEL:rk30sdk!
Unknow param: MACHINE_ID:007!
Unknow param: MANUFACTURER:RK30SDK!
Unknow param: PWR_HLD: 0,0,A,0,1!
failed to prepare fdt from boot!
power key: bank-0 pin-5
light power led: bank-8 pin-1
can't find dts node for ricoh619
pmic:act8846
Can't find dts node for fuel guage cw201x
SecureBootEn = 0, SecureBootLock = 0
#Boot ver: 2015-01-21#2.17
empty serial no.
checkKey
vbus = 1
no fuel gauge found
no fuel gauge found
read logo_on switch from dts [0]
no fuel gauge found
Hit any key to stop autoboot: 0
failed to load fdt from boot!
kernel @ 0x02000000 (0x005f6398)
ramdisk @ 0x04bf0000 (0x00274862)
Secure Boot state: 0
bootrk: do_bootm_linux...
Loading Device Tree to 0480b000, end 04827215 ... OK
Add bank:0000000000000000, 0000000080000000
Starting kernel ...
DDR Version 1.00 20141007
In
SRX
Channel a: DDR3 200MHz
Bus Width=32 Col=10 Bank=8 Row=15 CS=1 Die Bus-Width=16 Size=1024MB
Channel b: DDR3 200MHz
Bus Width=32 Col=10 Bank=8 Row=15 CS=1 Die Bus-Width=16 Size=1024MB
OUT
U-Boot 2014.10-RK3288-02 (Jan 21 2015 - 17:07:53)
CPU: rk3288
CPU's clock information:
arm pll = 600000000HZ
periph pll = 300000000HZ
ddr pll = 200000000HZ
codec pll = 594000000HZ
Board: Rockchip platform Board
DRAM: Found dram banks:1
Adding bank:0000000000000000(0000000080000000)
128 MiB
storage init OK!
Using default environment
GetParam
check parameter success
Unknow param: MACHINE_MODEL:rk30sdk!
Unknow param: MACHINE_ID:007!
Unknow param: MANUFACTURER:RK30SDK!
Unknow param: PWR_HLD: 0,0,A,0,1!
failed to prepare fdt from boot!
power key: bank-0 pin-5
light power led: bank-8 pin-1
can't find dts node for ricoh619
pmic:act8846
Can't find dts node for fuel guage cw201x
SecureBootEn = 0, SecureBootLock = 0
#Boot ver: 2015-01-21#2.17
empty serial no.
checkKey
vbus = 1
no fuel gauge found
no fuel gauge found
read logo_on switch from dts [0]
no fuel gauge found
Hit any key to stop autoboot: 1
Loading Device Tree to 0480b000, end 04827215 ... OK
Add bank:0000000000000000, 0000000080000000
一直循环打印这些,启动不了内核!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!11
二:使用pad版内核无法挂载文件系统
如果不使用默认内核,使用pad内核,按照make firefly-rk3288-linux_defconfig进行配置编译
发现会出现两个问题
1,串口打印了Starting kernel ...就无输出了
2,无法挂载文件系统,会出现和这个帖子一样的问题
http://developer.t-firefly.com/thread-1937-1-1.html
跪求版主解答哈
|
|