search for a MSO5102, DSO5102 dump or solution - Page 1
Forum section: electronics / testgear

author: nafanja
author_rank: Contributor
timestamp: October 26, 2016, 12:57:43 pm
content: Hello all,Please spend any one, a full dump from one of this Oszis, full or in separate Files is not very important... But please in bin form.or only boot.bin or complete all in one...Or when any one have other Solution - Please help!!!!have my boot section with the "supervivi" overwritten and after that boots the Device not more...Have full dump over h-jtag readed, but in firs sections i can see the fleshed supervivi.

author: nafanja
author_rank: Contributor
timestamp: November 02, 2016, 10:29:53 am
content: nobody has one dump maked?

author: fremen67
author_rank: Frequent Contributor
timestamp: November 03, 2016, 12:48:02 am
content: Quote from: nafanja on November 02, 2016, 10:29:53 amHi nafanja,I posted the boot and kernel dump of my MSO5102D here :https://1drv.ms/f/s!AuLJ8Arc4GbGgSCCUuKlM7TKTD-1Hope it will help, good luck!

author: nafanja
author_rank: Contributor
timestamp: November 03, 2016, 07:47:33 am
content: Thank you, will try it.

author: nafanja
author_rank: Contributor
timestamp: November 03, 2016, 12:41:04 pm
content: Thank you very much!!!, the Scope is over UART connected...hangs on the Kernel Panic, rootFS seems to be broken.How Can i load old backup(if it not fault is) via USB? via H-Jtag it will any days delay....

author: fremen67
author_rank: Frequent Contributor
timestamp: November 03, 2016, 09:43:13 pm
content: Quote from: nafanja on November 03, 2016, 12:41:04 pmH-JTAG is very convenient for bootloader (1Mo) but takes ages for rootfs (121 Mo) if you don't have the H-JTAG USB emulator. At 10ko/s with a parallel wiggler, it is almost 4 hours.One other solution is to use USB with DNW utility and the bootloader menu but it works only for files < 60Mo because the whole file should be able to fit in the 64Mo RAM of the scope. So this works for bootloader, logo and kernel. Not for rootfs.Provided of course that you split your H-JTAG full backup in 4 .bin files following this mapping:0x000000000000-0x0000000FFFFF : boot.bin0x000000100000-0x0000002FFFFF : logo.bin0x000000300000-0x0000006FFFFF : kernel.bin0x000000700000-0x000007FFFFFF : rootfs.binAs your said, your boot.bin may have been overwritten by supervivi but you have mine.logo.bin is not important as it is emptykernel.bin could be written with my kernel.bin backup.The problem would be with the last partition which is much bigger. Either you use H-JTAG and start the transfert at 700000h (long but easy), either you convert your rootfs.bin file into a rootfs.ubi file which will be smaller and then use the previous way with dnw and the bootloader menu. Straightforward ... only when you know how to do it.So my first advice would be: Split your backup, launch the recovery process via H-JTAG and go to bed. it will be ready tomorrow.If it does not work that way, I could help you creating the rootfs.ubi file.The only thing which looks weired is that your DSO should be running with boot.bin and kernel.bin from my backup and your rootfs untouched. If the rootfs is corrupted, I hope it happened after you made you backup with H-JTAG. My rootfs.ubi file comming from a MSO, it will not help you.Edit: Tinhead may be able to provide you with a rootfs dump for your scope as he has collected a lot of versions of firmwares of this scope ...

author: nafanja
author_rank: Contributor
timestamp: November 04, 2016, 07:38:49 am
content: Thank you, but my my rootFS seems ti be broken too... because it hang time to time on the boot process, not every time.Tinhead, I have already asked, but until now now answer from him.I have one MDO5102B.if the NAND was erased, it boots with you Backup. But if i recover my Full Backup and write over you boot File it hangs and not connects over Jtag too, only if i connect a NAND I/O on gnd while turning on.But it works always with boot file from here.https://www.eevblog.com/forum/testgear/hantek-mso5074fg-firmware-upgrade-problem/but if i write the rootFS from here it hangs on writting of them... all other files goes without errors.(it`s all over USB).No, i don`t know how i can convert it from bin to UBI, can you help me, if you can make it, but if my rootFS is really broken it helps not too...

author: fremen67
author_rank: Frequent Contributor
timestamp: November 04, 2016, 01:51:26 pm
content: Quote from: nafanja on November 04, 2016, 07:38:49 amYou can't writre rootfs.bin via USB if the file size is bigger than the scope memory. Via USB, the file is first transfered into scope memory (which is 64Mo), than written on the nand.If you send me a link to your rootfs.bin file, I could try to convert it into a ubi file.

author: nafanja
author_rank: Contributor
timestamp: November 04, 2016, 02:10:15 pm
content: Hello, there is it.https://drive.google.com/open?id=0B_BF_UkPMcPoWGVXZUhXUDdHcDg...if it's not broken...And can i part the bin in 64Mo and flash it one after other?

