 ------ get all ubootenv data ------ 
[ubootenv] key: [1080i60hz_deepcolor], value: [422,10bit]
[ubootenv] key: [1080i_h], value: [1080]
[ubootenv] key: [1080i_w], value: [1920]
[ubootenv] key: [1080i_x], value: [0]
[ubootenv] key: [1080i_y], value: [0]
[ubootenv] key: [1080p60hz_deepcolor], value: [422,10bit]
[ubootenv] key: [1080p_h], value: [1080]
[ubootenv] key: [1080p_w], value: [1920]
[ubootenv] key: [1080p_x], value: [0]
[ubootenv] key: [1080p_y], value: [0]
[ubootenv] key: [2160p30hz_deepcolor], value: [422,10bit]
[ubootenv] key: [2160p60hz_deepcolor], value: [420,8bit]
[ubootenv] key: [2160p_h], value: [2160]
[ubootenv] key: [2160p_w], value: [3840]
[ubootenv] key: [2160p_x], value: [0]
[ubootenv] key: [2160p_y], value: [0]
[ubootenv] key: [720p60hz_deepcolor], value: [422,10bit]
[ubootenv] key: [720p_h], value: [720]
[ubootenv] key: [720p_w], value: [1280]
[ubootenv] key: [720p_x], value: [0]
[ubootenv] key: [720p_y], value: [0]
[ubootenv] key: [EnableSelinux], value: [enforcing]
[ubootenv] key: [Irq_check_en], value: [0]
[ubootenv] key: [LedsTrigger], value: [1]
[ubootenv] key: [PrivateRecovery], value: [0]
[ubootenv] key: [SocSecureBoot], value: [0]
[ubootenv] key: [SystemReset], value: [0]
[ubootenv] key: [active_slot], value: [normal]
[ubootenv] key: [aml_dt], value: [g12a_u212_3g]
[ubootenv] key: [avb2], value: [1]
[ubootenv] key: [baudrate], value: [115200]
[ubootenv] key: [bcb_cmd], value: [get_avb_mode;get_valid_slot;]
[ubootenv] key: [boot_ddr_type], value: [DDR4]
[ubootenv] key: [boot_part], value: [boot]
[ubootenv] key: [bootargs], value: [init=/init console=ttyS0,115200 no_console_suspend earlyprintk=aml-uart,0xff803000 ramoops.pstore_en=1 ramoops.record_size=0x8000 ramoops.console_size=0x4000 loglevel=1 phy_idx= hdr_policy=0 hdr_priority= otg_device=1 reboot_mode_android=normal logo=osd0,loaded,0x3d800000 fb_width=1920 fb_height=1080 display_bpp=16 outputmode=2160p60hz vout=2160p60hz,enable panel_type=lcd_1 lcd_ctrl=0x00000000 hdmitx=,420,8bit hdmimode=2160p60hz hdmichecksum=0xb7150000 dolby_vision_on=0 frac_rate_policy=1 hdmi_read_edid=1 cvbsmode=576cvbs osd_reverse=0 video_reverse=0 irq_check_en=0 ledsTrigger=1 androidboot.enableSystemReset=0 androidboot.enablePrivateRecovery=0 androidboot.socsecureboot=0 androidboot.selinux=enforcing androidboot.firstboot=0 jtag=disable defendkey=0x08300000,0x100000 androidboot.hardware=amlogic androidboot.bootloader=U-Boot 2015.01-gb294d06043 androidboot.build.expect.baseband=N/A androidboot.serialno=SKBFXYXD2EOM mac=38:D5:7A:DD:5D:7D androidboot.mac=38:D5:7A:DD:5D:7D mac_bt=38:D5:7A:D7:42:FD androidboot.mac_bt=38:D5:7A:D7:42:FD androidboot.deviceid=BFX-AT100_2019_001687840]
[ubootenv] key: [bootcmd], value: [ddr_auto_fast_boot_check 6;run storeboot]
[ubootenv] key: [bootdelay], value: [1]
[ubootenv] key: [bootloader_version], value: [U-Boot 2015.01-gb294d06043]
[ubootenv] key: [cmdline_keys], value: [if keyman init 0x1234; then if keyman read usid ${loadaddr} str; then setenv bootargs ${bootargs} androidboot.serialno=${usid};setenv serial ${usid};else setenv bootargs ${bootargs} androidboot.serialno=1234567890;setenv serial 1234567890;fi;if keyman read mac ${loadaddr} str; then setenv bootargs ${bootargs} mac=${mac} androidboot.mac=${mac};fi;if keyman read mac_bt ${loadaddr} str; then setenv bootargs ${bootargs} mac_bt=${mac_bt} androidboot.mac_bt=${mac_bt};fi;if keyman read deviceid ${loadaddr} str; then setenv bootargs ${bootargs} androidboot.deviceid=${deviceid};fi;if keyman read oemkey ${loadaddr} str; then setenv bootargs ${bootargs} androidboot.oem.key1=${oemkey};fi;fi;factory_provision init;]
[ubootenv] key: [colorattribute], value: [420,8bit]
[ubootenv] key: [cvbs_drv], value: [0]
[ubootenv] key: [cvbsmode], value: [576cvbs]
[ubootenv] key: [deviceid], value: [BFX-AT100_2019_001687840]
[ubootenv] key: [display_bpp], value: [16]
[ubootenv] key: [display_color_bg], value: [0]
[ubootenv] key: [display_color_fg], value: [0xffff]
[ubootenv] key: [display_color_index], value: [16]
[ubootenv] key: [display_height], value: [1080]
[ubootenv] key: [display_layer], value: [osd0]
[ubootenv] key: [display_width], value: [1920]
[ubootenv] key: [dolby_status], value: [0]
[ubootenv] key: [dolby_vision_on], value: [0]
[ubootenv] key: [dtb_mem_addr], value: [0x1000000]
[ubootenv] key: [dv_fw_addr], value: [0xa00000]
[ubootenv] key: [dv_fw_dir], value: [/reserved/firmware/dovi_fw.bin]
[ubootenv] key: [dv_fw_dir_odm_ext], value: [/odm_ext/firmware/dovi_fw.bin]
[ubootenv] key: [dv_fw_dir_vendor], value: [/vendor/firmware/dovi_fw.bin]
[ubootenv] key: [ethact], value: [dwmac.ff3f0000]
[ubootenv] key: [ethaddr], value: [38:d5:7a:dd:5d:7d]
[ubootenv] key: [factory_reset_poweroff_protect], value: [echo wipe_data=${wipe_data}; echo wipe_cache=${wipe_cache};if test ${wipe_data} = failed; then run init_display; run storeargs;if mmcinfo; then run recovery_from_sdcard;fi;if usb start 0; then run recovery_from_udisk;fi;run recovery_from_flash;fi; if test ${wipe_cache} = failed; then run init_display; run storeargs;if mmcinfo; then run recovery_from_sdcard;fi;if usb start 0; then run recovery_from_udisk;fi;run recovery_from_flash;fi; ]
[ubootenv] key: [fb_addr], value: [0x3d800000]
[ubootenv] key: [fb_height], value: [1080]
[ubootenv] key: [fb_width], value: [1920]
[ubootenv] key: [fdt_high], value: [0x20000000]
[ubootenv] key: [fdtaddr], value: [1000000]
[ubootenv] key: [firstboot], value: [0]
[ubootenv] key: [frac_rate_policy], value: [1]
[ubootenv] key: [fs_type], value: [rootfstype=ramfs]
[ubootenv] key: [gatewayip], value: [10.18.9.1]
[ubootenv] key: [hdmi_colordepth], value: [8]
[ubootenv] key: [hdmi_colorspace], value: [auto]
[ubootenv] key: [hdmi_read_edid], value: [1]
[ubootenv] key: [hdmichecksum], value: [0xb7150000]
[ubootenv] key: [hdmimode], value: [2160p60hz]
[ubootenv] key: [hdr_policy], value: [0]
[ubootenv] key: [hostname], value: [arm_gxbb]
[ubootenv] key: [init_display], value: [gpio set GPIOX_7;gpio set GPIOAO_10;gpio set GPIOX_5;get_rebootmode;echo reboot_mode:::: ${reboot_mode};if test ${reboot_mode} = quiescent; then setenv reboot_mode_android quiescent;run storeargs;setenv bootargs ${bootargs} androidboot.quiescent=1;osd open;osd clear;else if test ${reboot_mode} = recovery_quiescent; then gpio set GPIOX_7;gpio clear GPIOAO_10;gpio clear GPIOX_5;setenv reboot_mode_android normal;setenv PrivateRecovery 1;setenv LedsTrigger 0;run storeargs;osd open;osd clear;else if test ${reboot_mode} = system_reset; then setenv reboot_mode_android normal;setenv SystemReset 1;run storeargs;hdmitx off;else setenv reboot_mode_android normal;run storeargs;hdmitx hpd;hdmitx get_parse_edid;dovi process;osd open;osd clear;imgread pic logo bootup $loadaddr;bmp display $bootup_offset;bmp scale;vout output ${outputmode};dovi set;dovi pkg;vpp hdrpkt;fi;fi;fi;]
[ubootenv] key: [initargs], value: [init=/init console=ttyS0,115200 no_console_suspend earlyprintk=aml-uart,0xff803000 ramoops.pstore_en=1 ramoops.record_size=0x8000 ramoops.console_size=0x4000 ]
[ubootenv] key: [ipaddr], value: [10.18.9.97]
[ubootenv] key: [irremote_update], value: [if irkey 2500000 0xe31cfb04 0xb748fb04; then echo read irkey ok!; if itest ${irkey_value} == 0xe31cfb04; then run update;else if itest ${irkey_value} == 0xb748fb04; then run update;
fi;fi;fi;]
[ubootenv] key: [is.bestmode], value: [true]
[ubootenv] key: [jtag], value: [disable]
[ubootenv] key: [lcd_ctrl], value: [0x00000000]
[ubootenv] key: [loadaddr], value: [3080000]
[ubootenv] key: [lock], value: [10100000]
[ubootenv] key: [loglevel], value: [1]
[ubootenv] key: [mac], value: [38:D5:7A:DD:5D:7D]
[ubootenv] key: [mac_bt], value: [38:D5:7A:D7:42:FD]
[ubootenv] key: [netmask], value: [255.255.255.0]
[ubootenv] key: [osd_reverse], value: [0]
[ubootenv] key: [otg_device], value: [1]
[ubootenv] key: [outputmode], value: [2160p60hz]
[ubootenv] key: [panel_type], value: [lcd_1]
[ubootenv] key: [partition_mode], value: [dynamic]
[ubootenv] key: [preboot], value: [run bcb_cmd; run factory_reset_poweroff_protect;run upgrade_check;run secureboot_check;run init_display;run storeargs;run upgrade_key;bcb uboot-command;run switch_bootmode;]
[ubootenv] key: [reboot_mode], value: [normal]
[ubootenv] key: [reboot_mode_android], value: [normal]
[ubootenv] key: [recovery_from_flash], value: [get_valid_slot;echo active_slot: ${active_slot};if test ${active_slot} = normal; then setenv bootargs ${bootargs} ${fs_type} aml_dt=${aml_dt} recovery_part=${recovery_part} recovery_offset=${recovery_offset};avb recovery 1;if itest ${upgrade_step} == 3; then if ext4load mmc 1:2 ${dtb_mem_addr} /recovery/dtb.img; then echo cache dtb.img loaded; fi;if ext4load mmc 1:2 ${loadaddr} /recovery/recovery.img; then echo cache recovery.img loaded; wipeisb; bootm ${loadaddr}; fi;else fi;if imgread kernel ${recovery_part} ${loadaddr} ${recovery_offset}; then wipeisb; bootm ${loadaddr}; fi;else if test ${partition_mode} = normal; then setenv bootargs ${bootargs} ${fs_type} aml_dt=${aml_dt} recovery_part=${boot_part} recovery_offset=${recovery_offset};if imgread kernel ${boot_part} ${loadaddr}; then bootm ${loadaddr}; fi;else setenv bootargs ${bootargs} ${fs_type} aml_dt=${aml_dt} recovery_part=${recovery_part} recovery_offset=${recovery_offset} androidboot.slot_suffix=${active_slot};if imgread kernel ${recovery_part} ${loadaddr} ${recovery_offset}; then wipeisb; bootm ${loadaddr}; fi;fi;fi;]
[ubootenv] key: [recovery_from_sdcard], value: [if fatload mmc 0 ${loadaddr} aml_autoscript; then if avb memory recovery ${loadaddr}; then avb recovery 1;autoscr ${loadaddr}; fi;fi;if fatload mmc 0 ${loadaddr} recovery.img; then if avb memory recovery ${loadaddr}; then avb recovery 1;if fatload mmc 0 ${dtb_mem_addr} dtb.img; then echo sd dtb.img loaded; fi;wipeisb; setenv bootargs ${bootargs} ${fs_type};bootm ${loadaddr};fi;fi;]
[ubootenv] key: [recovery_from_udisk], value: [if fatload usb 0 ${loadaddr} aml_autoscript; then if avb memory recovery ${loadaddr}; then avb recovery 1;autoscr ${loadaddr}; fi;fi;if fatload usb 0 ${loadaddr} recovery.img; then if avb memory recovery ${loadaddr}; then avb recovery 1;if fatload usb 0 ${dtb_mem_addr} dtb.img; then echo udisk dtb.img loaded; fi;wipeisb; setenv bootargs ${bootargs} ${fs_type};bootm ${loadaddr};fi;fi;]
[ubootenv] key: [recovery_offset], value: [0]
[ubootenv] key: [recovery_part], value: [recovery]
[ubootenv] key: [rollback_flag], value: [0]
[ubootenv] key: [rpmb_state], value: [0]
[ubootenv] key: [sdc_burning], value: [sdc_burn ${sdcburncfg}]
[ubootenv] key: [sdcburncfg], value: [aml_sdc_burn.ini]
[ubootenv] key: [sdr2hdr], value: [2]
[ubootenv] key: [secureboot_check], value: [if query SecureBoot; then setenv SocSecureBoot 0;else setenv SocSecureBoot 1;fi;]
[ubootenv] key: [serial], value: [SKBFXYXD2EOM]
[ubootenv] key: [serverip], value: [10.18.9.113]
[ubootenv] key: [skb_firstboot], value: [0]
[ubootenv] key: [slot-suffixes], value: [-1]
[ubootenv] key: [stderr], value: [serial]
[ubootenv] key: [stdin], value: [serial]
[ubootenv] key: [stdout], value: [serial]
[ubootenv] key: [storeargs], value: [get_bootloaderversion;setenv bootargs ${initargs} loglevel=${loglevel} phy_idx=${phy_idx} hdr_policy=${hdr_policy}  hdr_priority=${hdr_priority} otg_device=${otg_device} reboot_mode_android=${reboot_mode_android} logo=${display_layer},loaded,${fb_addr} fb_width=${fb_width} fb_height=${fb_height} display_bpp=${display_bpp} outputmode=${outputmode} vout=${outputmode},enable panel_type=${panel_type} lcd_ctrl=${lcd_ctrl} hdmitx=${cecconfig},${colorattribute} hdmimode=${hdmimode} hdmichecksum=${hdmichecksum} dolby_vision_on=${dolby_vision_on} frac_rate_policy=${frac_rate_policy} hdmi_read_edid=${hdmi_read_edid} cvbsmode=${cvbsmode} osd_reverse=${osd_reverse} video_reverse=${video_reverse} irq_check_en=${Irq_check_en} ledsTrigger=${LedsTrigger} androidboot.enableSystemReset=${SystemReset} androidboot.enablePrivateRecovery=${PrivateRecovery} androidboot.socsecureboot=${SocSecureBoot} androidboot.selinux=${EnableSelinux} androidboot.firstboot=${firstboot} jtag=${jtag}; setenv bootargs ${bootargs} defendkey=0x08300000,0x100000;setenv bootargs ${bootargs} androidboot.hardware=amlogic androidboot.bootloader=${bootloader_version} androidboot.build.expect.baseband=N/A;run cmdline_keys;]
[ubootenv] key: [storeboot], value: [boot_cooling;get_system_as_root_mode;echo system_mode: ${system_mode};if test ${system_mode} = 1; then setenv bootargs ${bootargs} ro rootwait skip_initramfs;else setenv bootargs ${bootargs} androidboot.force_normal_boot=1;fi;get_valid_slot;get_avb_mode;echo active_slot: ${active_slot};if test ${active_slot} != normal; then setenv bootargs ${bootargs} androidboot.slot_suffix=${active_slot};fi;if test ${avb2} = 0; then if test ${active_slot} = _a; then setenv bootargs ${bootargs} root=/dev/mmcblk0p23;else if test ${active_slot} = _b; then setenv bootargs ${bootargs} root=/dev/mmcblk0p24;fi;fi;fi;setenv bootargs ${bootargs} androidboot.rollback=${rollback_flag};if imgread kernel ${boot_part} ${loadaddr}; then bootm ${loadaddr}; fi;run storeargs; setenv upgrade_step 3; run update;]
[ubootenv] key: [switch_bootmode], value: [gpio set GPIOX_7;gpio set GPIOAO_10;gpio set GPIOX_5;get_rebootmode;if test ${reboot_mode} = factory_reset; then setenv reboot_mode_android normal;run storeargs;run recovery_from_flash;else if test ${reboot_mode} = update; then setenv reboot_mode_android normal;run storeargs;run update;else if test ${reboot_mode} = quiescent; then setenv reboot_mode_android quiescent;setenv dolby_status 0;setenv dolby_vision_on 0;run storeargs;setenv bootargs ${bootargs} androidboot.quiescent=1;else if test ${reboot_mode} = recovery_quiescent; then gpio set GPIOX_7;gpio clear GPIOAO_10;gpio clear GPIOX_5;setenv reboot_mode_android normal;setenv PrivateRecovery 1;setenv LedsTrigger 0;setenv dolby_status 0;setenv dolby_vision_on 0;run storeargs;run update;else if test ${reboot_mode} = cold_boot; then setenv reboot_mode_android normal;run storeargs;else if test ${reboot_mode} = fastboot; then setenv reboot_mode_android normal;run storeargs;fastboot;else if test ${reboot_mode} = system_reset; then setenv reboot_mode_android normal;setenv SystemReset 1;run storeargs;fi;fi;fi;fi;fi;fi;fi]
[ubootenv] key: [try_auto_burn], value: [update 700 750;]
[ubootenv] key: [update], value: [run usb_burning; run sdc_burning; if mmcinfo; then run recovery_from_sdcard;fi;if usb start 0; then run recovery_from_udisk;fi;run recovery_from_flash;]
[ubootenv] key: [upgrade_check], value: [echo upgrade_step=${upgrade_step}; if itest ${upgrade_step} == 3; then run init_display; run storeargs; run update;else fi;]
[ubootenv] key: [upgrade_key], value: [if gpio input GPIOAO_3; then echo enter update; saveenv; run update;fi;]
[ubootenv] key: [upgrade_step], value: [2]
[ubootenv] key: [usb_burning], value: [update 1500]
[ubootenv] key: [usid], value: [SKBFXYXD2EOM]
[ubootenv] key: [video_reverse], value: [0]
[ubootenv] key: [wipe_cache], value: [successful]
[ubootenv] key: [wipe_data], value: [successful]

 ------ DUMP HDMI display info ------ 
 
