SM1:BL:511f6b:81ca2f;FEAT:A0F83180:20282000;POC:F;RCY:0;EMMC:0;READ:0;0.0;CHK:0; bl2_stage_init 0x01 bl2_stage_init 0x81 hw id: 0x0000 - pwm id 0x01 bl2_stage_init 0xc1 bl2_stage_init 0x02 L0:00000000 L1:00000703 L2:00008067 L3:15000020 S1:00000000 B2:20282000 B1:a0f83180 TE: 300612 BL2 Built : 15:21:48, Aug 28 2019. g12a g1bf2b53 - luan.yuan@droid15-sz Board ID = 1 Set cpu clk to 24M Set clk81 to 24M Use GP1_pll as DSU clk. DSU clk: 1200 Mhz CPU clk: 1200 MHz Set clk81 to 166.6M eMMC boot @ 0 sw8 s DDR driver_vesion: LPDDR4_PHY_V_0_1_18 build time: Aug 28 2019 15:21:45 board id: 1 Load FIP HDR from eMMC, src: 0x00010200, des: 0xfffd0000, size: 0x00004000, part: 0 fw parse done Load ddrfw from eMMC, src: 0x00060200, des: 0xfffd0000, size: 0x0000c000, part: 0 Load ddrfw from eMMC, src: 0x00038200, des: 0xfffd0000, size: 0x00004000, part: 0 PIEI prepare done fastboot data load 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 verify result: 265 Cfg max: 5, cur: 1. Board id: 255. Force loop cfg DDR4 probe ddr clk to 912MHz Load ddrfw from eMMC, src: 0x00014200, des: 0xfffd0000, size: 0x0000c000, part: 0 dmc_version 0001 Check phy result INFO : End of initialization INFO : End of read enable training INFO : End of fine write leveling INFO : ERROR : Training has failed! 1D training failed Cfg max: 5, cur: 2. Board id: 255. Force loop cfg DDR3 probe ddr clk to 792MHz Load ddrfw from eMMC, src: 0x0002c200, des: 0xfffd0000, size: 0x0000c000, part: 0 dmc_version 0001 Check phy result INFO : End of initialization INFO : End of read enable training INFO : End of fine write leveling INFO : End of read dq deskew training INFO : End of MPR read delay center optimization INFO : End of Write leveling coarse delay INFO : End of write delay center optimization INFO : End of read delay center optimization INFO : End of max read latency training INFO : Training has run successfully! 1D training succeed aml_ddr_fw_vesion: LPDDR4_PHY_V_0_1_18 build time: Aug 28 2019 13:53:31 auto size-- 65535DDR cs0 size: 4096MB DDR cs1 size: 0MB DMC_DDR_CTRL: 0000002dDDR size: 3928MB cs0 DataBus test pass cs0 AddrBus test pass 100bdlr_step_size ps== 415 result report boot times 0Enable ddr reg access 00000000 emmc switch 3 ok Authentication key not yet programmed get rpmb counter error 0x00000007 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: 0x000c8000, part: 0 bl2z: ptr: 05129330, size: 00001e40 0.0;M3 CHK:0;cm4_sp_mode 0 MVN_1=0x00000000 MVN_2=0x00000000 [Image: g12a_v1.1.3390-6ac5299 2019-09-26 14:09:46 luan.yuan@droid15-sz] OPS=0x10 ring efuse init 2b 0c 10 00 01 25 24 00 00 13 37 30 48 53 52 50 [0.017354 Inits done] secure task start! high task start! low task start! run into bl31 NOTICE: BL31: v1.3(release):4fc40b1 NOTICE: BL31: Built : 15:57:33, May 22 2019 NOTICE: BL31: G12A normal boot! NOTICE: BL31: BL33 decompress pass ERROR: Error initializing runtime service opteed_fast U-Boot 2015.01 (Nov 25 2020 - 17:22:26) DRAM: 3.8 GiB Relocation Offset is: d6e5f000 spi_post_bind(spifc): req_seq = 0 register usb cfg[0][1] = 00000000d7f3f138 NAND: get_sys_clk_rate_mtd() 290, clock setting 200! NAND device id: 0 ff ff ff ff ff No NAND device found!!! nand init failed: -6 get_sys_clk_rate_mtd() 290, clock setting 200! NAND device id: 0 ff ff ff ff ff No NAND device found!!! nand init failed: -6 MMC: aml_priv->desc_buf = 0x00000000d3e4fa70 aml_priv->desc_buf = 0x00000000d3e51db0 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, status=0x1ff2800 emmc/sd response timeout, cmd55, status=0x1ff2800 co-phase 0x3, tx-dly 0, clock 400000 co-phase 0x3, tx-dly 0, clock 40000000 aml_sd_retry_refix[983]:delay = 0x0,gadjust =0x132000 [mmc_startup] mmc refix success init_part() 297: PART_TYPE_AML [mmc_init] mmc init success Amlogic multi-dtb tool GZIP format, decompress... Multi dtb detected Multi dtb tool version: v2 . Support 4 dtbs. aml_dt soc: sm1 platform: ac213 variant: 4g dtb 0 soc: g12a plat: u212 vari: 2g dtb 1 soc: g12a plat: u212 vari: 4g dtb 2 soc: sm1 plat: ac213 vari: 2g dtb 3 soc: sm1 plat: ac213 vari: 4g Find match dtb: 3 start dts,buffer=00000000d3e54620,dt_addr=00000000d3e54620 get_partition_from_dts() 91: 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: vendor 0000000046000000 1 12: odm 0000000008000000 1 13: system 0000000050000000 1 14: product 0000000008000000 1 15: cache 0000000046000000 2 16: data 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: 0x4d400000 In: serial Out: serial Err: serial reboot_mode=cold_boot [store]To run cmd[emmc dtb_read 0x1000000 0x40000] _verify_dtb_checksum()-3477: calc fbd166be, store fbd166be _verify_dtb_checksum()-3477: calc fbd166be, store fbd166be dtb_read()-3694: total valid 2 update_old_dtb()-3675: do nothing Amlogic multi-dtb tool GZIP format, decompress... Multi dtb detected Multi dtb tool version: v2 . Support 4 dtbs. aml_dt soc: sm1 platform: ac213 variant: 4g dtb 0 soc: g12a plat: u212 vari: 2g dtb 1 soc: g12a plat: u212 vari: 4g dtb 2 soc: sm1 plat: ac213 vari: 2g dtb 3 soc: sm1 plat: ac213 vari: 4g Find match dtb: 3 amlkey_init() enter! [EFUSE_MSG]keynum is 4 vpu: clk_level in dts: 7 vpu: vpu_power_on vpu: set clk: 666667000Hz, readback: 666666667Hz(0x100) vpu: vpu_module_init_config vpp: vpp_init vpp: vpp osd2 matrix rgb2yuv.............. cvbs: cpuid:0x2b Net: dwmac.ff3f0000amlkey_init() enter! amlkey_init() 71: already init! [EFUSE_MSG]keynum is 4 CONFIG_AVB2: null Start read misc partition datas! info->magic = info->version_major = 1 info->version_minor = 0 info->slots[0].priority = 15 info->slots[0].tries_remaining = 7 info->slots[0].successful_boot = 0 info->slots[1].priority = 14 info->slots[1].tries_remaining = 7 info->slots[1].successful_boot = 0 info->crc32 = -1075449479 active slot = 0 wipe_data=successful wipe_cache=successful upgrade_step=2 reboot_mode:::: cold_boot amlkey_init() enter! amlkey_init() 71: already init! [EFUSE_MSG]keynum is 4 [KM]Error:f[key_manage_query_size]L515:key[usid] not programed yet [KM]Error:f[key_manage_query_size]L515:key[deviceid] not programed yet hpd_state=1 edid preferred_mode is 1080p60hz[16] hdr mode is 0 dv mode is ver:0 len: 0 hdr10+ mode is 0 [OSD]load fb addr from dts:/meson-fb [OSD]load fb addr from dts:/fb [OSD]set initrd_high: 0xdf800000 [OSD]fb_addr for logo: 0xdf800000 [OSD]load fb addr from dts:/meson-fb [OSD]load fb addr from dts:/fb [OSD]fb_addr for logo: 0xdf800000 [OSD]VPP_OFIFO_SIZE:0xfff01fff [CANVAS]canvas init [CANVAS]addr=0xdf800000 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 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 phy setting done enc_vpu_bridge_reset[1245] rx version is 1.4 or below div=10 vpp: Rx hdr_info.hdr_sup_eotf_smpte_st_2084 = 0 amlkey_init() enter! amlkey_init() 71: already init! [EFUSE_MSG]keynum is 4 [KM]Error:f[key_manage_query_size]L515:key[usid] not programed yet [KM]Error:f[key_manage_query_size]L515:key[deviceid] not programed yet gpio: pin GPIOAO_3 (gpio 3) value is 1 channel error SARADC channel(2) is 0x1. update by key... InUsbBurn noSof sof timeout, reset usb phy tuning card in co-phase 0x2, tx-dly 0, clock 400000 co-phase 0x2, tx-dly 0, clock 400000 co-phase 0x2, tx-dly 0, clock 400000 co-phase 0x2, tx-dly 0, clock 400000 co-phase 0x2, tx-dly 0, clock 40000000 aml_sd_retry_refix[983]:delay = 0x0,gadjust =0x12000 [mmc_startup] mmc refix success init_part() 282: PART_TYPE_DOS [mmc_init] mmc init success Device: SDIO Port B Manufacturer ID: 12 OEM: 3456 Name: SDU1 Tran Speed: 50000000 Rd Block Len: 512 SD version 3.0 High Capacity: Yes Capacity: 14.6 GiB mmc clock: 40000000 Bus Width: 4-bit Device: SDIO Port B Manufacturer ID: 12 OEM: 3456 Name: SDU1 Tran Speed: 50000000 Rd Block Len: 512 SD version 3.0 High Capacity: Yes Capacity: 14.6 GiB mmc clock: 40000000 Bus Width: 4-bit reading aml_autoscript 1466 bytes read in 3 ms (476.6 KiB/s) ## Executing script at 01080000 ## defenv_reserve Saving Environment to aml-storage... mmc env offset: 0x4d400000 Writing to MMC(1)... done amlkey_init() enter! amlkey_init() 71: already init! [EFUSE_MSG]keynum is 4 [KM]Error:f[key_manage_query_size]L515:key[usid] not programed yet [KM]Error:f[key_manage_query_size]L515:key[deviceid] not programed yet Device: SDIO Port B Manufacturer ID: 12 OEM: 3456 Name: SDU1 Tran Speed: 50000000 Rd Block Len: 512 SD version 3.0 High Capacity: Yes Capacity: 14.6 GiB mmc clock: 40000000 Bus Width: 4-bit reading cfgload 1940 bytes read in 3 ms (630.9 KiB/s) ## Executing script at 01080000 Using device mmc, number 0, partition 1, CoreELEC on eMMC: no reading dtb.img 70878 bytes read in 7 ms (9.7 MiB/s) reading resolution.ini ** Unable to read file resolution.ini ** reading config.ini 7014 bytes read in 3 ms (2.2 MiB/s) reading kernel.img 16627712 bytes read in 882 ms (18 MiB/s) CONFIG_AVB2: null avb2: 0 ## Booting Android Image at 0x01080000 ... reloc_addr =d43d4690 copy done No androidboot.dtbo_idx configuredStart read misc partition datas! info->magic = info->version_major = 1 info->version_minor = 0 info->slots[0].priority = 15 info->slots[0].tries_remaining = 7 info->slots[0].successful_boot = 0 info->slots[1].priority = 14 info->slots[1].tries_remaining = 7 info->slots[1].successful_boot = 0 info->crc32 = -1075449479 active slot = 0 active_slot is normal load dtb from 0x1000000 ...... Amlogic multi-dtb tool Single dtb detected find 1 dtbos No androidboot.dtbo_idx configured And no dtbos will be applied Uncompressing Kernel Image ... OK kernel loaded at 0x01080000, end = 0x02c6d808 Loading Ramdisk to d396c000, end d3e4b000 ... OK Loading Device Tree to 000000001ffeb000, end 000000001ffff593 ... OK Starting kernel ... uboot time: 5840125 us [ 0.000000@0] 07400000 - 07500000, 1024 KB, ramoops@0x07400000 [ 0.000000@0] 05000000 - 05400000, 4096 KB, linux,secmon [ 0.000000@0] 77800000 - 78000000, 8192 KB, linux,meson-fb [ 0.000000@0] ed800000 - f5800000, 131072 KB, linux,ion-dev [ 0.000000@0] eb000000 - ed800000, 40960 KB, linux,di_cma [ 0.000000@0] eb000000 - eb000000, 0 KB, linux,ppmgr [ 0.000000@0] d7c00000 - eb000000, 315392 KB, linux,codec_mm_cma [ 0.000000@0] d7c00000 - d7c00000, 0 KB, linux,codec_mm_reserved [ 0.000000@0] d5c00000 - d7c00000, 32768 KB, linux,vm0_cma [ 0.000000@0] sm1 clk probe ok [ 0.281253@0] codec_mm_module_init [ 0.302428@0] cvbs_out: chrdev devno 264241152 for disp [ 0.770228@3] mtdoops: mtd device (mtddev=name/number) must be supplied [ 0.835763@2] meson_cpufreq_init:don't find the node [ 0.840551@2] ff803000.serial: clock gate not found [ 0.939166@2] amvideocap_probe,amvideocap [ 0.939225@2] use cma buf. [ 0.949694@3] di_get_vpu_clkb: get clk vpu error. [ 0.954246@2] Reserved memory: failed to init DMA memory pool at 0x00000000eb000000, size 0 MiB [ 0.963649@3] meson-mmc: >>>>>>>>hostbase ffffff800853b000, dmode