2024-11-12 17:44:01 read - data: 2024-11-12 17:44:01 send - data: len:1 2024-11-12 17:44:02 read - data: nand - NAND sub-system Usage: nand info - show available NAND devices nand device [dev] - show or set current device nand read - addr off|partition size nand write - addr off|partition size [blocks_per_sub_partition] read/write 'size' bytes starting at offset 'off' to/from memory address 'addr', skipping bad blocks. nand read.raw - addr off|partition [count] nand write.raw - addr off|partition [count] Use read.raw/write.raw to avoid ECC and access the flash as-is. nand erase[.spread] [clean] off size - erase 'size' bytes from offset 'off' With '.spread', erase enough for given file size, otherwise, 'size' includes skipped bad blocks. nand erase.part [clean] partition - erase entire mtd partition' nand erase.chip [clean] - erase entire chip' nand bad - show bad blocks nand dump[.oob] off - dump page nand scrub [-y] off size | scrub.part partition | scrub.chip really clean NAND erasing bad blocks (UNSAFE) nand markbad off [...] - mark bad block(s) at offset (UNSAFE) nand biterr off - make a bit error at offset (UNSAFE) nand otpr[.raw] addr off size - Read OTP Region nand otpw[.raw] addr off size - Write OTP Region read/write 'size' bytes starting at OTP offset 'off' to/from memory address 'addr' nand otplock - Lock OTP Region nand write.1 - addr off|partition size write walking 1 pattern for quad mode debugging nand drv[.X] 0|1 - Set driving level. X:gd nand clk [new_clk]- Show/set current possible SPI CLK nand do_ecc 1/0 - Enable or disable internal ecc. #do_ecc 0 (disable), do_ecc 1 (enable) nand bbtread address - Check the block is good or bad in bbt(0x0:factory bad,0x2:running time bad,0x0f:good) nand bbtsave address block_type- mark the block as bad to bbt(0x2:running time bad,0x0f:good) MiIPC # 2024-11-12 17:44:02 send - data: setenv bootdelay 3; len:20 2024-11-12 17:44:06 read - data: setenv bootdelay 3; MiIPC # 2024-11-12 17:44:06 send - data: printenv; len:10