1.save framebuffer
(1) method1: we can dump mem,and use t32 to resume framebuffer.
Kernel space Framebuffer address:
setup_fb_mem ph vr screen_base 0xdec00000
该FB地址亦可以在项目中dts中查到
d.image 0xdec00000 480. 800. /RGBX888
Bootloader space framebbuffer address:
#define FB_RAM_BASE (LPDDR0_BASE_ADDR + 0x05f00000)
(2)method2: adb shell gsnap /data/1.jpg /dev/graphics/fb0
adb pull /data/1.jpg D:\
2.save dispc && dsi register's value.
展讯lookat工具,查看统一编址的物理寄存器值,用法介绍
Usage: lookat [-l nword] [-s value] [-h] addr_in_hex
get/set the value of IO reg at addr_in_hex
-l nword print values of nword continous regs start from
addr_in_hex in a formated way
-s value set a reg at addr_in_hex to value
-h print this message
NOTE:
* the addr_in_hex should be 4-byte aligned in hex form
* Default is physical address, Using Virtual address If the
* parameters are capital letter: Only the [-L],[-S],(Read/Write)
* will use virtual address
(1)step1:adb shell(enter phone's shell)
(2)step2:lookat -l 50 0x21000000(print dispc register value with lookat tool)
(3)step3:lookat -l 50 0x60100000(print dsi register value with lookat tool)