author: fremen67
author_rank: Frequent Contributor
timestamp: November 05, 2016, 11:00:43 am
content: Quote from: nafanja on November 04, 2016, 02:10:15 pmThere was one broken file on your rootfs. I fixed it and created the rootfs.ubi file. At least it can be transfered and mounted correctly on my dev board...I added the file on my onedrive (use the previous link)Hope this will work.Quote from: nafanja on November 04, 2016, 02:10:15 pmNot without creating a special function for that in the bootloader

author: nafanja
author_rank: Contributor
timestamp: November 05, 2016, 11:31:11 am
content: Hello, again!!!Thank you very much!!! It`s WORK!!!!Have flashed you File as rootFS and other(BOOT, Kernel, KernelBK) from other thread about MSO5074FG, and it`s work. will test it and now can i modify the Scope!!! Super!!! Thank you again!!!

author: fremen67
author_rank: Frequent Contributor
timestamp: November 05, 2016, 12:27:35 pm
content: Quote from: nafanja on November 05, 2016, 11:31:11 amOK, good thing!Quote from: nafanja on November 05, 2016, 11:31:11 amStrange that you need other files than the 3 that are on my onedrive link: boot.bin, kernel.bin and rootfs.ubi. I would not mix files from the MSO5074FG with yours ...

author: nafanja
author_rank: Contributor
timestamp: November 05, 2016, 05:15:29 pm
content: But the problem is, that with you boot file it boot only for a few Seconds and only if the nand was erased.And with the boot and other files from mso5074 boots any time. but now one trouble, the Scope hold on Kernel Panic, then after turn off- turn-on goes without errors, then if i turn it off it comes again to panic, after restart works again and so instant circle....

author: nafanja
author_rank: Contributor
timestamp: November 05, 2016, 05:20:08 pm
content: Here is the Screenshot of themIs the Partitions Table right? two rootfs?

author: fremen67
author_rank: Frequent Contributor
timestamp: November 05, 2016, 09:24:07 pm
content: Quote from: nafanja on November 05, 2016, 05:15:29 pmTry that with the 3 files from my onedrive:1 - erase nand with H-JTAG2 - flash boot.bin with H-JTAG3 - reboot and stop boot process with space bar4 - flash kernel.bin from bootloader5 - flash rootfs.ubi from bootloader6 - rebootDon't use files from MSO5074G. It does not have the same nand layout. That is why you have this kernel panic.If it still does not work, i will send you the rootfs.ubi from my MSO5202D.I have hardware rev 0x55778340 and you have rev 0x55558340. I don't know if it could work.

author: nafanja
author_rank: Contributor
timestamp: November 05, 2016, 11:13:34 pm
content: Have erased all with H-Jtag and flashed boot file form you- result= Scope still black, connects not over UART and H-JTAG will not find a Processor...Then i must to short two IO PINs on NAND, within the Proccessor can not read NAND-Boot on the start, only so can i connect the CPU with H-JTAG again and then flash anything into... but what? you file hold the System on unknown state, and the boot file from 5074 work, but you say, that is pass not for MSO5102B, more as this two file i have nothing. if i flash supervivi it not boots over UART, but i can flash it over h-jtag with anythink again...I have HW Ver. 1.01. with S3C2416 CPU...

author: fremen67
author_rank: Frequent Contributor
timestamp: November 06, 2016, 12:50:50 pm
content: Quote from: nafanja on November 05, 2016, 11:13:34 pmMy bad. I just realized that the 2 files on my onedrive (boot.bin and kernel.bin) are backup WITH nand spare blocks (oob).I just replaced them with backups WITHOUT spare blocks.Try again with this new files. Now this should work.

author: nafanja
author_rank: Contributor
timestamp: November 07, 2016, 10:36:40 am
content: Thank you, now it works with you files, but it reboots, if i connect the USB Cable after it completely booted...

author: fremen67
author_rank: Frequent Contributor
timestamp: November 07, 2016, 08:28:20 pm
content: Quote from: nafanja on November 07, 2016, 10:36:40 amI cannot reproduce this problem on my dev board ...You can try with the rootfs.ubi from my MSO5202D. It si on the OneDrive...If it still does not work, you could also try to extract kernel.bin from your H-JTAG backup and flash it on your board (uboot from me + kernel and rootfs from you...)

author: nafanja
author_rank: Contributor
timestamp: November 08, 2016, 08:09:28 am
content: Ok, thank you, will try it...But i think that was any error of rootFS from my Scope, because before i has a supervivi flashed, it has fall time to time into Kernel Panic and last time goes not more as only UART Console...

author: nafanja
author_rank: Contributor
timestamp: November 11, 2016, 10:45:53 am
content: Thank you! it's work! have updated. change SN and logo. all others seems to be perfectly

author: fremen67
author_rank: Frequent Contributor
timestamp: November 11, 2016, 10:07:53 pm
content: Quote from: nafanja on November 11, 2016, 10:45:53 amThe logo is in the kernel. If you extract your previous kernel from you H-JTAG backup and flash it, you will recover your logo.