Elektroda.pl
Elektroda.pl
X
Elektroda.pl
IT SerwisIT Serwis
Proszę, dodaj wyjątek dla www.elektroda.pl do Adblock.
Dzięki temu, że oglądasz reklamy, wspierasz portal i użytkowników.

Oscyloskop Volcraft DSO-1084 (Hantek DSO-4084) zawiesza się na boot screen...

duzers 29 Sie 2019 18:31 426 0
  • #1
    duzers
    Poziom 14  
    jak w temacie, myślę, że najprościej byłoby wgrać cały nand. Jeśli ktoś ma wsad i chciałby się podzielić... No chyba, że ktoś był zapobiegliwy i zrobił backup obrazu systemu (root.ubi) na działającym oscyloskopie, który później można wgrać przez DNW i połączenie usb. Jeśli chodzi o cały dump pamięci nand voltcrafta to jak sądzę, mogą być modele DSO-1084, 1104, 1204, 1254 a odpowiedniki w Hantek to DSO-4084, 4104, 4204, 4254. Ogólnie przyjmę każdy dobry pomysł co dalej, bo stoję w miejscu :cry: Po podpięciu UART leci takie coś
    Code:
    OM*** Warning - bad CRC, using default environment
    




    ##### EmbedSky BIOS for SKY2416/TQ2416 #####

    This Board: SDRAM is 64MB; Press Space key to Download Mode.!


    NAND read: device 0 offset 0x380000, size 0x800

     2048 bytes read: OK

    **************************normal start*******************************


    NAND erase: device 0 offset 0x380000, size 0x80000


    Erasing at 0x380000 --  25% complete.
    Erasing at 0x3a0000 --  50% complete.
    Erasing at 0x3c0000 --  75% complete.
    Erasing at 0x3e0000 -- 100% complete.

    OK


    NAND write: device 0 offset 0x380000, size 0x800


    Writing data at 0x380000 --   0% complete.
    Writing data at 0x380800 -- 100% complete.

     2048 bytes written: OK


    NAND read: device 0 offset 0x380000, size 0x800

     2048 bytes read: OK

    Saving Environment to NAND...

    Erasing Nand...

    Warning: Erase size 0x00004000 smaller than one erase block 0x00020000

             Erasing 0x00020000 instead


    Erasing at 0x80000 -- 100% complete.

    Writing to Nand... done


    NAND read: device 0 offset 0x400000, size 0x400000

     4194304 bytes read: OK

    Boot with zImage


    Starting kernel ...


    Uncompressing Linux... done, booting the kernel.
    Linux version 3.2.35 (root@zgt) (gcc version 4.3.3 (Sourcery G++ Lite 2009q1-176) ) #22 PREEMPT Fri Oct 27 02:56:10 CST 2017
    CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
    CPU: VIVT data cache, VIVT instruction cache
    Machine: SMDK2416
    Ignoring unrecognised tag 0x54410008
    Memory policy: ECC disabled, Data cache writeback
    CPU S3C2416/S3C2450 (id 0x32450003)
    S3C24XX Clocks, Copyright 2004 Simtec Electronics
    CPU: MPLL on 800.000 MHz, cpu 400.000 MHz, mem 133.333 MHz, pclk 66.666 MHz
    CPU: EPLL on 96.000 MHz, usb-bus 48.000 MHz
    Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
    Kernel command line: noinitrd ubi.mtd=5 ubi.mtd=6 root=ubi0:rootfs rootfstype=ubifs init=/linuxrc console=ttySAC0 lcd=X480Y272
    PID hash table entries: 256 (order: -2, 1024 bytes)
    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: 58948k/58948k available, 6588k reserved, 0K highmem
    Virtual kernel memory layout:
        vector  : 0xffff0000 - 0xffff1000   (   4 kB)
        fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
        vmalloc : 0xc4800000 - 0xf6000000   ( 792 MB)
        lowmem  : 0xc0000000 - 0xc4000000   (  64 MB)
        modules : 0xbf000000 - 0xc0000000   (  16 MB)
          .text : 0xc0008000 - 0xc03fc000   (4048 kB)
          .init : 0xc03fc000 - 0xc041b000   ( 124 kB)
          .data : 0xc041c000 - 0xc05b5200   (1637 kB)
           .bss : 0xc05b5224 - 0xc05d2fdc   ( 120 kB)
    SLUB: Genslabs=13, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
    NR_IRQS:107
    irq: clearing subpending status 00000002
    Calibrating delay loop... 198.45 BogoMIPS (lpj=496128)
    pid_max: default: 4096 minimum: 301
    Mount-cache hash table entries: 512
    CPU: Testing write buffer coherency: ok
    NET: Registered protocol family 16
    S3C2416: Initializing architecture
    S3C2416: IRQ Support
    S3C24XX DMA Driver, Copyright 2003-2006 Simtec Electronics
    DMA channel 0 at c4804000, irq 88
    DMA channel 1 at c4804100, irq 89
    DMA channel 2 at c4804200, irq 90
    DMA channel 3 at c4804300, irq 91
    DMA channel 4 at c4804400, irq 92
    DMA channel 5 at c4804500, irq 93
    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
    s3c-i2c s3c2410-i2c: slave address 0x10
    s3c-i2c s3c2410-i2c: bus frequency set to 9 KHz
    s3c-i2c s3c2410-i2c: i2c-0: S3C I2C adapter
    Advanced Linux Sound Architecture Driver Version 1.0.24.
    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
    RPC: Registered named UNIX socket transport module.
    RPC: Registered udp transport module.
    RPC: Registered tcp transport module.
    RPC: Registered tcp NFSv4.1 backchannel transport module.
    s3c-adc s3c24xx-adc: attached adc driver
    msgmni has been set to 115
    io scheduler noop registered (default)
    io scheduler cfq registered
    s3c-fb s3c-fb: window 0: fb
    s3c-fb s3c-fb: LCD type is TN83 800*480, default_bpp=16, pixclock=5
    s3c-fb s3c-fb: window 1: fb
    s3c-fb s3c-fb: LCD type is TN83 800*480, default_bpp=16, pixclock=5
    s3c2440-uart.0: ttySAC0 at MMIO 0x50000000 (irq = 70) is a S3C2440
    console [ttySAC0] enabled
    s3c2440-uart.1: ttySAC1 at MMIO 0x50004000 (irq = 73) is a S3C2440
    s3c2440-uart.2: ttySAC2 at MMIO 0x50008000 (irq = 76) is a S3C2440
    s3c2440-uart.3: ttySAC3 at MMIO 0x5000c000 (irq = 94) is a S3C2440
    loop: module loaded
    S3C24XX NAND Driver, (c) 2004 Simtec Electronics
    info->cpu_type=3, tacls_max=8
    s3c24xx-nand s3c2416-nand: Tacls=3, 22ns Twrph0=7 52ns, Twrph1=3 22ns
    s3c24xx-nand s3c2416-nand: System booted from NAND
    s3c24xx-nand s3c2416-nand: NAND ECC disabled
    NAND device: Manufacturer ID: 0xc8, Chip ID: 0xd1 (Unknown NAND 128MiB 3,3V 8-bit)
    NAND_ECC_NONE selected by board driver. This is not recommended!
    Scanning device for bad blocks
    Bad eraseblock 376 at 0x000002f00000
    Creating 9 MTD partitions on "NAND":
    0x000000000000-0x000000100000 : "uboot"
    0x000000100000-0x000000180000 : "params"
    0x000000180000-0x000000380000 : "logo"
    0x000000380000-0x000000400000 : "misc"
    0x000000400000-0x000000800000 : "kernel"
    0x000000800000-0x000003a00000 : "rootfs"
    0x000003a00000-0x000004e00000 : "config"
    0x000004e00000-0x000005200000 : "kernel_bk"
    0x000005200000-0x000008000000 : "recover"
    UBI: attaching mtd5 to ubi0
    UBI: physical eraseblock size:   131072 bytes (128 KiB)
    UBI: logical eraseblock size:    126976 bytes
    UBI: smallest flash I/O unit:    2048
    UBI: VID header offset:          2048 (aligned 2048)
    UBI: data offset:                4096
    UBI: max. sequence number:       1386
    UBI: attached mtd5 to ubi0
    UBI: MTD device name:            "rootfs"
    UBI: MTD device size:            50 MiB
    UBI: number of good PEBs:        399
    UBI: number of bad PEBs:         1
    UBI: number of corrupted PEBs:   0
    UBI: max. allowed volumes:       128
    UBI: wear-leveling threshold:    4096
    UBI: number of internal volumes: 1
    UBI: number of user volumes:     1
    UBI: available PEBs:             0
    UBI: total number of reserved PEBs: 399
    UBI: number of PEBs reserved for bad PEB handling: 3
    UBI: max/mean erase counter: 8/3
    UBI: image sequence number:  0
    UBI: background thread "ubi_bgt0d" started, PID 341
    UBI: attaching mtd6 to ubi1
    UBI: physical eraseblock size:   131072 bytes (128 KiB)
    UBI: logical eraseblock size:    126976 bytes
    UBI: smallest flash I/O unit:    2048
    UBI: VID header offset:          2048 (aligned 2048)
    UBI: data offset:                4096
    UBI: max. sequence number:       1291
    UBI: attached mtd6 to ubi1
    UBI: MTD device name:            "config"
    UBI: MTD device size:            20 MiB
    UBI: number of good PEBs:        160
    UBI: number of bad PEBs:         0
    UBI: number of corrupted PEBs:   0
    UBI: max. allowed volumes:       128
    UBI: wear-leveling threshold:    4096
    UBI: number of internal volumes: 1
    UBI: number of user volumes:     1
    UBI: available PEBs:             0
    UBI: total number of reserved PEBs: 160
    UBI: number of PEBs reserved for bad PEB handling: 2
    UBI: max/mean erase counter: 10/8
    UBI: image sequence number:  0
    UBI: background thread "ubi_bgt1d" started, PID 344
    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
    hub 1-0:1.0: USB hub found
    hub 1-0:1.0: 1 port detected
    usbcore: registered new interface driver usblp
    usbcore: registered new interface driver uas
    Initializing USB Mass Storage driver...
    usbcore: registered new interface driver usb-storage
    USB Mass Storage support registered.
    samsung-ts s3c2416-ts: driver attached, registering input device
    input: S3C24XX TouchScreen as /devices/virtual/input/input0
    S3C24XX RTC, (c) 2004,2006 Simtec Electronics
    s3c-rtc s3c2410-rtc: rtc disabled, re-enabling
    s3c-rtc s3c2410-rtc: rtc core: registered s3c as rtc0
    i2c /dev entries driver
    S3C2410 Watchdog Timer, (c) 2004 Simtec Electronics
    s3c2410-wdt s3c2410-wdt: watchdog inactive, reset disabled, irq disabled
    sdhci: Secure Digital Host Controller Interface driver
    sdhci: Copyright(c) Pierre Ossman
    s3c-sdhci s3c-sdhci.1: clock source 0: hsmmc (133333333 Hz)
    s3c-sdhci s3c-sdhci.1: clock source 1: hsmmc (133333333 Hz)
    s3c-sdhci s3c-sdhci.1: clock source 2: hsmmc-if (24000000 Hz)
    mmc0: SDHCI controller on samsung-hsmmc [s3c-sdhci.1] using ADMA
    usbcore: registered new interface driver usbhid
    usbhid: USB HID core driver
    S3C24XX_UDA134X SoC Audio driver
    S3C24XX_UDA134X SoC Audio: l3 data pin already in use
    s3c24xx_uda134x: probe of s3c24xx_uda134x.0 failed with error -16
    ALSA device list:
      No soundcards found.
    TCP cubic registered
    NET: Registered protocol family 17
    Registering the dns_resolver key type
    s3c-rtc s3c2410-rtc: setting system clock to 2019-08-24 13:08:30 UTC (1566652110)
    UBIFS: recovery needed
    UBIFS: recovery completed
    UBIFS: mounted UBI device 0, volume 0, name "rootfs"
    UBIFS: file system size:   48377856 bytes (47244 KiB, 46 MiB, 381 LEBs)
    UBIFS: journal size:       9023488 bytes (8812 KiB, 8 MiB, 72 LEBs)
    UBIFS: media format:       w4/r0 (latest is w4/r0)
    UBIFS: default compressor: lzo
    UBIFS: reserved for root:  0 bytes (0 KiB)
    VFS: Mounted root (ubifs filesystem) on device 0:10.
    Freeing init memory: 124K
    UBIFS: recovery needed
    UBIFS: recovery completed
    UBIFS: mounted UBI device 1, volume 0, name "config"
    UBIFS: file system size:   18157568 bytes (17732 KiB, 17 MiB, 143 LEBs)
    UBIFS: journal size:       9023488 bytes (8812 KiB, 8 MiB, 72 LEBs)
    UBIFS: media format:       w4/r0 (latest is w4/r0)
    UBIFS: default compressor: lzo
    UBIFS: reserved for root:  0 bytes (0 KiB)

    Please press Enter to activate this console. dso-iobank: install ok
    0x603
    gpio_major_n = 6, io_minor_n = 3, output 0
    0x408
    gpio_major_n = 4, io_minor_n = 8, output 1
    AFG3050 fpga configure init
    adc init
    TQ2416 ADC driver
    tq2416_backlight_init_timer0:0x200, 0x2
    bkl tq2416-backlight initialized done...
    dso-buzzer s3c2416-beep initialized done...
    user file is /lib/firmware/dso4000.bit
    nstatus0 :0x0
    nstatus1 :0x1
    fpga state :0x1
    file len is 460418
    FPGA CONFIGURE DATA DOWN finish.0x1, 0
    FPGA CONFIGURE ok.
    fpga bank 11811
    input: dso_kbd as /devices/virtual/misc/dso-fpga/input1
    dso-fpga: install ok
    make snd node.
    dm9000 Ethernet Driver, V1.31
    dm9000 dm9000: read wrong id 0x2b2a2928
    dm9000 dm9000: read wrong id 0x2b2a2928
    dm9000 dm9000: read wrong id 0x2b2a2928
    dm9000 dm9000: read wrong id 0x2b2a2928
    dm9000 dm9000: read wrong id 0x2b2a2928
    dm9000 dm9000: read wrong id 0x2b2a2928
    dm9000 dm9000: read wrong id 0x2b2a2928
    dm9000 dm9000: read wrong id 0x2b2a2928
    dm9000 dm9000: wrong id: 0x2b2a2928
    dm9000 dm9000: not found (-19).
    ifconfig: SIOCSIFADDR: No such device

    Erasing 128 Kibyte @ 0 -  0% complete.
    Erasing 128 Kibyte @ 20000 - 25% complete.
    Erasing 128 Kibyte @ 40000 - 50% complete.
    Erasing 128 Kibyte @ 60000 - 75% complete.
    Erasing 128 Kibyte @ 80000 - 100% complete.
    --------------------------------------------------------------------------------
    start
    --------------------------------------------------------------------------------
    reg is 0x2, val is 0x1
    reg is 0x2, val is 0x3
    reg is 0x3, val is 0x0
    reg is 0x4, val is 0x39
    reg is 0x7, val is 0x3f
    reg is 0x8, val is 0x8
    reg is 0x9, val is 0x80
    reg is 0xd, val is 0x8
    reg is 0xf, val is 0x1b
    reg is 0x10, val is 0x20
    reg is 0x11, val is 0x5c
    reg is 0x12, val is 0x40
    reg is 0x13, val is 0x2a
    reg is 0x14, val is 0x11
    reg is 0x15, val is 0x11
    reg is 0x16, val is 0xe0
    reg is 0x17, val is 0x8
    reg is 0x19, val is 0x1f
    reg is 0x1a, val is 0x8
    reg is 0x1b, val is 0x23
    reg is 0x1c, val is 0x20
    reg is 0x1d, val is 0x20
    reg is 0x1f, val is 0x28
    reg is 0x20, val is 0x80
    reg is 0x21, val is 0x12
    reg is 0x22, val is 0x58
    reg is 0x23, val is 0x74
    reg is 0x25, val is 0x1
    reg is 0x26, val is 0x4
    reg is 0x37, val is 0x20
    reg is 0x39, val is 0x20
    reg is 0x3b, val is 0x20
    reg is 0x41, val is 0x9a
    reg is 0x4d, val is 0x3
    reg is 0x4e, val is 0x50
    reg is 0x4f, val is 0xda
    reg is 0x50, val is 0x74
    reg is 0x51, val is 0x4b
    reg is 0x52, val is 0x12
    reg is 0x53, val is 0x13
    reg is 0x55, val is 0xe5
    reg is 0x5e, val is 0x80
    reg is 0x69, val is 0x64
    reg is 0x77, val is 0x3
    reg is 0x7d, val is 0x62
    reg is 0x4, val is 0x38
    reg is 0x6, val is 0x71
    reg is 0x3, val is 0x0
    reg is 0x3, val is 0x0
    reg is 0x3, val is 0x0
    reg is 0x3, val is 0x0
    reg is 0x3, val is 0x0
    reg is 0x6, val is 0x70
    reg is 0x2, val is 0x2
    reg is 0x2, val is 0x3
    reg is 0x4, val is 0x0
    fpga_ctl_kbd_open:1:  (null)
    fpga_ctl_kbd_open:2:c3b49260
    open kbd dso_kbd successful
    dbus is valid and addr is unix:path=/tmp/dbus-V5w2Gxfefl,guid=df4b3265ba0504a9bee7b4405d6136d1
    system info do begin
    init system info ...
    read_sytem_infos_from_file:1:80M$DSO1084E
    read_sytem_infos_from_file:2:DSO1084E,80M
    init system info over
    system info do end
    anolis_init:machine is 80M
    anolis_init:after adjust intensity
    anolis_init:over
    fpga_init:0x4003f000
    pll is locked
    gpio_major_n = 0, io_minor_n = 2, output 0
    gpio_major_n = 0, io_minor_n = 3, output 0
    gpio_major_n = 0, io_minor_n = 4, output 0
    gpio_major_n = 0, io_minor_n = 8, output 0
    gpio_major_n = 10, io_minor_n = 12, output 1
    util_helper_load_setup:6, 0
    init_calibration_result: in:/config/root/cali.dat
    init_calibration_result:1:12345678, 12345678
    init_calibration_result:2:101, 101
    init_calibration_result:3:89abcdef, 89abcdef
    init_calibration_result: has calibration result
    measure_helper_set_one_chn_all_only:0
    acq_dot_nm_of_timerange =4000,time_range=1600000000000,dso_acq.dot_factor =1,sample_rate =2500.000000
    dso_acq_control:1:2056, 2056,109
    dso_acq_control:2:2165, 1947
    dso_acq_control:3:108250000, 98150000
    dso_acq_control:4:after= 108250000, before= 98150000


    unix:path=/tmp/dbus-V5w2Gxfefl,guid=df4b3265ba0504a9bee7b4405d6136d1
    [root@Hantek ~]#
  • IT SerwisIT Serwis