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";

compatible ="simple-panel";

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_usb_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、系统默认显示中文;

alps\device\rockchip\rk3288\device.mk 添加以下代码:

PRODUCT_PROPERTY_OVERRIDES += \

persist.sys.timezone=Asia/Shanghai\

persist.sys.language=zh\

persist.sys.country=CN\

6、修改屏幕密度

ro.sf.lcd_density=160

7、关闭节能模式

alps\frameworks\packages\SettingsProvider\res\values\defaults.xml

false

8、设置屏幕永不休眠;

alps\frameworks\packages\SettingsProvider\res\values\defaults.xml

-1

-1

发觉改动无效。。。。。。。

下班,下周继续,查看源代码。

rk3288 Android 8,RK3288W Android8.1开发日志(一)相关推荐

  1. RK3288W Android8.1开发日志(二)

    1.犯了一个错误,拿到SDK忘记执行源代码更新指令,5月8号的初始版本有挺多BUG,执行更新.repo/repo/repo sync,更新完之后编译烧录,之前的bug全无. 2.接上一篇文章,修改永不 ...

  2. 【Android 高性能音频】Oboe 开发流程 ( 创建并设置 AudioStreamCallback 对象 | 打开 Oboe 音频流 | 日志封装 logging_macros.h )

    文章目录 一.创建并设置 AudioStreamCallback 对象 二.打开 Oboe 音频流 三.日志封装 Oboe GitHub 主页 : GitHub/Oboe ① 简单使用 : Getti ...

  3. Android开发日志打卡APP(二)

    Android开发日志打卡APP(二) 文章目录 Android开发日志打卡APP(二) 前言 开发过程 一.背景和标题 二.日志图标 三.日志弹框 前言 在之前的文章中,准备工作已经完成,现在我们将 ...

  4. Android开发日志打卡APP(一)

    Android开发日志打卡APP(一) 文章目录 Android开发日志打卡APP(一) 简介 界面展示 内容总结 1.控件 2.布局 3.技术 开发过程 准备工作 启动页面 底部导航栏 简介 ​ 初 ...

  5. 来自一枚敢敢的Kotlin——Android开发日志之初识RecyclerView

    写在前面 ​ 因为本科课程的原因,我在2022年开始了我的android开发,我以为我跳离了前端,其实没有,我只是从web端换到了移动端,如此美妙的开局!学校里面的内容还在用Java上着android ...

  6. 【Android 高性能音频】Oboe 开发流程 ( Oboe 音频帧简介 | AudioStreamCallback 中的数据帧说明 )

    文章目录 一.音频帧概念 二.AudioStreamCallback 中的音频数据帧说明 Oboe GitHub 主页 : GitHub/Oboe ① 简单使用 : Getting Started ② ...

  7. 【Android 高性能音频】Oboe 开发流程 ( Oboe 完整代码示例 )

    文章目录 一.GitHub 地址 二.Oboe C++ 代码 三.日志封装 四.Activity 代码 五.AndroidManifest.xml 配置文件 六.CMakeLists.txt 构建脚本 ...

  8. 【Android 高性能音频】Oboe 开发流程 ( 检查 Oboe 音频流属性 | 开始播放 | 停止播放 | 关闭 Oboe 音频流 | 重新配置 Oboe 音频流属性 )

    文章目录 一.检查 Oboe 音频流属性 二.开始播放 三.停止播放 四.关闭音频流 五.重新配置 Oboe 音频流属性 Oboe GitHub 主页 : GitHub/Oboe ① 简单使用 : G ...

  9. 爱上Android之选择您的开发工具

    本文摘自人民邮电出版社异步社区<爱上Android> 京东地址:item.jd.com/12144527.ht- 试读地址:www.epubit.com.cn/book/detail- 第 ...

最新文章

  1. 忍不了,又黑我运维攻城狮??| 每日趣闻
  2. Mysql双向同步复制
  3. verilog case语句_浅谈Design Compiler -- Verilog语言结构到门级的映射
  4. 第四届AutoDL挑战赛——AutoSpeech2019正式开赛
  5. c语言extern关键字详解
  6. mysql 时间 本周 本月_mysql查询当天、本周、上周、本月、上月信息
  7. 开源PHP多应用授权系统源码
  8. 快手小剧场推出独立APP“追鸭”
  9. python进阶05并发之一基本概念
  10. JavaScript正则表达式(1)
  11. POJ1703-Find them, Catch them
  12. “21天好习惯”第一期-20
  13. Spring Security 工作原理概览
  14. 为Macbook添加自己喜欢的英汉辞典
  15. Java8 Stream:两万字博文教你玩转集合的筛选、归约、分组、聚合
  16. TSF(Text Service Framework)简介
  17. java中去字符串中的(全角)空格
  18. 深入了解Socks5代理IP和网络安全
  19. 云服务器可以用来做什么?
  20. 直流有刷电机调速原理及Matlab/Simulink仿真

热门文章

  1. scrapy爬取京东图书的数据
  2. javaweb环境搭建—— 误删mysql服务(sc delete mysql)
  3. [Java]jhsdb查看内存内Java对象
  4. dellr420部署os_戴尔dell poweredge r730服务器系统安装配置详解教程
  5. 5.15 英语单词小记
  6. ] 爆笑囧人囧事2009大合集![
  7. virtualbox 启动win7 失败 错误代码 0x80004005
  8. MATLAB toc使用
  9. web的标准网页设计与php课后,web网页设计尺寸规范
  10. CWE 4.7中的新视图:工业控制系统的安全漏洞类别