Date: Thu, 28 Dec 2017 07:42:17 +0900 (JST) From: Mori Hiroki <yamori813@yahoo.co.jp> To: Michael Zhilin <mizhka@gmail.com> Cc: "freebsd-mips@freebsd.org" <freebsd-mips@freebsd.org> Subject: Re: CFI Flash problem. Message-ID: <125804.21070.qm@web101711.mail.ssk.yahoo.co.jp> In-Reply-To: <CAF19XB%2BqfLi=MH%2B8b%2B3tug3-qiU48Pfteg35HK5WVJdCe%2BaiVw@mail.gmail.com> References: <740770.34795.qm@web101706.mail.ssk.yahoo.co.jp> <CAF19XB%2BqfLi=MH%2B8b%2B3tug3-qiU48Pfteg35HK5WVJdCe%2BaiVw@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi=0A=0AI mistake paste. This is broken dump.=0A=0Abfc50000: 56190527 83810= 400 10c03c5a be501100 =A0 =A0'..V....Z<....P.=0Abfc50010: 00110080 00110080= 1801e251 03020505 =A0 =A0........Q.......=0Abfc50020: 65657246 20445342 6e= 72654b 49206c65 =A0 =A0FreeBSD Kernel I=0Abfc50030: 6567616d 00000000 00000= 000 00000000 =A0 =A0mage............=0A=0AI will check geom debug bit.=0A= =0AThanks=0A=0AHiroki Mori=0A=0A----- Original Message -----=0A>From: Micha= el Zhilin <mizhka@gmail.com>=0A>To: Mori Hiroki <yamori813@yahoo.co.jp> =0A= >Cc: "freebsd-mips@freebsd.org" <freebsd-mips@freebsd.org>=0A>Date: 2017/12= /27, Wed 21:36=0A>Subject: Re: CFI Flash problem.=0A> =0A>=0A>Hi Hiroki-san= ,=0A>=0A>1. I see no broken bytes on your example, could you please explain= what byte is wrong? =0A>2. md0 is memory disk. I guess it's worth to enabl= e geom debug bits to identify why bio has been failed.=0A>=0A>Thanks!=0A>= =0A>=0A>=0A>On Wed, Dec 27, 2017 at 3:19 AM, Mori Hiroki <yamori813@yahoo.c= o.jp> wrote:=0A>=0A>Hi.=0A>>=0A>>I compite flush upgrade for SPI flash.=0A>= >=0A>>But I have problem at CFI flash. I can't correct upgrade=0A>>CFI Flas= h. I do flash upgrade then can't boot it.=0A>>=0A>>I try on RT3052 with sys= /mips/mediatek code. Flash is MX=0A>>29LV320BTI.=0A>>=0A>>=0A>>Upgrade meth= od used by tftp and dd. This is same as SPI=0A>>flash.=0A>>=0A>>This is ima= ge dump.=0A>>=0A>>microserver % hexdump Planex_MZK-WNH_FDT.zimage=0A>>00000= 00 0527 5619 c441 f1ab 3c5a 1ed0 1100 bf50=0A>>0000010 0080 0011 0080 0011 = 413a 7d8b 0505 0302=0A>>0000020 7246 6565 5342 2044 654b 6e72 6c65 4920=0A>= >0000030 616d 6567 0000 0000 0000 0000 0000 0000=0A>>=0A>>This is flash dum= p by u-boot command.=0A>>=0A>>RT3052 # md bfc50000=0A>>bfc50000: 56190527 f= 1abc441 1ed03c5a bf501100 =A0 =A0'..VA...Z<....P.=0A>>bfc50010: 00110080 00= 110080 7d8b413a 03020505 =A0 =A0........:A.}....=0A>>bfc50020: 65657246 204= 45342 6e72654b 49206c65 =A0 =A0FreeBSD Kernel I=0A>>bfc50030: 6567616d 0000= 0000 00000000 00000000 =A0 =A0mage............=0A>>=0A>>Always broken some = byte.=0A>>Also I have strange behavior. I copy to flash to md then=0A>>firs= t time fail but second time success.=0A>>=0A>># dd if=3D/dev/cfid0s.rootfs = of=3D/dev/md0 bs=3D64k=0A>>dd: /dev/md0: No space left on device=0A>>29+0 r= ecords in=0A>>28+0 records out=0A>>1835008 bytes transferred in 2.198883 se= cs (834518 bytes/sec)=0A>># dd if=3D/dev/cfid0s.rootfs of=3D/dev/md0 bs=3D6= 4k=0A>>41+0 records in=0A>>41+0 records out=0A>>2686976 bytes transferred i= n 1.467438 secs (1831066 bytes/sec)=0A>>=0A>>=0A>>This is only by telnet ac= cess. There is work fine on serial=0A>>console.=A0=0A>>=0A>>If you have som= e advice, please let me know.=0A>>=0A>>Regards=0A>>=0A>>Hiroki Mori=0A>>=0A= >>______________________________ _________________=0A>>freebsd-mips@freebsd= .org mailing list=0A>>https://lists.freebsd.org/ mailman/listinfo/freebsd-m= ips=0A>>To unsubscribe, send any mail to "freebsd-mips-unsubscribe@ freebsd= .org"=0A>>=0A>=0A>=0A>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?125804.21070.qm>