|
fireprime 使用官方4.4.4 sdk +10.1吋触控屏问题
发表于 2015-8-31 20:18:54
浏览:8852
|
回复:3
打印
只看该作者
[复制链接]
楼主
在fireprime 上本来使用fireprime 5.1 sdk 加上10.1 吋屏跟触控后,是可以正常使用的,
可是想要使用udp multicast串流ts时,发现会严重lag ,所以想说用rockchip 官方4.4.4来试,
可是有两个问题:
1. 屏的解析不对:
屏的解析应为1280x800,可是实际上却不是,且触控的点会不准..,已经有merge fireprime的dts 跟dtsi档,
不知道除了dts ,跟dtsi还有哪边要改?
主要将fireprime 5.1 sdk 里下面的档案移植到官方4.4.4 sdk
rk3128-fireprime.dts
lcd-b101ew05.dtsi
rk312x.dtsi
2. 无法正常播放影片:
官方4.4.4的sdk 之前有在别的板子确定可以正常播放,可是移植到fireprime 时不正常,
有下面两个情况:
1. 在rk312x.dtsi 使用fireprime 5.1 sdk 里vpu 的配置,可以播放影片,可是没有硬解,播影片时vpu没有on
vpu: vpu_service {
compatible = "rockchip,vpu_sub";
iommu_enabled = <1>;
reg = <0x10106000 0x800>;
interrupts = <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>;
interrupt-names = "irq_enc", "irq_dec";
dev_mode = <0>;
name = "vpu_service";
};
hevc: hevc_service {
compatible = "rockchip,hevc_sub";
iommu_enabled = <1>;
reg = <0x10104000 0x400>;
interrupts = <GIC_SPI 66 IRQ_TYPE_LEVEL_HIGH>;
interrupt-names = "irq_dec";
dev_mode = <1>;
name = "hevc_service";
};
vpu_combo: vpu_combo@ff9a0000 {
compatible = "rockchip,vpu_combo";
subcnt = <2>;
rockchip,sub = <&vpu>, <&hevc>;
clocks = <&clk_vdpu>, <&hclk_vdpu>, <&clk_hevc_core>;
clock-names = "aclk_vcodec", "hclk_vcodec", "clk_core";
mode_bit = <15>;
mode_ctrl = <0x144>;
name = "vpu_combo";
status = "okay";
};
2.在rk312x.dtsi 使用官方4.4.4 sdk 里vpu 的配置,无法播放影片,vpu on 之后就当机:
vpu: vpu_service@10106000 {
compatible = "vpu_service";
iommu_enabled = <1>;
reg = <0x10106000 0x800>;
interrupts = <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>;
interrupt-names = "irq_enc", "irq_dec";
clocks = <&clk_vdpu>, <&hclk_vdpu>;
clock-names = "aclk_vcodec", "hclk_vcodec";
name = "vpu_service";
status = "okay";
};
hevc: hevc_service@10104000 {
compatible = "rockchip,hevc_service";
iommu_enabled = <1>;
reg = <0x10104000 0x400>;
interrupts = <GIC_SPI 66 IRQ_TYPE_LEVEL_HIGH>;
interrupt-names = "irq_dec";
clocks = <&clk_vdpu>, <&hclk_vdpu>, <&clk_hevc_core>;
clock-names = "aclk_vcodec", "hclk_vcodec", "clk_core";
name = "hevc_service";
status = "okay";
};
当机时会出现下面讯息:
vpu_service: power on
[ 2217.980909] binder: release 134:171 transaction 34664 in, still active
[ 2217.981012] binder: send failed reply for transaction 34664 to 137:6715
[ 2218.066207] init: untracked pid 694 exited
[ 2218.074144] init: untracked pid 510 exited
[ 2218.095094] rk312x-lcdc lcdc0: no layer is used,go to standby!
[ 2218.123290] rk312x-lcdc lcdc0: no layer is used,go to standby!
[ 2218.150420] rk312x-lcdc lcdc0: blank mode:0
[ 2218.150456] I'am in gsl_ts_resume() start
[ 2218.152655] init: untracked pid 757 exited
[ 2218.241009] init: untracked pid 6675 exited
[ 2218.254517] ----------3680A---------
[ 2218.256661] mtp_release
[ 2218.257801] init: untracked pid 559 exited
[ 2218.259587] init: untracked pid 708 exited
[ 2218.268831] init: untracked pid 534 exited
[ 2218.269820] init: untracked pid 871 exited
[ 2218.273399] init: untracked pid 5750 exited
[ 2218.277250] init: untracked pid 1263 exited
[ 2218.283385] init: untracked pid 6659 exited
[ 2218.284898] init: untracked pid 975 exited
[ 2218.291344] init: untracked pid 721 exited
[ 2218.292531] init: untracked pid 660 exited
[ 2218.293201] init: untracked pid 1006 exited
[ 2218.295727] init: untracked pid 5770 exited
[ 2218.297380] init: untracked pid 5900 exited
[ 2218.298939] init: untracked pid 6576 exited
[ 2218.304654] init: untracked pid 885 exited
[ 2218.307345] init: untracked pid 847 exited
[ 2218.316890] gsl_ts_resume () : queue gsl_monitor_work
[ 2218.316915] ------------[ cut here ]------------
[ 2218.316948] WARNING: at kernel/irq/manage.c:432 enable_irq+0x50/0x6c()
[ 2218.316955] Unbalanced enable for IRQ 164
[ 2218.316973] Modules linked in: mali rk30xxnand_ko(P)
[ 2218.316987] CPU: 2 PID: 6725 Comm: surfaceflinger Tainted: PW 3.10.0 #6
[ 2218.317025] [<c0013e24>] (unwind_backtrace+0x0/0xe0) from [<c001172c>] (show_stack+0x10/0x14)
[ 2218.317048] [<c001172c>] (show_stack+0x10/0x14) from [<c0035808>] (warn_slowpath_common+0x4c/0x68)
[ 2218.317067] [<c0035808>] (warn_slowpath_common+0x4c/0x68) from [<c00358a4>] (warn_slowpath_fmt+0x2c/0x3c)
[ 2218.317087] [<c00358a4>] (warn_slowpath_fmt+0x2c/0x3c) from [<c009db84>] (enable_irq+0x50/0x6c)
[ 2218.317111] [<c009db84>] (enable_irq+0x50/0x6c) from [<c04e3468>] (rk_ts_early_resume+0xd0/0xe4)
[ 2218.317130] [<c04e3468>] (rk_ts_early_resume+0xd0/0xe4) from [<c04e2810>] (fb_notifier_callback+0x60/0x9c)
[ 2218.317152] [<c04e2810>] (fb_notifier_callback+0x60/0x9c) from [<c0059e98>] (notifier_call_chain+0x38/0x68)
[ 2218.317177] [<c0059e98>] (notifier_call_chain+0x38/0x68) from [<c0059fa0>] (__blocking_notifier_call_chain+0x44/0x58)
[ 2218.317198] [<c0059fa0>] (__blocking_notifier_call_chain+0x44/0x58) from [<c0059fc8>] (blocking_notifier_call_chain+0x14/0x18)
[ 2218.317222] [<c0059fc8>] (blocking_notifier_call_chain+0x14/0x18) from [<c029b4b4>] (fb_blank+0x7c/0x88)
[ 2218.317240] [<c029b4b4>] (fb_blank+0x7c/0x88) from [<c029c244>] (do_fb_ioctl+0x518/0x5a0)
[ 2218.317263] [<c029c244>] (do_fb_ioctl+0x518/0x5a0) from [<c0117510>] (do_vfs_ioctl+0x210/0x240)
[ 2218.317283] [<c0117510>] (do_vfs_ioctl+0x210/0x240) from [<c0117590>] (SyS_ioctl+0x50/0x6c)
[ 2218.317304] [<c0117590>] (SyS_ioctl+0x50/0x6c) from [<c000da00>] (ret_fast_syscall+0x0/0x30)
[ 2218.317315] ---[ end trace 2b3a9e231fa3f0bc ]---
[ 2218.372383] init: untracked pid 957 exited
[ 2218.500614] alarm_release: clear alarm, pending 0
[ 2218.500642] alarm_release: clear alarm, pending 0
[ 2218.741855] init: sys_prop: permission denied uid:1000 name:sys_graphic.cam_hal.ver
[ 2218.746937] init: sys_prop: permission denied uid:1000 name:sys_graphic.cam_trace
[ 2218.747359] init: sys_prop: permission denied uid:1000 name:sys_graphic.cam_camboard.ver
[ 2218.747762] init: sys_prop: permission denied uid:1000 name:sys_graphic.cam_libisp.ver
[ 2218.748129] init: sys_prop: permission denied uid:1000 name:sys_graphic.cam_isi.ver
[ 2219.229849] init: untracked pid 442 exited
[ 2221.324563] saradc-reg[0x00-0x0c]: 0x000003ff 0x00000000 0x00000069 0x00000008
[ 2221.324693] read channel() error: -110
[ 2221.432879] vpu_service: power off...
[ 2221.433074] done
[ 2222.406999] saradc-reg[0x00-0x0c]: 0x000003ff 0x00000000 0x00000069 0x00000008
[ 2222.407144] read channel() error: -110
[ 2223.489382] saradc-reg[0x00-0x0c]: 0x000003ff 0x00000000 0x00000069 0x00000008
[ 2223.489511] read channel() error: -110
[ 2224.571761] saradc-reg[0x00-0x0c]: 0x000003ff 0x00000000 0x00000069 0x00000008
[ 2224.571891] read channel() error: -110
[ 2225.654221] saradc-reg[0x00-0x0c]: 0x000003ff 0x00000000 0x00000069 0x00000008
[ 2225.654353] read channel() error: -110
请问有人知道会是哪边问题吗? |
|