完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
1、犯了一个错误,导致SDK忘记执行源代码更新指令,5月8号的最初版本有很多BUG,执行update.repo/repo/repo sync,更新之后编译烧录,之前的
2、接上一篇文章,永不修改,代码alpsframeworksbaseservicescorejavacomandroidserverpowerPowerManagerService.java private private int getScreenOffTimeoutLocked(int sleepTimeout) { int timeout = mScreenOffTimeoutSetting; > //peng@ZY > if (timeout < 0) { > return mMaximumScreenOffTimeoutFromDeviceAdmin; > } if (isMaximumScreenOffTimeoutFromDeviceAdminEnforcedLocked()) { timeout = Math.min(timeout, mMaximumScreenOffTimeoutFromDeviceAdmin); } if (mUserActivityTimeoutOverrideFromWindowManager >= 0) { timeout = (int)Math.min(timeout, mUserActivityTimeoutOverrideFromWindowManager); } if (sleepTimeout >= 0) { timeout = Math.min(timeout, sleepTimeout); } return Math.max(timeout, mMinimumScreenOffTimeoutConfig); } 在修改alpsframeworkspackagesSettingsProviderresvaluesdefaults.xml 3、调试以太网 RLT8211E-VB-G-CG &gmac { phy-supply = <&vcc_phy>; phy-mode = "rgmii"; //100/1000M网卡 clock_in_out = "input"; snps,reset-gpio = <&gpio4 8 0>; //根据原理图修改 snps,reset-active-low; snps,reset-delays-us = <0 10000 50000>; assigned-clocks = <&cru SCLK_MAC>; assigned-clock-parents = <&ext_gmac>; pinctrl-names = "default"; pinctrl-0 = <&rgmii_pins>; tx_delay = <0x30>; rx_delay = <0x10>; max-speed = <100>; status = "okay"; }; 编译烧录,终端查看sys/class/net/有eth0设备,说明芯片工作正常。 执行ping 自己,没问题,ping局域网的电脑不通,电脑ping板子,ping的通,检查硬件 板子是无法ping出去,并非外面ping不通板子,检查MAC_TXCLK脚。 把C2的电容去掉就正常了,同理,如果是外网ping不通板子,那就检查RX脚。(硬件贴错导致) 4、调试RT5640音频模块 驱动配置好5640模块 sound: sound { status = "disabled"; compatible = "simple-audio-card"; simple-audio-card,format = "i2s"; simple-audio-card,name = "rockchip,rt5640-codec"; simple-audio-card,mclk-fs = <512>; simple-audio-card,widgets = "Microphone", "Mic Jack", "Headphone", "Headphone Jack", "Speaker", "Speaker"; simple-audio-card,routing = "Mic Jack", "MICBIAS1", "IN2P", "Mic Jack", "IN2N", "Mic Jack", "Headphone Jack", "HPOL", "Headphone Jack", "HPOR", "Speaker", "SPOLP", "Speaker", "SPOLN", "Speaker", "SPORP", "Speaker", "SPORN"; simple-audio-card,cpu { sound-dai = <&i2s>; }; simple-audio-card,codec { sound-dai = <&rt5640>; }; }; spdif_sound: spdif-sound { status = "okay"; compatible = "simple-audio-card"; simple-audio-card,name = "rockchip,spdif"; simple-audio-card,cpu { sound-dai = <&spdif>; }; simple-audio-card,codec { sound-dai = <&spdif_out>; }; }; spdif_out: spdif-out { status = "okay"; compatible = "linux,spdif-dit"; #sound-dai-cells = <0>; }; &i2c2 { //硬件连接的是I2C2 status = "okay"; clock-frequency = <400000>; rt5640: rt5640@1c { #sound-dai-cells = <0>; compatible = "realtek,rt5640"; reg = <0x1c>; clocks = <&cru SCLK_I2S0_OUT>; clock-names = "mclk"; //interrupt-parent = <&gpio6>; //interrupts = <7 IRQ_TYPE_EDGE_FALLING>; }; }; 根据环境切换通道,要修改hardwarerockchipaudiotinyalsa_halcodec_configrt5640_config.h 5、tc358749x HDMI2MIPI转换芯片(HDMI IN功能) &i2c3{ status = "okay"; clock-frequency = <400000>; tc358749x: tc358749x@0f { compatible = "toshiba,tc358749x"; reg = <0x0f>; power-gpios = <&gpio8 9 GPIO_ACTIVE_HIGH>; //根据硬件配置 stanby-gpios = <&gpio8 3 GPIO_ACTIVE_HIGH>; reset-gpios = <&gpio8 2 GPIO_ACTIVE_HIGH>; int-gpios = <&gpio8 0 GPIO_ACTIVE_HIGH>; pinctrl-names = "default"; pinctrl-0 = <&hdmiin_gpios>; status = "okay"; }; &pinctrl { hdmiin { hdmiin_gpios: hdmiin_gpios { rockchip,pins = <8 0 RK_FUNC_GPIO &pcfg_pull_none>, <8 2 RK_FUNC_GPIO &pcfg_pull_none>, <8 9 RK_FUNC_GPIO &pcfg_pull_none>, <8 3 RK_FUNC_GPIO &pcfg_pull_none>; }; }; }; 配置hardwarerockchipcameraConfigcam_board_rk3288.xml ……………………………… phyIndex 根据硬件连接方式填写,如果是连接MIPI TX/RX 选择1,如果是MIPI TX选择0。 编译烧录,发现很多这种CamerIcIspIrq: pic err first,g_ispFrameNum == 1 测量发现MIPI信号时有时无,问了redmine说是mipi信号可能有问题。 |
|
|
|
你正在撰写答案
如果你是对答案或其他答案精选点评或询问,请使用“评论”功能。
1906 浏览 1 评论
synopsys 的design ware:DW_fpv_div,浮点数除法器,默认32位下,想提升覆盖率(TMAX),如果用功能case去提升覆盖率呢?
2382 浏览 1 评论
RK3588 GStreamer调试四路鱼眼摄像头四宫格显示报错
5175 浏览 1 评论
【飞凌嵌入式OK3576-C开发板体验】RKNN神经网络-YOLO图像识别
254 浏览 0 评论
【飞凌嵌入式OK3576-C开发板体验】SSH远程登录网络配置及CAN通讯
1336 浏览 0 评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-11-22 05:13 , Processed in 0.535351 second(s), Total 41, Slave 34 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号