cec R: 0f 80 00 00 10 00 RX_OK , phy_addr_ab:0x10, phy_addr_cd:0x00, msg[4]:0x10, msg[5]:0x00 use vddee new table! exit_reason:0x08 Enter ddr resume ddr resume time: 124us store restore gp0 pll cfg15 3b01000 cfg15 83b01000 G12B:BL:6e7c85:7898ac;FEAT:E0F83180:2000;POC:F;RCY:0;EMMC:0;READ:0;0.4 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:04000000 B2:00002000 B1:e0f83180 TE: 75666 BL2 Built : 06:17:13, Jun 28 2019. g12b gf0505d7-dirty - qi.duan@droid13 Board ID = 4 Set A53 clk to 24M Set A73 clk to 24M Set clk81 to 24M A53 clk: 1200 MHz A73 clk: 1200 MHz CLK81: 166.6M smccc: 00016f71 eMMC boot @ 0 sw8 s DDR driver_vesion: LPDDR4_PHY_V_0_1_14 build time: Jun 28 2019 06:17:09 board id: 4 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: 1, 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 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==118 ps 10 R1_RxClkDly_Margin==0 ps 0 R1_TxDqDly_Margi==0 ps 0 dwc_ddrphy_apb_wr((0<<20)|(2<<16)|(0<<12)|(0xb0):0001 2D training succeed auto size-- 65535DDR cs0 size: 1024MB DDR cs1 size: 1024MB DMC_DDR_CTRL: 0060001bDDR size: 2048MB cs0 DataBus test pass cs1 DataBus test pass cs0 AddrBus test pass cs1 AddrBus test pass pre test bdlr_100_average==445 bdlr_100_min==445 bdlr_100_max==445 bdlr_100_cur==445 aft test bdlr_100_average==445 bdlr_100_min==445 bdlr_100_max==445 bdlr_100_cur==445 non-sec scramble use zero key ddr scramble enabled 100bdlr_step_size ps== 445 result report boot times 86Enable 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: 0x00093a00, part: 0 0.0;M3 CHK:0;cm4_sp_mode 0 E30HDR MVN_1=0x00000000 MVN_2=0x00000000 [Image: g12b_v1.1.3375-8f9c8a7 2019-01-24 10:44:46 guotai.shen@droid11-sz] OPS=0x40 ring efuse init chipver efuse init 29 0a 40 00 01 28 12 00 00 17 34 37 57 4e 4b 50 [3.325211 Inits done] secure task start! high task start! low task start! run into bl31 NOTICE: BL31: v1.3(release):ab8811b NOTICE: BL31: Built : 15:03:31, Feb 12 2019 NOTICE: BL31: G12A normal boot! NOTICE: BL31: BL33 decompress pass ERROR: Error initializing runtime service opteed_fast U-Boot 2015.01 (Sep 15 2019 - 18:01:39) DRAM: 2 GiB Relocation Offset is: 76ef8000 spi_post_bind(spifc): req_seq = 0 register usb cfg[0][1] = 0000000077f84ac8 MMC: aml_priv->desc_buf = 0x0000000073ee87c0 aml_priv->desc_buf = 0x0000000073eeab00 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: 9 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:0x29 cvbs_config_hdmipll_g12a cvbs_set_vid2_clk 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 0x1, tx-dly 0, clock 40000000 aml_sd_retry_refix[983]:delay = 0x0,gadjust =0x12000 [mmc_startup] mmc refix success [mmc_init] mmc init success reading boot-logo-1080.bmp.gz 1344214 bytes read in 41 ms (31.3 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 [OSD]wait_vsync_wakeup exit 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[1312] 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[1312] rx version is 2.0 div=10 [OSD]osd_hw.free_dst_data: 0,1919,0,1079 Net: dwmac.ff3f0000 Hit Enter or space or Ctrl+C key to stop autoboot -- : 0 card out reading boot.ini 2101 bytes read in 2 ms (1 MiB/s) cfgload: applying boot.ini... cfgload: setenv bootlabel "CoreELEC" cfgload: setenv max_freq_a73 "1800" cfgload: setenv max_freq_a53 "1896" cfgload: setenv hdmi_cec "1" cfgload: setenv remotewakeup "0x23dc4db2" cfgload: setenv decode_type "0" cfgload: setenv remotewakeupmask "0xffffffff" cfgload: setenv wol "1" cfgload: setenv heartbeat "1" cfgload: setenv emmc_timeout "0" cfgload: setenv coreelec "quiet" cfgload: setenv rootopt "BOOT_IMAGE=kernel.img boot=UUID=2404-0631 disk=UUID=d1e6f1fc-2b6b-4bb2-88c9-e4b83bc83482" cfgload: setenv consoleopt "console=ttyS0,115200 console=tty0 no_console_suspend" cfgload: setenv displayopt "hdmimode=1080p60hz logo=osd0,loaded,0x3d800000" cfgload: setenv loadaddr 0x11000000 cfgload: setenv dtb_mem_addr 0x1000000 cfgload: setenv uenv_addr 0x13000000 cfgload: if load mmc ${mmc_dev}:1 ${uenv_addr} config.ini; then env import -t ${uenv_addr} $filesize; fi reading config.ini 5122 bytes read in 2 ms (2.4 MiB/s) cfgload: if test "${hdmi_cec}" = "1"; then setenv cec "hdmitx=cec3f"; fi cfgload: if test "${emmc_timeout}" = "1"; then showlogo 1080p60hz 1920 1080 timeout-logo-1080.bmp.gz; sleep 30; mmc dev 1; mmc dev 0; fi cfgload: if test "${gpiopower}" != ""; then setenv gpiopower "gpiopower=${gpiopower}"; fi cfgload: setenv irsetup "remotewakeup=${remotewakeup} decode_type=${decode_type} remotewakeupmask=${remotewakeupmask}" cfgload: if test "${usbopts}" != ""; then setenv usbopts "usbopts=${usbopts}"; fi cfgload: if test "${usbpower}" != ""; then setenv usbpower "enable_system_power=${usbpower}"; fi cfgload: setenv initargs "${rootopt} ${consoleopt} max_freq_a53=${max_freq_a53} max_freq_a73=${max_freq_a73} enable_wol=${wol} ${cec} ${irsetup} ${usbpower} ${gpiopower} ${usbopts}" cfgload: setenv bootargs "${initargs} ${displayopt} ${coreelec}" cfgload: load mmc ${mmc_dev}:1 ${loadaddr} kernel.img reading kernel.img 15738880 bytes read in 435 ms (34.5 MiB/s) cfgload: load mmc ${mmc_dev}:1 ${dtb_mem_addr} dtb.img reading dtb.img 69650 bytes read in 5 ms (13.3 MiB/s) cfgload: fdt addr ${dtb_mem_addr} cfgload: if test "${heartbeat}" = "0"; then fdt set /leds/blueled linux,default-trigger "none"; fi cfgload: booti ${loadaddr} - ${dtb_mem_addr} Bad Linux ARM64 Image magic! cfgload: bootm ee_gate_off ... ## Booting Android Image at 0x11000000 ... load dtb from 0x1000000 ...... Uncompressing Kernel Image ... OK kernel loaded at 0x01080000, end = 0x02b0c200 reserving fdt memory region: addr=1000000 size=12000 Loading Ramdisk to 3d36e000, end 3d7ff600 ... OK Loading Device Tree to 0000000073ed2000, end 0000000073ee6011 ... OK fdt_fixup_memory_banks, reg:0000000000000000 Starting kernel ... uboot time: 6613626 us [ 0.000000@0] OF: reserved mem: invalid size property in 'linux,galcore' node. [ 0.335116@1] codec_mm_module_init [ 0.342464@0] clkmsr ffd18004.meson_clk_msr: failed to get msr ring reg0 [ 0.358453@0] cvbs_out: chrdev devno 264241152 for disp [ 0.494246@2] dmi: Firmware registration failed. [ 0.566071@2] meson-pwm ff802000.pwm: pwm pinmux : can't get pinctrl [ 0.566288@2] meson-pwm ffd1b000.pwm: pwm pinmux : can't get pinctrl [ 0.572615@2] mtdoops: mtd device (mtddev=name/number) must be supplied [ 0.585406@3] ff803000.serial: clock gate not found [ 0.638417@3] gpio-keypad ff800000.gpio_keypad: failed to get gpio index from dts [ 0.642292@3] amvideocap_probe,amvideocap [ 0.644259@3] use cma buf. [ 0.698407@3] di_get_vpu_clkb: get clk vpu error. [ 0.699426@3] PPMGRDRV: err: ppmgr_driver_probe called [ 0.702606@3] Reserved memory: failed to init DMA memory pool at 0x0000000078000000, size 0 MiB [ 0.713495@0] meson-mmc: >>>>>>>>hostbase ffffff800863d000, dmode [ 0.764718@0] meson-mmc: >>>>>>>>hostbase ffffff8008688000, dmode [ 0.805097@0] cectx ff80023c.aocec: cec driver date:Ver 2019/3/25 [ 0.805097@0] [ 0.807543@0] cectx ff80023c.aocec: compatible:amlogic, aocec-g12a [ 0.813452@0] cectx ff80023c.aocec: cecb_ver:0x1 [ 0.818033@0] cectx ff80023c.aocec: line_reg:0x1 [ 0.822558@0] cectx ff80023c.aocec: line_bit:0x3 [ 0.827153@0] cectx ff80023c.aocec: ee_to_ao:0x1 [ 0.831974@2] cectx ff80023c.aocec: not find 'port_num' [ 0.836937@2] cectx ff80023c.aocec: using cec:1 [ 0.841458@2] cectx ff80023c.aocec: no hdmirx regs [ 0.846206@2] cectx ff80023c.aocec: no hhi regs [ 0.850715@2] cectx ff80023c.aocec: not find 'output' [ 0.857278@2] cectx ff80023c.aocec: irq cnt:2 [ 0.860200@2] cectx ff80023c.aocec: wakeup_reason:0x8 [ 0.865147@2] cectx ff80023c.aocec: cev val1: 0x0;val2: 0x0 [ 0.870648@2] cectx ff80023c.aocec: aml_cec_probe success end [ 0.876203@0] meson-mmc: Tuning transfer error: nmatch=0 tuning_err:0xffffffac [ 0.876277@0] meson-mmc: Tuning transfer error: nmatch=3 tuning_err:0xffffffac [ 0.893015@2] defendkey ff630218.defendkey: Reserved memory is not enough! [ 0.897752@2] No find node. [ 0.906390@2] Amlogic A/V streaming port init pwr_key=23dc4db2 usr_ir_proto = 00000000 pwr_key_mask = ffffffff system power = 00000000 [ 0.920065@2] Error: Driver 'spdif-dit' is already registered, aborting... [ 0.922144@2] asoc-aml-card auge_sound: aml_card_probe, parse error -517 [ 0.927982@2] aml_card_probe error ret:-517 CoreELEC:~ # wake-on-lan = 00000001 [ 52.680498@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 1896000000 Big core clk suspend rate 1800000000 store restore gp0 pll suspend_counter: 1 Enter ddr suspend ddr suspend time: 17us alarm=0S process command 00000001 cec ver:2018/04/19 CEC cfg:0x003f WAKEUP GPIO cfg:0x00000000 use vddee new table! 08915d0000000000set_remote_mode 0x00000000cec reset Set cec pinmux:0x11 kern log_addr:0x0f cec T: 11 err: tx not finish flag cec reset Set cec pinmux:0x11 cec reset Set cec pinmux:0x11 cec T: 11 cec_triggle_tx:TX_DONE sombody takes cec log_addr:0x01 customer pwrkeys for IR is NULL, use defaults! cec T: 22 cec_triggle_tx:TX_DONE sombody takes cec log_addr:0x02 cec T: 99 cec_triggle_tx:TX_DONE sombody takes cec log_addr:0x09 CEC allocate logic address failed cec R: 0f 80 00 00 20 00 RX_OK , phy_addr_ab:0x10, phy_addr_cd:0x00, msg[4]:0x20, msg[5]:0x00 cec R: 4f 84 20 00 04 RX_OK cec R: 0f 86 20 00 RX_OK cec R: 4f 84 20 00 04 RX_OK cec R: 4f 87 08 00 46 RX_OK cec R: 4f 87 08 00 46 RX_OK cec R: 4f 84 20 00 04 RX_OK cec R: 4f 87 08 00 46 RX_OK cec R: 4f 87 08 00 46 RX_OK cec R: 4f 82 20 00 RX_OK cec R: 5f a0 08 00 46 00 0a 00 RX_OK cec R: 0f 86 20 00 RX_OK cec R: 4f 82 20 00 RX_OK cec R: 0f 82 00 00 RX_OK cec R: 5f a0 08 00 46 00 0a 00 RX_OK