connecting to NetworkSerialPort(target=Target(name='meson-g12a-x96-max', env=None), name='USBSerialPort', state=, avail=True, host='nuc-2', port=48263, speed=115200, protocol='rfc2217') calling microcom -s 115200 -t nuc-2:48263 connected to 192.168.0.2 (port 48263) Escape character: Ctrl-\ Type the escape character to get to the prompt. G12A:BL:0253b8:61aa2d;FEAT:E0F83180:2000;POC:F;RCY:0;EMMC:0;READ:0;0.0; bl2_stage_init1 L0:00000000 L1:00000703 L2:00008067 L3:04000000 S1:00000000 B2:00002000 B1:e0f83180 TE: 92992 BL2 Built : 15:37:08, Oct 16 2018. g12a g2efb180 - xiaobo.gu@droid12 Board ID = 1 Set cpu clk to 24M Set clk81 to 24M CPU clk: 1200 MHz Set clk81 to 166.6M smccc: 0001a672 boot_device: 1 -s DDR driver_vesion: LPDDR4_PHY_V_0_1_5 build time: Oct 16 2018 15:37:03 board id: 1 Load FIP HDR from eMMC, src: 0x00010200, des: 0xfffd0000, size: 0x004000, part: 0 fw parse done Load ddrfw from eMMC, src: 0x00060200, des: 0xfffd0000, size: 0x00c000, part: 0 Load ddrfw from eMMC, src: 0x00038200, des: 0xfffd0000, size: 0x004000, part: 0 PIEI prepare done Cfg max: 5, cur: 1. Board id: 255. Force loop cfg DDR4 probe Set ddr clk to 912MHz Load ddrfw from eMMC, src: 0x00014200, des: 0xfffd0000, size: 0x00c000, part: 0 Check phy result INFO : End of initialization INFO : STREAM 0x00690001 - 0x00000003 INFO : STREAM 0x04020000 - INFO : ERROR : Training has failed! 1D training failed Cfg max: 5, cur: 2. Board id: 255. Force loop cfg DDR3 probe Set ddr clk to 912MHz Load ddrfw from eMMC, src: 0x0002c200, des: 0xfffd0000, size: 0x00c000, part: 0 Check phy result INFO : End of initialization INFO : STREAM 0x00670000 - INFO : STREAM 0x04020000 - INFO : ERROR : Training has failed! 1D training failed Cfg max: 5, cur: 3. Board id: 255. Force loop cfg LPDDR4 probe Set ddr clk to 912MHz Load ddrfw from eMMC, src: 0x0003c200, des: 0xfffd0000, size: 0x00c000, part: 0 5113Check phy result INFO : STREAM 0x00b00001 - 0x00001000 INFO : STREAM 0x00a70001 - 0x00000014 INFO : STREAM 0x00540003 - 0x00000004 0x00000008 0x0000000a INFO : STREAM 0x00560006 - 0x00000003 0x00000003 0x00001001 0x0000000a 0x00000000 0x00000720 INFO : STREAM 0x005b0005 - 0x00000000 0x00000034 0x0000009b 0x00000032 0x00000000 INFO : End of CA training INFO : End of initialization INFO : Training has run successfully! Check phy result INFO : STREAM 0x00b00001 - 0x00001000 INFO : STREAM 0x00a70001 - 0x00000014 INFO : STREAM 0x00540003 - 0x00000004 0x00000008 0x0000000a INFO : STREAM 0x00560006 - 0x00000003 0x00000003 0x0000031f 0x0000000a 0x00000000 0x00000720 INFO : STREAM 0x005b0005 - 0x00000000 0x00000034 0x0000009b 0x00000032 0x00000000 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: 0x00048200, des: 0xfffd0000, size: 0x00c000, part: 0 Check phy result INFO : STREAM 0x012c0000 - INFO : STREAM 0x01300001 - 0x00001000 INFO : STREAM 0x01270001 - 0x00000014 INFO : STREAM 0x00d40003 - 0x00000004 0x00000008 0x0000000a INFO : STREAM 0x00d60006 - 0x00000003 0x00000003 0x00000061 0x0000000a 0x00000000 0x00000720 INFO : STREAM 0x00db0005 - 0x00000000 0x00000034 0x0000001b 0x00000032 0x00000000 INFO : End of initialization INFO : End of 2D read delay Voltage center optimization INFO : End of 2D read delay Voltage center optimization INFO : End of 2D write delay Voltage center optimization INFO : End of 2D write delay Voltage center optimization INFO : Training has run successfully! channel==0 RxClkDly_Margin_A0==171 ps 10 TxDqDly_Margin_A0==205 ps 12 RxClkDly_Margin_A1==205 ps 12 TxDqDly_Margin_A1==205 ps 12 TrainedVREFDQ_A0==74 TrainedVREFDQ_A1==74 VrefDac_Margin_A0==40 DeviceVref_Margin_A0==40 VrefDac_Margin_A1==40 DeviceVref_Margin_A1==40 channel==1 RxClkDly_Margin_A0==188 ps 11 TxDqDly_Margin_A0==205 ps 12 RxClkDly_Margin_A1==205 ps 12 TxDqDly_Margin_A1==205 ps 12 TrainedVREFDQ_A0==74 TrainedVREFDQ_A1==74 VrefDac_Margin_A0==39 DeviceVref_Margin_A0==40 VrefDac_Margin_A1==41 DeviceVref_Margin_A1==40 dwc_ddrphy_apb_wr((0<<20)|(2<<16)|(0<<12)|(0xb0):0004 2D training succeed auto size-- 65535DDR cs0 size: 2048MB DDR cs1 size: 2048MB DMC_DDR_CTRL: 00e00024DDR size: 3928MB DataBus test pass! AddrBus test pass! 100bdlr_step_size ps== 435 result report Enable ddr reg access 00000000 emmc switch 3 ok Authentication key not yet programmed emmc_rpmb_key_is_programmed: error 0x00000007 00000000 emmc switch 0 ok Load FIP HDR from eMMC, src: 0x00010200, des: 0x01700000, size: 0x004000, part: 0 Load BL3X from eMMC, src: 0x0006c200, des: 0x0175c000, size: 0x0b4000, part: 0 bl2z: ptr: 05127320, size: 00001e50 0.0;M3 CHK:0;cm4_sp_mode 0 E30HDR [Image: g12a_v1.1.3327-3761055 2018-07-31 18:47:10 jenkins@walle02-sh] OPS=0x40 ring efuse init 28 0b 40 00 01 35 26 00 00 0d 31 33 54 39 4b 50 [0.014272 Inits done] secure task start! high task start! low task start! run into bl31 NOTICE: BL31: v1.3(release):40e3f59 NOTICE: BL31: Built : 16:26:05, Jul 18 2018 NOTICE: BL31: G12A normal boot! NOTICE: BL31: BL33 decompress pass ERROR: Error initializing runtime service opteed_fast U-Boot 2015.01 (Nov 02 2018 - 09:34:36) DRAM: 3.8 GiB Relocation Offset is: d6e81000 spi_post_bind(spifc): req_seq = 0 register usb cfg[0][1] = 00000000d7f47db0 NAND: get_sys_clk_rate_mtd() 266, 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() 266, 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 = 0x00000000d3e71710 aml_priv->desc_buf = 0x00000000d3e73a30 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 init_part() 297: PART_TYPE_AML [mmc_init] mmc init success start dts,buffer=00000000d3e76280,dt_addr=00000000d3e76280 get_partition_from_dts() 105: ret 0 parts: 14 00: logo 0000000000800000 1 01: recovery 0000000001800000 1 02: misc 0000000000800000 1 03: dto 0000000000800000 1 04: cri_data 0000000000800000 2 05: param 0000000001000000 2 06: boot 0000000001000000 1 07: rsv 0000000001000000 1 08: tee 0000000002000000 1 09: vendor 0000000046000000 1 10: odm 0000000010000000 1 11: system 0000000074000000 1 12: cache 0000000046000000 2 13: data ffffffffffffffff 4 init_part() 297: PART_TYPE_AML eMMC/TSD partition table have been checked OK! check pattern success 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()-2755: calc faa8835f, store faa8835f _verify_dtb_checksum()-2755: calc faa8835f, store faa8835f dtb_read()-2972: total valid 2 update_old_dtb()-2953: do nothing amlkey_init() enter! [EFUSE_MSG]keynum is 4 vpu: clk_level in dts: 7 vpu: set clk: 666667000Hz, readback: 666666667Hz(0x100) vpu: vpu_clk_gate_init_off finish vpp: vpp_init vpp: g12a/b osd1 matrix rgb2yuv .............. vpp: g12a/b osd2 matrix rgb2yuv.............. vpp: g12a/b osd3 matrix rgb2yuv.............. aml_config_dtb 608 aml_config_dtb 638 co_phase = <0x00000003> caps2 = "MMC_CAP2_HS200" f_max = " ��" status = "disabled" status = "okay" Net: dwmac.ff3f0000amlkey_init() enter! amlkey_init() 71: already init! [EFUSE_MSG]keynum is 4 Start read misc partition datas! info->attemp_times = 0 info->active_slot = 0 info->slot_info[0].bootable = 1 info->slot_info[0].online = 1 info->slot_info[1].bootable = 0 info->slot_info[1].online = 0 info->attemp_times = 0 attemp_times = 0 active slot = 0 wipe_data=successful wipe_cache=successful upgrade_step=2 hpd_state=0 [OSD]load fb addr from dts:/meson-fb [OSD]set initrd_high: 0xdf800000 [OSD]fb_addr for logo: 0xdf800000 [OSD]load fb addr from dts:/meson-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,719,0,575 [OSD]osd1_update_disp_freescale_enable vpp: vpp_matrix_update: 2 cvbs performance type = 9, table = 0 cvbs_config_hdmipll_g12a cvbs_set_vid2_clk amlkey_init() enter! amlkey_init() 71: already init! [EFUSE_MSG]keynum is 4 [KM]Error:f[key_manage_query_size]L507:key[usid] not programed yet [KM]Error:f[key_manage_query_size]L507:key[deviceid] not programed yet gpio: pin GPIOAO_3 (gpio 3) value is 1 saradc - saradc sub-system Usage: saradc saradc open - open a SARADC channel saradc close - close the SARADC saradc getval - get the value in current channel saradc test - test the SARADC by channel-7 saradc get_in_range - return 0 if current value in the range of current channel InUsbBurn noSof sof timeout, reset usb phy tuning Hit Enter or space or Ctrl+C key to stop autoboot -- : 2  0 g12a_u211_v1#setenv autoload no g12a_u211_v1#setenv initrd_high 0xffffffff g12a_u211_v1#setenv fdt_high 0xffffffff g12a_u211_v1#dhcp dwmac.ff3f0000 Waiting for PHY auto negotiation to complete... done Speed: 100, full duplex BOOTP broadcast 1 BOOTP broadcast 2 BOOTP broadcast 3 BOOTP broadcast 4 BOOTP broadcast 5 BOOTP broadcast 6 BOOTP broadcast 7 BOOTP broadcast 8 DHCP client bound to address 192.168.0.131 (11323 ms) g12a_u211_v1#setenv serverip 192.168.0.2 g12a_u211_v1#tftp 0x01080000 3895220/tftp-deploy-aul8wpmj/kernel/uImage Speed: 100, full duplex Using dwmac.ff3f0000 device TFTP from server 192.168.0.2; our IP address is 192.168.0.131 Filename '3895220/tftp-deploy-aul8wpmj/kernel/uImage'. Load address: 0x1080000 Loading: *################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ####################################################################################################################### ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ############## 1.9 MiB/s done Bytes transferred = 167969344 (a030240 hex) g12a_u211_v1#tftp 0x08000000 3895220/tftp-deploy-aul8wpmj/ramdisk/ramdisk.cpio.gz.uboot Speed: 100, full duplex Using dwmac.ff3f0000 device TFTP from server 192.168.0.2; our IP address is 192.168.0.131 Filename '3895220/tftp-deploy-aul8wpmj/ramdisk/ramdisk.cpio.gz.uboot'. Load address: 0x8000000 Loading: *################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# #######