▒GXL:BL1:9ac50e:bb16dc;FEAT:ADFC318C:0;POC:3;RCY:0;EMMC:0;READ:0;0.0;CHK:0; TE: 121089 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 17 04 2a 39 22 50 1a 02 32 35 1d 4d 15 00 2a 3a 22 52 18 02 2f 37 1e 51 700 rank: 1 17 02 2c 39 24 4e 1a 03 31 34 1f 4a 14 00 28 3b 24 52 18 02 2f 38 20 51 700 Rank0: 1024MB-2T-3 Rank1: 1024MB-2T-3 AddrBus test pass! eMMC boot @ 0 sw8 s emmc switch 3 ok BL2: rpmb counter: 0x00000002 emmc switch 0 ok Load fip header from eMMC, src: 0x0000c200, des: 0x01400000, size: 0x00004000, part: 0 New fip structure! Load bl30 from eMMC, src: 0x00010200, des: 0x013c0000, size: 0x0000d600, part: 0 Load bl31 from eMMC, src: 0x00020200, des: 0x05100000, size: 0x0002c400, part: 0 0002c400Load bl33 from eMMC, 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.606540 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: 10 00: logo 0000000002000000 1 01: recovery 0000000002000000 1 02: rsv 0000000000800000 1 03: tee 0000000000800000 1 04: crypt 0000000002000000 1 05: misc 0000000002000000 1 06: boot 0000000002000000 1 set has_boot_slot = 0 07: system 0000000080000000 1 08: cache 0000000020000000 2 09: 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: 0x27400000 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 dde27660, store dde27660 _verify_dtb_checksum()-3476: calc dde27660, store dde27660 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 not find /cvbsout node: FDT_ERR_NOTFOUND hpd_state=0 do_hpd_detect: hdmimode=1080p60hz do_hpd_detect: colorattribute=444,8bit Saving Environment to aml-storage... mmc env offset: 0x27400000 Writing to MMC(1)... done vpp: vpp_matrix_update: 2 no performance table cvbs_config_hdmipll_gxl cvbs_set_vid2_clk vpp: vpp_pq_load pq val error !!! Net: Phy 0 not found PHY reset timed out dwmac.c9410000amlkey_init() enter! [EFUSE_MSG]keynum is 5 [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 aa:e7:22:01:63:c7 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 5 [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: 0x7f851000 [OSD]load fb addr from dts:/meson-fb [OSD]fb_addr for logo: 0x7f851000 [OSD]VPP_OFIFO_SIZE:0xfff00fff [CANVAS]addr=0x7f851000 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 5 [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 5 [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# gxl_p230_v1#store disprotect key [store]disprotect key gxl_p230_v1#store niit 3 store - STORE sub-system Usage: store init flag store read name addr off|partition size read 'size' bytes starting at offset 'off' to/from memory address 'addr', skipping bad blocks. store write name addr off|partition size write 'size' bytes starting at offset 'off' to/from memory address 'addr', skipping bad blocks. store rom_write add off size. write uboot to the boot device store erase boot/data: erase the area which is uboot or data store erase partition : erase the area which partition in u-boot store erase dtb store erase key store disprotect key store rom_protect on/off store scrub off|partition size scrub the area from offset and size store dtb iread/read/write addr read/write dtb, size is optional store key read/write addr read/write key, size is optional store ddr_parameter read/write addr read/write ddr parameter, size is optional store mbr addr update mbr/partition table by dtb store bootlog show boot logs gxl_p230_v1#fatload mmc 0{loadaddr} u-boot.bin ** Bad device specification mmc 0{loadaddr} ** 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} _aml_dtb.partition 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 reading _aml_dtb.partition 43887 bytes read in 9 ms (4.7 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 5, checksum 0xbf13cbdc, version 1, magic A~D start dts,buffer=0000000073eadd90,dt_addr=0000000073eadd90 start dts,buffer=0000000001080000,dt_addr=0000000001080000 get_partition_from_dts() 92: ret 0 parts: 10 00: logo 0000000002000000 1 01: recovery 0000000002000000 1 02: rsv 0000000000800000 1 03: tee 0000000000800000 1 04: crypt 0000000002000000 1 05: misc 0000000002000000 1 06: boot 0000000002000000 1 set has_boot_slot = 0 07: system 0000000080000000 1 08: cache 0000000020000000 2 09: data ffffffffffffffff 4 init_part() 297: PART_TYPE_AML partition table success gxl_p230_v1#sdc_update boot boot.partition normal 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 [MSG]flash LOGIC partCap 0x2000000B [MSG]Down(store) part(boot) sz(0x968800) fmt(normal) [MSG]totalSlotNum = 0, nextWriteBackSlot 1 [fat]Filesize is 0x968800B[9M] [MSG]Burn Start... [fat]0x:leftSz 800 < BPS 2000, gotSz 8800 [MSG]Burn complete BURN boot.partition to part boot OK! =====>Burn part boot in fmt normal OK<====== gxl_p230_v1#sdc_update _aml_dtb _aml_dtb.partition normal 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 [MSG]Down(store) part(_aml_dtb) sz(0xab6f) fmt(normal) [MSG]totalSlotNum = 0, nextWriteBackSlot 1 [fat]Filesize is 0xab6fB[0M] [fat]0x:leftSz b6f < BPS 2000, gotSz ab6f [MSG]Burn Start... [MSG]optimus_download_dtb_image:dataSzReceived=0xab6f start erase dtb...... dev # 1, , several blocks erased OK [store]To run cmd[emmc dtb_write 0x0000000007700000 0x40000] dtb_write()-3737: valid 2 dtb_write()-3757: new stamp 6, checksum 0x3b7874c5, version 1, magic A~D start dts,buffer=0000000073eadd90,dt_addr=0000000073eadd90 start dts,buffer=0000000007700000,dt_addr=0000000007700000 get_partition_from_dts() 92: ret 0 parts: 10 00: logo 0000000002000000 1 01: recovery 0000000002000000 1 02: rsv 0000000000800000 1 03: tee 0000000000800000 1 04: crypt 0000000002000000 1 05: misc 0000000002000000 1 06: boot 0000000002000000 1 set has_boot_slot = 0 07: system 0000000080000000 1 08: cache 0000000020000000 2 09: data ffffffffffffffff 4 init_part() 297: PART_TYPE_AML partition table success [MSG]Burn complete BURN _aml_dtb.partition to part _aml_dtb OK! =====>Burn part _aml_dtb in fmt normal OK<====== gxl_p230_v1#sdc_update recovery recovery.partition normal 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 [MSG]flash LOGIC partCap 0x2000000B [MSG]Down(store) part(recovery) sz(0xd53000) fmt(normal) [MSG]totalSlotNum = 0, nextWriteBackSlot 1 [fat]Filesize is 0xd53000B[13M] [MSG]Burn Start... [fat]0x:leftSz 1000 < BPS 2000, gotSz 3000 [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 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 [MSG]flash LOGIC partCap 0x2000000B [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 sysyem.partition sparse 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 fail in cmd [fatsize mmc 0 sysyem.partition], rcode 1 ERR(../drivers/usb/gadget/v2_burning/v2_sdc_burn/optimus_sdc_update.c)L210:Fail to get image sysyem.partition from mmc ERR(../drivers/usb/gadget/v2_burning/v2_sdc_burn/optimus_sdc_update.c)L326:Fail to burn partition (system) with image file (sysyem.partition) in format (sparse) gxl_p230_v1#sdc_update bootloader bootloader.partition normal 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 [MSG]Down(store) part(bootloader) sz(0xf0000) fmt(normal) [MSG]totalSlotNum = 0, nextWriteBackSlot 15 [fat]Filesize is 0xf0000B[0M] [MSG]Burn Start... amlmmc_write_bootloader() 573: map 0x7 Wrting blocks 1 to 1920 @ user Wrting blocks 1 to 1920 @ 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 1920 @ 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 [MSG]Burn complete BURN bootloader.partition to part bootloader OK! =====>Burn part bootloader in fmt normal OK<====== gxl_p230_v1#sdc_update system system.partition sparse 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 [MSG]flash LOGIC partCap 0x80000000B [MSG]Down(store) part(system) sz(0x443e7688) fmt(sparse) [MSG]totalSlotNum = 0, nextWriteBackSlot 1024 [fat]Filesize is 0x443e7688B[1091M] [MSG]Burn Start... [fat]0x:leftSz 1688 < BPS 2000, gotSz 7688 [MSG]Burn complete Downloading %100 BURN system.partition to part system OK! =====>Burn part system 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} 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: 0x27400000 Writing to MMC(1)... done gxl_p230_v1#reboot