完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
1、板子是参考官方公版设计,SDK版本是RK3288_ANDROID8.1_SDK_20180512; 2、解压SDK,直接执行source build.sh,再执行./mkimage.sh,烧录进板子,发现系统正常启动。 3、设备只有HDMI和LVDS,点LVDS屏,修改屏参,修改文件rk3288-evb-android-rk808-edp.dts; /dts-v1/; #include "rk3288-evb.dtsi" #include "rk3288-android.dtsi" / { compatible = "rockchip,rk3288-evb-android-rk808-edp", "rockchip,rk3288"; sdio_pwrseq: sdio-pwrseq { compatible = "mmc-pwrseq-simple"; clocks = ; clock-names = "ext_clock"; pinctrl-names = "default"; pinctrl-0 = ; /* * On the module itself this is one of these (depending * on the actual card populated): * - SDIO_RESET_L_WL_REG_ON * - PDN (power down when low) */ reset-gpios = ; }; wireless-bluetooth { clocks = ; clock-names = "ext_clock"; }; /delete-node/ sdmmc-regulator; vcc_lcd: vcc-lcd { compatible = "regulator-fixed"; regulator-boot-on; enable-active-high; gpio = ; pinctrl-names = "default"; pinctrl-0 = ; regulator-name = "vcc_lcd"; vin-supply = ; }; }; &cpu0 { cpu-supply = ; }; &cif_isp0 { status = "okay"; }; &dfi { status = "okay"; }; &lvds_in_vopl { status = "okay"; }; &lvds_in_vopb { status = "disabled"; }; &route_lvds { status = "okay"; }; &lvds { status = "okay"; }; &lvds_panel { status = "okay"; ; backlight = ; bus-format = ; power-supply = ; delay,disable = <10>; enable-gpios = ; //rockchip,data-mapping = "jeida"; rockchip,data-mapping = "vesa"; rockchip,data-width = <24>; rockchip,output = "duallvds"; display-timings { native-mode = ; timing0: timing0 { clock-frequency = <148000000>; hactive = <1920>; /* Horizontal display area thd 1024 DCLK */ vactive = <1080>; /* Vertical display area tvd 600 H */ hback-porch = <48>; /* HS Width +Back Porch 160 160 160 DCLK (Thw+ thbp)*/ hfront-porch = <60>; /* HS front porch thfp 16 160 216 DCLK */ vback-porch = <8>; /* VS front porch tvfp 1 12 127 H */ vfront-porch = <33>; /* VS Width+Back Porch 23 23 23 H (Tvw+ tvbp) */ hsync-len = <32>; /* HS Pulse Width thw 1 - 140 DCLK */ vsync-len = <4>; /* VS Pulse Width tvw 1 - 20 H */ hsync-active = <0>; vsync-active = <0>; de-active = <0>; pixelclk-active = <0>; }; }; }; &gpu { status = "okay"; mali-supply = ; }; &gmac { max-speed = <1000>; }; &hdmi_analog_sound { status = "disabled"; }; &i2c0 { clock-frequency = <400000>; rk808: pmic@1b { compatible = "rockchip,rk808"; reg = <0x1b>; interrupt-parent = ; interrupts = <4 IRQ_TYPE_LEVEL_LOW>; pinctrl-names = "default"; pinctrl-0 = ; rockchip,system-power-controller; wakeup-source; #clock-cells = <1>; clock-output-names = "xin32k", "rk808-clkout2"; vcc1-supply = ; vcc2-supply = ; vcc3-supply = ; vcc4-supply = ; vcc6-supply = ; vcc8-supply = ; vcc9-supply = ; vcc12-supply = ; vddio-supply = ; regulators { vdd_cpu: DCDC_REG1 { regulator-always-on; regulator-boot-on; regulator-min-microvolt = <750000>; regulator-max-microvolt = <1400000>; regulator-name = "vdd_arm"; regulator-state-mem { regulator-off-in-suspend; }; }; vdd_gpu: DCDC_REG2 { regulator-always-on; regulator-boot-on; regulator-min-microvolt = <850000>; regulator-max-microvolt = <1250000>; regulator-name = "vdd_gpu"; regulator-ramp-delay = <6000>; regulator-state-mem { regulator-off-in-suspend; }; }; vcc_ddr: DCDC_REG3 { regulator-always-on; regulator-boot-on; regulator-name = "vcc_ddr"; regulator-state-mem { regulator-on-in-suspend; }; }; vcc_io: DCDC_REG4 { regulator-always-on; regulator-boot-on; regulator-min-microvolt = <3300000>; regulator-max-microvolt = <3300000>; regulator-name = "vcc_io"; regulator-state-mem { regulator-on-in-suspend; regulator-suspend-microvolt = <3300000>; }; }; vcc_tp: LDO_REG1 { regulator-always-on; regulator-boot-on; regulator-min-microvolt = <3300000>; regulator-max-microvolt = <3300000>; regulator-name = "vcc_tp"; regulator-state-mem { regulator-off-in-suspend; }; }; vcca_codec: LDO_REG2 { regulator-always-on; regulator-boot-on; regulator-min-microvolt = <3300000>; regulator-max-microvolt = <3300000>; regulator-name = "vcca_codec"; regulator-state-mem { regulator-on-in-suspend; regulator-suspend-microvolt = <3300000>; }; }; vdd_10: LDO_REG3 { regulator-always-on; regulator-boot-on; regulator-min-microvolt = <1000000>; regulator-max-microvolt = <1000000>; regulator-name = "vdd_10"; regulator-state-mem { regulator-on-in-suspend; regulator-suspend-microvolt = <1000000>; }; }; vcc_wl: LDO_REG4 { regulator-always-on; regulator-boot-on; regulator-min-microvolt = <1800000>; regulator-max-microvolt = <1800000>; regulator-name = "vcc_wl"; regulator-state-mem { regulator-on-in-suspend; }; }; vccio_sd: LDO_REG5 { regulator-always-on; regulator-boot-on; regulator-min-microvolt = <1800000>; regulator-max-microvolt = <3300000>; regulator-name = "vccio_sd"; regulator-state-mem { regulator-off-in-suspend; }; }; vdd10_lcd: LDO_REG6 { regulator-always-on; regulator-boot-on; regulator-min-microvolt = <1000000>; regulator-max-microvolt = <1000000>; regulator-name = "vdd10_lcd"; regulator-state-mem { regulator-off-in-suspend; }; }; vcc_18: LDO_REG7 { regulator-always-on; regulator-boot-on; regulator-min-microvolt = <1800000>; regulator-max-microvolt = <1800000>; regulator-name = "vcc_18"; regulator-state-mem { regulator-on-in-suspend; regulator-suspend-microvolt = <1800000>; }; }; vcc18_lcd: LDO_REG8 { regulator-always-on; regulator-boot-on; regulator-min-microvolt = <1800000>; regulator-max-microvolt = <1800000>; regulator-name = "vcc18_lcd"; regulator-state-mem { regulator-off-in-suspend; }; }; vcc_sd: SWITCH_REG1 { regulator-always-on; regulator-boot-on; regulator-min-microvolt = <3300000>; regulator-max-microvolt = <3300000>; regulator-name = "vcc_sd"; regulator-state-mem { regulator-off-in-suspend; }; }; vccio_pmu: SWITCH_REG2 { regulator-always-on; regulator-boot-on; regulator-min-microvolt = <3300000>; regulator-max-microvolt = <3300000>; regulator-name = "vccio_pmu"; regulator-state-mem { regulator-off-in-suspend; }; }; }; }; CW2015@62 { compatible = "cw201x"; reg = <0x62>; bat_low_gpio = ; dc_det_gpio = ; chg_ok_gpio = ; bat_config_info = <0x15 0x42 0x60 0x59 0x52 0x58 0x4D 0x48 0x48 0x44 0x44 0x46 0x49 0x48 0x32 0x24 0x20 0x17 0x13 0x0F 0x19 0x3E 0x51 0x45 0x08 0x76 0x0B 0x85 0x0E 0x1C 0x2E 0x3E 0x4D 0x52 0x52 0x57 0x3D 0x1B 0x6A 0x2D 0x25 0x43 0x52 0x87 0x8F 0x91 0x94 0x52 0x82 0x8C 0x92 0x96 0xFF 0x7B 0xBB 0xCB 0x2F 0x7D 0x72 0xA5 0xB5 0xC1 0x46 0xAE>; is_dc_charge = <1>; is_u***_charge = <0>; monitor_sec = <5>; virtual_power = <0>; divider_res1 = <200>; divider_res2 = <200>; }; }; &i2c1 { status = "okay"; clock-frequency = <400000>; mpu6050@68 { compatible = "invensense,mpu6050"; status = "okay"; pinctrl-names = "default"; pinctrl-0 = ; reg = <0x68>; irq-gpio = ; mpu-int_config = <0x10>; mpu-level_shifter = <0>; mpu-orientation = <0 1 0 1 0 0 0 0 1>; orientation-x= <0>; orientation-y= <0>; orientation-z= <1>; support-hw-poweroff = <0>; mpu-debug = <1>; }; ak8963:compass@0d{ compatible = "mpu_ak8963"; reg = <0x0d>; compass-bus = <0>; compass-adapt_num = <0>; compass-orientation = <1 0 0 0 1 0 0 0 1>; orientation-x= <0>; orientation-y= <0>; orientation-z= <1>; compass-debug = <1>; status = "okay"; }; }; &io_domains { status = "okay"; audio-supply = ; bb-supply = ; dvp-supply = ; flash0-supply = ; flash1-supply = ; gpio30-supply = ; gpio1830 = ; lcdc-supply = ; sdcard-supply = ; wifi-supply = ; }; &rockchip_suspend { status = "okay"; rockchip,pwm-regulator-config = < (0 | PWM1_REGULATOR_EN ) >; }; &pwm1 { status = "okay"; pinctrl-names = "active"; pinctrl-0 = ; }; &pinctrl { lcd { lcd_en: lcd-en { rockchip,pins = <7 3 RK_FUNC_GPIO &pcfg_pull_none>; }; }; mpu6050 { mpu6050_irq_gpio: mpu6050-irq-gpio { rockchip,pins = <8 0 RK_FUNC_GPIO &pcfg_pull_none>; }; }; }; 4、烧录进去,完美点亮; 5、系统默认显示中文; alpsdevicerockchiprk3288device.mk 添加以下代码: PRODUCT_PROPERTY_OVERRIDES += persist.sys.timezone=Asia/Shanghai persist.sys.language=zh persist.sys.country=CN 6、修改屏幕密度 ro.sf.lcd_density=160 7、关闭节能模式 alpsframeworkspackagesSettingsProviderresvaluesdefaults.xml false 8、设置屏幕永不休眠; alpsframeworkspackagesSettingsProviderresvaluesdefaults.xml -1 -1 发觉改动无效。。。。。。。 下班,下周继续,查看源代码。 |
|
|
|
你正在撰写答案
如果你是对答案或其他答案精选点评或询问,请使用“评论”功能。
1657 浏览 1 评论
synopsys 的design ware:DW_fpv_div,浮点数除法器,默认32位下,想提升覆盖率(TMAX),如果用功能case去提升覆盖率呢?
1961 浏览 1 评论
RK3588 GStreamer调试四路鱼眼摄像头四宫格显示报错
4911 浏览 1 评论
【飞凌嵌入式OK3576-C开发板体验】RKNN神经网络-YOLO图像识别
254 浏览 0 评论
【飞凌嵌入式OK3576-C开发板体验】SSH远程登录网络配置及CAN通讯
1336 浏览 0 评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-11-13 11:31 , Processed in 0.463598 second(s), Total 38, Slave 33 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号