Author Topic: Rigol DHO800/900 new firmware... 1.03  (Read 6582 times)

t_i_t_o, ebastler, boyie, fantas and 5 Guests are viewing this topic.

Offline sandor626

  • Contributor
  • Posts: 20
  • Country: it
Re: Rigol DHO800/900 new firmware... 1.03
« Reply #100 on: Yesterday at 02:41:20 pm »
I read your forum only after updating the firmware (and noticing some malfunctions)
 

Offline ptluis

  • Frequent Contributor
  • **
  • Posts: 352
  • Country: pt
Re: Rigol DHO800/900 new firmware... 1.03
« Reply #101 on: Yesterday at 05:01:31 pm »
you can easily brick your device!

Technically not a "brick", it still boots, other apps work, just not the 'scope app.

What firmware version "bricked" your scope? v00.01.03.00.04 or v00.01.03.00.06?
I'm still able to download v00.01.03.00.06 from supportint.rigol.com
 

Offline norbert.kiszka

  • Frequent Contributor
  • **
  • Posts: 266
  • Country: pl
Re: Rigol DHO800/900 new firmware... 1.03
« Reply #102 on: Yesterday at 05:58:22 pm »
Can somebody share v00.01.03.00.06 ? Looks like its not available on a Rigol page - link goes into error page  :-BROKE

Even maybe other v00.01.03 for a better hacking :)

Offline FxDev

  • Regular Contributor
  • *
  • Posts: 53
  • Country: tr
Re: Rigol DHO800/900 new firmware... 1.03
« Reply #103 on: Yesterday at 06:03:52 pm »
Can somebody share v00.01.03.00.06 ? Looks like its not available on a Rigol page - link goes into error page  :-BROKE

Even maybe other v00.01.03 for a better hacking :)

https://dosya.co/car0tg1vsc6j/DHO800_DHO900(Software)Update_v00.01.03.00.06.zip.html
 
The following users thanked this post: norbert.kiszka

Offline norbert.kiszka

  • Frequent Contributor
  • **
  • Posts: 266
  • Country: pl
Re: Rigol DHO800/900 new firmware... 1.03
« Reply #104 on: Yesterday at 06:43:09 pm »
Can somebody share v00.01.03.00.06 ? Looks like its not available on a Rigol page - link goes into error page  :-BROKE

Even maybe other v00.01.03 for a better hacking :)

https://dosya.co/car0tg1vsc6j/DHO800_DHO900(Software)Update_v00.01.03.00.06.zip.html

Changes in relation to the v00.01.02.00.02, at first glance:
  • FPGA firmware.
  • New module fan_gpio_clt.ko - likely after decompilation, we will be able to manage fan voltage as we want. Eventually this can only turn on and off the fan. But there is a trace from a deleted PWM kernel module (both versions).
  • New script quick_boot_test.sh - pseudo sleep mode - FPGA, fan and screen backlight is shut down, but CPU is still running (In my tests I was able to run this scope on Debian GNU/Linux and without fan for many hours). Maybe they don't know how to do a S3 mode or Android 7.x is not able to handle it.
  • Some strange and top secret staff hidden in a /tools/spidev and "golden_ver" variables in a quick_boot_test.sh.
  • All apk files was changed (Launcher.apk, Sparrow.apk, Webcontrol.apk).

Now I think to change only FPGA firmware on my scope and see what will go boom  :-BROKE
 
The following users thanked this post: thm_w, zrq

Offline norbert.kiszka

  • Frequent Contributor
  • **
  • Posts: 266
  • Country: pl
Re: Rigol DHO800/900 new firmware... 1.03
« Reply #105 on: Yesterday at 07:36:58 pm »
Now I think to change only FPGA firmware on my scope and see what will go boom  :-BROKE

I did it. After small basic tests I don't see any changes in scope behavior or measurements. Bug in a bode plot is not fixed after this change.

