在RK3288上使用FireFly提供的标准7.85英寸eDP屏,无法启动Kernel
打算在FireFly RK3288上点亮eDP屏,从商城购买了一块Firefly官方支持的7.85寸eDP屏。打算先点亮这块屏,然后作为参考再点亮其它eDP屏。现在把代码更新到最新后,然后打上这块屏对应的patch。打完patch后,生成的diff文件如附件。编译出新的Image后,然后烧入RK3288。烧写时使用的命令如下:
guoguo@guoguo:~/RK3399/Linux_Upgrade_Tool$ ls Image-rk3288_box
boot.imgkernel.imgmisc.imgpcba_small_misc.imgpcba_whole_misc.imgrecovery.imgresource.imgsystem.img
guoguo@guoguo:~/RK3399/Linux_Upgrade_Tool$ sudo ./upgrade_tool di resource Image-rk3288_box/resource.img
Download resource start...
Download image ok.
guoguo@guoguo:~/RK3399/Linux_Upgrade_Tool$ sudo ./upgrade_tool di -k Image-rk3288_box/kernel.img
Download kernel start...
Download image ok.
guoguo@guoguo:~/RK3399/Linux_Upgrade_Tool$ sudo ./upgrade_tool di -b Image-rk3288_box/boot.img
Download boot start...
Download image ok.
guoguo@guoguo:~/RK3399/Linux_Upgrade_Tool$ sudo ./upgrade_tool di -s Image-rk3288_box/system.img
Download system start...
Download image ok.
guoguo@guoguo:~/RK3399/Linux_Upgrade_Tool$ sudo ./upgrade_tool di -m Image-rk3288_box/misc.img
Download misc start...
Download image ok.
guoguo@guoguo:~/RK3399/Linux_Upgrade_Tool$ sudo ./upgrade_tool di -r Image-rk3288_box/recovery.img
Download recovery start...
Download image ok.
guoguo@guoguo:~/RK3399/Linux_Upgrade_Tool$
烧写成功后,启动时发现无法启动到Kernel。出现的画面如下图。
启动的log如下:
DDR Version 1.00 20141007
In
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
Memory OK
Memory OK
OUT
U-Boot 2014.10-RK3288-02 (Nov 26 2014 - 09:28:44)
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
can't find dts node for ricoh619
pmic:act8846
Can't find dts node for fuel guage cw201x
SecureBootEn = 0, SecureBootLock = 0
#Boot ver: 2014-11-26#2.17
sn:1006120000000272
checkKey
vbus = 1
no fuel gauge found
no fuel gauge found
read logo_on switch from dts
failed to find part:baseparamer
Hdmi Devices Not Exist.
pll_src = 0, dclk_hz = 205000000, dclk_div = 2
edp pll locked
Aux Transaction fail!
Aux Transaction fail!
link training success.
unable to config video
ERROR: yrgb scale exceed 8,srcW=0,srcH=0,dstW=1536,dstH=2048
scale_yrgb_x 112 scale_yrgb_y 76962212no fuel gauge found
yrgb:h_fac=21283,v_fac=15991,gt4=0,gt2=0
scale_yrgb_x 21283 scale_yrgb_y 15991rk_pwm_config:brightness:180
got recovery cmd from misc.
failed to load fdt from recovery!
kernel @ 0x02000000 (0x006a2ef8)
ramdisk@ 0x04bf0000 (0x002c6b00)
Secure Boot state: 0
bootrk: do_bootm_linux...
Loading Device Tree to 0480a000, end 0482678d ... OK
Add bank:0000000000000000, 0000000080000000
Starting kernel ...
- rockchip,disp-policy = <DISPLAY_POLICY_BOX_TEMP>;
+ rockchip,disp-policy = <DISPLAY_POLICY_SDK>;
你怎么把显示策略改了,按着补丁的来就行 标记一下,马上就要开始调试panel了。 Livvol 发表于 2017-1-3 17:33
- rockchip,disp-policy = ;
+ rockchip,disp-policy = ;
你怎么把显示策略改了,按着补丁的来就行
补丁上也是改变了这个策略。
我还是先按照你说的试一下吧。 本帖最后由 小明 于 2017-1-4 10:09 编辑
我的问题已经搞定,感谢各位帮忙。
我是同步到最新代码之后,然后重新编译,烧录自己编译的镜像,启动时出现这个问题。
有位大神告诉我可能是misc除了问题。
解决步骤是:
1.找到Firefly发布的最新的update.img;
2.在RK3288上烧写这个update.img
3.开机启动正常。
4.烧写自己的编译的imgs文件,除了misc.img。
5.开机正常启动。
下载看看 是否可以 可以的 正在学习使用Firefly的7.85屏
页:
[1]