Author Topic: VOLTCRAFT DSO-1084E (Hantek DSO4084B) stuck at boot screen  (Read 19140 times)

0 Members and 2 Guests are viewing this topic.

Offline Space-Patrol

  • Newbie
  • Posts: 1
  • Country: de
Re: VOLTCRAFT DSO-1084E (Hantek DSO4084B) stuck at boot screen
« Reply #25 on: February 26, 2021, 04:24:39 pm »
Hi,

i got the same scope (DSO1084E with 4000B model. Does someone have a complete flash dump?
I do it the first time.

I attached a log file created by hterm for windows.

Thank you!

 

Offline archive

  • Newbie
  • Posts: 1
  • Country: pl
Re: VOLTCRAFT DSO-1084E (Hantek DSO4084B) stuck at boot screen
« Reply #26 on: December 25, 2021, 09:33:09 pm »
Hello.
I have already received the second DSO1084E oscilloscope blocked on the Voltcraft logo. I don't know when both stopped working, I don't know if they were hacked.

UART normal boot:
Quote
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 0x3e0000 -- 100% complete.
OK

NAND write: device 0 offset 0x380000, size 0x800
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
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:       225
UBI: attached mtd5 to ubi0
UBI: MTD device name:            "rootfs"
UBI: MTD device size:            50 MiB
UBI: number of good PEBs:        400
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:             6
UBI: total number of reserved PEBs: 394
UBI: number of PEBs reserved for bad PEB handling: 4
UBI: max/mean erase counter: 2/1
UBI: image sequence number:  -1218469377
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:       1189
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 2000-01-01 00:10:59 UTC (946685459)
UBIFS: recovery needed
UBIFS: recovery completed
UBIFS: mounted UBI device 0, volume 0, name "rootfs"
UBIFS: file system size:   47869952 bytes (46748 KiB, 45 MiB, 377 LEBs)
UBIFS: journal size:       2412544 bytes (2356 KiB, 2 MiB, 19 LEBs)
UBIFS: media format:       w4/r0 (latest is w4/r0)
UBIFS: default compressor: lzo
UBIFS: reserved for root:  2261015 bytes (2208 KiB)
VFS: Mounted root (ubifs filesystem) on device 0:10.
Freeing init memory: 124K
Failed to execute /linuxrc.  Attempting defaults...
/bin/sh: can't access tty; job control turned off
~ #





UART after pressing F2 in recovery:
* F2.txt (49.76 kB - downloaded 113 times.)
« Last Edit: December 26, 2021, 11:21:05 am by archive »
 

Offline airwolf

  • Newbie
  • Posts: 5
  • Country: at
Re: VOLTCRAFT DSO-1084E (Hantek DSO4084B) stuck at boot screen
« Reply #27 on: March 05, 2023, 02:42:00 pm »
Hi,

I know this thread is rather old but I also have a problem with my Hantek DSO-4084B (its a real Hantek, not Vorltcraft). It worked fine for about 4 years until last week during a measurement it started to respond slowly to inputs on the buttons, so I switched it OFF and back ON and now its not fully booting any more.
Unfortunately I cannot use the serial terminal of the scope, although I did connect it to a 2102 some time ago I never got a response from the scope, not even when it was still in working condition.
Does anyone know if there is a way to restore/reset it whitout the terminal? Of course I am not sure if there isn't a hardware fault but as the screen is working and the buttons are lit it could be firmware lost or damaged.

 

Offline Oleh UA

  • Newbie
  • Posts: 2
  • Country: ua
Re: VOLTCRAFT DSO-1084E (Hantek DSO4084B) stuck at boot screen
« Reply #28 on: March 18, 2023, 10:50:31 am »
Hello.  How did you solve your problem?  🙂
 

Offline airwolf

  • Newbie
  • Posts: 5
  • Country: at
Re: VOLTCRAFT DSO-1084E (Hantek DSO4084B) stuck at boot screen
« Reply #29 on: March 21, 2023, 05:48:04 pm »
I finally could fix my scope, the problem with the serial connection was the UART I used (it was one with a micro USB connector, not sure if it was the type or it was just broken). I tried with another one (with a USB A connector) and the sonnection established immediately.

Now all I had to do was to delete all the files in /dso/app/etc/aslf (as described somewhere up in this thread) and the scope boots again as before. Seems to be a bug in this scope, but once you know its easy to fix.

I also updated the system.inf file to get 250 Mhz, works also fine, and afterwards I installed an upgrade to 1.1.2, no problem at all. So I think its not necessary to hack the eeprom as well.

By the way opening the scope I broke the power push button, and ordered 6 new ones instead of 2 (they came in sets of 3), so if anybody needs one just write me (if you are not too far away from me  - Austria, of course)

« Last Edit: March 22, 2023, 12:35:06 pm by airwolf »
 
The following users thanked this post: Oleh UA

Offline twoexem

  • Newbie
  • Posts: 1
  • Country: de
Re: VOLTCRAFT DSO-1084E (Hantek DSO4084B) stuck at boot screen
« Reply #30 on: October 30, 2023, 09:30:20 pm »
Sorry for the bump, but this was the only usable thread I found. What config (data bytes, stop bytes, parity, baud etc.) did you all use to connect to the scope? I'm currently trying to connect to my DSO5202P and no matter which settings I choose, I always get garbled junk data. It might be an issue with my USB serial connector, though, but it worked fine before so I can't imagine it's that.
 

Offline airwolf

  • Newbie
  • Posts: 5
  • Country: at
Re: VOLTCRAFT DSO-1084E (Hantek DSO4084B) stuck at boot screen
« Reply #31 on: October 31, 2023, 10:56:45 pm »
I used 115.200 baud, 8 data bits, 1 stop bit no parity and no flow control.
As USB-serial converter I use a CP2102 based device, this kind always seems to work while the PL2303 based ones don't. I acutally installed the 2102 device in the scope (it has a standard USB A connector), and now I can connect the scope to a PC with a terminal program any time very easy.
Maybe you should try to exchange the USB-serial adapter, could save you a lot of time and headache (I should have done it as well).
« Last Edit: October 31, 2023, 11:20:07 pm by airwolf »
 

Offline ubata

  • Contributor
  • Posts: 23
  • Country: ir
Re: VOLTCRAFT DSO-1084E (Hantek DSO4084B) stuck at boot screen
« Reply #32 on: January 25, 2025, 05:58:09 pm »
I apologize for bringing up an old topic.
I have a Hantek DSO4202C Oscilloscope that sticks at boot screen.
below is the board pic
2489093-0
on the board there is 2 ports that maybe UART. I soldered some pins there, but I cannot connect to the scope with neither of them using CP2102 usb to serial, when connecting the CP2102 to either, the cp2102 gets hot. I used putty, and nothing show on the putty console. I used this topic help to determine the port pins.
https://www.eevblog.com/forum/testgear/voltcraft-dso-1084e-(hantek-dso4084b)-stuck-at-boot-screen
How can I identify the port pins? or Exactly How can I identify which port is UART?
Meanwhile, I once shared the problem of not booting with Hantek support; they sent me a compressed file containing several files with the ".bin" image and told me to make an SD memory card bootable with one of the sent bin files using a Chinese app they sent to me,  and copy the rest of the files to the root of the memory card; and place it inside the oscilloscope's memory card slot. Then, I turned it on while pressing the channel 1 vol/div knob. The oscilloscope should have entered programming mode, and the images would have been burned to the oscilloscope's internal memory. Unfortunately, this did not happen, and the screen was completely black with no message or response.
Here I uploaded the file sent by Hantek.
https://mega.nz/file/UfgHkBZI#jQJYnK6ivxzMsXdz_oPUENA21pFG302O94VgExwMqXM
« Last Edit: January 26, 2025, 04:03:31 pm by ubata »
 

Offline ubata

  • Contributor
  • Posts: 23
  • Country: ir
Re: VOLTCRAFT DSO-1084E (Hantek DSO4084B) stuck at boot screen
« Reply #33 on: January 26, 2025, 04:13:02 pm »
no one can help me?
 

Offline Oscillator

  • Contributor
  • Posts: 12
  • Country: de
Re: VOLTCRAFT DSO-1084E (Hantek DSO4084B) stuck at boot screen
« Reply #34 on: January 27, 2025, 06:43:49 am »
@ubata:

thanks for posting the sd-card image.

i have the same problem like you (scope is not booting) and was looking for these files a long time.   :-+

so here you can see how to attach the USB serial converter:




see also first post here:  https://www.eevblog.com/forum/testgear/upgrading-the-hantek-dso4072c-osciloscope-bandwidth-from-70mhz-to-200mhz



so please tell us about your further steps and results.
« Last Edit: January 27, 2025, 07:35:33 am by Oscillator »
 
The following users thanked this post: ubata

Offline ubata

  • Contributor
  • Posts: 23
  • Country: ir
Re: VOLTCRAFT DSO-1084E (Hantek DSO4084B) stuck at boot screen
« Reply #35 on: January 27, 2025, 06:21:24 pm »
finally, I could connect serial connector, and below is the normal boot log
Code: [Select]
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 0x3e0000 -- 100% complete.
OK

NAND write: device 0 offset 0x380000, size 0x800
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@ubuntu) (gcc version 4.3.3 (Sourcery G++ Lite 2009q1-176) ) #220 PREEMPT Thu Dec 13 08:12:38 CST 2018
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 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: 59744k/59744k available, 5792k 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 - 0xc04ab000   (4748 kB)
      .init : 0xc04ab000 - 0xc04cb000   ( 128 kB)
      .data : 0xc04cc000 - 0xc04ee020   ( 137 kB)
       .bss : 0xc04ee044 - 0xc050bd7c   ( 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 116
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
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 (ISSI NAND 128MiB 3,3V 8-bit)
NAND_ECC_NONE selected by board driver. This is not recommended!
Scanning device for bad blocks
Bad eraseblock 483 at 0x000003c60000
Creating 8 MTD partitions on "NAND":
0x000000000000-0x000000100000 : "uboot"
0x000000100000-0x000000180000 : "params"
0x000000180000-0x000000380000 : "logo"
0x000000380000-0x000000400000 : "misc"
0x000000400000-0x000000800000 : "kernel"
0x000000800000-0x000004e00000 : "rootfs"
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:       174
UBI: attached mtd5 to ubi0
UBI: MTD device name:            "rootfs"
UBI: MTD device size:            70 MiB
UBI: number of good PEBs:        559
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:             164
UBI: total number of reserved PEBs: 395
UBI: number of PEBs reserved for bad PEB handling: 5
UBI: max/mean erase counter: 2/1
UBI: image sequence number:  1761812910
UBI: background thread "ubi_bgt0d" started, PID 329
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.
g_serial gadget: Gadget Serial v2.4
g_serial gadget: g_serial ready
s3c-hsudc s3c-hsudc: bound driver g_serial
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
S3C24XX_UDA134X SoC Audio driver
UDA134X SoC Audio Codec
asoc: uda134x-hifi <-> s3c24xx-iis mapping ok
ALSA device list:
  #0: S3C24XX_UDA134X
TCP cubic registered
NET: Registered protocol family 17
Registering the dns_resolver key type
s3c-rtc s3c2410-rtc: setting system clock to 2005-12-22 16:22:02 UTC (1135268522)
UBIFS: recovery needed
UBIFS: recovery completed
UBIFS: mounted UBI device 0, volume 0, name "rootfs"
UBIFS: file system size:   47869952 bytes (46748 KiB, 45 MiB, 377 LEBs)
UBIFS: journal size:       2412544 bytes (2356 KiB, 2 MiB, 19 LEBs)
UBIFS: media format:       w4/r0 (latest is w4/r0)
UBIFS: default compressor: lzo
UBIFS: reserved for root:  2261015 bytes (2208 KiB)
VFS: Mounted root (ubifs filesystem) on device 0:10.
Freeing init memory: 128K
Failed to execute /linuxrc.  Attempting defaults...
/bin/sh: can't access tty; job control turned off
~ #

I think the problem was here:
Code: [Select]
Failed to execute /linuxrc.  Attempting defaults...
/bin/sh: can't access tty; job control turned off[code/]
« Last Edit: January 27, 2025, 06:24:03 pm by ubata »
 

Offline ubata

  • Contributor
  • Posts: 23
  • Country: ir
Re: VOLTCRAFT DSO-1084E (Hantek DSO4084B) stuck at boot screen
« Reply #36 on: January 27, 2025, 06:26:36 pm »
@ubata:

thanks for posting the sd-card image.

i have the same problem like you (scope is not booting) and was looking for these files a long time.   :-+

so please tell us about your further steps and results.

Thank you for reply
Please tell us that the SD card method worked for you or not. I'm still working on it
 

Offline ubata

  • Contributor
  • Posts: 23
  • Country: ir
Re: VOLTCRAFT DSO-1084E (Hantek DSO4084B) stuck at boot screen
« Reply #37 on: January 27, 2025, 07:06:31 pm »
a little more try.
boot failures screenshot and files listed below

2490469-0

another pic

2490447-1

after boot failure and turn scope again. we have 3 options for boot and recover.

by pressing F2 the recovery process, the log attached at the end. before confirming recovery, the list of files is below

2490451-2

third option update recovery partition shows error

2490455-3

for last point the recover.sh file has been attached at the end. and I think can fix it having the recover*.up file in a usb disk, notice below command in recover.sh

Code: [Select]
/usr/gpg149arm/bin/gpg  --passphrase recoveruse  --output /tmp/update/recover.tar.gz -d /mnt/udisk/recover*.up
« Last Edit: January 27, 2025, 07:18:50 pm by ubata »
 

Offline Oscillator

  • Contributor
  • Posts: 12
  • Country: de
Re: VOLTCRAFT DSO-1084E (Hantek DSO4084B) stuck at boot screen
« Reply #38 on: January 27, 2025, 08:03:00 pm »
good that the serial connection is working now.

i can make some tests on my scope only at the weekend.
so i have to wait until saturday for making some tests.

maybe there is a corrupted config file which crashes the boot sequence.

so you might try to delete the broken files:

https://www.eevblog.com/forum/testgear/hantek-tekway-dso-hack-get-200mhz-bw-for-free/msg183459/#msg183459

or try this from reply #29 in this topic:

Quote
Now all I had to do was to delete all the files in /dso/app/etc/aslf (as described somewhere up in this thread) and the scope boots again as before. Seems to be a bug in this scope, but once you know its easy to fix.

btw: your boot log looks the same like in reply #25:

Quote
Failed to execute /linuxrc.  Attempting defaults...
/bin/sh: can't access tty; job control turned off
« Last Edit: January 27, 2025, 09:01:35 pm by Oscillator »
 

Offline ubata

  • Contributor
  • Posts: 23
  • Country: ir
Re: VOLTCRAFT DSO-1084E (Hantek DSO4084B) stuck at boot screen
« Reply #39 on: January 28, 2025, 10:20:54 am »

maybe there is a corrupted config file which crashes the boot sequence.

so you might try to delete the broken files:

Quote
Now all I had to do was to delete all the files in /dso/app/etc/aslf (as described somewhere up in this thread) and the scope boots again as before. Seems to be a bug in this scope, but once you know its easy to fix.
unfortunately, there is not "etc/asfl" under "/dso/app path"
only files that shown at below pic is there:
Code: [Select]
/dso/app # ls
dsod         io_bank      show_pic     test_bkl
fpga_ctl     read_adc     test_beep    test_msp430

2490729-0
 

Offline ubata

  • Contributor
  • Posts: 23
  • Country: ir
Re: VOLTCRAFT DSO-1084E (Hantek DSO4084B) stuck at boot screen
« Reply #40 on: January 28, 2025, 10:54:13 am »
new update
I maked a 16GB SD card bootable and copied the image files, as Hantek suport said in email, turned on the scope simultaneously pressing Ch1 volt/div knob. Strangely, the Scope displayed the following inverted text on its monitor:

Code: [Select]
#OM
Card Initialization failed.

SD:File System init failed!
Reading kernel from sector 30955502 (8192 sectors)..

2490737-0
 

Offline airwolf

  • Newbie
  • Posts: 5
  • Country: at
Re: VOLTCRAFT DSO-1084E (Hantek DSO4084B) stuck at boot screen
« Reply #41 on: January 29, 2025, 12:38:29 pm »
I see that your motherboard looks very different to mine, although the front of the Oszilloskop looks very similar (mine is 4 channel however). Could be that the software is somewhat different too? Did you look if you can find an asfl folder somewhere else? Just look around in the scope using the terminal.
The problem with my scope really was only the corrupted files in that folder, deleting them fixed everything.

 

Offline Oscillator

  • Contributor
  • Posts: 12
  • Country: de
Re: VOLTCRAFT DSO-1084E (Hantek DSO4084B) stuck at boot screen
« Reply #42 on: January 29, 2025, 05:33:00 pm »
@airwolf:

its not the same scope like yours.

you have the 4084B.

but ubata has 4202C.

just look at the front panel. you dont have an sd-card slot and ubata dont have arrow keys next to the F1-F6 buttons.
so its completely different hardware!

i have the 4102C. today i was very curious and decided to open my scope to take a look inside.
i have exactly the same PCB like ubata. and my scope doesnt boot also.

in the coming days i will add my serial USB to check my boot logs.
« Last Edit: January 30, 2025, 06:24:03 am by Oscillator »
 

Offline ubata

  • Contributor
  • Posts: 23
  • Country: ir
Re: VOLTCRAFT DSO-1084E (Hantek DSO4084B) stuck at boot screen
« Reply #43 on: January 30, 2025, 11:40:39 am »
I see that your motherboard looks very different to mine, although the front of the Oszilloskop looks very similar (mine is 4 channel however). Could be that the software is somewhat different too? Did you look if you can find an asfl folder somewhere else? Just look around in the scope using the terminal.
The problem with my scope really was only the corrupted files in that folder, deleting them fixed everything.

thanks for your reply
I searched the entire file system of the scope, but I couldn't find the folder and files you mentioned.
 

Offline ubata

  • Contributor
  • Posts: 23
  • Country: ir
Re: VOLTCRAFT DSO-1084E (Hantek DSO4084B) stuck at boot screen
« Reply #44 on: January 30, 2025, 11:54:09 am »
some other updates:

I saw the " Press Space key to Download Mod 0!" message when the scope booted, but I didn't think it would work.
But when I pressed the space bar, surprisingly it worked. The scope went into download mode and showed me the download menu in the terminal.
Now I don't know how to use these options to restore the device. Because Hantek sent me the image files and I uploaded them here:

https://mega.nz/file/UfgHkBZI#jQJYnK6ivxzMsXdz_oPUENA21pFG302O94VgExwMqXM

Below you can see the download mode menu:

Code: [Select]
#####    Boot for SKY2416/TQ2416 Main Menu      #####
#####     EmbedSky USB download mode     #####

[1] Download u-boot or STEPLDR.nb1 or other bootloader to Nand Flash
[2] Download LOGO (logo.bin) to Nand Flash
[3] Erase the MISC partion
[4] Download Kernel (kernel.bin) to Nand Flash
[5] Download UBIFS image (rootfs.ubi) to Nand Flash
[6] Download Kernel_bk (kernel_bk.bin) to Nand Flash
[7] Download UBIFS image (recover.ubi) to Nand Flash
[8] normal start!
[9] recover start!
[0] Set the boot parameters
[f] Format the Nand Flash
[a] Download User Program
[c] Choice lcd type.
[n] Enter TFTP download mode menu
[r] Reboot u-boot
[t] Test Linux Image (zImage)
Enter your selection:

* download mode.gif (39.74 kB. 887x563 - viewed 9 times.)
« Last Edit: January 30, 2025, 11:59:57 am by ubata »
 

Offline airwolf

  • Newbie
  • Posts: 5
  • Country: at
Re: VOLTCRAFT DSO-1084E (Hantek DSO4084B) stuck at boot screen
« Reply #45 on: January 30, 2025, 12:12:38 pm »
Sorry guys, you are right my scope is very different. Sorry that I can't help.
 
The following users thanked this post: ubata

Offline ubata

  • Contributor
  • Posts: 23
  • Country: ir
Re: VOLTCRAFT DSO-1084E (Hantek DSO4084B) stuck at boot screen
« Reply #46 on: January 30, 2025, 01:27:09 pm »
some other updates:

I saw the " Press Space key to Download Mod 0!" message when the scope booted, but I didn't think it would work.
But when I pressed the space bar, surprisingly it worked. The scope went into download mode and showed me the download menu in the terminal.
Now I don't know how to use these options to restore the device. Because Hantek sent me the image files . . .

I think we can fix it by copying the necessary images to a udisk and reburn them to NAND flash using download mode (The same thing was done in the method recommended by Hantek -using images and a bootable SD card-.), but I still afraid to brick the scope.
 

Offline Oscillator

  • Contributor
  • Posts: 12
  • Country: de
Re: VOLTCRAFT DSO-1084E (Hantek DSO4084B) stuck at boot screen
« Reply #47 on: January 30, 2025, 01:56:26 pm »
be careful!

as far as i understand this bootloader wants to download the binary image from the PC via USB connection and flash the contents to the NAND.

so dont fiddle with the uboot loader in NAND. this will brick your scope for sure!

btw: in which boot mode do you get the "space bar press" option?

is it the normal startup, recovery or sd-card boot?

 

Offline ubata

  • Contributor
  • Posts: 23
  • Country: ir
Re: VOLTCRAFT DSO-1084E (Hantek DSO4084B) stuck at boot screen
« Reply #48 on: January 30, 2025, 02:49:49 pm »

btw: in which boot mode do you get the "space bar press" option?

is it the normal startup, recovery or sd-card boot?

I only pressed space button over the putty terminal window, in serial connection, in any type of boot, because the messages appear at top of any boot process.
 

Offline ubata

  • Contributor
  • Posts: 23
  • Country: ir
Re: VOLTCRAFT DSO-1084E (Hantek DSO4084B) stuck at boot screen
« Reply #49 on: January 30, 2025, 03:07:29 pm »
below is a link to DSO4104C normal boot log
https://sigrok.org/wiki/Hantek_DSO4004C_series/Info
 
The following users thanked this post: Oscillator


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf