| Products > Test Equipment |
| Hantek DSO1202BV problem after update firmware |
| (1/1) |
| hranatybraska:
Hello, after update firmware my Hantek DSO1202BV scope didn’t boot succesfully. Firmware was originaly from sites of Hantek. I have connected to internal USART and i find that machine is alive. It seems the YAFFS2 filesystem is corrupted. Have you contact for anybody from service Hantek? Could you send me a backup or factory file please? Or its possible to repair the filesystem? Log from Putty: --- Quote ---##### EmbedSky BIOS for SKY2440/TQ2440 ##### Press Space key to Download Mode ! Booting Linux ... Copy linux kernel from 0x00200000 to 0x30008000, size = 0x00200000 ... Copy Kernel to SDRAM done,NOW, Booting Linux...... Uncompressing Linux... done, booting the kernel. Linux version 2.6.30.4 (root@rain-fc4) (gcc version 4.3.3 (Sourcery G++ Lite 2009q1-176) ) #111 Fri Aug 26 16:40:17 CST 2011 CPU: ARM920T [41129200] revision 0 (ARMv4T), cr=c0007177 CPU: VIVT data cache, VIVT instruction cache Machine: TQ2440 ATAG_INITRD is deprecated; please update your bootloader. Memory policy: ECC disabled, Data cache writeback CPU S3C2440A (id 0x32440001) S3C24XX Clocks, (c) 2004 Simtec Electronics S3C244X: core 400.000 MHz, memory 100.000 MHz, peripheral 50.000 MHz CLOCK: Slow mode (1.500 MHz), fast, MPLL on, UPLL on Built 1 zonelists in Zone order, mobility grouping on. Total pages: 16256 Kernel command line: noinitrd root=/dev/mtdblock2 init=/linuxrc console=ttySAC0 NR_IRQS:85 irq: clearing pending ext status 00080b00 irq: clearing subpending status 00000002 PID hash table entries: 256 (order: 8, 1024 bytes) Console: colour dummy device 80x30 console [ttySAC0] enabled Dentry cache hash table entries: 8192 (order: 3, 32768 bytes) Inode-cache hash table entries: 4096 (order: 2, 16384 bytes) Memory: 64MB = 64MB total Memory: 61260KB available (3160K code, 346K data, 100K init, 0K highmem) SLUB: Genslabs=11, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 Calibrating delay loop... 199.47 BogoMIPS (lpj=498688) Mount-cache hash table entries: 512 CPU: Testing write buffer coherency: ok net_namespace: 296 bytes NET: Registered protocol family 16 S3C2440: Initialising architecture S3C2440: IRQ Support S3C24XX DMA Driver, (c) 2003-2004,2006 Simtec Electronics DMA channel 0 at c4808000, irq 33 DMA channel 1 at c4808040, irq 34 DMA channel 2 at c4808080, irq 35 DMA channel 3 at c48080c0, irq 36 S3C244X: Clock Support, DVS off bio: create slab <bio-0> at 0 SCSI subsystem initialized usbcore: registered new interface driver usbfs usbcore: registered new interface driver hub usbcore: registered new device driver usb cfg80211: Calling CRDA to update world regulatory domain NET: Registered protocol family 2 IP route cache hash table entries: 1024 (order: 0, 4096 bytes) TCP established hash table entries: 2048 (order: 2, 16384 bytes) TCP bind hash table entries: 2048 (order: 1, 8192 bytes) TCP: Hash tables configured (established 2048 bind 2048) TCP reno registered NET: Registered protocol family 1 yaffs Aug 26 2011 11:40:43 Installing. msgmni has been set to 119 alg: No test for stdrng (krng) io scheduler noop registered (default) backlight initialized s3c2440-uart.0: tq2440_serial0 at MMIO 0x50000000 (irq = 70) is a S3C2440 s3c2440-uart.1: tq2440_serial1 at MMIO 0x50004000 (irq = 73) is a S3C2440 s3c2440-uart.2: tq2440_serial2 at MMIO 0x50008000 (irq = 76) is a S3C2440 loop: module loaded Driver 'sd' needs updating - please use bus_type methods S3C24XX NAND Driver, (c) 2004 Simtec Electronics s3c2440-nand s3c2440-nand: Tacls=2, 20ns Twrph0=3 30ns, Twrph1=2 20ns NAND device: Manufacturer ID: 0xec, Chip ID: 0x76 (Samsung NAND 64MiB 3,3V 8-bit) Scanning device for bad blocks Bad eraseblock 365 at 0x0000005b4000 Bad eraseblock 4073 at 0x000003fa4000 Creating 4 MTD partitions on "NAND 64MiB 3,3V 8-bit": 0x000000000000-0x000000040000 : "EmbedSky_Board_uboot" 0x000000200000-0x000000400000 : "EmbedSky_Board_kernel" 0x000000400000-0x000003ff8000 : "EmbedSky_Board_yaffs2" 0x000000100000-0x000000200000 : "EmbedSky_Board_logo" ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver s3c2410-ohci s3c2410-ohci: S3C24XX OHCI s3c2410-ohci s3c2410-ohci: new USB bus registered, assigned bus number 1 s3c2410-ohci s3c2410-ohci: irq 42, io mem 0x49000000 usb usb1: configuration #1 chosen from 1 choice hub 1-0:1.0: USB hub found hub 1-0:1.0: 2 ports detected Initializing USB Mass Storage driver... usbcore: registered new interface driver usb-storage USB Mass Storage support registered. usbcore: registered new interface driver usbserial USB Serial support registered for generic usbcore: registered new interface driver usbserial_generic usbserial: USB Serial Driver core USB Serial support registered for pl2303 usbcore: registered new interface driver pl2303 pl2303: Prolific PL2303 USB to serial adaptor driver mice: PS/2 mouse device common for all mice S3C24XX RTC, (c) 2004,2006 Simtec Electronics s3c2410-rtc s3c2410-rtc: rtc disabled, re-enabling s3c2410-rtc s3c2410-rtc: rtc core: registered s3c as rtc0 Linux video capture interface: v2.00 S3C2410 Watchdog Timer, (c) 2004 Simtec Electronics s3c2410-wdt s3c2410-wdt: starting watchdog timer s3c2410-wdt s3c2410-wdt: watchdog active, reset abled, irq enabled mapped channel 0 to 0 s3c2440-sdi s3c2440-sdi: powered down. s3c2440-sdi s3c2440-sdi: initialisation done. mmc0: new SD card at address 1234 usbcore: registered new interface driver usbhid usbhid: v2.6:USB HID core driver mmcblk0: mmc0:1234 SA02G 1.85 GiB mmcblk0:<6>Advanced Linux Sound Architecture Driver Version 1.0.18a. p1 No device for DAI UDA134X No device for DAI s3c24xx-i2s S3C24XX_UDA134X SoC Audio driver UDA134X SoC Audio Codec asoc: UDA134X <-> s3c24xx-i2s mapping ok ALSA device list: #0: S3C24XX_UDA134X (UDA134X) TCP cubic registered RPC: Registered udp transport module. RPC: Registered tcp transport module. lib80211: common routines for IEEE802.11 drivers s3c2410-rtc s3c2410-rtc: setting system clock to 2001-10-10 08:44:13 UTC (1002703453) yaffs: dev is 32505858 name is "mtdblock2" yaffs: passed flags "" yaffs: Attempting MTD mount on 31.2, "mtdblock2" yaffs: block 109 is marked bad block 110 is bad yaffs: block 3817 is marked bad block 3818 is bad yaffs_read_super: isCheckpointed 0 VFS: Mounted root (yaffs filesystem) on device 31:2. Freeing init memory: 100K can't open /dev/tq2440_serial0: No such file or director can't open /dev/tq2440_serial0: No such file or director can't open /dev/tq2440_serial0: No such file or director can't open /dev/tq2440_serial0: No such file or director can't open /dev/tq2440_serial0: No such file or director can't open /dev/tq2440_serial0: No such file or director can't open /dev/tq2440_serial0: No such file or director can't open /dev/tq2440_serial0: No such file or director can't open /dev/tq2440_serial0: No such file or director can't open /dev/tq2440_serial0: No such file or director can't open /dev/tq2440_serial0: No such file or director can't open /dev/tq2440_serial0: No such file or director Pressing space after start: ##### Boot for Nand Flash Main Menu ##### [1] Download u-boot or STEPLDR.nb1 or other bootloader to Nand Flash [2] Download Eboot to Nand Flash [3] Download Linux Kernel to Nand Flash [5] Download CRAMFS image to Nand Flash [6] Download YAFFS image to Nand Flash [7] Download Program (uCOS-II or TQ2440_Test) to SDRAM and Run it [8] Boot the system [9] Format the Nand Flash [0] Set the boot parameters [a] Download User Program (eg: uCOS-II or TQ2440_Test) (b) Download LOGO Picture (.bin) to Nand Flash [l] Set LCD Parameters [r] Reboot u-boot [t] Test Linux Image (zImage) [q] quit from menu Enter your selection: q: EmbedSky> help ? - alias for 'help' autoscr - run script from memory base - print or set address offset bdinfo - print Board Info structure boot - boot default, i.e., run 'bootcmd' boot_noos - boot User Program boot_zImage - boot Linux 's zImage bootd - boot default, i.e., run 'bootcmd' bootelf - Boot from an ELF image in memory bootm - boot application image from memory bootp - boot image via network using BootP/TFTP protocol bootvx - Boot vxWorks from an ELF image chpart - change active partition cmp - memory compare coninfo - print console devices and information cp - memory copy crc32 - checksum calculation date - get/set/reset date & time dcache - enable or disable data cache eboot - Run Wince Ethernet Bootloader(eboot) echo - echo args to console erase - erase FLASH memory flinfo - print FLASH memory information fsinfo - print information about filesystems fsload - load binary file from a filesystem image go - start application at address 'addr' help - print online help icache - enable or disable instruction cache iminfo - print header information for application image itest - return true/false on integer compare loadb - load binary file over serial line (kermit mode) loads - load S-Record file over serial line loadx - load binary file over serial line (xmodem mode) loady - load binary file over serial line (ymodem mode) loop - infinite loop on address range ls - list files in a directory (default /) md - memory display menu - display a menu, to select the items to do something mm - memory modify (auto-incrementing) mtdparts- define flash/nand partitions mtest - simple RAM test mw - memory write (fill) nand - NAND sub-system nboot - boot from NAND device nm - memory modify (constant address) ping - send ICMP ECHO_REQUEST to network host printenv- print environment variables protect - enable or disable FLASH write protection rarpboot- boot image via network using RARP/TFTP protocol reset - Perform RESET of the CPU run - run commands in an environment variable saveenv - save environment variables to persistent storage setenv - set environment variables sleep - delay execution for some time test_zImage - test Linux 's zImage tftpboot- boot image via network using TFTP protocol usbslave - get file from host(PC) version - print monitor version wince [ram] - Run Wince from flash or ram --- End quote --- Thanks |
| hranatybraska:
--- Quote ---EmbedSky> mtdparts device nand0 <nandflash0>, # parts = 7 #: name size offset mask_flags 0: bios 0x00040000 0x00000000 0 1: params 0x00020000 0x00040000 0 2: toc 0x00020000 0x00060000 0 3: eboot 0x00080000 0x00080000 0 4: logo 0x00100000 0x00100000 0 5: kernel 0x00200000 0x00200000 0 6: root 0x03c00000 0x00400000 0 active partition: nand0,0 - (bios) 0x00040000 @ 0x00000000 defaults: mtdids : nand0=nandflash0 mtdparts: mtdparts=nandflash0:256k@0(bios),128k(params),128k(toc),512k(eboot),1024k(logo),2m(kernel),-(root) --- End quote --- |
| and_piotr:
Hello I had the same issue, but I got second scope, without update. I did flash dump from it. If you have programmer for NAND flash chips I'll send it to you. |
| Navigation |
| Message Index |