通过adb查看系统sys_config :
1、查看DDR相关信息:
root@astar-y3:/ # echo dram_para >/sys/class/script/dump
echo dram_para >/sys/class/script/dump
root@astar-y3:/ # cat /sys/class/script/dump //查看信息
++++++++++++++++++++++++++__sysfs_dump_mainkey++++++++++++++++++++++++++
name: dram_para
sub_key: name type value
dram_clk int 456
dram_type int 3
dram_zq int 15291
dram_odt_en int 1
dram_para1 int 283247104
dram_para2 int 4096
dram_mr0 int 7280
dram_mr1 int 64
dram_mr2 int 24
dram_mr3 int 0
dram_tpr0 int 4595981
dram_tpr1 int 29499657
dram_tpr2 int 327735
dram_tpr3 int 0
dram_tpr4 int 0
dram_tpr5 int 0
dram_tpr6 int 0
dram_tpr7 int 0
dram_tpr8 int 0
dram_tpr9 int 0
dram_tpr10 int 0
dram_tpr11 int 0
dram_tpr12 int 168
dram_tpr13 int 67841
--------------------------__sysfs_dump_mainkey--------------------------
2、查看摄像头相关信息:
root@astar-y3:/ # echo csi0 >/sys/class/script/dump
echo csi0 >/sys/class/script/dump
root@astar-y3:/ # cat /sys/class/script/dump
cat /sys/class/script/dump
++++++++++++++++++++++++++__sysfs_dump_mainkey++++++++++++++++++++++++++
name: csi0
sub_key: name type value
vip_csi_pck gpio (gpio: 0x80 / PE0, mul: 2, pull -1, drv -1, data -1)
vip_csi_mck gpio (gpio: 0x81 / PE1, mul: 2, pull -1, drv -1, data -1)
vip_csi_hsync gpio (gpio: 0x82 / PE2, mul: 2, pull -1, drv -1, data -1)
vip_csi_vsync gpio (gpio: 0x83 / PE3, mul: 2, pull -1, drv -1, data -1)
vip_csi_d0 gpio (gpio: 0x84 / PE4, mul: 2, pull -1, drv -1, data -1)
vip_csi_d1 gpio (gpio: 0x85 / PE5, mul: 2, pull -1, drv -1, data -1)
vip_csi_d2 gpio (gpio: 0x86 / PE6, mul: 2, pull -1, drv -1, data -1)
vip_csi_d3 gpio (gpio: 0x87 / PE7, mul: 2, pull -1, drv -1, data -1)
vip_csi_d4 gpio (gpio: 0x88 / PE8, mul: 2, pull -1, drv -1, data -1)
vip_csi_d5 gpio (gpio: 0x89 / PE9, mul: 2, pull -1, drv -1, data -1)
vip_csi_d6 gpio (gpio: 0x8a / PE10, mul: 2, pull -1, drv -1, data -1)
vip_csi_d7 gpio (gpio: 0x8b / PE11, mul: 2, pull -1, drv -1, data -1)
vip_dev0_reset gpio (gpio: 0x90 / PE16, mul: 1, pull -1, drv -1, data 0)
vip_dev0_pwdn gpio (gpio: 0x91 / PE17, mul: 1, pull -1, drv -1, data 1)
vip_dev0_flash_engpio (gpio: 0x401 / GPIO1, mul: 1, pull -1, drv -1, data 0)
vip_dev1_reset gpio (gpio: 0x8e / PE14, mul: 1, pull -1, drv -1, data 0)
vip_dev1_pwdn gpio (gpio: 0x8f / PE15, mul: 1, pull -1, drv -1, data 1)
vip_dev0_pos string "rear"
vip_dev0_lane int 1
vip_dev0_twi_idint 2
vip_dev0_twi_addrint 120
vip_dev0_isp_usedint 0
vip_dev0_fmt int 0
vip_dev0_stby_modeint 0
vip_dev0_vflip int 0
vip_dev0_hflip int 0
vip_dev0_iovdd string "axp22_dldo3"
vip_dev0_iovdd_volint 2800000
vip_dev0_avdd string "axp22_ldoio0"
vip_dev0_avdd_volint 2800000
vip_dev0_dvdd string "axp22_eldo2"
vip_dev0_dvdd_volint 1800000
vip_dev0_afvdd string ""
vip_dev0_afvdd_volint 2800000
vip_dev0_power_eninvalid type!
vip_used int 1
vip_mode int 0
vip_dev_qty int 2
vip_dev0_flash_modeinvalid type!
vip_dev0_af_pwdninvalid type!
vip_dev1_mname string "gc0308"
vip_dev1_pos string "front"
vip_dev1_lane int 1
vip_dev1_twi_idint 2
vip_dev1_twi_addrint 66
vip_dev1_isp_usedint 0
vip_dev1_fmt int 0
vip_dev1_stby_modeint 0
vip_dev1_vflip int 0
vip_dev1_hflip int 0
vip_dev1_iovdd string "axp22_dldo3"
vip_dev1_iovdd_volint 2800000
vip_dev1_avdd string "axp22_ldoio0"
vip_dev1_avdd_volint 2800000
vip_dev1_dvdd string "axp22_eldo2"
vip_dev1_dvdd_volint 1800000
vip_dev1_afvdd string ""
vip_dev1_afvdd_volint 2800000
vip_dev1_power_eninvalid type!
vip_define_sensor_listint 0
vip_dev0_mname string "gc2035"
vip_dev1_flash_eninvalid type!
vip_dev1_flash_modeinvalid type!
vip_dev1_af_pwdninvalid type!
--------------------------__sysfs_dump_mainkey--------------------------
3、查看Flash相关信息:
root@astar-y3:/ # echo nand0_para >/sys/class/script/dump
echo nand0_para >/sys/class/script/dump
root@astar-y3:/ # cat /sys/class/script/dump
cat /sys/class/script/dump
++++++++++++++++++++++++++__sysfs_dump_mainkey++++++++++++++++++++++++++
name: nand0_para
sub_key: name type value
nand0_we gpio (gpio: 0x40 / PC0, mul: 2, pull -1, drv 2, data -1)
nand0_ale gpio (gpio: 0x41 / PC1, mul: 2, pull -1, drv 2, data -1)
nand0_cle gpio (gpio: 0x42 / PC2, mul: 2, pull -1, drv 2, data -1)
nand0_ce1 gpio (gpio: 0x43 / PC3, mul: 2, pull -1, drv 2, data -1)
nand0_ce0 gpio (gpio: 0x44 / PC4, mul: 2, pull -1, drv 2, data -1)
nand0_nre gpio (gpio: 0x45 / PC5, mul: 2, pull -1, drv 2, data -1)
nand0_rb0 gpio (gpio: 0x46 / PC6, mul: 2, pull -1, drv 2, data -1)
nand0_rb1 gpio (gpio: 0x47 / PC7, mul: 2, pull -1, drv 2, data -1)
nand0_d0 gpio (gpio: 0x48 / PC8, mul: 2, pull -1, drv 2, data -1)
nand0_d1 gpio (gpio: 0x49 / PC9, mul: 2, pull -1, drv 2, data -1)
nand0_d2 gpio (gpio: 0x4a / PC10, mul: 2, pull -1, drv 2, data -1)
nand0_d3 gpio (gpio: 0x4b / PC11, mul: 2, pull -1, drv 2, data -1)
nand0_d4 gpio (gpio: 0x4c / PC12, mul: 2, pull -1, drv 2, data -1)
nand0_d5 gpio (gpio: 0x4d / PC13, mul: 2, pull -1, drv 2, data -1)
nand0_d6 gpio (gpio: 0x4e / PC14, mul: 2, pull -1, drv 2, data -1)
nand0_d7 gpio (gpio: 0x4f / PC15, mul: 2, pull -1, drv 2, data -1)
nand0_ndqs gpio (gpio: 0x50 / PC16, mul: 2, pull -1, drv 2, data -1)
nand0_ce2 gpio (gpio: 0x51 / PC17, mul: 2, pull -1, drv 2, data -1)
nand0_ce3 gpio (gpio: 0x52 / PC18, mul: 2, pull -1, drv 2, data -1)
nand0_used int 1
nand_support_2chint 0
--------------------------__sysfs_dump_mainkey--------------------------