Products > Test Equipment
Hantek DSO1152S - Wont boot after firmware update
WanaGo:
--- Quote from: tinhead on July 13, 2014, 12:03:15 pm ---ok, i've installed handheld image, updated to their latest zimage, installed that update for S models and my dev board is now boot looping as well. Good (at least i have same shit now).
Try following:
- on the shell go to /dso/app/ directory
- rename the dsod in that dir to dsod.old (mv dsod dsod.old)
- reboot DSO
--- End quote ---
Nope, sadly still not working
its not boot looping now, but its just stuck waiting to do something, it doesnt load dso.exe itself
--- Quote ---no update file to foud
now run app .....
/etc/init.d/rcS: line 63: /dso/app/dsod: not found
--- End quote ---
tinhead:
/etc/init.d/rcS: line 63: /dso/app/dsod: not found
that's ok, you renamed the dsod so there have to be an error. The next line in rcS is loading the dso.exe,which is the DSO app itself. You can check your rcS (scroll down with cursor down)
vi /etc/init.d/rcS
to see this. There should be line
/dso.exe
Anyway, when it is not running check the /dso.exe rights, or simply do chmod 777 * in /.
Now run the /dso.exe, do default setup, autosetup, then change e.g. timebase and wait 10sec. The dso fw should now
stored the profile. Reboot not the dso (powercycle, not reboot command) and tell my what is doing after reboot.
WanaGo:
If I try to run /dso.exe now, I get this
--- Quote ---> /dso.exe
s3c2440_clkcon=00FFFFF0
MachineFunctionLimitByBrandType
InitLcdShowBasic:0x40b92000
s3c2440_clkcon=00FFFFF0
MachineFunctionLimitByBrandType
***************************Stat_ShowBattery:0, 0
release
release
Segmentation fault
--- End quote ---
ok inside vi /etc/init.d/rcS I see this:
--- Quote ---> vi /etc/init.d/rcS
#!/bin/sh
PATH=/sbin:/bin:/usr/sbin:/usr/bin
runlevel=S
prevlevel=N
umask 022
export PATH runlevel prevlevel
#
# Trap CTRL-C &c only in this shell so we can interrupt subprocesses.
#
insmod /dso/driver/cfbcopyarea.ko
insmod /dso/driver/cfbfillrect.ko
insmod /dso/driver/cfbimgblt.ko
insmod /dso/driver/s3c2410fb.ko
mount -a
mkdir -p /dev/pts
mount -t devpts devpts /dev/pts
echo /sbin/mdev > /proc/sys/kernel/hotplug
mdev -s
mkdir -p /var/lock
mkdir /dev/fb /dev/v4l
ln -s /dev/fb0 /dev/fb/0
ln -s /dev/fb0 /dev/dso-lcd
ln -s /dev/video0 /dev/v4l/video0
- /etc/init.d/rcS 1/65 1%
--- End quote ---
tinhead:
check again what i wrote, i'v edited while you was typing
WanaGo:
What I wrote didnt seem to be complete.
I did a cat instead of vi this time:
--- Quote ---cat /etc/init.d/rcS
#!/bin/sh
PATH=/sbin:/bin:/usr/sbin:/usr/bin
runlevel=S
prevlevel=N
umask 022
export PATH runlevel prevlevel
#
# Trap CTRL-C &c only in this shell so we can interrupt subprocesses.
#
insmod /dso/driver/cfbcopyarea.ko
insmod /dso/driver/cfbfillrect.ko
insmod /dso/driver/cfbimgblt.ko
insmod /dso/driver/s3c2410fb.ko
mount -a
mkdir -p /dev/pts
mount -t devpts devpts /dev/pts
echo /sbin/mdev > /proc/sys/kernel/hotplug
mdev -s
mkdir -p /var/lock
mkdir /dev/fb /dev/v4l
ln -s /dev/fb0 /dev/fb/0
ln -s /dev/fb0 /dev/dso-lcd
ln -s /dev/video0 /dev/v4l/video0
ln -s /dev/ts0 /dev/h3600_tsraw
rm -f /dso/driver/driver.log
touch /dso/driver/driver.log
hwclock -s
EmbedSky_wdg &
insmod /dso/driver/dso-fpga-1000b.ko
insmod /dso/driver/dso-spi.ko
./sendspi f dn.rbf
./disp 16 1
insmod /dso/driver/dm9000.ko
ifconfig lo 127.0.0.1
net_set &
#/etc/rc.d/init.d/httpd start
insmod /dso/driver/hantek_gpio.ko
insmod /dso/driver/dso-buzzer.ko
#insmod /dso/driver/usb-storage.ko
#insmod /dso/driver/usblp.ko
insmod /dso/driver/i2c-core.ko
insmod /dso/driver/i2c-dev.ko
insmod /dso/driver/i2c-s3c2410.ko
insmod /dso/driver/s3c2410_udc.ko
insmod /dso/driver/g_serial.ko
#insmod /dso/driver/dso-iobank.ko
insmod /dso/driver/lcd.ko
insmod /dso/driver/dso-ts.ko
insmod /dso/driver/dso-power.ko
mkdir /dev/misc
ln -s /dev/i2c-0 /dev/dso-i2c
ln -s /dev/ttyGS0 /dev/misc/usb-char
ln -s /dev/dso-spi /dev/dso-spi1
mkdir /dev/snd
ln -s /dev/pcmC0D0c /dev/snd/pcmC0D0c
ln -s /dev/pcmC0D0p /dev/snd/pcmC0D0p
ln -s /dev/timer /dev/snd/timer
mknod /dev/snd/controlC0 c 116 0
mknod /dev/snd/hwC0D0 c 116 4
mknod /dev/snd/seq c 116 1
/etc/checkdso /dso_update.exe
/bin/hostname -F /etc/sysconfig/HOSTNAME
/dso/app/dsod
./disp 8
./dso.exe &
--- End quote ---
Checking what you wrote now
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version