[firmware upgrade] support duo2/solo2.
[vuplus_dvbapp] / lib / python / Plugins / SystemPlugins / FirmwareUpgrade / plugin.py
index 0a21642..de95f9d 100644 (file)
@@ -39,9 +39,23 @@ if os.path.exists("/proc/stb/info/vumodel"):
                fwlist= [
                        ("fpga", _("FPGA"))
                        ]
+               fwdata= {
+                       "fpga" : ["http://archive.vuplus.com/download/fpga", "fpga.files", "/dev/fpga_dp;/dev/misc/dp;"]
+                       }
+       elif info == "solo2":
+               fwlist= [
+                       ("fpga", _("FPGA"))
+                       ]
                fwdata= { 
                        "fpga" : ["http://archive.vuplus.com/download/fpga", "fpga.files", "/dev/fpga_dp;/dev/misc/dp;"]
                        }
+       elif info == "duo2":
+               fwlist= [
+                       ("fpga", _("FPGA"))
+                       ]
+               fwdata= {
+                       "fpga" : ["http://archive.vuplus.com/download/fpga", "fpga.files", "/dev/fpga_dp;/dev/misc/dp;"]
+                       }
 
 import os, fcntl, thread
 STATUS_READY           = 0