display type: 2 [0:none 1:tablet 2:mbox 3:tv], soc type:g12a
default ui:1080p

EDID parsing status: ok

General caps
Rx Manufacturer Name: XXX
Rx Product Code: 0000
Rx Serial Number: 00000000
Rx Product Name: TV
          
Manufacture Week: 1
Manufacture Year: 2018
Physcial size(mm): 708 x 398
EDID Version: 1.3
EDID block number: 0x1
blk0 chksum: 0xb7
Source Physical Address[a.b.c.d]: 3.0.0.0
native Mode 74, VIC (native 95):
ColorDeepSupport 0
16 5 4 3 7 2 6 1 31 20 19 18 22 17 21 95 94 93 32 95 94 93 352 353 
Audio {format, channel, freq, cce}
{1, 1, 7f, 7}
{2, 5, 7, 50}
Speaker Allocation: 1
Vendor: 0xc03 ( HDMI device)
MaxTMDSClock1 300 MHz
vLatency:  Invalid/Unknown
aLatency:  Invalid/Unknown
i_vLatency:  Invalid/Unknown
i_aLatency:  Invalid/Unknown
SCDC: 0
RR_Cap: 0
LTE_340M_Scramble: 0

checkvalue: 0xb7150000

Deep color
420,8bit
444,8bit
422,12bit
422,10bit
422,8bit
rgb,8bit

