Unbrick M8S ( M8 V9_1 20160120 ) Android TV box Amlogic S812

LDO05 v:1800, 0x[50]: 00 -> 24 QA9:A;SVN:74E;POC:3DF;STS:6B730001;SKIP:0;BOOT:1;INIT:10;USB:3;SERIAL:4;STS:6B730000;BOOT:0;INIT:0;READ:0;CHECK:0;PASS:0; no sdio debug board detected▒ TE : 11574898 BT : 15:45:59 Jun 20 2016 ###adc_identify:00000004 ###spl_hw_token:00000000 ###adc_identify:00000002 ###spl_hw_token:00000000 PMU:rn5t618 i2c timeout i2c timeout i2c timeout i2c timeout i2c timeout i2c timeout DC01 v:1100, 0x[36]: 00 -> 28 i2c timeout i2c timeout DC02 v:1150, 0x[37]: 00 -> 2c i2c timeout i2c timeout DC03 v:1500, 0x[38]: 00 -> 48 i2c timeout i2c timeout i2c timeout i2c timeout LDO01 v:2900, 0x[4c]: 00 -> 50 i2c timeout i2c timeout LDO02 v:1800, 0x[4d]: 00 -> 24 i2c timeout i2c timeout LDO03 v:1800, 0x[4e]: 00 -> 30 i2c timeout i2c timeout LDO04 v:2850, 0x[4f]: 00 -> 4e i2c timeout i2c timeout LDO05 v:1800, 0x[50]: 00 -> 24 QA9:A;SVN:74E;POC:3DF;STS:6B730001;SKIP:0;BOOT:1;INIT:10;USB:3;SERIAL:4;STS:6B730000;BOOT:0;INIT:0;READ:0;CHECK:0;PASS:0; no sdio debug board detected

TE : 11574862 BT : 15:45:59 Jun 20 2016 ###adc_identify:00000004 ###spl_hw_token:00000000 ###adc_identify:00000002 ###spl_hw_token:00000000 PMU:rn5t618 i2c timeout i2c timeout i2c timeout i2c timeout i2c timeout i2c timeout DC01 v:1100, 0x[36]: 00 -> 28 i2c timeout i2c timeout DC02 v:1150, 0x[37]: 00 -> 2c i2c timeout i2c timeout DC03 v:1500, 0x[38]: 00 -> 48 i2c timeout i2c timeout i2c timeout i2c timeout LDO01 v:2900, 0x[4c]: 00 -> 50 i2c timeout i2c timeout LDO02 v:1800, 0x[4d]: 00 -> 24 i2c timeout i2c timeout LDO03 v:1800, 0x[4e]: 00 -> 30 i2c timeout i2c timeout LDO04 v:2850, 0x[4f]: 00 -> 4e i2c timeout i2c timeout LDO05 v:1800, 0x[50]: 00 -> 24 QA9:A;SVN:74E;POC:3DF;STS:6B730001;SKIP:0;BOOT:1;INIT:10;USB:3;QA9:A;SVN:74E;POC:3DF;STS:0;BOOT:0;INIT:0;READ:0;CHECK:0;PASS:0; no sdio debug board detected TE : 25497 BT : 15:45:59 Jun 20 2016 ###adc_identify:00000155 ###spl_hw_token:00000002 ###adc_identify:00000002 ###spl_hw_token:00000000 PMU:rn5t618 i2c timeout i2c timeout i2c timeout i2c timeout i2c timeout i2c timeout DC01 v:1100, 0x[36]: 00 -> 28 i2c timeout i2c timeout DC02 v:1150, 0x[37]: 00 -> 2c i2c timeout i2c timeout DC03 v:1500, 0x[38]: 00 -> 48 i2c timeout i2c timeout i2c timeout i2c timeout LDO01 v:2900, 0x[4c]: 00 -> 50 i2c timeout i2c timeout LDO02 v:1800, 0x[4d]: 00 -> 24 i2c timeout i2c timeout LDO03 v:1800, 0x[4e]: 00 -> 30 i2c timeout i2c timeout LDO04 v:2850, 0x[4f]: 00 -> 4e i2c timeout i2c timeout LDO05 v:1800, 0x[50]: 00 -> 24 QA9:A;SVN:74E;POC:3DF;STS:6B730001;SKIP:0;BOOT:1;INIT:10;USB:3;QA9:A;SVN:74E;POC:3DF;STS:0;BOOT:0;INIT:0;READ:0;CHECK:0;PASS:0; no sdio debug board detected TE : 25503 BT : 15:45:59 Jun 20 2016 ###adc_identify:00000003 ###spl_hw_token:00000000 ###adc_identify:00000001 ###spl_hw_token:00000000 PMU:rn5t618 i2c timeout i2c timeout i2c timeout i2c timeout i2c timeout i2c timeout DC01 v:1100, 0x[36]: 00 -> 28 i2c timeout i2c timeout DC02 v:1150, 0x[37]: 00 -> 2c i2c timeout i2c timeout DC03 v:1500, 0x[38]: 00 -> 48 i2c timeout i2c timeout i2c timeout i2c timeout LDO01 v:2900, 0x[4c]: 00 -> 50 i2c timeout i2c timeout LDO02 v:1800, 0x[4d]: 00 -> 24 i2c timeout i2c timeout LDO03 v:1800, 0x[4e]: 00 -> 30 i2c timeout i2c timeout LDO04 v:2850, 0x[4f]: 00 -> 4e i2c timeout i2c timeout LDO05 v:1800, 0x[50]: 00 -> 24 QA9:A;SVN:74E;POC:3DF;STS:6B730001;SKIP:0;BOOT:1;INIT:10;USB:3; no sdio debug board detected TE : 51747292 BT : 09:02:54 Sep 6 2015 PMU:NONE

