G12A:BL:0253b8:61aa2d;FEAT:F2F939B2:32060;POC:F;RCY:0;EMMC:0;READ:0;0.0;0.0;
bl2_stage_init 0x01
bl2_stage_init 0x81
hw id: 0x0000 - pwm id 0x01
bl2_stage_init 0xc1
bl2_stage_init 0x02

L0:0000037f
L1:00000701
L2:00008067
L3:04000000
S1:00000000
B2:00032060
B1:f2f939b2

TE: 338224

BL2 Built : 10:48:42, May 12 2022. g12a g163d76f - jenkins@walle02-sh

Board ID = 1
Set cpu clk to 24M
Set clk81 to 24M
CPU clk: 1200 MHz
Set clk81 to 166.6M
eMMC boot @ 0
sw8 s
OTP_ARB=00000001
board id: 1
Load FIP HDR DDR from eMMC, src: 0x00010200, des: 0xfffd0000, size: 0x00004000, part: 0
fw parse done
PIEI prepare done
00000000
emmc switch 1 ok
ddr saved addr:00016000
Load ddr parameter from eMMC, src: 0x02c00000, des: 0xfffd0000, size: 0x00001000, part: 0
00000000
emmc switch 0 ok
fastboot data verify
result: 0
enable_fast_boot
dmc_margin_rx==7 dmc_margin_tx==9 steps
DDR4 probe

LPDDR4_PHY_V_0_1_24-Built : 15:01:24, Apr 25 2022. g12a g0c5c5f2 - bo.lv@droid13
ddr clk to 1320MHz

