Firefly开源社区

打印 上一主题 下一主题

[Android] 修改配置MIPI屏后开机反复重启, MIPI分辨率2340*1080

11

积分

0

威望

0

贡献

技术小白

积分
11

修改配置MIPI屏后开机反复重启, MIPI分辨率2340*1080

发表于 2022-10-24 18:28:11      浏览:5093 | 回复:1        打印      只看该作者   [复制链接] 楼主
  • 固件类型: 自行编译的固件
  • SDK包名称: firefly_rk3288_rk3128_android5.1_git_20211216
  • SDK更新到哪个COMMIT: 0000-00-00 00:00:00
  • SDK修改内容: 修改了rochchip_defconfig, firefly_defconfig, 增加了CONFIG_LCD_MIPI=y CONFIG_MIPI_DSI=y CONFIG_RK32_MIPI_DSI=y 等配置 增加了一个lcd-txt-mipi-aio-3288j.dtsi配置文件,添加MIPI配置如下: #include / { backlight { compatible = "pwm-backlight"; pwms = <&pwm1 0 25000>; rockchip,pwm_id= <1>; /* | dark(255-221) | light scale(220-0) | , scale_div=255*/ brightness-levels = <200 199 198 197 196 195 194 193 192 191 190 189 188 187 186 185 184 183 182 181 180 179 178 177 176 175 174 173 172 171 170 169 168 167 166 165 164 163 162 161 160 159 158 157 156 155 154 153 152 151 150 149 148 147 146 145 144 143 142 141 140 139 138 137 136 135 134 133 132 131 130 129 128 127 126 125 124 123 122 121 120 119 118 117 116 115 114 113 112 111 110 109 108 107 106 105 104 103 102 101 100 99 98 97 96 95 94 93 92 91 90 89 88 87 86 85 84 83 82 81 80 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4>; default-brightness-level = <10>; brightness-reversal = <1>; enable-gpios = <&gpio5 GPIO_C1 GPIO_ACTIVE_HIGH>; }; /* about mipi */ disp_mipi_init: mipi_dsi_init{ compatible = "rockchip,mipi_dsi_init"; rockchip,screen_init = <1>; rockchip,dsi_lane = <4>; rockchip,dsi_hs_clk = <900>; rockchip,mipi_dsi_num = <1>; }; disp_mipi_power_ctr: mipi_power_ctr { compatible = "rockchip,mipi_power_ctr"; mipi_lcd_rst:mipi_lcd_rst{ compatible = "rockchip,lcd_rst"; rockchip,gpios = <&gpio7 GPIO_B5 GPIO_ACTIVE_HIGH>; rockchip,delay = <100>; }; mipi_lcd_en:mipi_lcd_en { compatible = "rockchip,lcd_en"; rockchip,gpios = <&gpio5 GPIO_C2 GPIO_ACTIVE_HIGH>; rockchip,delay = <100>; }; }; disp_mipi_init_cmds: screen-on-cmds { rockchip,cmd_debug = <1>; compatible = "rockchip,screen-on-cmds"; rockchip,on-cmds1 { compatible = "rockchip,on-cmds"; rockchip,cmd_type = ; rockchip,dsi_id = <0>; rockchip,cmd = <0x05 0x11>; rockchip,cmd_delay = <60>; }; rockchip,on-cmds2 { compatible = "rockchip,on-cmds"; rockchip,cmd_type = ; rockchip,dsi_id = <0>; rockchip,cmd = <0x05 0x29>; rockchip,cmd_delay = <200>; }; }; disp_timings: display-timings { native-mode = <&timing0>; compatible = "rockchip,display-timings"; timing0: timing0 { screen-type = ; out-face = ; color-mode = ; clock-frequency = <140000000>; hactive = <1080>; vactive = <2340>; hsync-len = <20>; hback-porch = <40>; hfront-porch = <40>; vsync-len = <2>; vback-porch = <4>; vfront-porch = <8>; hsync-active = <0>; vsync-active = <0>; de-active = <0>; pixelclk-active = <0>; swap-rb = <0>; swap-rg = <0>; swap-gb = <0>; }; }; }; &dsihost0 { status = "okay"; }; &disp_timings { native-mode = <&timing0>; }; &rk_screen { display-timings = <&disp_timings>; }; /*lcdc0 as PRMRY(HDMI)*/ &lcdc0 { status = "okay"; rockchip,iommu-enabled = <1>; rockchip,prop = ; power_ctr: power_ctr { rockchip,debug = <1>; }; }; &lcdc1 { status = "disable"; rockchip,iommu-enabled = <1>; rockchip,prop = ; }; /* &hdmi { rockchip,hdmi_video_source = ; }; */ &pwm1 { status = "disable"; }; 修改了firefly-rk3288-aio-3288j.dts, include mipi配置 #include "rk3288.dtsi" //#include "lcd-LP079Qx1-aio-3288j.dtsi" //#include "lcd-box-aio-3288j.dtsi" //#include "lcd-lc550eue-aio-3288j.dtsi" //#include "lcd-btl790-mipi-aio-3288j.dtsi" #include "lcd-note7-mipi-aio-3288j.dtsi" #include
  • Log日志: log_none.txt
问题描述及复现步骤:
开机反复重启,显示LOG界面一会就灭了,然后再次显示LOG界面

log_none.txt

18 Bytes, 下载次数: 1, 下载积分: 灯泡 -1 , 经验 -1

回复