HDR
HDR10Plus Supported: 0
HDR Static Metadata:
    Supported EOTF:
        Traditional SDR: 0
        Traditional HDR: 0
        SMPTE ST 2084: 0
        Hybrid Log-Gamma: 0
    Supported SMD type1: 0
    Luminance Data
        Max: 0
        Avg: 0
        Min: 0

HDR Dynamic Metadata:

colorimetry_data: 0

Preferred mode: 720p60hz

Sink type: sink

Audio caps
CodingType MaxChannels SamplingFreq SampleSize
PCM, 2 ch, 32/44.1/48/88.2/96/176.4/192 kHz, 16/20/24 bit
AC-3, 6 ch, 32/44.1/48 kHz, MaxBitRate 640kHz

Raw EDID
00ffffffffffff006318000000000000011c0103800000000ad7a5a2594a9624145054a30800d1c0b30081008180814081c00101010104740030f2705a80b0588a00c48e2100001e662150b051001b30407036003f432100001e000000fd001e4c1e501e000a202020202020000000fc0054560a2020202020202020202001b7020335745390050403070206011f1413121611155f5e5d2026097f071507506d030c003000003c200060010203e30e606183010000011d007251d01e206e285500c48e2100001e011d8018711c1620582c2500c48e2100009e8c0ad08a20e02d10103e9600138e210000188c0ad090204031200c405500138e21000018000015