I copied (by overwrite) /rigol/FPGA/BOOT.bin and /rigol/FPGA/BOOT_SelfTest.bin by command adb push.

FPGA was reflashed with command:

Code: [Select]
/rigol/shell/reload_fpga.sh /rigol/FPGA/BOOT.bin 0x400000
Screenshot with a changed FPGA firmware:
 
The following users thanked this post: TimFox

Offline norbert.kiszka

  • Frequent Contributor
  • **
  • Posts: 266
  • Country: pl
Re: Rigol DHO800/900 new firmware... 1.03
« Reply #106 on: Yesterday at 09:38:58 pm »
...
FPGA was reflashed with command:
...

After copying new files from 1.03 (/rigol/tools/spidev, /rigol/drivers/fan_gpio_clt.ko and /rigol/shell/quick_boot_test.sh), making them executable (chmod +x path/to/a/file) and with little changes in a quick_boot_test.sh I managed to make a fully working "pseudo-sleep" in a 1.02, but only via adb:

Code: [Select]
ramzes[member=380248]tm[/member]:~$ adb shell /rigol/shell/quick_boot_test.sh off
...... Quick Power Off ...... Start @ 2024.09.17 05.11.29
lspci
...... Quick Power Off ...... End @ 2024.09.17 05.11.31

ramzes[member=380248]tm[/member]:~$ adb shell /rigol/shell/quick_boot_test.sh on
...... Quick Power On ...... Start @ 2024.09.17 05.11.37

... PLL Init Size = 46
PLL Init : sum use time : 2.3184 s

1.1.3
1
1
3
rx: �������������������
����
��
��

old system version < 2
old golden version need sleep 10
/rigol/tools/spi2boot 0x400000
Boot MultiBoot Image
Waiting 5s For MultiBoot Image Boot...

done


insmod /rigol/driver/xdma.ko

The Kernel module installed correctly and the xmda devices were recognized.
DONE

lspci
00:00.0 Class 0604: Device 1d87:0100
01:00.0 Class 0700: Device 10ee:7022
Starting: Intent { cmp=com.rigol.scope/.MainActivity }
...... Quick Power On ...... End @ 2024.09.17 05.12.07

ramzes[member=380248]tm[/member]:~$

Argument "on" takes around 30 seconds - at least for now.

After "off", network still works and all apps (in exception of a scope app) can be used via http://your.crappy.scope.ip/control.html

Now I will try to make a "game mode" without fan, but most likely I need to make a binary changes in a fan_gpio_clt.ko to make a screen work (backlight/brightness doesn't do the trick).

My modification of a quick_boot_test.sh is in the attachment. Bon apetit!
« Last Edit: Yesterday at 09:41:10 pm by norbert.kiszka »
 

Offline norbert.kiszka

  • Frequent Contributor
  • **
  • Posts: 266
  • Country: pl
Re: Rigol DHO800/900 new firmware... 1.03
« Reply #107 on: Yesterday at 11:38:47 pm »
Now I will try to make a "game mode" without fan, but most likely I need to make a binary changes in a fan_gpio_clt.ko to make a screen work (backlight/brightness doesn't do the trick).

I decompiled this module and only one thing it do is turning on and off single GPIO pin. Looks like fan and a backlight are powered from this pin, so for now it will be impossible to turn off the fan and have internal screen visible.

Anyway, I did a game mode in this script - new version is in the attachment.

----------------------------

Make this to go into pseudo-sleep:

Code: [Select]
/rigol/shell/quick_boot_test.sh off
Turn it back on:

Code: [Select]
/rigol/shell/quick_boot_test.sh on
Game mode (scope app disabled and it will not work when loaded by hand). To use scope app, use argument "on", as above.

Code: [Select]
/rigol/shell/quick_boot_test.sh letsplay
---------

Modes can be switched at any time, no matter what mode was before.

Physical power switch most likely will turn it off completely - maybe upgrading Launcher up to 1.03 will help? I will try it tomorrow, because Im tired.


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf