请选择 进入手机版 | 继续访问电脑版

找回密码
立即注册
搜索
发新帖

301

积分

0

好友

23

主题
发表于 2018-12-15 15:13:12 | 查看: 5710| 回复: 3
荣品3288支持以下显示屏
10.1寸A  LVDS 1024*600(源码默认)
10.1寸C  MIPI  1920*1200
7寸        MIPI  800*1280
5寸        MIPI  720*1280


兼容支持
13.3寸   EDP  1920*1080


切换修改的源码:
3288\kernel\arch\arm\boot\dts\rp-rk3288.dts


以5.1内核为例,打开dts文件后,顶部文件预览
  1. #include "lcd-rpdzkj_lvds.dtsi"
  2. //#include "lcd-rpdzkj_lvds_1024_600_7.dtsi"
  3. //#include "lcd-rpdzkj_lvds_1024_768_8.dtsi"
  4. //#include "lcd-rpdzkj_lvds_bofan.dtsi"
  5. //#include "lcd-rpdzkj_lvds_1280x800_10.1inch.dtsi"
  6. //#include "lcd-rpdzkj_mipi_7_bofan.dtsi"
  7. //#include "lcd-rpdzkj_dual_lvds_1280_1024.dtsi"
  8. //#include "lcd-rpdzkj_lvds-gps.dtsi"
  9. //#include "lcd-rpdzkj_lvds_jc.dtsi"
  10. //#include "lcd-rpdzkj_lvds_20180322.dtsi"
  11. //#include "lcd-rpdzkj_dual_lvds_sdczx.dtsi"
  12. //#include "lcd-rpdzkj_lvds_1280_800.dtsi"
  13. //#include "lcd-rpdzkj_lvds_1280_800-other.dtsi"
  14. //#include "lcd-rpdzkj_lvds_800_1280.dtsi"
  15. //#include "lcd-rpdzkj_lvds_1366x768.dtsi"
  16. //#include "lcd-rpdzkj_lvds-convert-rgb_480x276_4.3inch.dtsi"
  17. //#include "lcd-rpdzkj_hdmi.dtsi"
  18. //#include "lcd-rpdzkj_hdmi_4k.dtsi"
  19. //#include "lcd-rpdzkj_edp.dtsi"
  20. //#include "lcd-rpdzkj_edp_1920x1080_15.6inch.dtsi"
  21. //#include "lcd-rpdzkj_edp_ytfh.dtsi"
  22. //#include "lcd-rpdzkj_edp_ytfh_2.dtsi"
  23. //#include "lcd-rpdzkj_edp-hfy.dtsi"
  24. //#include "lcd-rpdzkj_rgb_ytfh.dtsi"
  25. //#include "lcd-rpdzkj_dual_lvds_2k_65inch.dtsi"
  26. //#include "lcd-rpdzkj_yb_lvds.dtsi"
  27. //#include "lcd-rpdzkj_fszn.dtsi"
  28. //#include "lcd-rpdzkj_lvds_jc.dtsi"
  29. //#include "lcd-rpdzkj_dual_lvds.dtsi"
  30. //#include "lcd-rpdzkj_dual_lvds_fg.dtsi"
  31. //#include "lcd-rpdzkj_dual_lvds_jc.dtsi"
  32. //#include "lcd-rpdzkj_dual_lvds_1920x540.dtsi"
  33. //#include "lcd-rpdzkj_mipi_800x1280_10.1inch_Bee_laibao.dtsi"
  34. //#include "lcd-rpdzkj_mipi_1200x1920_10.1inch_Bee_YuChengKeJi.dtsi"
  35. //#include "lcd-rpdzkj_mipi_5inch_720x1280_xczn.dtsi"
  36. //#include "lcd-rpdzkj_mipi_7.dtsi"
  37. //#include "lcd-rpdzkj_mipi_7-lize.dtsi"
  38. //#include "lcd-rpdzkj_mipi_7_SenRui.dtsi"
  39. //#include "lcd-rpdzkj_mipi_7-tne.dtsi"
  40. //#include "lcd-rpdzkj_mipi_5.dtsi"
  41. //#include "lcd-rpdzkj_mipi_5_old.dtsi"
  42. //#include "lcd-rpdzkj_mipi_10_1.dtsi"
  43. //#include "lcd-rpdzkj_mipi_10_1_zwzx.dtsi"
  44. //#include "lcd-rpdzkj_mipi_1200_1920_10_1_jsxxx.dtsi"
  45. //#include "lcd-rpdzkj_dual_lvds-jhh.dtsi"
  46. //#include "lcd-rpdzkj_dual_lvds-whwz.dtsi"
  47. //#include "lcd-rpdzkj_mipi_800x1280_10.1_new.dtsi"
  48. //#include "lcd-rpdzkj_mipi_10_1_delida.dtsi"
  49. //#include "lcd-rpdzkj_mipi_8.9-1920-1200-lksr.dtsi"
  50. //#include "lcd-rpdzkj_mipi_5-axwl.dtsi"
  51. //#include "lcd-rpdzkj_mipi_800x1280_8inch_2nd_fszn.dtsi"
  52. //#include "lcd-rpdzkj_mipi_5.5.dtsi"

复制代码
这部分只能选择一个选项,不需要用的用//注释


修改后保存,接着编译整包
. ./make.sh


在rockdev下生成 update-***-.img







发表于 2018-12-15 15:15:54
如果需要快速调试的同学,修改后./make.sh kernel


编译生成resource.img
文件生成在3288/kernel/ 下


只需要用升级工具单独升级该文件就可以了




回复 显示全部楼层 道具 举报

发表于 2019-4-28 14:57:57
你好,请问resource.img如何升级。在开发工具中没有找到kernel名字和对应的地址。麻烦指导一下!

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?立即注册

回复 显示全部楼层 道具 举报

发表于 2019-4-28 15:25:25
ouyangfengfeng 发表于 2019-4-28 14:57
你好,请问resource.img如何升级。在开发工具中没有找到kernel名字和对应的地址。麻烦指导一下!

你用的是ubuntu?参考ubuntu单个镜像烧写文档
ubuntu手册

回复 显示全部楼层 道具 举报

您需要登录后才可以回帖 登录 | 立即注册

Archiver|手机版|小黑屋|深圳荣品电子  

GMT+8, 2019-10-20 02:06 , Processed in 0.062884 second(s), 25 queries .

Powered by Discuz! X3.3

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表