Hello, following this guide: https://forum.doozan.com/read.php?3,135222 loading the uboot in the NAS during nandwrite operation I receive the following error:
emmm ... :-D ... suggestion ?
The procedure up to this point has gone has expected.
Here the check for bad block:
The NAS is still ON.
SORRY - my fault (again :-D ) ... wrong uboot image.
/tmp # /root/tools/./flash_erase /dev/mtd0 0 4 Erasing 128 Kibyte @ 60000 -- 100 % complete /tmp # /root/tools/./nandwrite /dev/mtd0 /tmp/uboot.2017.07-tld-1.nsa325.kwb /tmp/uboot.2017.07-tld-1.nsa325.kwb: No such file or directory nandwrite: error!: Data was only partially written due to error error 9 (Bad file descriptor)instead of
Writing data to block 0 at offset 0x0 Writing data to block 1 at offset 0x20000 Writing data to block 2 at offset 0x40000 Writing data to block 3 at offset 0x60000
emmm ... :-D ... suggestion ?
The procedure up to this point has gone has expected.
Here the check for bad block:
~/tools # dmesg | grep -i 'bad' Scanning device for bad blocks Bad eraseblock 100 at 0x000000c80000 Bad eraseblock 200 at 0x000001900000
The NAS is still ON.
SORRY - my fault (again :-D ) ... wrong uboot image.
/tmp # /root/tools/./nandwrite /dev/mtd0 /tmp/uboot.2023.04-tld-1.nsa325.kwb Writing data to block 0 at offset 0x0 Writing data to block 1 at offset 0x20000 Writing data to block 2 at offset 0x40000 Writing data to block 3 at offset 0x60000