Instant Boot Demo Install on T20

I tried to install Instant Boot demo on T20 and got error from nvflash tool.

Do you like to program:
1) 256MB module
2) 512MB module
2
已复制         1 个文件。
已复制         1 个文件。
已复制         1 个文件。
Nvflash version 2.0 started
rcm version 0X20001
System Information:
   chip name: t20
   chip id: 0x20 major: 1 minor: 3
   chip sku: 0x8
   chip uid: 0x042800c5405fe297
   macrovision: disabled
   hdcp: enabled
   sbk burned: false
   dk burned: false
   boot device: nand
   operating mode: 3
   device config strap: 0
   device config fuse: 4128
   sdram config strap: 0

sending file: ColibriTegra2_333.bct
- 4080/4080 bytes sent
ColibriTegra2_333.bct sent successfully
downloading bootloader -- load address: 0x8300000 entry point: 0x8300000
sending file: loader.nb0
| 695896/695896 bytes sent
loader.nb0 sent successfully
waiting for bootloader to initialize
bootloader status: success (code: 0) message:  flags: 1073880940
bootloader failed NvError 0x0
command failure: bootloader download failed

On console of T20, it stoped when printing these content:

Nand Block dev ioctl opcode=NvDdkBlockDevIoctlType_MapLogicalToPhysicalSector error 0x14001C
 Nand block driver: Read Error = 0x14001C, PartId=3399902698, Read: start=0x300, sector count=0x1
PartitionTableInit Failed for CE6 (e=4)
Toradex Bootloader 0.1 BETA 5 for Colibri Built Jul 14 2011
RAM: 512 MB, CarveOut: 64 MB

Initiating 3P server.

The nvflash tool came from http://files.toradex.com/Colibri/WinCE/Special/nvflash.zip as said in ReadMe file.
Even with nvflash_2.2_920 flahing V2.0 WinCE7 image, the moduel entered into recovery mode directly after successful flashing. The log for flashing v2.0 image is

Toradex NVFlash Update Script
***********************************
Nvflash version 2.2 started
rcm version 0X20001
System Information:
   chip name: t20
   chip id: 0x20 major: 1 minor: 3
   chip sku: 0x8
   chip uid: 0x0000000000000000042800c5405fe297
   macrovision: disabled
   hdcp: enabled
   jtag: enabled
   sbk burned: false
   dk burned: false
   boot device: nand
   operating mode: 3
   device config strap: 0
   device config fuse: 4128
   sdram config strap: 0

Sending generated BCT...Done
downloading bootloader -- load address: 0x08300000 entry point: 0x08300000
sending file: loader.nb0
\ 463692/463692 bytes sent
loader.nb0 sent successfully
waiting for bootloader to initialize
bootloader downloaded successfully
setting device: 0 0
deleting device partitions
creating partition: BCT
creating partition: PT
creating partition: EBT
creating partition: EB2
creating partition: IM2
creating partition: BMP
creating partition: CE6
creating partition: ARG
creating partition: REG
creating partition: USR
sending file: EBOOT.NB0
\ 503568/503568 bytes sent
EBOOT.NB0 sent successfully
sending file: EBOOT.NB0
- 503568/503568 bytes sent
EBOOT.NB0 sent successfully
sending file: Splashscreen.bmz
- 4426/4426 bytes sent
Splashscreen.bmz sent successfully
sending file: NK_CE7.NB0
- 25895460/25895460 bytes sent
NK_CE7.NB0 sent successfully
Sending Sync...
Sync Successful

The log from console of T20 when flahsing V2.0 WinCE7 image is :
Toradex Flash Loader 1.1 for Tegra Built Aug 12 2016 13:30:26
Nand Boot Device
Micron M61A PS:4KB BS:512KB DS:0MB BCH16 ECC
Detecting Memory Size…
512MB RAM
LoadPartitionTable at startLogicalSector=0, numLogicalSectors=0

LoadPartitionTable failed. NvError 4 NvStatus 0
WARNING: Config Block not found at default location
Setting ecc to default ECC
Ecc set to (770)
+NandUtilFormatDev(1)
-NandUtilFormatDev()
PartId 2: LB[0 1] PB[0 5] IL1  LS[0 128]
PartId 3: LB[1 1] PB[5 5] IL1  LS[128 128]
PartId 4: LB[2 1] PB[10 5] IL1  LS[256 128]
PartId 10: LB[3 1] PB[15 5] IL1  LS[384 128]
PartId 11: LB[4 8] PB[20 12] IL1  LS[512 1024]
PartId 5: LB[12 1] PB[32 5] IL1  LS[1536 128]
PartId 7: LB[13 200] PB[37 210] IL1  LS[1664 25600]
PartId 8: LB[213 1] PB[247 6] IL1  LS[27264 128]
PartId 9: LB[214 6] PB[253 11] IL1  LS[27392 768]
Partition 13 - number of physical blocks = 1780
PartId 13: LB[220 5] PB[264 1780] IL1  LS[28160 227840]
+NandUtilFormatDev(1)
-NandUtilFormatDev()
Save Region Table copy 0 at CurrBlockNum 2047
Save Region Table copy 1 at CurrBlockNum 2046
Save Region Table copy 2 at CurrBlockNum 2045
Save Region Table copy 3 at CurrBlockNum 2044
Erase Partition part-id=3: Start=5,End=9

Start Downloading EBT

End Downloading EBT

Start Downloading EB2

End Downloading EB2

Start Downloading BMP

End Downloading BMP

Start Downloading CE6

End Downloading CE6
Syncing BCTs...
LoadPartitionTable at startLogicalSector=128, numLogicalSectors=128
WriteAllBcts_Write 1,0
WriteAllBcts_Write 64,0
WriteAllBcts_Write 0,0
Syncing BCTs Successfully Completed

Done

There is an error here “LoadPartitionTable failed. NvError 4 NvStatus 0
WARNING: Config Block not found at default location
Setting ecc to default ECC
Ecc set to (770)”
Is the ECC set back to RS4 instead of BCH16 for V2.0 image ?

I test Colibri T20 256MB V1.2A and Colibri T20 512MB V1.1C modules. Both modules are flashed with V2.0 WinCE7 image. Colibri T20 256MB V1.2A can boot successfully, but Colibri T20 512MB V1.1C fails, entering into recovery mode. There is an error from Colibri T20 512MB V1.1C serial console when flashing, it is “LoadPartitionTable at startLogicalSector=0, numLogicalSectors=0 LoadPartitionTable failed. NvError 4 NvStatus 0”. Log file of both module flashing image is here.
Is it possible bct configuration file not working on Colibri T20 512MB V1.1C ?

The Instant Boot demo is only supported on Colibri T20 1.1C.

@benjamin.tx: Do you remember what you had flashed previously on the 1.1c module?

It is ‘Toradex Windows CE 7.0 IMAGE 1.4 for Tegra Built Sep 3 2015’. I flash it by our internal ProdTester which is based on NVFlash/Recovery mode. It seems to be the only way to bring v1.1c module back to alive, even not current v1.4 image on developer center.