VDDEE voltage = 0x044c1100

CPU clock is 1200MHz CPU type: M8M2

board_id:00000002 DDR info: 2GB @ 792MHz(2T) DDR channel: DDR 0 + DDR 1 (auto)

DDR test waiting…

DDR init use : 16961 us

PLL & DDR init OK

End ddr main 09:02:54 Sep 6 2015 ucl Decompress START ====> compressData 00200000,decompressedAddr 10000000. uclDecompress OK.

<====ucl Decompress END.

decompressedLen 000bde00. U-boot-00000-gadf0447-dirty(m8_n200C_v1@) (Sep 06 2015 - 09:02:44)

clr h-ram DRAM: 2 GiB relocation Offset is: 2feb4000 show partition table: part: 0, name : logo, size : 2000000 part: 1, name : recovery, size : 2000000 part: 2, name : misc, size : 2000000 part: 3, name : boot, size : 2000000 part: 4, name : system, size : 40000000 part: 5, name : cache, size : 20000000 part: 6, name : data, size : end aml_card_type=0x100 MMC: [mmc_register] add mmc dev_num=0, port=1, if_type=6 [mmc_register] add mmc dev_num=1, port=2, if_type=6 SDIO Port B: 0, SDIO Port C: 1 Enter USB burn Set Addr 24 Get DT cfg Get DT cfg Get DT cfg set CFG

ID[16] tplcmd[ echo 12345] 12345 msg:ret = 0 [info]success BULKcmd[ low_power] [info]success BULKcmd[disk_initial 4] msg:run cmd [store disprotect key; store disprotect hynix] [store]disprotect key disprotect hynix

NAND BOOT: boot_device_flag 1 Nand PHY driver Version: 2.01.001.0004 (c) 2013 Amlogic Inc. amlnf_phy_init : amlnf init flag 4 NAND device id: ad de 14 a7 42 4a ad de detect NAND device: E revision 1Ynm NAND 8GiB H27UCG8T2E nand chip ce mask 1 AML_NAND_NEW_OOB : new oob bus_cycle=6, bus_timing=8,system=3.9ns,flash->T_REA =16,flash->T_RHOH=15 hynix nand get default reg value at blk:7, page:1792 NAND CKECK : arg nbbt: arg_valid= 1, valid_blk_addr = 4, valid_page_addr = 0 NAND CKECK : arg fbbt: arg_valid= 0, valid_blk_addr = 0, valid_page_addr = 0 found NO arg : fbbt info NAND CKECK : arg nkey: arg_valid= 1, valid_blk_addr = 10, valid_page_addr = 104 start_blk =0,total_blk=2048 nand erasing 0 % –10 % complete protect nand_bbt info at blk 4 chipenv block skipping!!!!!!!0x4 nand erasing 10 % –20 % complete nand erasing 20 % –30 % complete nand erasing 30 % –40 % complete nand erasing 40 % –50 % complete bad block skipping!!!!0x360 bad block skipping!!!!0x361 nand erasing 50 % –60 % complete nand erasing 60 % –70 % complete bad block skipping!!!!0x55a bad block skipping!!!!0x55b nand erasing 70 % –80 % complete nand erasing 80 % –90 % complete nand erasing 90 % –100 % complete bad block skipping!!!!0x78c bad block skipping!!!!0x78d nandphy_init failed and ret=0xffffffff nand_init failed ret:1 command: amlnf init 1 -> 4

NAND BOOT: boot_device_flag 1 Nand PHY driver Version: 2.01.001.0004 (c) 2013 Amlogic Inc. amlnf_phy_init : amlnf init flag 1 NAND device id: ad de 14 a7 42 4a ad de detect NAND device: E revision 1Ynm NAND 8GiB H27UCG8T2E nand chip ce mask 1 AML_NAND_NEW_OOB : new oob bus_cycle=6, bus_timing=8,system=3.9ns,flash->T_REA =16,flash->T_RHOH=15 NAND CKECK : arg nbbt: arg_valid= 1, valid_blk_addr = 4, valid_page_addr = 0 NAND CKECK : arg ncnf: arg_valid= 0, valid_blk_addr = 0, valid_page_addr = 0 found NO arg : ncnf info NAND CKECK : arg nkey: arg_valid= 0, valid_blk_addr = 0, valid_page_addr = 0 found NO arg : nkey info i=0,register — nand_key NAND CKECK : arg nenv: arg_valid= 0, valid_blk_addr = 0, valid_page_addr = 0 found NO arg : nenv info NAND CKECK : arg phyp: arg_valid= 0, valid_blk_addr = 0, valid_page_addr = 0 found NO arg : phyp info nfboot : offset: 0x000000000000 -0x000001000000 : partitons 0 : single_chip single_plane nfcache : offset: 0x00000d000000 -0x000026000000 : partitons 1 : single_chip multi_plane nfcode : offset: 0x000033000000 -0x000052000000 : partitons 5 : single_chip multi_plane nfdata : offset: 0x000085000000 -0x00017b000000 : partitons 1 : single_chip multi_plane bad block count = 0 bad block count = 0 bad block count = 0 bad block count = 0 amlnf_logic_init: START amlnf_logic_init: COMPLETE msg:usb producing env_relocate NAND BOOT,nand_env_relocate_spec : env_relocate_spec 49 uboot env amlnf_env_read : #### *** Warning - bad CRC, using default environment

NAND BOOT,nand_saveenv :saveenv 94 uboot env amlnf_env_save : #### nand_saveenv : Successful! [info]success

ID[16] tplcmd[ download mem dtb normal 21223] msg:dtb boot down to 400000 msg:Down(mem) part(dtb) sz(0x52e7) fmt(normal) msg:totalSlotNum = 0, nextWriteBackSlot 1 [info]success msg:Burn Start… msg:load dtb to 0x0f000000 msg:Burn complete BULKcmd[download get_status] [info]success

ID[16] tplcmd[download store boot normal 6947618] msg:flash LOGIC partCap 0x2000000B msg:Down(store) part(boot) sz(0x6a0322) fmt(normal) msg:totalSlotNum = 0, nextWriteBackSlot 1 [info]success msg:Burn Start… msg:Burn complete BULKcmd[download get_status] [info]success BULKcmd[verify sha1sum db90c7fd4aa8223ad0537bad4f19284f90c74264] msg:Verify Start… msg:To verify part boot in fmt normal msg:Verify End msg:VERIFY OK [info]success

ID[16] tplcmd[download store logo normal 1160640] msg:flash LOGIC partCap 0x2000000B msg:Down(store) part(logo) sz(0x11b5c0) fmt(normal) msg:totalSlotNum = 0, nextWriteBackSlot 1 [info]success msg:Burn Start… msg:Burn complete BULKcmd[download get_status] [info]success msg:Burn completea1sum 62c315fdDownloading %7 Downloading %100 BULKcmd[download get_status] [info]success BULKcmd[verify sha1sum bbb5d54cc3497e56c0af3446c560da0cfd5b221d] msg:Verify Start… msg:To verify part system in fmt sparse msg:Verify End msg:VERIFY OK [info]success

ID[16] tplcmd[download store bootloader normal 384432] msg:Down(store) part(bootloader) sz(0x5ddb0) fmt(normal) msg:totalSlotNum = 0, nextWriteBackSlot 6 [info]success msg:Burn Start… msg:partsTabInSram=0xd9004a88 msg:acsSettingInBin=0x406e74, partTabSz=0x280 msg:Check parts table OK.

AMLNAND rom_write: device info name:nfboot, offset:0, size:1000000, option:0 erasesize:400000, writesize:4000, oobavail:20, erasesize_shift:16, writesize_shift:14 configure_data:2b8010, pages_per_blk:100 chip_num 1 controller->chip_num 1, ce bitmask 1 393216 bytes rom_write : OK msg:Burn complete BULKcmd[download get_status] [info]success BULKcmd[verify sha1sum 3953a6764358bcd029ed73ca0270d0856318744f]

AMLNAND rom_read: device info name:nfboot, offset:0, size:1000000, option:0 erasesize:400000, writesize:4000, oobavail:20, erasesize_shift:16, writesize_shift:14 configure_data:2b8010, pages_per_blk:100 384432 bytes rom_read : OK msg:VERIFY OK [info]success BULKcmd[save_setting] msg:store=1

save_setting

msg:[initargs=init=/init console=ttyS0,115200n8 no_console_suspend ramoops.mem_address=0x04e00000 ramoops.mem_size=0x100000 ramoops.record_size=0x8000 ramoops.console_size=0x4000 storage=1] msg:Set upgrade_step to 2 Saving Environment to NAND… NAND BOOT,nand_saveenv :saveenv 94 uboot env amlnf_env_save : #### nand_saveenv : Successful! [info]success BULKcmd[burn_complete 3] msg:Pls un-plug USB line to poweroff [info]success