cec R: 01 RX_OK cec R: 01 RX_OK cec R: 0f 80 00 00 10 00 RX_OK , phy_addr_ab:0x11, phy_addr_cd:0x00, msg[4]:0x10, msg[5]:0x00 cec R: 5f 81 11 00 RX_OK cec R: 0f 86 10 00 RX_OK cec R: 01 RX_OK cec R: 01 RX_OK cec R: 0f 82 00 00 RX_OK exit_reason:0x08 Enter ddr resume ddr resume time: 121us store restore gp0 pll store restore gp1 pll cfg15 3b01000 cfg15 83b01000 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: 117397 BL2 Built : 20:29:41, Jun 18 2019. g12a ga659aac - 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_15 build time: Jun 18 2019 20:29:37 board id: 1 Load FIP HDR from eMMC, src: 0x00010200, des: 0xfffd0000, size: 0x00004000, part : 0 fw parse done Load ddrfw from eMMC, src: 0x00030200, des: 0xfffd0000, size: 0x0000c000, part: 0 Load ddrfw from eMMC, src: 0x0002c200, des: 0xfffd0000, size: 0x00004000, part: 0 PIEI prepare done fastboot data load 00000000 emmc switch 1 ok 00000000 emmc switch 2 ok fastboot data verify verify result: 255 Cfg max: 2, cur: 1. Board id: 255. Force loop cfg DDR4 probe ddr clk to 1320MHz Load ddrfw from eMMC, src: 0x00014200, des: 0xfffd0000, size: 0x0000c000, part: 0 00000000 emmc switch 0 ok 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 Load ddrfw from eMMC, src: 0x00020200, des: 0xfffd0000, size: 0x0000c000, part: 0 Check phy result INFO : End of initialization INFO : End of 2D read delay Voltage center optimization INFO : End of 2D write delay Voltage center optimization INFO : Training has run successfully! R0_RxClkDly_Margin==106 ps 9 R0_TxDqDly_Margi==106 ps 9 R1_RxClkDly_Margin==0 ps 0 R1_TxDqDly_Margi==0 ps 0 dwc_ddrphy_apb_wr((0<<20)|(2<<16)|(0<<12)|(0xb0):0001 soc_vref_reg_value 0x 00000050 0000004e 0000004f 0000004f 0000004f 0000004f 0000 004f 0000004d 0000004d 0000004e 0000004e 0000004d 0000004f 0000004f 0000004e 000 0004f 0000004f 0000004f 0000004f 00000050 00000050 0000004d 0000004f 0000004f 00 000050 0000004f 00000051 0000004e 00000051 0000004e 00000050 00000050 dram_vref_ reg_value 0x 00000021 2D training succeed aml_ddr_fw_vesion: LPDDR4_PHY_V_0_1_15 build time: Jun 18 2019 20:29:43 auto size-- 65535DDR cs0 size: 2048MB DDR cs1 size: 2048MB DMC_DDR_CTRL: 00700024DDR size: 3928MB 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== 445 result report boot times 5Enable 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: 0x0003c200, des: 0x0172c000, size: 0x00098000, 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.3386-3b31431 2019-05-21 10:41:54 luan.yuan@droid15-sz] OPS=0x10 ring efuse init 2b 0c 10 00 01 12 2a 00 00 11 36 30 43 57 50 50 [0.956638 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 (Apr 12 2020 - 14:33:51) DRAM: 3.5 GiB Relocation Offset is: d6ef5000 spi_post_bind(spifc): req_seq = 0 register usb cfg[0][1] = 00000000d7f84830 MMC: aml_priv->desc_buf = 0x00000000d3ee57c0 aml_priv->desc_buf = 0x00000000d3ee7b00 SDIO Port B: 0, SDIO Port C: 1 Using default environment In: serial Out: serial Err: serial vpu: error: vpu: check dts: FDT_ERR_BADMAGIC, load default parameters vpu: driver version: v20190313 vpu: detect chip type: 12 vpu: clk_level default: 7(666667000Hz), max: 7(666667000Hz) vpu: clk_level = 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: g12a/b osd1 matrix rgb2yuv .............. vpp: g12a/b osd2 matrix rgb2yuv.............. vpp: g12a/b osd3 matrix rgb2yuv.............. cvbs: cpuid:0x2b cvbs_config_hdmipll_g12a cvbs_set_vid2_clk co-phase 0x2, tx-dly 0, clock 400000 co-phase 0x2, tx-dly 0, clock 400000 co-phase 0x2, tx-dly 0, clock 400000 emmc/sd response timeout, cmd8, status=0x1ff2800 emmc/sd response timeout, cmd55, status=0x1ff2800 co-phase 0x2, tx-dly 0, clock 400000 co-phase 0x2, tx-dly 0, clock 40000000 aml_sd_retry_refix[983]:delay = 0x0,gadjust =0x172000 [mmc_startup] mmc refix success [mmc_init] mmc init success reading boot-logo-1080.bmp.gz 27036 bytes read in 4 ms (6.4 MiB/s) [OSD]check dts: FDT_ERR_BADMAGIC, load default fb_addr parameters [OSD]set initrd_high: 0x3d800000 [OSD]fb_addr for logo: 0x3d800000 [OSD]check dts: FDT_ERR_BADMAGIC, load default fb_addr parameters [OSD]fb_addr for logo: 0x3d800000 [OSD]VPP_OFIFO_SIZE:0xfff01fff [CANVAS]canvas init [CANVAS]addr=0x3d800000 width=5760, height=2160 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 phy setting done hdmitx: set enc for VIC: 16 enc_vpu_bridge_reset[1319] rx version is 2.0 div=10 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 phy setting done hdmitx: set enc for VIC: 16 enc_vpu_bridge_reset[1319] rx version is 2.0 div=10 [OSD]osd_hw.free_dst_data: 0,1919,0,1079 USB3.0 XHCI init start Net: dwmac.ff3f0000 Hit Enter or space or Ctrl+C key to stop autoboot -- : 0 card out ** Bad device mmc 0 ** reading boot.ini 2068 bytes read in 2 ms (1009.8 KiB/s) ## Executing script at 01080000 reading config.ini 5786 bytes read in 3 ms (1.8 MiB/s) reading kernel.img 15435776 bytes read in 427 ms (34.5 MiB/s) reading dtb.img 66501 bytes read in 4 ms (15.9 MiB/s) Bad Linux ARM64 Image magic! ee_gate_off ... ## Booting Android Image at 0x01080000 ... reloc_addr =d3f00370 copy done No androidboot.dtbo_idx configuredactive_slot is Unknown command 'store' - try 'help' No dtbo patitions found load dtb from 0x1000000 ...... No valid dtbo image found Uncompressing Kernel Image ... OK kernel loaded at 0x01080000, end = 0x029ad808 reserving fdt memory region: addr=1000000 size=11000 Loading Ramdisk to 3d318000, end 3d7ff400 ... OK Loading Device Tree to 00000000d3ecf000, end 00000000d3ee23c4 ... OK Starting kernel ... uboot time: 4298408 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] e5800000 - ed800000, 131072 KB, linux,ion-dev [ 0.000000@0] e3000000 - e5800000, 40960 KB, linux,di_cma [ 0.000000@0] e3000000 - e3000000, 0 KB, linux,ppmgr [ 0.000000@0] c0800000 - d3c00000, 315392 KB, linux,codec_mm_cma [ 0.000000@0] e3000000 - e3000000, 0 KB, linux,codec_mm_reserve d [ 0.000000@0] e1000000 - e3000000, 32768 KB, linux,vm0_cma [ 0.000000@0] sm1 clk probe ok [ 0.244188@2] codec_mm_module_init [ 0.262829@2] cvbs_out: error: failed to get vdac_config [ 0.262985@2] cvbs_out: chrdev devno 264241152 for disp [ 0.556328@3] mtdoops: mtd device (mtddev=name/number) must be supplied [ 0.570276@1] meson_cpufreq_init:don't find the node [ 0.573463@1] ff803000.serial: clock gate not found [ 0.676182@3] amvideocap_probe,amvideocap [ 0.676234@3] use cma buf. [ 0.729352@1] di_get_vpu_clkb: get clk vpu error. [ 0.732326@0] Reserved memory: failed to init DMA memory pool at 0x00000000e3 000000, size 0 MiB [ 0.741459@3] meson-mmc: >>>>>>>>hostbase ffffff80084e6000, dmode [ 0.791584@1] meson-mmc: >>>>>>>>hostbase ffffff80084ef000, dmode [ 0.835039@0] cectx ff80023c.aocec: cec driver date:2019/12/09:sm1 bus check reg define err [ 0.835039@0] [ 0.839838@3] cectx ff80023c.aocec: compatible:amlogic, aocec-sm1 [ 0.845665@3] cectx ff80023c.aocec: cecb_ver:0x2 [ 0.850177@3] cectx ff80023c.aocec: line_reg:0x1 [ 0.854722@3] cectx ff80023c.aocec: line_bit:0x3 [ 0.859285@3] cectx ff80023c.aocec: ee_to_ao:0x1 [ 0.864312@1] cectx ff80023c.aocec: not find 'port_num' [ 0.869161@1] cectx ff80023c.aocec: using cec:0 [ 0.873644@1] cectx ff80023c.aocec: no hdmirx regs [ 0.878369@1] cectx ff80023c.aocec: no hhi regs [ 0.886451@0] cectx ff80023c.aocec: wakeup_reason:0x8 [ 0.888021@0] cectx ff80023c.aocec: cev val1: 0x0;val2: 0x0 [ 0.893535@0] cectx ff80023c.aocec: aml_cec_probe success end [ 0.905447@0] defendkey ff630218.defendkey: Reserved memory is not enough! pwr_key=23dc4db2 usr_ir_proto = 00000000 pwr_key_mask = ffffffff system power = 00000000 [ 0.926072@0] Error: Driver 'spdif-dit' is already registered, aborting... [ 1.147833@2] asoc-aml-card auge_sound: control 2:0:0:I2SIn CLK:0 is already present [ 1.149948@2] snd_tdm ff660000.audiobus:i2s2hdmi: ASoC: Failed to add I2SIn C LK: -16 [ 1.157670@2] aml_dai_tdm_probe, failed add snd tdm controls [ 1.298471@2] pm-meson aml_pm: Can't get switch_clk81 CoreELEC:~ # wake-on-lan = 00000000 [ 57.653908@2] systemd-shutdown[1]: Failed to parse (null): No such file or di rectory [ 57.656137@2] systemd-shutdown[1]: Failed to deactivate swaps: No such file o r directory [ 57.689006@3] [4245]: Failed to unmount /flash: Device or resource busy [ 58.231634@0] reboot: Restarting system bl31 reboot reason: 0xd bl31 reboot reason: 0x1 system cmd 1. 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: 88004 BL2 Built : 20:29:41, Jun 18 2019. g12a ga659aac - 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_15 build time: Jun 18 2019 20:29:37 board id: 1 Load FIP HDR from eMMC, src: 0x00010200, des: 0xfffd0000, size: 0x00004000, part : 0 fw parse done Load ddrfw from eMMC, src: 0x00030200, des: 0xfffd0000, size: 0x0000c000, part: 0 Load ddrfw from eMMC, src: 0x0002c200, des: 0xfffd0000, size: 0x00004000, part: 0 PIEI prepare done fastboot data load 00000000 emmc switch 1 ok 00000000 emmc switch 2 ok fastboot data verify verify result: 255 Cfg max: 2, cur: 1. Board id: 255. Force loop cfg DDR4 probe ddr clk to 1320MHz Load ddrfw from eMMC, src: 0x00014200, des: 0xfffd0000, size: 0x0000c000, part: 0 00000000 emmc switch 0 ok 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 Load ddrfw from eMMC, src: 0x00020200, des: 0xfffd0000, size: 0x0000c000, part: 0 Check phy result INFO : End of initialization INFO : End of 2D read delay Voltage center optimization INFO : End of 2D write delay Voltage center optimization INFO : Training has run successfully! R0_RxClkDly_Margin==94 ps 8 R0_TxDqDly_Margi==106 ps 9 R1_RxClkDly_Margin==0 ps 0 R1_TxDqDly_Margi==0 ps 0 dwc_ddrphy_apb_wr((0<<20)|(2<<16)|(0<<12)|(0xb0):0001 soc_vref_reg_value 0x 00000050 0000004d 0000004e 0000004f 0000004e 0000004e 0000 004f 0000004c 0000004d 0000004e 0000004e 0000004e 0000004f 0000004f 0000004e 000 0004e 0000004e 0000004e 0000004f 00000050 00000050 0000004d 0000004e 0000004e 00 00004f 0000004e 00000051 0000004e 00000050 0000004e 00000050 0000004f dram_vref_ reg_value 0x 00000020 2D training succeed aml_ddr_fw_vesion: LPDDR4_PHY_V_0_1_15 build time: Jun 18 2019 20:29:43 auto size-- 65535DDR cs0 size: 2048MB DDR cs1 size: 2048MB DMC_DDR_CTRL: 00700024DDR size: 3928MB 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== 445 result report boot times 6Enable 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: 0x0003c200, des: 0x0172c000, size: 0x00098000, 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.3386-3b31431 2019-05-21 10:41:54 luan.yuan@droid15-sz] OPS=0x10 ring efuse init 2b 0c 10 00 01 12 2a 00 00 11 36 30 43 57 50 50 [0.927184 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 (Apr 12 2020 - 14:33:51) DRAM: 3.5 GiB Relocation Offset is: d6ef5000 spi_post_bind(spifc): req_seq = 0 register usb cfg[0][1] = 00000000d7f84830 MMC: aml_priv->desc_buf = 0x00000000d3ee57c0 aml_priv->desc_buf = 0x00000000d3ee7b00 SDIO Port B: 0, SDIO Port C: 1 Using default environment In: serial Out: serial Err: serial vpu: error: vpu: check dts: FDT_ERR_BADMAGIC, load default parameters vpu: driver version: v20190313 vpu: detect chip type: 12 vpu: clk_level default: 7(666667000Hz), max: 7(666667000Hz) vpu: clk_level = 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: g12a/b osd1 matrix rgb2yuv .............. vpp: g12a/b osd2 matrix rgb2yuv.............. vpp: g12a/b osd3 matrix rgb2yuv.............. cvbs: cpuid:0x2b cvbs_config_hdmipll_g12a cvbs_set_vid2_clk co-phase 0x2, tx-dly 0, clock 400000 co-phase 0x2, tx-dly 0, clock 400000 co-phase 0x2, tx-dly 0, clock 400000 emmc/sd response timeout, cmd8, status=0x1ff2800 emmc/sd response timeout, cmd55, status=0x1ff2800 co-phase 0x2, tx-dly 0, clock 400000 co-phase 0x2, tx-dly 0, clock 40000000 aml_sd_retry_refix[983]:delay = 0x0,gadjust =0x172000 [mmc_startup] mmc refix success [mmc_init] mmc init success reading boot-logo-1080.bmp.gz 27036 bytes read in 4 ms (6.4 MiB/s) [OSD]check dts: FDT_ERR_BADMAGIC, load default fb_addr parameters [OSD]set initrd_high: 0x3d800000 [OSD]fb_addr for logo: 0x3d800000 [OSD]check dts: FDT_ERR_BADMAGIC, load default fb_addr parameters [OSD]fb_addr for logo: 0x3d800000 [OSD]VPP_OFIFO_SIZE:0xfff01fff [CANVAS]canvas init [CANVAS]addr=0x3d800000 width=5760, height=2160 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 phy setting done hdmitx: set enc for VIC: 16 enc_vpu_bridge_reset[1319] rx version is 2.0 div=10 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 phy setting done hdmitx: set enc for VIC: 16 enc_vpu_bridge_reset[1319] rx version is 2.0 div=10 [OSD]osd_hw.free_dst_data: 0,1919,0,1079 USB3.0 XHCI init start Net: dwmac.ff3f0000 Hit Enter or space or Ctrl+C key to stop autoboot -- : 0 card out ** Bad device mmc 0 ** reading boot.ini 2068 bytes read in 2 ms (1009.8 KiB/s) ## Executing script at 01080000 reading config.ini 5786 bytes read in 3 ms (1.8 MiB/s) reading kernel.img 15435776 bytes read in 426 ms (34.6 MiB/s) reading dtb.img 66501 bytes read in 4 ms (15.9 MiB/s) Bad Linux ARM64 Image magic! ee_gate_off ... ## Booting Android Image at 0x01080000 ... reloc_addr =d3f00370 copy done No androidboot.dtbo_idx configuredactive_slot is Unknown command 'store' - try 'help' No dtbo patitions found load dtb from 0x1000000 ...... No valid dtbo image found Uncompressing Kernel Image ... OK kernel loaded at 0x01080000, end = 0x029ad808 reserving fdt memory region: addr=1000000 size=11000 Loading Ramdisk to 3d318000, end 3d7ff400 ... OK Loading Device Tree to 00000000d3ecf000, end 00000000d3ee23c4 ... OK Starting kernel ... uboot time: 4248935 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] e5800000 - ed800000, 131072 KB, linux,ion-dev [ 0.000000@0] e3000000 - e5800000, 40960 KB, linux,di_cma [ 0.000000@0] e3000000 - e3000000, 0 KB, linux,ppmgr [ 0.000000@0] c0800000 - d3c00000, 315392 KB, linux,codec_mm_cma [ 0.000000@0] e3000000 - e3000000, 0 KB, linux,codec_mm_reserve d [ 0.000000@0] e1000000 - e3000000, 32768 KB, linux,vm0_cma [ 0.000000@0] sm1 clk probe ok [ 0.248322@2] codec_mm_module_init [ 0.266954@2] cvbs_out: error: failed to get vdac_config [ 0.267116@2] cvbs_out: chrdev devno 264241152 for disp [ 0.561821@0] mtdoops: mtd device (mtddev=name/number) must be supplied [ 0.574745@1] meson_cpufreq_init:don't find the node [ 0.578252@1] ff803000.serial: clock gate not found [ 0.679002@0] amvideocap_probe,amvideocap [ 0.679053@0] use cma buf. [ 0.729118@0] di_get_vpu_clkb: get clk vpu error. [ 0.732103@1] Reserved memory: failed to init DMA memory pool at 0x00000000e3 000000, size 0 MiB [ 0.741284@0] meson-mmc: >>>>>>>>hostbase ffffff80084e6000, dmode [ 0.785947@1] meson-mmc: >>>>>>>>hostbase ffffff80084ef000, dmode [ 0.827105@0] cectx ff80023c.aocec: cec driver date:2019/12/09:sm1 bus check reg define err [ 0.827105@0] [ 0.831910@1] cectx ff80023c.aocec: compatible:amlogic, aocec-sm1 [ 0.837590@1] cectx ff80023c.aocec: cecb_ver:0x2 [ 0.842166@1] cectx ff80023c.aocec: line_reg:0x1 [ 0.846757@1] cectx ff80023c.aocec: line_bit:0x3 [ 0.851349@1] cectx ff80023c.aocec: ee_to_ao:0x1 [ 0.856461@0] cectx ff80023c.aocec: not find 'port_num' [ 0.861384@0] cectx ff80023c.aocec: using cec:0 [ 0.865815@0] cectx ff80023c.aocec: no hdmirx regs [ 0.870702@0] cectx ff80023c.aocec: no hhi regs [ 0.878545@0] cectx ff80023c.aocec: wakeup_reason:0x0 [ 0.880110@0] cectx ff80023c.aocec: cev val1: 0x0;val2: 0x0 [ 0.885514@0] cectx ff80023c.aocec: aml_cec_probe success end [ 0.899203@1] defendkey ff630218.defendkey: Reserved memory is not enough! pwr_key=23dc4db2 usr_ir_proto = 00000000 pwr_key_mask = ffffffff system power = 00000000 [ 0.918175@1] Error: Driver 'spdif-dit' is already registered, aborting... [ 1.135740@1] asoc-aml-card auge_sound: control 2:0:0:I2SIn CLK:0 is already present [ 1.137855@1] snd_tdm ff660000.audiobus:i2s2hdmi: ASoC: Failed to add I2SIn C LK: -16 [ 1.145601@1] aml_dai_tdm_probe, failed add snd tdm controls [ 1.288762@0] pm-meson aml_pm: Can't get switch_clk81 CoreELEC:~ # wake-on-lan = 00000000 [ 25.404711@2] systemd-shutdown[1]: Failed to parse (null): No such file or directory [ 25.406844@2] systemd-shutdown[1]: Failed to deactivate swaps: No such file or directory [ 25.441293@2] [4155]: Failed to unmount /flash: Device or resource busy [ 25.999549@0] reboot: Power down bl31 reboot reason: 0x108 bl31 reboot reason: 0x108 system cmd 0. bl30 get wakeup sources! process command 00000006 bl30 enter suspend! Little core clk suspend rate 1800000000 Error: Wait for CPU3 Power off state timeout Error: Wait for CPU2 Power off state timeout Error: Wait for CPU1 Power off state timeout Error: Wait for CPU0 Power off state timeout Error: Power switching is denied by A55!! Error: wait power state change failed store restore gp0 pll store restore gp1 pll suspend_counter: 1 Enter ddr suspend ddr suspend time: 15us alarm=0S process command 00000001 cec ver:2018/07/03 CEC cfg:0x007f WAKEUP GPIO cfg:0x00000000 08915d0000000000set_remote_mode 0x00000000cec reset Set cec pinmux:0x11 kern log_addr:0x0f cec T: 11 cec_triggle_tx:TX_ERROR Set cec log_addr:0x01, ADDR0:11 WAKEUP GPIO FAIL - invalid key fffffe71 customer pwrkeys for IR is NULL, use defaults! cec R: 01 RX_OK cec R: 01 RX_OK cec R: 0f 36 RX_OK cec R: 0f 84 00 00 00 RX_OK cec R: 0f 87 00 90 3e RX_OK cec R: 01 RX_OK cec R: 01 RX_OK cec R: 5f 84 10 00 05 RX_OK cec R: 4f 84 20 00 04 RX_OK cec R: 5f 72 01 RX_OK cec R: 5f 87 00 a0 de RX_OK cec R: 4f 87 08 00 46 RX_OK cec R: 5f 85 RX_OK cec R: 01 RX_OK cec R: 01 RX_OK cec R: 0f 80 00 00 10 00 RX_OK , phy_addr_ab:0x11, phy_addr_cd:0x00, msg[4]:0x10, msg[5]:0x00 cec R: 5f 81 11 00 RX_OK cec R: 0f 86 10 00 RX_OK cec R: 01 RX_OK cec R: 01 RX_OK cec R: 0f 82 00 00 RX_OK exit_reason:0x08 Enter ddr resume ddr resume time: 121us store restore gp0 pll store restore gp1 pll cfg15 3b01000 cfg15 83b01000 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: 113529 BL2 Built : 20:29:41, Jun 18 2019. g12a ga659aac - 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_15 build time: Jun 18 2019 20:29:37 board id: 1 Load FIP HDR from eMMC, src: 0x00010200, des: 0xfffd0000, size: 0x00004000, part: 0 fw parse done Load ddrfw from eMMC, src: 0x00030200, des: 0xfffd0000, size: 0x0000c000, part: 0 Load ddrfw from eMMC, src: 0x0002c200, des: 0xfffd0000, size: 0x00004000, part: 0 PIEI prepare done fastboot data load 00000000 emmc switch 1 ok 00000000 emmc switch 2 ok fastboot data verify verify result: 255 Cfg max: 2, cur: 1. Board id: 255. Force loop cfg DDR4 probe ddr clk to 1320MHz Load ddrfw from eMMC, src: 0x00014200, des: 0xfffd0000, size: 0x0000c000, part: 0 00000000 emmc switch 0 ok 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 Load ddrfw from eMMC, src: 0x00020200, des: 0xfffd0000, size: 0x0000c000, part: 0 Check phy result INFO : End of initialization INFO : End of 2D read delay Voltage center optimization INFO : End of 2D write delay Voltage center optimization INFO : Training has run successfully! R0_RxClkDly_Margin==94 ps 8 R0_TxDqDly_Margi==106 ps 9 R1_RxClkDly_Margin==0 ps 0 R1_TxDqDly_Margi==0 ps 0 dwc_ddrphy_apb_wr((0<<20)|(2<<16)|(0<<12)|(0xb0):0001 soc_vref_reg_value 0x 00000050 0000004e 0000004f 00000050 0000004e 0000004f 0000004f 0000004d 0000004d 0000004e 0000004f 0000004e 0000004f 0000004f 0000004e 0000004f 0000004f 0000004f 00000050 00000050 00000051 0000004e 0000004f 0000004f 00000050 0000004f 00000052 0000004e 00000051 0000004e 00000050 00000050 dram_vref_reg_value 0x 00000021 2D training succeed aml_ddr_fw_vesion: LPDDR4_PHY_V_0_1_15 build time: Jun 18 2019 20:29:43 auto size-- 65535DDR cs0 size: 2048MB DDR cs1 size: 2048MB DMC_DDR_CTRL: 00700024DDR size: 3928MB 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== 445 result report boot times 7Enable 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: 0x0003c200, des: 0x0172c000, size: 0x00098000, 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.3386-3b31431 2019-05-21 10:41:54 luan.yuan@droid15-sz] OPS=0x10 ring efuse init 2b 0c 10 00 01 12 2a 00 00 11 36 30 43 57 50 50 [0.951240 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 (Apr 12 2020 - 14:33:51) DRAM: 3.5 GiB Relocation Offset is: d6ef5000 spi_post_bind(spifc): req_seq = 0 register usb cfg[0][1] = 00000000d7f84830 MMC: aml_priv->desc_buf = 0x00000000d3ee57c0 aml_priv->desc_buf = 0x00000000d3ee7b00 SDIO Port B: 0, SDIO Port C: 1 Using default environment In: serial Out: serial Err: serial vpu: error: vpu: check dts: FDT_ERR_BADMAGIC, load default parameters vpu: driver version: v20190313 vpu: detect chip type: 12 vpu: clk_level default: 7(666667000Hz), max: 7(666667000Hz) vpu: clk_level = 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: g12a/b osd1 matrix rgb2yuv .............. vpp: g12a/b osd2 matrix rgb2yuv.............. vpp: g12a/b osd3 matrix rgb2yuv.............. cvbs: cpuid:0x2b cvbs_config_hdmipll_g12a cvbs_set_vid2_clk co-phase 0x2, tx-dly 0, clock 400000 co-phase 0x2, tx-dly 0, clock 400000 co-phase 0x2, tx-dly 0, clock 400000 emmc/sd response timeout, cmd8, status=0x1ff2800 emmc/sd response timeout, cmd55, status=0x1ff2800 co-phase 0x2, tx-dly 0, clock 400000 co-phase 0x2, tx-dly 0, clock 40000000 aml_sd_retry_refix[983]:delay = 0x0,gadjust =0x172000 [mmc_startup] mmc refix success [mmc_init] mmc init success reading boot-logo-1080.bmp.gz 27036 bytes read in 4 ms (6.4 MiB/s) [OSD]check dts: FDT_ERR_BADMAGIC, load default fb_addr parameters [OSD]set initrd_high: 0x3d800000 [OSD]fb_addr for logo: 0x3d800000 [OSD]check dts: FDT_ERR_BADMAGIC, load default fb_addr parameters [OSD]fb_addr for logo: 0x3d800000 [OSD]VPP_OFIFO_SIZE:0xfff01fff [CANVAS]canvas init [CANVAS]addr=0x3d800000 width=5760, height=2160 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 phy setting done hdmitx: set enc for VIC: 16 enc_vpu_bridge_reset[1319] rx version is 2.0 div=10 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 phy setting done hdmitx: set enc for VIC: 16 enc_vpu_bridge_reset[1319] rx version is 2.0 div=10 [OSD]osd_hw.free_dst_data: 0,1919,0,1079 USB3.0 XHCI init start Net: dwmac.ff3f0000 Hit Enter or space or Ctrl+C key to stop autoboot -- : 0 card out ** Bad device mmc 0 ** reading boot.ini 2068 bytes read in 2 ms (1009.8 KiB/s) ## Executing script at 01080000 reading config.ini 5786 bytes read in 2 ms (2.8 MiB/s) reading kernel.img 15435776 bytes read in 426 ms (34.6 MiB/s) reading dtb.img 66501 bytes read in 4 ms (15.9 MiB/s) Bad Linux ARM64 Image magic! ee_gate_off ... ## Booting Android Image at 0x01080000 ... reloc_addr =d3f00370 copy done No androidboot.dtbo_idx configuredactive_slot is Unknown command 'store' - try 'help' No dtbo patitions found load dtb from 0x1000000 ...... No valid dtbo image found Uncompressing Kernel Image ... OK kernel loaded at 0x01080000, end = 0x029ad808 reserving fdt memory region: addr=1000000 size=11000 Loading Ramdisk to 3d318000, end 3d7ff400 ... OK Loading Device Tree to 00000000d3ecf000, end 00000000d3ee23c4 ... OK Starting kernel ... uboot time: 4285615 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] e5800000 - ed800000, 131072 KB, linux,ion-dev [ 0.000000@0] e3000000 - e5800000, 40960 KB, linux,di_cma [ 0.000000@0] e3000000 - e3000000, 0 KB, linux,ppmgr [ 0.000000@0] c0800000 - d3c00000, 315392 KB, linux,codec_mm_cma [ 0.000000@0] e3000000 - e3000000, 0 KB, linux,codec_mm_reserved [ 0.000000@0] e1000000 - e3000000, 32768 KB, linux,vm0_cma [ 0.000000@0] sm1 clk probe ok [ 0.248333@2] codec_mm_module_init [ 0.267030@2] cvbs_out: error: failed to get vdac_config [ 0.267190@2] cvbs_out: chrdev devno 264241152 for disp [ 0.553977@1] mtdoops: mtd device (mtddev=name/number) must be supplied [ 0.568498@1] meson_cpufreq_init:don't find the node [ 0.571773@1] ff803000.serial: clock gate not found [ 0.670003@3] amvideocap_probe,amvideocap [ 0.670056@3] use cma buf. [ 0.711722@1] di_get_vpu_clkb: get clk vpu error. [ 0.714715@3] Reserved memory: failed to init DMA memory pool at 0x00000000e3000000, size 0 MiB [ 0.723904@1] meson-mmc: >>>>>>>>hostbase ffffff80084e6000, dmode [ 0.766228@0] meson-mmc: >>>>>>>>hostbase ffffff80084ef000, dmode [ 0.810467@0] cectx ff80023c.aocec: cec driver date:2019/12/09:sm1 bus check reg define err [ 0.810467@0] [ 0.815247@1] cectx ff80023c.aocec: compatible:amlogic, aocec-sm1 [ 0.821123@1] cectx ff80023c.aocec: cecb_ver:0x2 [ 0.825605@1] cectx ff80023c.aocec: line_reg:0x1 [ 0.830121@1] cectx ff80023c.aocec: line_bit:0x3 [ 0.834792@1] cectx ff80023c.aocec: ee_to_ao:0x1 [ 0.840035@0] cectx ff80023c.aocec: not find 'port_num' [ 0.844764@0] cectx ff80023c.aocec: using cec:0 [ 0.849048@0] cectx ff80023c.aocec: no hdmirx regs [ 0.853779@0] cectx ff80023c.aocec: no hhi regs [ 0.861839@0] cectx ff80023c.aocec: wakeup_reason:0x8 [ 0.863389@0] cectx ff80023c.aocec: cev val1: 0x0;val2: 0x0 [ 0.869037@0] cectx ff80023c.aocec: aml_cec_probe success end [ 0.881203@0] defendkey ff630218.defendkey: Reserved memory is not enough! pwr_key=23dc4db2 usr_ir_proto = 00000000 pwr_key_mask = ffffffff system power = 00000000 [ 0.908124@0] Error: Driver 'spdif-dit' is already registered, aborting... [ 1.136041@1] asoc-aml-card auge_sound: control 2:0:0:I2SIn CLK:0 is already present [ 1.138157@1] snd_tdm ff660000.audiobus:i2s2hdmi: ASoC: Failed to add I2SIn CLK: -16 [ 1.145890@1] aml_dai_tdm_probe, failed add snd tdm controls [ 1.283110@1] pm-meson aml_pm: Can't get switch_clk81 CoreELEC:~ # wake-on-lan = 00000000