dmc_version 0000
Check phy result
INFO : End of initialization
INFO : Training has run successfully!
 dwc_ddrphy_apb_wr((0<<20)|(2<<16)|(0<<12)|(0xb0):0001 
 dram_vref_reg_value 0x 00000022
DDR cs0 size: 2048MB
DDR cs1 size: 1024MB
DMC_DDR_CTRL: 0070001cDDR size: 3072MB
cs0 DataBus test pass
cs1 DataBus test pass
cs0 AddrBus test pass
cs1 AddrBus test pass

non-sec scramble use zero key
ddr scramble enabled

100bdlr_step_size ps== 456
result report
boot times 0Enable ddr reg access
00000000
emmc switch 3 ok
BL2: rpmb counter: 0x000000e3
00000000
emmc switch 0 ok
Load FIP HDR from eMMC, src: 0x00010200, des: 0x01700000, size: 0x00004000, part: 0
Load BL3X from eMMC, src: 0x00078200, des: 0x01768000, size: 0x00138e00, part: 0
0.0;0.0;M3 CHK:0;cm4_sp_mode 0
OPS=0x40
ring efuse init
MVN_1=0x00000000
MVN_2=0x00000000
[Image: g12a_v1.1.3521-22eef4f315-dirty 2022-12-07 15:17:13 mega.wu@droid02-tw]
28 0e 40 00 01 3a 1e 00 00 12 32 31 54 48 32 50 
[0.053253 Inits done]
secure task start!
high task start!
low task start!
boot bl31
NOTICE:  BL31: v1.3(release):e23f9e8d7
NOTICE:  BL31: Built : 17:52:23, Oct  8 2022
NOTICE:  BL31: G12A secure boot!
NOTICE:  BL31: BL33 decompress pass
INFO:    BL3-2: ATOS-V2.4.4-147-g1ba026d4d #1 Tue Oct 18 21:50:58 2022 +0800 arm
INFO:    BL3-2: Chip: G12A Rev: E (28:E - 40:2)
INFO:    BL3-2: crypto engine DMA
INFO:    BL3-2: secure time TEE
INFO:    BL3-2: CONFIG_DEVICE_SECURE 0xb200000e
protect cbus registers


U-Boot 2015.01-g5e10ace9a1 (Sep 12 2023 - 19:02:44)

DRAM:  3 GiB
Relocation Offset is: b6e0f000
mmu cfg end: 0xc0000000
mmu cfg end: 0xc0000000
spi_post_bind(spifc): req_seq = 0
register usb cfg[0][1] = 00000000b7f40c70
NAND:  get_sys_clk_rate_mtd() 280, clock setting 200!
bus cycle0: 6,timing: 7
NAND device id: 0 ff ff ff ff ff 
No NAND device found!!!
nand init failed: -6
get_sys_clk_rate_mtd() 280, clock setting 200!
bus cycle0: 6,timing: 7
NAND device id: 0 ff ff ff ff ff 
No NAND device found!!!
nand init failed: -6
MMC:   aml_priv->desc_buf = 0x00000000b3dffa70
aml_priv->desc_buf = 0x00000000b3e01db0
SDIO Port B: 0, SDIO Port C: 1
co-phase 0x3, tx-dly 0, clock 400000
co-phase 0x3, tx-dly 0, clock 400000
co-phase 0x3, tx-dly 0, clock 400000
emmc/sd response timeout, cmd8, cmd->cmdarg=0x1aa, status=0x1ff2800
emmc/sd response timeout, cmd55, cmd->cmdarg=0x0, status=0x1ff2800
co-phase 0x3, tx-dly 0, clock 400000
co-phase 0x3, tx-dly 0, clock 40000000
[set_emmc_calc_fixed_adj][862]find fixed adj_delay=20
init_part() 297: PART_TYPE_AML
[mmc_init] mmc init success
      Amlogic Multi-DTB tool
      Single DTB detected
start dts,buffer=00000000b3e04620,dt_addr=00000000b3e04620
get_partition_from_dts() 80: ret 0
      Amlogic Multi-DTB tool
      Single DTB detected
parts: 17
00:      logo	0000000000800000 1
01:  recovery	0000000001800000 1
02:      misc	0000000000800000 1
03:      dtbo	0000000000800000 1
04:  cri_data	0000000000800000 2
05:     param	0000000001000000 2
06:      boot	0000000001000000 1
set has_boot_slot = 0
07:       rsv	0000000001000000 1
08:  metadata	0000000001000000 1
09:    vbmeta	0000000000200000 1
10:       tee	0000000002000000 1
11:   factory	0000000000800000 11
12:     super	0000000065200000 1
enable dynamic_partition
13:     cache	0000000043800000 2
14:factory_setting	0000000001000000 1
15:  btv_home	0000000006400000 1
16:  userdata	ffffffffffffffff 4
init_part() 297: PART_TYPE_AML
eMMC/TSD partition table have been checked OK!
crc32_s:0x1577dad == storage crc_pattern:0x1577dad!!!
crc32_s:0xee152b83 == storage crc_pattern:0xee152b83!!!
crc32_s:0x79f50f07 == storage crc_pattern:0x79f50f07!!!
mmc env offset: 0x4ac00000 
In:    serial
Out:   serial
Err:   serial
reboot_mode=cold_boot
Start read misc partition datas!
active slot = 0
[store]To run cmd[emmc dtb_read 0x1000000 0x40000]
_verify_dtb_checksum()-3354: calc 55f9a768, store 55f9a768
_verify_dtb_checksum()-3354: calc 55f9a768, store 55f9a768
dtb_read()-3569: total valid 2
update_old_dtb()-3550: do nothing
      Amlogic Multi-DTB tool
      Single DTB detected
amlkey_init() enter!
calc 5ec02e057a0, store 5ec02e057a0
calc 5ec02e057a0, store 5ec02e057a0
do nothing
[EFUSE_MSG]keynum is 4
vpu: driver version: v20190313
vpu: detect chip type: 8
vpu: clk_level default: 7(666667000Hz), max: 7(666667000Hz)
vpu: clk_level in dts: 7
vpu: vpu_power_on
vpu: set_vpu_clk
vpu: set clk: 666667000Hz, readback: 666666667Hz(0x100)
vpu: set_vpu_clk finish
vpu: vpu_module_init_config
vpp: vpp_init
vpp: vpp osd2 matrix rgb2yuv..............
hdr_func 4, hdr_process_select 0x1
hdr_func 1, hdr_process_select 0x1
hdr_func 2, hdr_process_select 0x1
cvbs: cpuid:0x28
cvbs: find clk_path: 0x0
cvbs: find performance_pal config
cvbs: find performance_ntsc config
aml_config_dtb 623
aml_config_dtb 653
libfdt fdt_path_offset() returned FDT_ERR_NOTFOUND
co_phase = <0x00000003>
caps2 = "MMC_CAP2_HS200"
f_max = "
"
status = "disabled"
libfdt fdt_path_offset() returned FDT_ERR_NOTFOUND
Net:   dwmac.ff3f0000amlkey_init() enter!
amlkey_init() 59: already init!
[EFUSE_MSG]keynum is 4

ramdump_init, add:0, size:0
Start read misc partition datas!
active slot = 0
wipe_data=successful
wipe_cache=successful
upgrade_step=2
gpio: pin GPIOX_7 (gpio 87) value is 1
gpio: pin GPIOAO_10 (gpio 10) value is 1
gpio: pin GPIOX_5 (gpio 85) value is 1
reboot_mode:::: cold_boot
s_version: U-Boot 2015.01-g5e10ace9a1
amlkey_init() enter!
amlkey_init() 59: already init!
[EFUSE_MSG]keynum is 4
[KM]Error:f[key_manage_query_size]L503:key[oemkey] not programed yet
Interface:  MMC
  Device 1: Vendor: Man 000015 Snr ed8853fd Rev: 0.6 Prod: 8GTF4R
            Type: Removable Hard Disk
            Capacity: 7456.0 MB = 7.2 GB (15269888 x 512)
Filesystem: FAT12 "KEYBOX PART"
hpd_state=1
do_hpd_detect: hdmimode=1080p60hz
do_hpd_detect: colorattribute=444,8bit
HDMI_EDID_BLOCK_TYPE_VENDER: pRXCap->ColorDeepSupport=0x0
dump_dtd_info[356]
pixel_clock 17450
h_active 1920
h_blank 160
v_active 1080
v_blank 39
h_sync_offset 48
h_sync 32
v_sync_offset 3
v_sync 5
find IEEEOUT
check sum valid
check sum valid
check sum invalid
sink preferred_mode is 1080p60hz[16]
hdr mode is 0
dv  mode is ver:0  len: 0
hdr10+ mode is 0
HDMI_EDID_BLOCK_TYPE_VENDER: pRXCap->ColorDeepSupport=0x0
dump_dtd_info[356]
pixel_clock 17450
h_active 1920
h_blank 160
v_active 1080
v_blank 39
h_sync_offset 48
h_sync 32
v_sync_offset 3
v_sync 5
find IEEEOUT
check sum valid
check sum valid
check sum invalid
read hdmichecksum: 0x613b0000, hdmimode: 1080p60hz, colorattribute: 444,8bit
TV is the same, checksum: 0x613b0000
hdmitx_mask_rx_info hdr_info = 0
dolby_status 0 1
dolby_vision_process: hpd: dv disabled
Saving Environment to aml-storage...
mmc env offset: 0x4ac00000 
Writing to MMC(1)... done
[OSD]load fb addr from dts:/meson-fb
[OSD]set initrd_high: 0xbf800000
[OSD]fb_addr for logo: 0xbf800000
[OSD]load fb addr from dts:/meson-fb
[OSD]fb_addr for logo: 0xbf800000
[OSD]VPP_OFIFO_SIZE:0xfff01fff
[CANVAS]canvas init
[CANVAS]addr=0xbf800000 width=3840, height=2160
[OSD]osd_hw.free_dst_data: 0,1919,0,1079
[OSD]osd1_update_disp_freescale_enable
cvbs: outputmode[1080p60hz] is invalid
vpp: vpp_matrix_update: 2
set hdmitx VIC = 16
aml_audio_init
config HPLL = 5940000 frac_rate = 1
HPLL: 0x3b3a04f7
HPLL: 0x1b3a04f7
HPLLv1: 0xdb3a04f7
config HPLL done
j = 6  vid_clk_div = 1
hdmitx: set enc for VIC: 16
HDMITX-DWC addr=0x10004006 rd_data=0x44
Error: HDMITX-DWC exp_data=0xff mask=0x9f
rx version is 2.0  div=10
hdmitx phy setting done
hdmtix: set audio
hdmi_tx_set: save mode: 1080p60hz, attr: 444,8bit, hdmichecksum: 0x613b0000
dolby_status 0 1
dolby_status 0 1
hdr_packet
vpp: hdr_policy = 0
vpp: Rx hdr_info.hdr_sup_eotf_smpte_st_2084 = 0
s_version: U-Boot 2015.01-g5e10ace9a1
amlkey_init() enter!
amlkey_init() 59: already init!
[EFUSE_MSG]keynum is 4
[KM]Error:f[key_manage_query_size]L503:key[oemkey] not programed yet
Interface:  MMC
  Device 1: Vendor: Man 000015 Snr ed8853fd Rev: 0.6 Prod: 8GTF4R
            Type: Removable Hard Disk
            Capacity: 7456.0 MB = 7.2 GB (15269888 x 512)
Filesystem: FAT12 "KEYBOX PART"
gpio: pin GPIOAO_3 (gpio 3) value is 1
Command: bcb uboot-command 
Start read misc partition datas!
BCB hasn't any datas,exit!
gpio: pin GPIOX_7 (gpio 87) value is 1
gpio: pin GPIOAO_10 (gpio 10) value is 1
gpio: pin GPIOX_5 (gpio 85) value is 1
s_version: U-Boot 2015.01-g5e10ace9a1
amlkey_init() enter!
amlkey_init() 59: already init!
[EFUSE_MSG]keynum is 4
[KM]Error:f[key_manage_query_size]L503:key[oemkey] not programed yet
Interface:  MMC
  Device 1: Vendor: Man 000015 Snr ed8853fd Rev: 0.6 Prod: 8GTF4R
            Type: Removable Hard Disk
            Capacity: 7456.0 MB = 7.2 GB (15269888 x 512)
Filesystem: FAT12 "KEYBOX PART"
Hit Enter or space or Ctrl+C key to stop autoboot -- :  1  0 
rxon
do_sys_rec_key ret 1

soc_family_id==0x00000028
table_max=0000000c,p_ddr_base_add=b7f439f8,chip_id=00000028
table_index=00000000,p_ddr_base_add=b7f439f8,(p_ddr_base->chip_id==00000028
find match chip id=0x00000028 ,G12A
uboot  auto fast boot check flash data is ok return 
pll tsensor avg: 0x1f3b, u_efuse: 0x802a
temp1: 32
ddr tsensor avg: 0x1f36, u_efuse: 0x8014
temp2: 32
device cool done
system_mode: 0
Start read misc partition datas!
active slot = 0
active_slot: normal
avb2: 1
Start read misc partition datas!
active slot = 0
active_slot is normal
ab_suffix is 
avb_slot_verify.c:682: DEBUG: Loading vbmeta struct from partition 'vbmeta'.
AVB2 verify with vendor kpub
AVB2 re-verify with default kpub
[store]To run cmd[emmc dtb_read 0x00000000b490e0f0 0x40000]
dtb_read_shortcut()-3412: short cut in...
Start read misc partition datas!
active slot = 0
active_slot is normal
avb verification: locked = 1, result = 0
ee_gate_off ...
avb2: 1
## Booting Android Image at 0x03080000 ...
Kernel command line: androidboot.dynamic_partitions=true androidboot.dtbo_idx=0 androidboot.boot_devices=ffe07000.emmc otg_device=1 buildvariant=userdebug
[store]Is good fdt check header, no need decrypt!
active_slot is normal
load dtb from 0x1000000 ......
      Amlogic Multi-DTB tool
      Single DTB detected
find 1 dtbos
dtbos to be applied: 0
Apply dtbo 0
   Uncompressing Kernel Image ... OK
   kernel loaded at 0x01080000, end = 0x028cc008
libfdt fdt_getprop(): FDT_ERR_NOTFOUND
   Loading Ramdisk to b3cc2000, end b3dfcd24 ... OK
   Loading Device Tree to 000000001ffe8000, end 000000001ffff556 ... OK
fdt_fixup_memory_banks, reg:0000000000000000

Starting kernel ...

uboot time: 4444072 us
console:/ $ 
 start reset energy-saver timeout 

same , ignore set energy-saver timeout

G12A:BL:0253b8:61aa2d;FEAT:F2F939B2:32060;POC:F;RCY:0;EMMC:0;READ:0;0.0;0.0;
bl2_stage_init 0x01
bl2_stage_init 0x81
hw id: 0x0000 - pwm id 0x01
bl2_stage_init 0xc1
bl2_stage_init 0x02

L0:0000037f
L1:00000701
L2:00008067
L3:04000000
S1:00000000
B2:00032060
B1:f2f939b2

TE: 295671

BL2 Built : 10:48:42, May 12 2022. g12a g163d76f - jenkins@walle02-sh

Board ID = 1
Set cpu clk to 24M
Set clk81 to 24M
CPU clk: 1200 MHz
Set clk81 to 166.6M
eMMC boot @ 0
sw8 s
OTP_ARB=00000001
board id: 1
Load FIP HDR DDR from eMMC, src: 0x00010200, des: 0xfffd0000, size: 0x00004000, part: 0
fw parse done
PIEI prepare done
00000000
emmc switch 1 ok
ddr saved addr:00016000
Load ddr parameter from eMMC, src: 0x02c00000, des: 0xfffd0000, size: 0x00001000, part: 0
00000000
emmc switch 0 ok
fastboot data verify
result: 0
enable_fast_boot
dmc_margin_rx==7 dmc_margin_tx==9 steps
DDR4 probe

LPDDR4_PHY_V_0_1_24-Built : 15:01:24, Apr 25 2022. g12a g0c5c5f2 - bo.lv@droid13
ddr clk to 1320MHz

dmc_version 0000
Check phy result
INFO : End of initialization
INFO : Training has run successfully!
 dwc_ddrphy_apb_wr((0<<20)|(2<<16)|(0<<12)|(0xb0):0001 
 dram_vref_reg_value 0x 00000022
DDR cs0 size: 2048MB
DDR cs1 size: 1024MB
DMC_DDR_CTRL: 0070001cDDR size: 3072MB
cs0 DataBus test pass
cs1 DataBus test pass
cs0 AddrBus test pass
cs1 AddrBus test pass

non-sec scramble use zero key
ddr scramble enabled

100bdlr_step_size ps== 456
result report
boot times 1Enable ddr reg access
00000000
emmc switch 3 ok
BL2: rpmb counter: 0x000000e8
00000000
emmc switch 0 ok
CFG:00008c00
Load FIP TMP HDR from eMMC, src: 0x00010200, des: 0x05100000, size: 0x00004000, part: 0
Load BL31 from eMMC, src: 0x00085200, des: 0x05104000, size: 0x00033a00, part: 0
bl2z_ptr: 051303bc
img_info->image_base: 05100000
bl2z: ptr: 051303b8, size: 00001fb8
jump to BL2z:05200000


BL2Z Built : 17:52:23, Oct  8 2022. g12a gv1.3-287-ge23f9e8 - jenkins@walle02-sh

aml log : BL2Z watch dog is disabled!
STACK HEADER:0x05210000
rcf addr:fffaf010, arg:00000000, flag:00000000, ctrl:00000000
reboot reason:0d
CFG:00008c00

aml log : BL2Z support cache!

aml log : DDR size is 3073MB
RAM DUMP, DDR SIZE:0xc0000000
Fix up first segment size:0xb0000000
First seg:0xfffaf020
Adj seg:0xfffaf050
process seg:00, phy_addr:10000000, wrap_size:00000024
compressing address:10000000, free space:0x00000000, size 0x0005c000 -> 0x00028726
compressing address:1005c000, free space:0x000338d2, size 0x0005c000 -> 0x0001ab81
compressing address:100b8000, free space:0x00074d49, size 0x0005c000 -> 0x00024885
compressing address:10114000, free space:0x000ac4bc, size 0x0005c000 -> 0x0002a14d
compressing address:10170000, free space:0x000de367, size 0x0005c000 -> 0x00027720
compressing address:101cc000, free space:0x00112c3f, size 0x0005c000 -> 0x0002a4dd
compressing address:10228000, free space:0x0014475a, size 0x0005c000 -> 0x0001a4d5
compressing address:10284000, free space:0x0018627d, size 0x0005c000 -> 0x00026b02
compressing address:102e0000, free space:0x001bb773, size 0x0005c000 -> 0x000204e3
compressing address:1033c000, free space:0x001f7288, size 0x0005c000 -> 0x00047c16
compressing address:10398000, free space:0x0020b66a, size 0x0005c000 -> 0x0004931b
compressing address:103f4000, free space:0x0021e347, size 0x0005c000 -> 0x0002af83
compressing address:10450000, free space:0x0024f3bc, size 0x0005c000 -> 0x0001a0cb
compressing address:104ac000, free space:0x002912e9, size 0x0005c000 -> 0x0001de09
compressing address:10508000, free space:0x002cf4d8, size 0x0005c000 -> 0x0001dd60
compressing address:10564000, free space:0x0030d770, size 0x0005c000 -> 0x0001feb2
compressing address:105c0000, free space:0x003498b6, size 0x0005c000 -> 0x0001775f
compressing address:1061c000, free space:0x0038e14f, size 0x0005c000 -> 0x000119c5
compressing address:10678000, free space:0x003d8782, size 0x0005c000 -> 0x0000ba1b
compressing address:106d4000, free space:0x00428d5f, size 0x003c0000 -> 0x00190251
compressing address:10a94000, free space:0x00658b06, size 0x005c0000 -> 0x0023ac83
compressing address:11054000, free space:0x009dde7b, size 0x008c0000 -> 0x003fe62c
compressing address:11914000, free space:0x00e9f847, size 0x00dc0000 -> 0x004d3201
compressing address:126d4000, free space:0x0178c63e, size 0x016c0000 -> 0x009d2d23
compressing address:13d94000, free space:0x02479913, size 0x02000000 -> 0x00aad90c
compressing address:15d94000, free space:0x039cbfff, size 0x02000000 -> 0x0111e381
compressing address:17d94000, free space:0x048adc76, size 0x02000000 -> 0x00e7f51b
compressing address:19d94000, free space:0x05a2e753, size 0x02000000 -> 0x012a2dac
compressing address:1bd94000, free space:0x0678b99f, size 0x02000000 -> 0x00ed3b38
compressing address:1dd94000, free space:0x078b7e5f, size 0x02000000 -> 0x00b3e644
compressing address:1fd94000, free space:0x08d79813, size 0x02000000 -> 0x01335b70
compressing address:21d94000, free space:0x09a43c9b, size 0x02000000 -> 0x00f4188e
compressing address:23d94000, free space:0x0ab02405, size 0x02000000 -> 0x00cbb3a8
compressing address:25d94000, free space:0x0be47055, size 0x02000000 -> 0x00d51eca
compressing address:27d94000, free space:0x0d0f5183, size 0x02000000 -> 0x0108288a
compressing address:29d94000, free space:0x0e0728f1, size 0x02000000 -> 0x0113dd8f
compressing address:2bd94000, free space:0x0ef34b5a, size 0x02000000 -> 0x0104d3ce
compressing address:2dd94000, free space:0x0fee7784, size 0x02000000 -> 0x00e286ba
compressing address:2fd94000, free space:0x110bf0c2, size 0x02000000 -> 0x00f7977f
compressing address:31d94000, free space:0x1214593b, size 0x02000000 -> 0x00bd6e2f
compressing address:33d94000, free space:0x1356eb04, size 0x02000000 -> 0x00992fe2
compressing address:35d94000, free space:0x14bdbb1a, size 0x02000000 -> 0x00db332c
compressing address:37d94000, free space:0x15e287e6, size 0x02000000 -> 0x00dfc6db
compressing address:39d94000, free space:0x1702c103, size 0x02000000 -> 0x00dcfe94
compressing address:3bd94000, free space:0x1825c267, size 0x02000000 -> 0x00f6a437
compressing address:3dd94000, free space:0x192f1e28, size 0x02000000 -> 0x0125dd27
compressing address:3fd94000, free space:0x1a0940f9, size 0x02000000 -> 0x00fa97c4
compressing address:41d94000, free space:0x1b0ea92d, size 0x02000000 -> 0x010a3026
compressing address:43d94000, free space:0x1c0478ff, size 0x02000000 -> 0x00eeeaab
compressing address:45d94000, free space:0x1d158e4c, size 0x02000000 -> 0x01009e86
compressing address:47d94000, free space:0x1e14efbe, size 0x02000000 -> 0x00b2cf40
compressing address:49d94000, free space:0x1f622076, size 0x02000000 -> 0x00843112
compressing address:4bd94000, free space:0x20ddef5c, size 0x02000000 -> 0x009f6d5a
compressing address:4dd94000, free space:0x223e81fa, size 0x02000000 -> 0x00adcf41
compressing address:4fd94000, free space:0x2390b2b1, size 0x02000000 -> 0x00cded59
compressing address:51d94000, free space:0x24c2c550, size 0x02000000 -> 0x011af564
compressing address:53d94000, free space:0x25a7cfe4, size 0x02000000 -> 0x00d79b5a
compressing address:55d94000, free space:0x26d03482, size 0x02000000 -> 0x00d77536
compressing address:57d94000, free space:0x27f8bf44, size 0x02000000 -> 0x00c11816
compressing address:59d94000, free space:0x2937a726, size 0x02000000 -> 0x0106da03
compressing address:5bd94000, free space:0x2a30cd1b, size 0x02000000 -> 0x00cd1c0b
compressing address:5dd94000, free space:0x2b63b108, size 0x02000000 -> 0x0087dd6c
compressing address:5fd94000, free space:0x2cdbd394, size 0x02000000 -> 0x0058e4fa
compressing address:61d94000, free space:0x2e82ee92, size 0x02000000 -> 0x0082e4a3
compressing address:63d94000, free space:0x300009e7, size 0x02000000 -> 0x0072a8f8
compressing address:65d94000, free space:0x318d60e7, size 0x02000000 -> 0x00f6cbcd
compressing address:67d94000, free space:0x32969512, size 0x02000000 -> 0x005dec91
compressing address:69d94000, free space:0x3438a879, size 0x02000000 -> 0x0059985d
compressing address:6bd94000, free space:0x35df1014, size 0x02000000 -> 0x009113e9
compressing address:6dd94000, free space:0x374dfc23, size 0x02000000 -> 0x011c623f
compressing address:6fd94000, free space:0x383199dc, size 0x02000000 -> 0x013f2f1c
compressing address:71d94000, free space:0x38f26ab8, size 0x02000000 -> 0x011f2620
compressing address:73d94000, free space:0x39d34490, size 0x02000000 -> 0x01079839
compressing address:75d94000, free space:0x3acbac4f, size 0x02000000 -> 0x01265082
compressing address:77d94000, free space:0x3ba55bc5, size 0x02000000 -> 0x00b9e5b9
compressing address:79d94000, free space:0x3ceb7604, size 0x02000000 -> 0x011d6fe2
compressing address:7bd94000, free space:0x3dce061a, size 0x02000000 -> 0x0101c56e
compressing address:7dd94000, free space:0x3ecc40a4, size 0x02000000 -> 0x011578d1
compressing address:7fd94000, free space:0x3fb6c7cb, size 0x02000000 -> 0x00e57eb2
compressing address:81d94000, free space:0x40d14911, size 0x02000000 -> 0x00fb41ca
compressing address:83d94000, free space:0x41d6073f, size 0x02000000 -> 0x00f5fcfd
compressing address:85d94000, free space:0x42e00a3a, size 0x02000000 -> 0x00f7550b
compressing address:87d94000, free space:0x43e8b527, size 0x02000000 -> 0x00c00564
compressing address:89d94000, free space:0x4528afbb, size 0x02000000 -> 0x00c138fb
compressing address:8bd94000, free space:0x466776b8, size 0x02000000 -> 0x00cbba81
compressing address:8dd94000, free space:0x479bbc2f, size 0x02000000 -> 0x0081b997
compressing address:8fd94000, free space:0x491a0290, size 0x02000000 -> 0x009d62b7
compressing address:91d94000, free space:0x4a7c9fd1, size 0x02000000 -> 0x00b42f83
compressing address:93d94000, free space:0x4bc87046, size 0x02000000 -> 0x006f6f26
compressing address:95d94000, free space:0x4d590118, size 0x02000000 -> 0x00c0ac1c
compressing address:97d94000, free space:0x4e9854f4, size 0x02000000 -> 0x015dc167
compressing address:99d94000, free space:0x4f3a9385, size 0x02000000 -> 0x01cf8d63
compressing address:9bd94000, free space:0x4f6b061a, size 0x02000000 -> 0x01a0b174
compressing address:9dd94000, free space:0x4fca549e, size 0x02000000 -> 0x017baa0f
compressing address:9fd94000, free space:0x504eaa87, size 0x02000000 -> 0x01cd90b4
compressing address:a1d94000, free space:0x508119cb, size 0x02000000 -> 0x02020203
compressing address:a3d94000, free space:0x507f17c0, size 0x02000000 -> 0x02020203
compressing address:a5d94000, free space:0x507d15b5, size 0x02000000 -> 0x02020203
compressing address:a7d94000, free space:0x507b13aa, size 0x02000000 -> 0x02020203
compressing address:a9d94000, free space:0x5079119f, size 0x02000000 -> 0x02020203
compressing address:abd94000, free space:0x50770f94, size 0x02000000 -> 0x02020203
compressing address:add94000, free space:0x50750d89, size 0x02000000 -> 0x02020203
compressing address:afd94000, free space:0x50730b7e, size 0x02000000 -> 0x02020203
compressing address:b1d94000, free space:0x50710973, size 0x02000000 -> 0x01f64f3a
compressing address:b3d94000, free space:0x507aba31, size 0x02000000 -> 0x0024119c
compressing address:b5d94000, free space:0x5256a88d, size 0x02000000 -> 0x001ea2b7
compressing address:b7d94000, free space:0x543805ce, size 0x02000000 -> 0x0088cea1
compressing address:b9d94000, free space:0x55af3725, size 0x02000000 -> 0x00c877ca
compressing address:bbd94000, free space:0x56e6bf53, size 0x02000000 -> 0x00e4af35
compressing address:bdd94000, free space:0x58021016, size 0x02000000 -> 0x01996ca2
compressing address:bfd94000, free space:0x5868a36c, size 0x0026c000 -> 0x000e93ce

compress orig:b0000000 to size:577f3078 done!
process seg:01, phy_addr:00000000, wrap_size:00000030
compressing address:00000000, free space:0x5880cf70, size 0x02000000 -> 0x00c5b4eb
compressing address:02000000, free space:0x59bb1a7d, size 0x02000000 -> 0x00566db5
compressing address:04000000, free space:0x5b64acc0, size 0x01000000 -> 0x0052a576

compress orig:05000000 to size:016ec840 done!
process seg:02, phy_addr:05000000
compress orig:00300000 to size:00000010 done!
process seg:03, phy_addr:05300000, wrap_size:00000048
compressing address:05300000, free space:0x5c420720, size 0x02000000 -> 0x01e11c2d
compressing address:07300000, free space:0x5c60eaeb, size 0x02000000 -> 0x010b5839
compressing address:09300000, free space:0x5d5592aa, size 0x02000000 -> 0x0130f81a
compressing address:0b300000, free space:0x5e249a88, size 0x02000000 -> 0x01329f6c
compressing address:0d300000, free space:0x5ef1fb14, size 0x02000000 -> 0x0140dd85
compressing address:0f300000, free space:0x5fb11d87, size 0x00d00000 -> 0x00a08ef3

compress orig:0ad00000 to size:073178a0 done!

MEM DUMP USED Time: 40345003 us

==> RAM COMPRESS OK, BASE ADDR:
10000000, SIZE:601f7190
return to BL2
Load FIP HDR from eMMC, src: 0x00010200, des: 0x01700000, size: 0x00004000, part: 0
Load BL3X from eMMC, src: 0x00078200, des: 0x01768000, size: 0x00138e00, part: 0
0.0;0.0;M3 CHK:0;cm4_sp_mode 0
OPS=0x40
ring efuse init
MVN_1=0x00000000
MVN_2=0x00000000
[Image: g12a_v1.1.3521-22eef4f315-dirty 2022-12-07 15:17:13 mega.wu@droid02-tw]
28 0e 40 00 01 3a 1e 00 00 12 32 31 54 48 32 50 
[41.798403 Inits done]
secure task start!
high task start!
low task start!
boot bl31
NOTICE:  BL31: v1.3(release):e23f9e8d7
NOTICE:  BL31: Built : 17:52:23, Oct  8 2022
NOTICE:  BL31: G12A secure boot!
NOTICE:  BL31: BL33 decompress pass
INFO:    BL3-2: ATOS-V2.4.4-147-g1ba026d4d #1 Tue Oct 18 21:50:58 2022 +0800 arm
INFO:    BL3-2: Chip: G12A Rev: E (28:E - 40:2)
INFO:    BL3-2: crypto engine DMA
INFO:    BL3-2: secure time TEE
INFO:    BL3-2: CONFIG_DEVICE_SECURE 0xb200000e
protect cbus registers


U-Boot 2015.01-g5e10ace9a1 (Sep 12 2023 - 19:02:44)

DRAM:  3 GiB
Relocation Offset is: b6e0f000
mmu cfg end: 0xc0000000
mmu cfg end: 0xc0000000
spi_post_bind(spifc): req_seq = 0
register usb cfg[0][1] = 00000000b7f40c70
NAND:  get_sys_clk_rate_mtd() 280, clock setting 200!
bus cycle0: 6,timing: 7
NAND device id: 0 ff ff ff ff ff 
No NAND device found!!!
nand init failed: -6
get_sys_clk_rate_mtd() 280, clock setting 200!
bus cycle0: 6,timing: 7
NAND device id: 0 ff ff ff ff ff 
No NAND device found!!!
nand init failed: -6
MMC:   aml_priv->desc_buf = 0x00000000b3dffa70
aml_priv->desc_buf = 0x00000000b3e01db0
SDIO Port B: 0, SDIO Port C: 1
co-phase 0x3, tx-dly 0, clock 400000
co-phase 0x3, tx-dly 0, clock 400000
co-phase 0x3, tx-dly 0, clock 400000
emmc/sd response timeout, cmd8, cmd->cmdarg=0x1aa, status=0x1ff2800
emmc/sd response timeout, cmd55, cmd->cmdarg=0x0, status=0x1ff2800
co-phase 0x3, tx-dly 0, clock 400000
co-phase 0x3, tx-dly 0, clock 40000000
[set_emmc_calc_fixed_adj][862]find fixed adj_delay=20
init_part() 297: PART_TYPE_AML
[mmc_init] mmc init success
      Amlogic Multi-DTB tool
      Single DTB detected
start dts,buffer=00000000b3e04620,dt_addr=00000000b3e04620
get_partition_from_dts() 80: ret 0
      Amlogic Multi-DTB tool
      Single DTB detected
parts: 17
00:      logo	0000000000800000 1
01:  recovery	0000000001800000 1
02:      misc	0000000000800000 1
03:      dtbo	0000000000800000 1
04:  cri_data	0000000000800000 2
05:     param	0000000001000000 2
06:      boot	0000000001000000 1
set has_boot_slot = 0
07:       rsv	0000000001000000 1
08:  metadata	0000000001000000 1
09:    vbmeta	0000000000200000 1
10:       tee	0000000002000000 1
11:   factory	0000000000800000 11
12:     super	0000000065200000 1
enable dynamic_partition
13:     cache	0000000043800000 2
14:factory_setting	0000000001000000 1
15:  btv_home	0000000006400000 1
16:  userdata	ffffffffffffffff 4
init_part() 297: PART_TYPE_AML
eMMC/TSD partition table have been checked OK!
crc32_s:0x1577dad == storage crc_pattern:0x1577dad!!!
crc32_s:0xee152b83 == storage crc_pattern:0xee152b83!!!
crc32_s:0x79f50f07 == storage crc_pattern:0x79f50f07!!!
mmc env offset: 0x4ac00000 
In:    serial
Out:   serial
Err:   serial
reboot_mode=watchdog_reboot
Start read misc partition datas!
active slot = 0
[store]To run cmd[emmc dtb_read 0x1000000 0x40000]
_verify_dtb_checksum()-3354: calc 55f9a768, store 55f9a768
_verify_dtb_checksum()-3354: calc 55f9a768, store 55f9a768
dtb_read()-3569: total valid 2
update_old_dtb()-3550: do nothing
      Amlogic Multi-DTB tool
      Single DTB detected
amlkey_init() enter!
calc 5ec02e057a0, store 5ec02e057a0
calc 5ec02e057a0, store 5ec02e057a0
do nothing
[EFUSE_MSG]keynum is 4
vpu: driver version: v20190313
vpu: detect chip type: 8
vpu: clk_level default: 7(666667000Hz), max: 7(666667000Hz)
vpu: clk_level in dts: 7
vpu: vpu_power_on
vpu: set_vpu_clk
vpu: set clk: 666667000Hz, readback: 666666667Hz(0x100)
vpu: set_vpu_clk finish
vpu: vpu_module_init_config
vpp: vpp_init
vpp: vpp osd2 matrix rgb2yuv..............
hdr_func 4, hdr_process_select 0x1
hdr_func 1, hdr_process_select 0x1
hdr_func 2, hdr_process_select 0x1
cvbs: cpuid:0x28
cvbs: find clk_path: 0x0
cvbs: find performance_pal config
cvbs: find performance_ntsc config
aml_config_dtb 623
aml_config_dtb 653
libfdt fdt_path_offset() returned FDT_ERR_NOTFOUND
co_phase = <0x00000003>
caps2 = "MMC_CAP2_HS200"
f_max = "
"
status = "disabled"
libfdt fdt_path_offset() returned FDT_ERR_NOTFOUND
Net:   dwmac.ff3f0000amlkey_init() enter!
amlkey_init() 59: already init!
[EFUSE_MSG]keynum is 4

ramdump_init, add:10000000, size:601f7190
Start read misc partition datas!
active slot = 0
wipe_data=successful
wipe_cache=successful
upgrade_step=2
gpio: pin GPIOX_7 (gpio 87) value is 1
gpio: pin GPIOAO_10 (gpio 10) value is 1
gpio: pin GPIOX_5 (gpio 85) value is 1
reboot_mode:::: watchdog_reboot
s_version: U-Boot 2015.01-g5e10ace9a1
amlkey_init() enter!
amlkey_init() 59: already init!
[EFUSE_MSG]keynum is 4
[KM]Error:f[key_manage_query_size]L503:key[oemkey] not programed yet
Interface:  MMC
  Device 1: Vendor: Man 000015 Snr ed8853fd Rev: 0.6 Prod: 8GTF4R
            Type: Removable Hard Disk
            Capacity: 7456.0 MB = 7.2 GB (15269888 x 512)
Filesystem: FAT12 "KEYBOX PART"
hpd_state=1
do_hpd_detect: hdmimode=1080p60hz
do_hpd_detect: colorattribute=444,8bit
HDMI_EDID_BLOCK_TYPE_VENDER: pRXCap->ColorDeepSupport=0x0
dump_dtd_info[356]
pixel_clock 17450
h_active 1920
h_blank 160
v_active 1080
v_blank 39
h_sync_offset 48
h_sync 32
v_sync_offset 3
v_sync 5
find IEEEOUT
check sum valid
check sum valid
check sum invalid
sink preferred_mode is 1080p60hz[16]
hdr mode is 0
dv  mode is ver:0  len: 0
hdr10+ mode is 0
HDMI_EDID_BLOCK_TYPE_VENDER: pRXCap->ColorDeepSupport=0x0
dump_dtd_info[356]
pixel_clock 17450
h_active 1920
h_blank 160
v_active 1080
v_blank 39
h_sync_offset 48
h_sync 32
v_sync_offset 3
v_sync 5
find IEEEOUT
check sum valid
check sum valid
check sum invalid
read hdmichecksum: 0x613b0000, hdmimode: 1080p60hz, colorattribute: 444,8bit
TV is the same, checksum: 0x613b0000
hdmitx_mask_rx_info hdr_info = 0
dolby_status 0 1
dolby_vision_process: hpd: dv disabled
Saving Environment to aml-storage...
mmc env offset: 0x4ac00000 
Writing to MMC(1)... done
[OSD]load fb addr from dts:/meson-fb
[OSD]set initrd_high: 0xbf800000
[OSD]fb_addr for logo: 0xbf800000
[OSD]load fb addr from dts:/meson-fb
[OSD]fb_addr for logo: 0xbf800000
[OSD]VPP_OFIFO_SIZE:0xfff01fff
[CANVAS]canvas init
[CANVAS]addr=0xbf800000 width=3840, height=2160
[OSD]osd_hw.free_dst_data: 0,1919,0,1079
[OSD]osd1_update_disp_freescale_enable
cvbs: outputmode[1080p60hz] is invalid
vpp: vpp_matrix_update: 2
set hdmitx VIC = 16
aml_audio_init
config HPLL = 5940000 frac_rate = 1
HPLL: 0x3b3a04f7
HPLL: 0x1b3a04f7
HPLLv1: 0xdb3a04f7
config HPLL done
j = 6  vid_clk_div = 1
hdmitx: set enc for VIC: 16
HDMITX-DWC addr=0x10004006 rd_data=0x44
Error: HDMITX-DWC exp_data=0xff mask=0x9f
rx version is 2.0  div=10
hdmitx phy setting done
hdmtix: set audio
hdmi_tx_set: save mode: 1080p60hz, attr: 444,8bit, hdmichecksum: 0x613b0000
dolby_status 0 1
dolby_status 0 1
hdr_packet
vpp: hdr_policy = 0
vpp: Rx hdr_info.hdr_sup_eotf_smpte_st_2084 = 0
s_version: U-Boot 2015.01-g5e10ace9a1
amlkey_init() enter!
amlkey_init() 59: already init!
[EFUSE_MSG]keynum is 4
[KM]Error:f[key_manage_query_size]L503:key[oemkey] not programed yet
Interface:  MMC
  Device 1: Vendor: Man 000015 Snr ed8853fd Rev: 0.6 Prod: 8GTF4R
            Type: Removable Hard Disk
            Capacity: 7456.0 MB = 7.2 GB (15269888 x 512)
Filesystem: FAT12 "KEYBOX PART"
gpio: pin GPIOAO_3 (gpio 3) value is 1
Command: bcb uboot-command 
Start read misc partition datas!
BCB hasn't any datas,exit!
gpio: pin GPIOX_7 (gpio 87) value is 1
gpio: pin GPIOAO_10 (gpio 10) value is 1
gpio: pin GPIOX_5 (gpio 85) value is 1
Hit Enter or space or Ctrl+C key to stop autoboot -- :  1  0 
rxon
do_sys_rec_key ret 1

soc_family_id==0x00000028
table_max=0000000c,p_ddr_base_add=b7f439f8,chip_id=00000028
table_index=00000000,p_ddr_base_add=b7f439f8,(p_ddr_base->chip_id==00000028
find match chip id=0x00000028 ,G12A
uboot  auto fast boot check flash data is ok return 
pll tsensor avg: 0x2024, u_efuse: 0x802a
temp1: 39
ddr tsensor avg: 0x201b, u_efuse: 0x8014
temp2: 39
device cool done
system_mode: 0
Start read misc partition datas!
active slot = 0
active_slot: normal
avb2: 1
Start read misc partition datas!
active slot = 0
active_slot is normal
ab_suffix is 
avb_slot_verify.c:682: DEBUG: Loading vbmeta struct from partition 'vbmeta'.
AVB2 verify with vendor kpub
AVB2 re-verify with default kpub
[store]To run cmd[emmc dtb_read 0x00000000b490e0f0 0x40000]
dtb_read_shortcut()-3412: short cut in...
Start read misc partition datas!
active slot = 0
active_slot is normal
avb verification: locked = 1, result = 0
ee_gate_off ...
avb2: 1
## Booting Android Image at 0x03080000 ...
Kernel command line: androidboot.dynamic_partitions=true androidboot.dtbo_idx=0 androidboot.boot_devices=ffe07000.emmc otg_device=1 buildvariant=userdebug
[store]Is good fdt check header, no need decrypt!
active_slot is normal
load dtb from 0x1000000 ......
      Amlogic Multi-DTB tool
      Single DTB detected
find 1 dtbos
dtbos to be applied: 0
Apply dtbo 0
   Uncompressing Kernel Image ... OK
   kernel loaded at 0x01080000, end = 0x028cc008
libfdt fdt_getprop(): FDT_ERR_NOTFOUND
   Loading Ramdisk to b3cc2000, end b3dfcd24 ... OK
   Loading Device Tree to 000000001ffe8000, end 000000001ffff556 ... OK
fdt_fixup_memory_banks, reg:0000000000000000

Starting kernel ...

uboot time: 44982787 us
console:/ $ 
 start reset energy-saver timeout 

same , ignore set energy-saver timeout

