nand read 0x80e00000 0x100000 0x60000 nand read 0x80e80000 0x160000 0xa0000 tftp 0x80600000 mtd3.kernel bootm Log of the commands : ZMM210 # nand read 0x80e00000 0x100000 0x60000 NAND read: device 0 offset 0x100000, size 0x60000 393216 bytes read: OK ZMM210 # nand read 0x80e80000 0x160000 0xa0000 NAND read: device 0 offset 0x160000, size 0xa0000 655360 bytes read: OK ZMMby salahbr - uBoot
i did transfert the file via TFTPF and write to the nand flash but without succes :( the device wont boot ZMM210 # tftp 0x80600000 mtd3.kernel ====>phy 16 Autonegotiation Complete ====>found PHY 16 GMAC init finish Using JZ ETHERNET device TFTP from server 192.168.2.10; our IP address is 192.168.2.11 Filename 'mtd3.kernel'. Load address: 0x80600000 Loading: #########by salahbr - uBoot
here is the log of the command you provided mister Bodhi : is there any to install it # nanddump --noecc --omitoob -f mtd3.kernel /dev/mtd3 -sh: nanddump: not found # but i did use this command and it was succefull : dd if=/dev/mtd3 of=/tmp/mtd3.kernel # dd if=/dev/mtd3 of=/tmp/mtd3.kernel 6144+0 records in 6144+0 records out 3145728 bytes (3.0MB) copied, 1.271531by salahbr - uBoot
here is the log of the 2 commands : dmesg cat /proc/mtd # dmesg [ 0.000000] Linux version 3.0.8-svn226 (root@ubuntu) (gcc version 4.1.2) #313 PREEMPT Thu May 19 00:55:36 PDT 2016 [ 0.000000] CPU0 RESET ERROR PC:DFFFCFCE [ 0.000000] bootconsole enabled [ 0.000000] CPU revision is: 2ed1024f (Ingenic Xburst) [ 0.000000] FPU revision is: 00330000 [ 0.000000] setup_by salahbr - uBoot
mister bodhi i don't now where i can find the backup of this image kernel but i have an other working device with similar configuration and similar image kernel 100% similar can i get image from it and flash it to that corrupted one ???? if yes can you show me how to exract image kernel from working device to the bad one ?????by salahbr - uBoot
thank you mister bodhi for you time and reply sorry for the mistake here is what i exaclty did nand erase 0x260000 0x20000 please can you help me to resolve that problem a recovery or anything else ??? to correct that mistakeby salahbr - uBoot
hello mister bodhi for you help and reply for printenv command here is the log : ZMM210 # printenv bootargs=mem=64M console=ttyS3,57600n8 ubi.mtd=4 root=ubi0:ubifs rootfstype=ubifs rw bootcmd=nand read 0x80e00000 0x100000 0x60000;nand read 0x80e80000 0x160000 0xa0000;nand read 0x80600000 0x200000 0x300000;bootm bootdelay=1 baudrate=57600 loads_echo=1 ethaddr=00:2a:c6:2c:bd:fcby salahbr - uBoot
hello everyone i accidentaly erased nand flash by this command nand erase 0x20000 and now the uboot wont upload , is there any way to recover it ?? please by the way its a board of a zkteco F18 after doing a nand flash erase the it wont boot anymore here is my entire log : NAND Secondary Program Loader REG_CPM_CPMPCR = 28080000 ===> REG_CPM_DDCDR = 60000002 mpll init oveby salahbr - uBoot