GXL:BL1:9ac50e:bb16dc;FEAT:ADFC318C:0;POC:3;RCY:0;EMMC:0;READ:0;CHK:A7;READ:0;CHK:A7;READ:0;CHK:A7;SD:0;READ:0;0.0;CHK:0; no sdio debug board detected TE: 326343 BL2 Built : 15:21:58, Mar 26 2020. gxl g486bc38 - gongwei.chen@droid11-sz set vdd cpu_a to 1120 mv set vdd cpu_b to 1050 mv set vddee to 1000 mv Board ID = 4 CPU clk: 1200MHz DQS-corr enabled DDR scramble enabled LPDDR3 chl: Rank0+1 @ 768MHz bist_test rank: 0 16 02 2a 39 22 50 1a 02 32 35 1d 4d 15 01 2a 3a 22 52 18 02 2f 38 1f 51 700 rank: 1 15 00 2b 39 24 4f 1a 03 31 34 1f 4a 14 00 28 3b 24 52 18 01 2f 39 21 52 700 Rank0: 1024MB-2T-3 Rank1: 1024MB-2T-3 AddrBus test pass! Load fip header from SD, src: 0x0000c200, des: 0x01400000, size: 0x00004000, part: 0 New fip structure! Load bl30 from SD, src: 0x00010200, des: 0x013c0000, size: 0x0000d600, part: 0 Load bl31 from SD, src: 0x00020200, des: 0x05100000, size: 0x0002c400, part: 0 0002c400Load bl33 from SD, src: 0x00050200, des: 0x01000000, size: 0x0007f200, part: 0 NOTICE: BL3-1: v1.0(release):f5121da90 NOTICE: BL3-1: Built : 20:18:22, Nov 22 2019 [BL31]: GXL CPU setup! NOTICE: BL3-1: GXL normal boot! NOTICE: BL3-1: BL33 decompress pass mpu_config_enable:system pre init ok dmc sec lock [Image: gxl_v1.1.3394-7d43064d5 2020-05-07 15:37:15 gongwei.chen@droid11-sz] OPS=0x04 21 0d 04 00 8f 0f 65 5f 43 e1 40 ea 76 4f 3b bc [0.945575 Inits done] secure task start! high task start! low task start! ERROR: Error initializing runtime service opteed_fast U-Boot 2015.01-gabeeb4952b-dirty (Jul 31 2021 - 19:03:13) DRAM: 2 GiB Relocation Offset is: 76e7f000 mmu cfg end: 0x80000000 mmu cfg end: 0x80000000 register usb cfg[0][1] = 0000000077f4fe60 [CANVAS]canvas init boot_device_flag : 1 Nand PHY Ver:1.01.001.0006 (c) 2013 Amlogic Inc. init bus_cycle=6, bus_timing=7, system=5.0ns reset failed get_chip_type and ret:fffffffe get_chip_type and ret:fffffffe chip detect failed and ret:fffffffe nandphy_init failed and ret=0xfffffff1 MMC: aml_priv->desc_buf = 0x0000000073e7f6b0 aml_priv->desc_buf = 0x0000000073e819f0 SDIO Port B: 0, SDIO Port C: 1 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, cmd->cmdarg=0x1aa, status=0x1ff2800 emmc/sd response timeout, cmd55, cmd->cmdarg=0x0, status=0x1ff2800 co-phase 0x2, tx-dly 0, clock 400000 co-phase 0x2, tx-dly 0, clock 40000000 init_part() 297: PART_TYPE_AML [mmc_init] mmc init success start dts,buffer=0000000073e84240,dt_addr=0000000073e84240 get_partition_from_dts() 92: ret 0 parts: 17 00: logo 0000000001000000 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 0000000014000000 1 12: odm 0000000008000000 1 13: system 0000000064c00000 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 aml log : internal sys error! reboot_mode=cold_boot [store]To run cmd[emmc dtb_read 0x1000000 0x40000] _verify_dtb_checksum()-3476: calc 3a4d8126, store 3a4d8126 _verify_dtb_checksum()-3476: calc 3a4d8126, store 3a4d8126 dtb_read()-3691: total valid 2 update_old_dtb()-3672: do nothing vpu: driver version: v20190313 vpu: detect chip type: 2 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(0x300) vpu: set_vpu_clk finish vpu: vpu_module_init_config vpp: vpp_init cvbs: cpuid:0x21 cvbs: find performance_pal config hpd_state=0 do_hpd_detect: hdmimode=1080p60hz do_hpd_detect: colorattribute=444,8bit Saving Environment to aml-storage... mmc env offset: 0x4d400000 Writing to MMC(1)... done vpp: vpp_matrix_update: 2 cvbs_performance_enhancement cvbs_config_hdmipll_gxl cvbs_set_vid2_clk 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 init_part() 282: PART_TYPE_DOS [mmc_init] mmc init success Device: SDIO Port B Manufacturer ID: 3 OEM: 5344 Name: SU16G Tran Speed: 50000000 Rd Block Len: 512 SD version 3.0 High Capacity: Yes Capacity: (0x3b5980000 Bytes) 14.8 GiB mmc clock: 40000000 Bus Width: 4-bit vpp: vpp_pq_load pq val error !!! Net: Phy 0 not found PHY reset timed out dwmac.c9410000amlkey_init() enter! [EFUSE_MSG]keynum is 4 [BL31]: tee size: 0 MACADDR:02:43:5f:65:0f:8f(from chipid) Warning: dwmac.c9410000 MAC addresses don't match: Address in SROM is ce:0a:d7:68:d6:3c Address in environment is 02:43:5f:65:0f:8f 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=0 aml log : internal sys error! reboot_mode:::: cold_boot s_version: U-Boot 2015.01-gabeeb4952b-dirty amlkey_init() enter! amlkey_init() 71: already init! [EFUSE_MSG]keynum is 4 [BL31]: tee size: 0 [KM]Error:f[key_manage_query_size]L515:key[usid] not programed yet [KM]Error:f[key_manage_query_size]L515:key[mac] not programed yet [KM]Error:f[key_manage_query_size]L515:key[deviceid] not programed yet [OSD]load fb addr from dts:/meson-fb [OSD]fb_addr for logo: 0x7f800000 [OSD]load fb addr from dts:/meson-fb [OSD]fb_addr for logo: 0x7f800000 [OSD]VPP_OFIFO_SIZE:0xfff00fff [CANVAS]addr=0x7f800000 width=3840, height=2160 [OSD]osd_hw.free_dst_data: 0,719,0,575 [OSD]osd1_update_disp_freescale_enable s_version: U-Boot 2015.01-gabeeb4952b-dirty amlkey_init() enter! amlkey_init() 71: already init! [EFUSE_MSG]keynum is 4 [BL31]: tee size: 0 [KM]Error:f[key_manage_query_size]L515:key[usid] not programed yet [KM]Error:f[key_manage_query_size]L515:key[mac] not programed yet [KM]Error:f[key_manage_query_size]L515:key[deviceid] not programed yet gpio: pin GPIOAO_2 (gpio 102) value is 1 Command: bcb uboot-command Start read misc partition datas! BCB hasn't any datas,exit! s_version: U-Boot 2015.01-gabeeb4952b-dirty amlkey_init() enter! amlkey_init() 71: already init! [EFUSE_MSG]keynum is 4 [BL31]: tee size: 0 [KM]Error:f[key_manage_query_size]L515:key[usid] not programed yet [KM]Error:f[key_manage_query_size]L515:key[mac] not programed yet [KM]Error:f[key_manage_query_size]L515:key[deviceid] not programed yet Hit Enter or space or Ctrl+C key to stop autoboot -- : 0 gxl_p230_v1# ▒ Unknown command '▒' - try 'help' gxl_p230_v1#store disprotect key [store]disprotect key gxl_p230_v1#store init 3 XXXXXXX======enter EMMC boot======XXXXXX co-phase 0x2, tx-dly 0, clock 40000000 co-phase 0x2, tx-dly 0, clock 40000000 co-phase 0x2, 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 0x2, tx-dly 0, clock 400000 co-phase 0x2, tx-dly 0, clock 40000000 init_part() 297: PART_TYPE_AML [mmc_init] mmc init success switch to partitions #0, OK mmc1(part 0) is current device Device: SDIO Port C Manufacturer ID: 4 OEM: 101 Name: M0T00 Tran Speed: 52000000 Rd Block Len: 512 MMC version 5.1 High Capacity: Yes Capacity: (0x39d000000 Bytes) 14.5 GiB mmc clock: 40000000 Bus Width: 8-bit [store]amlmmc key emmc disprotect key [store]amlmmc erase 1emmckey_is_protected(): disprotect blkcnt = 30310400 start = 0,end = 30310399 start = 0,end = 30310399 Erasing blocks 0 to 8192 @ boot0 start = 0,end = 8191 Erasing blocks 0 to 8192 @ boot1 start = 0,end = 8191 gxl_p230_v1#fatload mmc0 {loadaddr} u-boot.bin ** Bad device specification mmc0 {loadaddr} ** gxl_p230_v1#fatload mmc0 ${loadaddr} u-boot.bin MMC Device 17301504 not found ** Bad device mmc0 1080000 ** gxl_p230_v1#fatload mmc 0 ${loadaddr} u-boot.bin reading u-boot.bin 851968 bytes read in 54 ms (15 MiB/s) gxl_p230_v1#store rom_write ${loadaddr} 0 100000 amlmmc_write_bootloader() 573: map 0x7 Wrting blocks 1 to 2048 @ user Wrting blocks 1 to 2048 @ boot0 boot_info.rsv_base_addr : 12000 boot_info.ddr.addr : 4000 boot_info.ddr.size : 0004 boot_info.version : 0001 boot_info.checksum : 16005 Wrting blocks 1 to 2048 @ boot1 boot_info.rsv_base_addr : 12000 boot_info.ddr.addr : 4000 boot_info.ddr.size : 0004 boot_info.version : 0001 boot_info.checksum : 16005 gxl_p230_v1#fatload mmc 0 ${loadaddr} gxl_p230_2g_pie.dtb reading gxl_p230_2g_pie.dtb 59269 bytes read in 9 ms (6.3 MiB/s) gxl_p230_v1#store dtb write ${loadaddr} [store]To run cmd[emmc dtb_write 1080000 0x40000] dtb_write()-3737: valid 2 dtb_write()-3757: new stamp 1, checksum 0x7f623e24, version 1, magic A~D start dts,buffer=0000000073eade70,dt_addr=0000000073eade70 start dts,buffer=0000000001080000,dt_addr=0000000001080000 get_partition_from_dts() 92: ret 0 parts: 17 00: logo 0000000001000000 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 0000000014000000 1 12: odm 0000000008000000 1 13: system 0000000064c00000 1 14: product 0000000008000000 1 15: cache 0000000046000000 2 16: data ffffffffffffffff 4 get_ptbl_rsv()-494: magic faild MPT, mmc_device_init()-1354: update rsv with dtb! init_part() 297: PART_TYPE_AML partition table success gxl_p230_v1#sdc_update dtbo dtbo.partition normal Device: SDIO Port C Manufacturer ID: 4 OEM: 101 Name: M0T00 Tran Speed: 52000000 Rd Block Len: 512 MMC version 5.1 High Capacity: Yes Capacity: (0x39d000000 Bytes) 14.5 GiB mmc clock: 40000000 Bus Width: 8-bit [MSG]flash LOGIC partCap 0x800000B [MSG]Down(store) part(dtbo) sz(0x1b6) fmt(normal) [MSG]totalSlotNum = 0, nextWriteBackSlot 1 [fat]Filesize is 0x1b6B[0M] [fat]0x:leftSz 1b6 < BPS 2000, gotSz 1b6 [MSG]Burn Start... [MSG]Burn complete BURN dtbo.partition to part dtbo OK! =====>Burn part dtbo in fmt normal OK<====== gxl_p230_v1#sdc_update boot boot.partition normal Device: SDIO Port C Manufacturer ID: 4 OEM: 101 Name: M0T00 Tran Speed: 52000000 Rd Block Len: 512 MMC version 5.1 High Capacity: Yes Capacity: (0x39d000000 Bytes) 14.5 GiB mmc clock: 40000000 Bus Width: 8-bit [MSG]flash LOGIC partCap 0x1000000B [MSG]Down(store) part(boot) sz(0x993000) fmt(normal) [MSG]totalSlotNum = 0, nextWriteBackSlot 1 [fat]Filesize is 0x993000B[9M] [MSG]Burn Start... [fat]0x:leftSz 1000 < BPS 2000, gotSz 3000 [MSG]Burn complete BURN boot.partition to part boot OK! =====>Burn part boot in fmt normal OK<====== gxl_p230_v1#sdc_update recovery recovery.partition normal Device: SDIO Port C Manufacturer ID: 4 OEM: 101 Name: M0T00 Tran Speed: 52000000 Rd Block Len: 512 MMC version 5.1 High Capacity: Yes Capacity: (0x39d000000 Bytes) 14.5 GiB mmc clock: 40000000 Bus Width: 8-bit [MSG]flash LOGIC partCap 0x1800000B [MSG]Down(store) part(recovery) sz(0xfe7000) fmt(normal) [MSG]totalSlotNum = 0, nextWriteBackSlot 1 [fat]Filesize is 0xfe7000B[15M] [MSG]Burn Start... [fat]0x:leftSz 1000 < BPS 2000, gotSz 7000 [MSG]Burn complete BURN recovery.partition to part recovery OK! =====>Burn part recovery in fmt normal OK<====== gxl_p230_v1#sdc_update logo logo.partition normal Device: SDIO Port C Manufacturer ID: 4 OEM: 101 Name: M0T00 Tran Speed: 52000000 Rd Block Len: 512 MMC version 5.1 High Capacity: Yes Capacity: (0x39d000000 Bytes) 14.5 GiB mmc clock: 40000000 Bus Width: 8-bit [MSG]flash LOGIC partCap 0x1000000B [MSG]Down(store) part(logo) sz(0x4d0940) fmt(normal) [MSG]totalSlotNum = 0, nextWriteBackSlot 1 [fat]Filesize is 0x4d0940B[4M] [MSG]Burn Start... [fat]0x:leftSz 940 < BPS 2000, gotSz 940 [MSG]Burn complete BURN logo.partition to part logo OK! =====>Burn part logo in fmt normal OK<====== gxl_p230_v1#sdc_update system system.partition sparse Device: SDIO Port C Manufacturer ID: 4 OEM: 101 Name: M0T00 Tran Speed: 52000000 Rd Block Len: 512 MMC version 5.1 High Capacity: Yes Capacity: (0x39d000000 Bytes) 14.5 GiB mmc clock: 40000000 Bus Width: 8-bit [MSG]flash LOGIC partCap 0x64c00000B [MSG]Down(store) part(system) sz(0x3ac3f0f4) fmt(sparse) [MSG]totalSlotNum = 0, nextWriteBackSlot 1024 [fat]Filesize is 0x3ac3f0f4B[940M] [MSG]Burn Start... [fat]0x:leftSz 10f4 < BPS 2000, gotSz f0f4 [MSG]Burn complete Downloading %100 BURN system.partition to part system OK! =====>Burn part system in fmt sparse OK<====== gxl_p230_v1#sdc_update odm odm.partition sparse Device: SDIO Port C Manufacturer ID: 4 OEM: 101 Name: M0T00 Tran Speed: 52000000 Rd Block Len: 512 MMC version 5.1 High Capacity: Yes Capacity: (0x39d000000 Bytes) 14.5 GiB mmc clock: 40000000 Bus Width: 8-bit [MSG]flash LOGIC partCap 0x8000000B [MSG]Down(store) part(odm) sz(0x8b04c) fmt(sparse) [MSG]totalSlotNum = 0, nextWriteBackSlot 9 [fat]Filesize is 0x8b04cB[0M] [fat]0x:leftSz 104c < BPS 2000, gotSz b04c [MSG]Burn Start... [MSG]Burn complete BURN odm.partition to part odm OK! =====>Burn part odm in fmt sparse OK<====== gxl_p230_v1#sdc_update product product.partition sparse Device: SDIO Port C Manufacturer ID: 4 OEM: 101 Name: M0T00 Tran Speed: 52000000 Rd Block Len: 512 MMC version 5.1 High Capacity: Yes Capacity: (0x39d000000 Bytes) 14.5 GiB mmc clock: 40000000 Bus Width: 8-bit [MSG]flash LOGIC partCap 0x8000000B [MSG]Down(store) part(product) sz(0x4bf704c) fmt(sparse) [MSG]totalSlotNum = 0, nextWriteBackSlot 1024 [fat]Filesize is 0x4bf704cB[75M] [MSG]Burn Start... [fat]0x:leftSz 104c < BPS 2000, gotSz 704c [MSG]Burn complete BURN product.partition to part product OK! =====>Burn part product in fmt sparse OK<====== gxl_p230_v1#sdc_update vendor vendor.partition sparse Device: SDIO Port C Manufacturer ID: 4 OEM: 101 Name: M0T00 Tran Speed: 52000000 Rd Block Len: 512 MMC version 5.1 High Capacity: Yes Capacity: (0x39d000000 Bytes) 14.5 GiB mmc clock: 40000000 Bus Width: 8-bit [MSG]flash LOGIC partCap 0x14000000B [MSG]Down(store) part(vendor) sz(0xb07507c) fmt(sparse) [MSG]totalSlotNum = 0, nextWriteBackSlot 1024 [fat]Filesize is 0xb07507cB[176M] [MSG]Burn Start... [fat]0x:leftSz 107c < BPS 2000, gotSz 507c [MSG]Burn complete BURN vendor.partition to part vendor OK! =====>Burn part vendor in fmt sparse OK<====== gxl_p230_v1#fatload mmc 0 ${loadaddr} u-boot.bin reading u-boot.bin 851968 bytes read in 54 ms (15 MiB/s) gxl_p230_v1#store rom_write ${loadaddr} o 100000 'o' is not a number gxl_p230_v1#fatload rom_write ${loadaddr} 0 100000 ** Bad device rom_write 1080000 ** gxl_p230_v1#store rom_write ${loadaddr} 0 100000 amlmmc_write_bootloader() 573: map 0x7 Wrting blocks 1 to 2048 @ user Wrting blocks 1 to 2048 @ boot0 boot_info.rsv_base_addr : 12000 boot_info.ddr.addr : 4000 boot_info.ddr.size : 0004 boot_info.version : 0001 boot_info.checksum : 16005 Wrting blocks 1 to 2048 @ boot1 boot_info.rsv_base_addr : 12000 boot_info.ddr.addr : 4000 boot_info.ddr.size : 0004 boot_info.version : 0001 boot_info.checksum : 16005 gxl_p230_v1# defenv_reserv -a ## defenv_reserve gxl_p230_v1#saveenv Saving Environment to aml-storage... mmc env offset: 0x4d400000 Writing to MMC(1)... done gxl_p230_v1#reboot gxl_p230_v1#reboot reboot use default mode: normal boot_dev: 0x4 warning you may need update your uboot! check_dev return 0 bl31 reboot reason: 0xd bl31 reboot reason: 0x1 system cmd 1. GXL:BL1:9ac50e:bb16dc;FEAT:ADFC318C:0;POC:3;RCY:0;EMMC:0;READ:0;0.0;CHK:0; TE: 101495 BL2 Built : 15:21:58, Mar 26 2020. gxl g486bc38 - gongwei.chen@droid11-sz set vdd cpu_a to 1120 mv set vdd cpu_b to 1050 mv set vddee to 1000 mv Board ID = 4 CPU clk: 1200MHz DQS-corr enabled DDR scramble enabled LPDDR3 chl: Rank0+1 @ 768MHz bist_test rank: 0 16 04 29 38 21 4f 1a 02 32 35 1d 4d 15 00 2b 3a 22 52 18 02 2f 37 1e 51 700 rank: 1 16 02 2b 38 23 4d 1a 03 31 34 1f 4a 14 00 28 3b 24 52 18 01 2f 38 20 51 700 Rank0: 1024MB-2T-3 Rank1: 10▒4MB-2T-3 AddrBus test pass! eMMC boot @ 0 sw8 s emmc switch 3 ok B▒2: rpmb co▒▒▒ 0x00000002 emmc switch 0 ok▒ Load fip header from eMMC,▒src: 0x0000c200, des: 0x01400000, size: 0x00004000, part: 0 New fip structure! ▒Load bl31 from eMMC, src: 0x00020200, des: 0x05100000, size: 0x0002c400, part: 0 0002c400Load bl33 from eMMC, src: 0x00050200, des: 0x0L▒▒▒▒▒b▒▒▒▒ 0x0007f200, part: 0 UART REMOVED and HDMI connected