BlkDev: Factory Bad block: Chip0

I’m trying to switch back from Linux to Windows CE firmware.
I’ll give you the script and terminal logs right away. What can be done?

Toradex NVFlash Update Script
***********************************
Nvflash version 2.6 started
rcm version 0X20001
System Information:
   chip name: t20
   chip id: 0x20 major: 1 minor: 4
   chip sku: 0x8
   chip uid: 0x00000000000000000271118840007297
   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...333Mhz Done
downloading bootloader -- load address: 0x08300000 entry point: 0x08300000
sending file: loader.nb0
\ 467360/467360 bytes sent
loader.nb0 sent successfully
waiting for bootloader to initialize
bootloader downloaded successfully
MAC:    TID=0x00142D, CID=********
HW:     VerMaj=1, VerMin=2, Variant=0, ProdID=21

Updating BCT
Sending generated BCT...RamSize=512MB, isApalis=0, isIT=0, 333Mhz Done
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
\ 503272/503272 bytes sent
EBOOT.NB0 sent successfully
sending file: EBOOT.NB0
- 503272/503272 bytes sent
EBOOT.NB0 sent successfully
sending file: Splashscreen.bmz
- 4426/4426 bytes sent
Splashscreen.bmz sent successfully
sending file: NK_CE6.NB0
| 17555916/17555916 bytes sent
NK_CE6.NB0 sent successfully
Sending Sync...
Sync Successful

Terminal:

Toradex Flash Loader 2.6 for Tegra Built May  6 2019 17:38:39
DeviceUID: 0x00000000000000000271118840007297
Nand Boot Device
Micron M71M PS:4KB BS:256KB DS:0MB BCH16 ECC
Detecting Memory Size...
512MB RAM
AdjustingBCT: NAND, PageSize=4KB, BlockSize=256KB, RamSize=512MB, isApalis=0, isIT=0
Read BCT ConfigBlock
MAC: tid=0x00142D, cid=10682363
HW: VerMaj=1, VerMin=2, Variant=0, ProdID=21
Read ARG ConfigBlock
MAC: tid=0x00142D, cid=10682363
HW: VerMaj=1, VerMin=2, Variant=0, ProdID=21
WARNING: Missing PROD Entry
UpdateBCT
Defaulting ECC to: BCH16
+NandUtilFormatDev(1)
BlkDev: Factory Bad block: Chip0 Block=10,FCB=0x0
BlkDev: Factory Bad block: Chip0 Block=100,FCB=0x0
-NandUtilFormatDev()
PartId 2: LB[0 2] PB[0 6] IL1  LS[0 128]
BlkDev: Factory Bad block: Chip0 Block=10,FCB=0x0
Chip0 Block=10 bad
PartId 3: LB[2 1] PB[6 6] IL1  LS[128 64]
PartId 4: LB[3 2] PB[12 6] IL1  LS[192 128]
PartId 10: LB[5 2] PB[18 6] IL1  LS[320 128]
PartId 11: LB[7 16] PB[24 20] IL1  LS[448 1024]
PartId 5: LB[23 1] PB[44 5] IL1  LS[1472 64]
BlkDev: Factory Bad block: Chip0 Block=100,FCB=0x0
Chip0 Block=100 bad
PartId 7: LB[24 400] PB[49 417] IL1  LS[1536 25600]
PartId 8: LB[424 1] PB[466 6] IL1  LS[27136 64]
PartId 9: LB[425 12] PB[472 17] IL1  LS[27200 768]
Partition 13 - number of physical blocks = 3603
PartId 13: LB[437 5] PB[489 3603] IL1  LS[27968 230592]
+NandUtilFormatDev(1)
BlkDev: Factory Bad block: Chip0 Block=10,FCB=0x0
BlkDev: Factory Bad block: Chip0 Block=100,FCB=0x0
-NandUtilFormatDev()
Save Region Table copy 0 at CurrBlockNum 4095
Save Region Table copy 1 at CurrBlockNum 4094
Save Region Table copy 2 at CurrBlockNum 4093
Save Region Table copy 3 at CurrBlockNum 4092
Erase Partition part-id=3: Start=6,End=11
FtlLite: Factory Bad block: Chip0 Block=10,FCB=0x0

 EraseAllBlocks: factory bad block @ chip=0,blk=10
 Bad block in pba2lba ftlite map: chip=0, blk=10
Start Downloading EBT

End Downloading EBT

Start Downloading EB2

End Downloading EB2

Start Downloading BMP

End Downloading BMP

Start Downloading CE6

 EraseAllBlocks: factory bad block @ chip=0,blk=100
 Bad block in pba2lba ftlite map: chip=0, blk=100
End Downloading CE6
Syncing BCTs...
BlkDev: Factory Bad block: Chip0 Block=10,FCB=0x0
WriteAllBcts_Write 1,0
WriteAllBcts_Write 64,1
WriteAllBcts_Write 0,0
Syncing BCTs Successfully Completed
Wrote ConfigBlock MAC HW
Nv3pServer(): Exiting

Done
Toradex Bootloader 2.4 for Tegra Built Jan  7 2022 14:04:27

Press [SPACE] to enter Bootloader Menu

Colibri T20 512MB 1.2A  Serial: **********
RAM: 512 MB, CarveOut: 64 MB

 Bad block in pba2lba ftlite map: chip=0, blk=100 Loading IM1 image from flash...
 Bad block in pba2lba ftlite map: chip=0, blk=100 Done(937ms)
Checking Image CRC...OK(48ms)
Decompressing IMAGE(17555884, 33594664) from 8201FD3C to 80016000...Done(378ms)
Jumping to image at 0x80016000...


Hi @AlexAr ,

Did you already try to follow this article? - Txx Recovery Mode | Toradex Developer Center

This should work fine, if not you might have a broken module in hands. Then I would suggest you try a different module to check if the procedure is working for you.

It is worth to mention that Tegras are End of Life, therefore they are not on sales anymore. Also WinCE is end of life, if you are working on a new project, please check: Tegra Migration Guide | Toradex Developer Center

Best Regards

Guilherme

1 Like

Please be aware that bad blocks naturally occur during the manufacturing process and typically represent about 1% of the total capacity. These bad blocks are an inherent aspect of production and it’s not a cause for concern if some are reported during the flash process.

1 Like