rjw | 1f88458 | 2022-01-06 17:20:42 +0800 | [diff] [blame^] | 1 | usage |
| 2 | |
| 3 | 1. ramdomizer.py: in_image, out_image, randomizer_type, sec_reseed enable, page size, spare size, sector size, page per block, ppen, vendor |
| 4 | e.g: python randomizer.py nand_storage_image/TC58TEG5DCJTA00_rand_off_ecc.bin nand_storage_image/random.bin 'SS' 1 16384 1280 1024 256 0 "TSB" |
| 5 | |
| 6 | 2. gen_storage_image.py: NAND device name(reference nand_device_list.txt), in_image, out_image, rand_en |
| 7 | e.g: python gen_storage_image.py F59D4G81A-45TG-18V nand_storage_image/GPT_2048_W1_64_FIT.bin nand_storage_image/F59D4G81A-45TG-18V-storage-image.bin 0 |
| 8 | |
| 9 | 3. gen_nand_header.py: NAND device name(reference nand_device_list.txt) |
| 10 | e.g: python gen_nand_header.py TH58TFG8DDLAB4C |
| 11 | |
| 12 | If want to ignore .pyc file, please use python -B xxx.py |