使用道具 举报

11

积分

0

威望

0

贡献

技术小白

积分
11
发表于 2022-10-24 18:37:44        只看该作者  沙发
增加LOG:

#Boot ver: 2022-10-24#2.30
empty serial no.
checkKey
vbus = 1
no fuel gauge found
no fuel gauge found
read logo on state from dts [1]
pll_src = 0, dclk_hz = 150000000, dclk_div = 2
load mipi dsi chip:rk_mipi_dsi.0 id:3133302a
mipi_dsi v1.3 2014-04-17
no fuel gauge found
got recovery cmd from misc.
load fdt from resouce.
ERROR: [get_entry_ram]: Cannot find logo_kernel.bmp!
Secure Boot state: 0
kernel   @ 0x02000000 (0x006b1358)
ramdisk  @ 0x05bf0000 (0x002ad1f4)
bootrk: do_bootm_linux...
   Loading Device Tree to 05600000, end 0561c45b ... OK
Add bank:0000000000000000, 0000000080000000

Starting kernel ...

DDR Version 1.00 20160530
In
SRX
Channel a: DDR3 200MHz
Bus Width=32 Col=10 Bank=8 Row=15 CS=1 Die Bus-Width=16 Size=1024MB
Channel b: DDR3 200MHz
Bus Width=32 Col=10 Bank=8 Row=15 CS=1 Die Bus-Width=16 Size=1024MB
OUT


U-Boot 2014.10-RK3288-10 (Oct 24 2022 - 17:22:25)

CPU: rk3288
cpu version = 0
CPU's clock information:
    arm pll = 600000000HZ
    periph pll = 297000000HZ
    ddr pll = 200000000HZ
    codec pll = 384000000HZ
Board:        Rockchip platform Board
DRAM:  Found dram banks: 1
Adding bank:0000000000000000(0000000080000000)
128 MiB
GIC CPU mask = 0x00000001
SdmmcInit = 0 400
SdmmcInit = 2 0
storage init OK!
Using default environment

GetParam
Load FDT from resource image.
power key: bank-0 pin-5
pmic:act8846
can't find dts node for pwm1
DCDC vdd_logic has been used, pwm regulator not init it.
Can't find dts node for fuel guage cw201x
SecureBootEn = 0, SecureBootLock = 0

#Boot ver: 2022-10-24#2.30
empty serial no.
checkKey
vbus = 1
no fuel gauge found
no fuel gauge found
read logo on state from dts [1]
pll_src = 0, dclk_hz = 150000000, dclk_div = 2
load mipi dsi chip:rk_mipi_dsi.0 id:3133302a
mipi_dsi v1.3 2014-04-17
no fuel gauge found
got recovery cmd from misc.
load fdt from resouce.
ERROR: [get_entry_ram]: Cannot find logo_kernel.bmp!
Secure Boot state: 0
kernel   @ 0x02000000 (0x006b1358)
ramdisk  @ 0x05bf0000 (0x002ad1f4)
bootrk: do_bootm_linux...
   Loading Device Tree to 05600000, end 0561c45b ... OK
Add bank:0000000000000000, 0000000080000000

Starting kernel ...

DDR Version 1.00 20160530
In
SRX
Channel a: DDR3 200MHz
Bus Width=32 Col=10 Bank=8 Row=15 CS=1 Die Bus-Width=16 Size=1024MB
Channel b: DDR3 200MHz
Bus Width=32 Col=10 Bank=8 Row=15 CS=1 Die Bus-Width=16 Size=1024MB
OUT


U-Boot 2014.10-RK3288-10 (Oct 24 2022 - 17:22:25)

CPU: rk3288
cpu version = 0
CPU's clock information:
    arm pll = 600000000HZ
    periph pll = 297000000HZ
    ddr pll = 200000000HZ
    codec pll = 384000000HZ
Board:        Rockchip platform Board
DRAM:  Found dram banks: 1
Adding bank:0000000000000000(0000000080000000)
128 MiB
GIC CPU mask = 0x00000001
SdmmcInit = 0 400
SdmmcInit = 2 0
storage init OK!
Using default environment

GetParam
Load FDT from resource image.
power key: bank-0 pin-5
pmic:act8846
can't find dts node for pwm1
DCDC vdd_logic has been used, pwm regulator not init it.
Can't find dts node for fuel guage cw201x
SecureBootEn = 0, SecureBootLock = 0

#Boot ver: 2022-10-24#2.30
empty serial no.
checkKey
vbus = 1
no fuel gauge found
no fuel gauge found
read logo on state from dts [1]
pll_src = 0, dclk_hz = 150000000, dclk_div = 2
load mipi dsi chip:rk_mipi_dsi.0 id:3133302a
mipi_dsi v1.3 2014-04-17
no fuel gauge found
got recovery cmd from misc.
load fdt from resouce.
ERROR: [get_entry_ram]: Cannot find logo_kernel.bmp!
Secure Boot state: 0
kernel   @ 0x02000000 (0x006b1358)
ramdisk  @ 0x05bf0000 (0x002ad1f4)
bootrk: do_bootm_linux...
   Loading Device Tree to 05600000, end 0561c45b ... OK
Add bank:0000000000000000, 0000000080000000

Starting kernel ...
回复

使用道具 举报

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

本版积分规则

友情链接 : 爱板网 电子发烧友论坛 云汉电子社区 粤ICP备14022046号-2
快速回复 返回顶部 返回列表