Date: Wed, 27 Dec 2017 09:19:39 +0900 (JST) From: Mori Hiroki <yamori813@yahoo.co.jp> To: "freebsd-mips@freebsd.org" <freebsd-mips@freebsd.org> Subject: CFI Flash problem. Message-ID: <740770.34795.qm@web101706.mail.ssk.yahoo.co.jp>
next in thread | raw e-mail | index | archive | help
Hi.=0A=0AI compite flush upgrade for SPI flash.=0A=0ABut I have problem at = CFI flash. I can't correct upgrade=0ACFI Flash. I do flash upgrade then can= 't boot it.=0A=0AI try on RT3052 with sys/mips/mediatek code. Flash is MX= =0A29LV320BTI.=0A=0A=0AUpgrade method used by tftp and dd. This is same as = SPI=0Aflash.=0A=0AThis is image dump.=0A=0Amicroserver % hexdump Planex_MZK= -WNH_FDT.zimage=0A0000000 0527 5619 c441 f1ab 3c5a 1ed0 1100 bf50=0A0000010= 0080 0011 0080 0011 413a 7d8b 0505 0302=0A0000020 7246 6565 5342 2044 654b= 6e72 6c65 4920=0A0000030 616d 6567 0000 0000 0000 0000 0000 0000=0A=0AThis= is flash dump by u-boot command.=0A=0ART3052 # md bfc50000=0Abfc50000: 561= 90527 f1abc441 1ed03c5a bf501100 =A0 =A0'..VA...Z<....P.=0Abfc50010: 001100= 80 00110080 7d8b413a 03020505 =A0 =A0........:A.}....=0Abfc50020: 65657246 = 20445342 6e72654b 49206c65 =A0 =A0FreeBSD Kernel I=0Abfc50030: 6567616d 000= 00000 00000000 00000000 =A0 =A0mage............=0A=0AAlways broken some byt= e.=0AAlso I have strange behavior. I copy to flash to md then=0Afirst time = fail but second time success.=0A=0A# dd if=3D/dev/cfid0s.rootfs of=3D/dev/m= d0 bs=3D64k=0Add: /dev/md0: No space left on device=0A29+0 records in=0A28+= 0 records out=0A1835008 bytes transferred in 2.198883 secs (834518 bytes/se= c)=0A# dd if=3D/dev/cfid0s.rootfs of=3D/dev/md0 bs=3D64k=0A41+0 records in= =0A41+0 records out=0A2686976 bytes transferred in 1.467438 secs (1831066 b= ytes/sec)=0A=0A=0AThis is only by telnet access. There is work fine on seri= al=0Aconsole.=A0=0A=0AIf you have some advice, please let me know.=0A=0AReg= ards=0A=0AHiroki Mori=0A
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?740770.34795.qm>