Jump to content


Photo

Flash Gordon Plugin

Flashing

  • Please log in to reply
178 replies to this topic

Re: Flash Gordon Plugin #101 ColinB

  • Senior Member
  • 743 posts

+28
Good

Posted 17 May 2013 - 09:57

Good to hear that it now works at least on 2 boxes.

 

Flashing from network mount is slowing down the process so it is not the perfect choice but as we are using runlevel 2 instead of 1 it should work.

 

 

PS: Yes, FG uncompresses the imagename.ZIP to an imagename directory to flash from there. Therefore it would be no problem to support also plain imagedirectories too as he is using them internally anyway already.

I tried both net and local usb, the local was about 30secs quicker. Also given that it in my case it has to uncorpress a 60mb file from zip, which takes from telnet about 30 seconds by itself. It would be great if you could incorporate the "plain/image directories" as an option somewhere. Using fgwrite from the cmd line is super fast.

 

Good luck Colin


Xtrend et8000 7.1-Release

2 x 8/1 DiSEqC  30w 13e 19e 23e 28e   

Astrometa USB Tuner Working DVB-T2 now on Kernel 4.10+  ;)

WD10EARX 1TB

Sandisk 32GB USB for AFB, EPG, Picons & Timeshift

 

ZGemma Star S 7.0-Release

4/1 DiSEqC  30w 13e 19e 28e

Sandisk 8GB USB for AFB, EPG, Picons & Timeshift

 

LG 49UH610V UHD-HDR

UHF/Cable/Sat

 

E-Channelizer

 

 

 


Re: Flash Gordon Plugin #102 Lost in Space

  • Senior Member
  • 876 posts

+69
Good

Posted 17 May 2013 - 11:04

Wishing is easy, but if you promise to test it properly it should be no problem to include this.

 

Prio 1 was to get fgwrite working, because as you realized - it is much faster and when it works it works - only the process to reach this status is hard.

 

I'll see what I can do this evening. Probebal I'll implement it like this - if subdirectories of /media/hdd/backup (or the backup path you specify) are found they will be scanned also and if they contain a *root*.* file they will be offered for flashing in the list of images additionally to the found zip files. But then I will implement it this way that as soon as an uncompressed imagedir is found the imagedir.zip will not be offered anymore to prevent duplicate entries. So it would be only slow the first time when a ZIP needs to be uncompressed and after this only the uncompressed folder will be offered for flashing in the list.

 

And off course if only a folder is present you can flash it directly.

 

Hopefully then everybody is happy. BUT to be honest as the Plugin is open source python code and just a dumb wrapper for image selection and starting fgwrite I will not add much more functionality to it - you can do this yourself. 

 

For me only prooving that fgwrite is easy to implement and works was the interesting part, and now this is almost finished as only your test results are outstanding on all boxes to confirm that operational status is reached.

 

gutemine


Edited by gutemine, 17 May 2013 - 11:07.


Re: Flash Gordon Plugin #103 ColinB

  • Senior Member
  • 743 posts

+28
Good

Posted 17 May 2013 - 11:17

"only your test results are outstanding"

 

my test results ? or test results of all boxes?

 

As far as I know I've given you all that was asked for.  If you need something specific I'm happy to provide.

 

cheers Colin

 

 

Gordon's Alive !


Xtrend et8000 7.1-Release

2 x 8/1 DiSEqC  30w 13e 19e 23e 28e   

Astrometa USB Tuner Working DVB-T2 now on Kernel 4.10+  ;)

WD10EARX 1TB

Sandisk 32GB USB for AFB, EPG, Picons & Timeshift

 

ZGemma Star S 7.0-Release

4/1 DiSEqC  30w 13e 19e 28e

Sandisk 8GB USB for AFB, EPG, Picons & Timeshift

 

LG 49UH610V UHD-HDR

UHF/Cable/Sat

 

E-Channelizer

 

 

 


Re: Flash Gordon Plugin #104 theparasol

  • Senior Member
  • 4,157 posts

+198
Excellent

Posted 17 May 2013 - 15:37

Well, I saw ColinB reporting with XP box so no need to do the same twice. And the XP is the only box I have (and need)

I also have a DM800HD PVR but I presume you are not interested in that particular box?


@Camping: ZGemma H.2S, Technisat Multytenne 4-in-1 @Home: Edision Mini 4K, Wave Frontier T55, EMP Centauri EMP DiSEqC 8/1 switch, 4x Inverto Ultra Black single LNB


Re: Flash Gordon Plugin #105 Lost in Space

  • Senior Member
  • 876 posts

+69
Good

Posted 17 May 2013 - 18:11

I didn't mean you personally, it was the english you in plural that I was refereing to.

 

If I understand right there are plenty of idfferent vu/et/ct... Boxes in the market, and as I already explained, only if 'you' are testing them and reporting back we can make them work.

 

If such input is not coming in the next days I simply asume that everybody is not happy with his sofa flashing experience and release it as it is.

 

This is the way I work (especially for boxes I don't even own) and i will not change this attidude :-)

 

But now I have to do the unpacked zip support in the Plugin ...

 

PS: And no I'm not interested in input on Dreamboxes - fgwrite will not even do anything on a Dreambox - it will reference you to nfiwrite and hence dFlash:

 

>>>>>>>>>>>>>>> Flash Gordon write by gutemine <<<<<<<<<<<<<<<<<<<

Version 0.7 Build May 16 2013 13:53:36

Sorry, for dreambox use nfiwrite!

>>>>>>>>>>>>>>> Flash Gordon write by gutemine <<<<<<<<<<<<<<<<<<<
 



Re: Flash Gordon Plugin #106 ColinB

  • Senior Member
  • 743 posts

+28
Good

Posted 17 May 2013 - 19:01

@Gutemine, TBH, I've enjoyed the 20+ (backup's & flashes) that i've done over the last week.  ;) 

 

& it Looks to me like you have (delivering/delivered /developed) a very nice app, the lots of people will use and enjoy. :)

 

 

 

 

May the Force be with You ...OOPs            Hawkmen  Kill


Xtrend et8000 7.1-Release

2 x 8/1 DiSEqC  30w 13e 19e 23e 28e   

Astrometa USB Tuner Working DVB-T2 now on Kernel 4.10+  ;)

WD10EARX 1TB

Sandisk 32GB USB for AFB, EPG, Picons & Timeshift

 

ZGemma Star S 7.0-Release

4/1 DiSEqC  30w 13e 19e 28e

Sandisk 8GB USB for AFB, EPG, Picons & Timeshift

 

LG 49UH610V UHD-HDR

UHF/Cable/Sat

 

E-Channelizer

 

 

 


Re: Flash Gordon Plugin #107 Lost in Space

  • Senior Member
  • 876 posts

+69
Good

Posted 17 May 2013 - 19:13

Well, but that ist he typical testing number to make a box flashable - I have to do X00 Flashes first to get the code and the knowledge how to do it

and you have to do X0 Flashes to give the needed inputs and test the variants I produce based on this.

 

I think this is fair, and the number gets lower the more boxes are already included.

 

What is NOT fair in my opionion is just to lean back and hope that other users will do the job becuase then it takes significantly longer for me and only a few users

like you have to spend much more time on testing.

 

And to be honest for me it is acutally a little bit strange that it had to be me to do this job, but this is another story.


Edited by gutemine, 17 May 2013 - 19:15.


Re: Flash Gordon Plugin #108 greatred

  • Senior Member
  • 268 posts

+2
Neutral

Posted 17 May 2013 - 20:43

Hi, recent version seems to be working fine on a VU+ Uno.

Although I had to copy a boot image in order to flash my backed-up OpenPLi.

Without boot image fgwrite was complaining:

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
name device size image
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
boot: /dev/mtd2 4194304
kernel: /dev/mtd1 4194304 /media/hdd/backup/openpli/vuplus/uno/kernel_cfe_auto.bin
root: /dev/mtd0 119537664 /media/hdd/backup/openpli/vuplus/uno/root_cfe_auto.jffs2
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
flashing uno image files ...
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<

no boot image file found!

Attached Files



Re: Flash Gordon Plugin #109 Lost in Space

  • Senior Member
  • 876 posts

+69
Good

Posted 17 May 2013 - 22:03

Thanks for trying on another box.

 

Hopefully this is fixed now with this version, and now both image zip files at /media/hdd/backup and Image subdirectories under /media/hdd/backup are supported by the FG Plugin.

 

Have fun testing!

 

gutemine

Attached Files


Edited by gutemine, 17 May 2013 - 22:05.


Re: Flash Gordon Plugin #110 rtzhjgg0

  • Senior Member
  • 568 posts

+13
Neutral

Posted 17 May 2013 - 22:50

Flashing of image subdirectories with FG Plugin (v. 0.10) works here perfectly  :)


Selfsat H50M4
Ultimo4K /2xTwinS2, VTI, PLi, ATV...
NAS: Qnap221

Re: Flash Gordon Plugin #111 Lost in Space

  • Senior Member
  • 876 posts

+69
Good

Posted 17 May 2013 - 22:56

Thanks for testing, but the Plugin part is easy.

 

Let's see if now also imagefiles which are not found (like splash oder boot) will not be tried to flash anymore and cause failures.

 

Any other bugs found with the latest version ?


Edited by gutemine, 17 May 2013 - 22:57.


Re: Flash Gordon Plugin #112 ColinB

  • Senior Member
  • 743 posts

+28
Good

Posted 17 May 2013 - 23:27

Top Job Sir

 

working here on XP1000

 

Thank You :D

 

 

 

No one but the pure in heart
May find the golden grail
Oh oh - oh oh
Flash


Xtrend et8000 7.1-Release

2 x 8/1 DiSEqC  30w 13e 19e 23e 28e   

Astrometa USB Tuner Working DVB-T2 now on Kernel 4.10+  ;)

WD10EARX 1TB

Sandisk 32GB USB for AFB, EPG, Picons & Timeshift

 

ZGemma Star S 7.0-Release

4/1 DiSEqC  30w 13e 19e 28e

Sandisk 8GB USB for AFB, EPG, Picons & Timeshift

 

LG 49UH610V UHD-HDR

UHF/Cable/Sat

 

E-Channelizer

 

 

 


Re: Flash Gordon Plugin #113 Lost in Space

  • Senior Member
  • 876 posts

+69
Good

Posted 17 May 2013 - 23:36

There is no grail to be found in this case, as your community had all the necessary information and code since ages, and even the boxes to try it out and make it run. 

 

If you need a dumb programmer like me to do the job even without any such box ... your are welcome :)

 

What time do you have now - from choosing the image for flashing to booting back to the startup wizard of the new image ?


Edited by gutemine, 17 May 2013 - 23:38.


Re: Flash Gordon Plugin #114 Lost in Space

  • Senior Member
  • 876 posts

+69
Good

Posted 18 May 2013 - 16:36

I have to repeat my previous question, did you find any further bugs with the last version of FG Plugin and/or fgwrite ?

 

Are there any features left that you would like to be included ?

 

But don't ask for backup support too. I could easily do it, but why should I, if you have a Plugin for that already and how should I support backups of boxes I don't own or want to own? Andy everybody should be now able to use/include fgwrite for flashing support in his own pllugin, so there is no need to help out after prooving that and how it works.

 

Please reply, because if there are no further request/problem reports I will simply release it as it is on Sunday.

 

gutemine


Edited by gutemine, 18 May 2013 - 16:38.


Re: Flash Gordon Plugin #115 theparasol

  • Senior Member
  • 4,157 posts

+198
Excellent

Posted 18 May 2013 - 16:55

Ok great Gutemine, even a bad coder like me can do the python part of the plugin ;)

 

Just present a little filelist, user selects backup or fresh image to flash (no difference at all!) and fgwrite will do the rest.

 

@Pedronewbie: I think its something you should add to your "backupsuite", users wont need to do special actions button combinations on the box to reflash or restore an old backup!


@Camping: ZGemma H.2S, Technisat Multytenne 4-in-1 @Home: Edision Mini 4K, Wave Frontier T55, EMP Centauri EMP DiSEqC 8/1 switch, 4x Inverto Ultra Black single LNB


Re: Flash Gordon Plugin #116 Lost in Space

  • Senior Member
  • 876 posts

+69
Good

Posted 18 May 2013 - 17:06

I'm not great, but the Python part of the plugin is really peanuts, I agree, and you can easily steal from FG Plugin, as I did it just to show that it works.

 

I don't even have a problem if somebody adopts the Plugin and developes is further after I release it as from then on it probably would stay as it is anyway.

 

And the fgwrite binary simply does what it does, no matter how and from which plugin you call it.

 

Actually there would be no need for fgwrite either, but it solves all the problems that I pointed out on the scripting approach in the original thread and creating it was relativley easy and straight forward for me, because besides the image selection and partition assignement part (not needed on Dreamboxes as they have a common basic partitioning layout where only the sizes differ) which I had to write from scratch all the binaries I already had wrapped and patched for klibc support of my nfiwrite binary that dFlash uses.

 

And nand_check binary is available now since ages too.

 

But probably there will be soon complaints about fgwrite not beeing Open Source - then the answer is easy - take my advice and do you own one :D

 

gutemine


Edited by gutemine, 18 May 2013 - 17:10.


Re: Flash Gordon Plugin #117 rtzhjgg0

  • Senior Member
  • 568 posts

+13
Neutral

Posted 18 May 2013 - 17:09

...But don't ask for backup support too. I could easily do it, but why should I, if you have a Plugin for that already...

But for users a All-in-One solution is quite better.
It is the same situation like with flashing feature: you don't have that boxes, but we can help with testing of a backup function. You say that you can easily do it...


Selfsat H50M4
Ultimo4K /2xTwinS2, VTI, PLi, ATV...
NAS: Qnap221

Re: Flash Gordon Plugin #118 ColinB

  • Senior Member
  • 743 posts

+28
Good

Posted 18 May 2013 - 17:11

Possibility to browse BU ?


Xtrend et8000 7.1-Release

2 x 8/1 DiSEqC  30w 13e 19e 23e 28e   

Astrometa USB Tuner Working DVB-T2 now on Kernel 4.10+  ;)

WD10EARX 1TB

Sandisk 32GB USB for AFB, EPG, Picons & Timeshift

 

ZGemma Star S 7.0-Release

4/1 DiSEqC  30w 13e 19e 28e

Sandisk 8GB USB for AFB, EPG, Picons & Timeshift

 

LG 49UH610V UHD-HDR

UHF/Cable/Sat

 

E-Channelizer

 

 

 


Re: Flash Gordon Plugin #119 Lost in Space

  • Senior Member
  • 876 posts

+69
Good

Posted 18 May 2013 - 17:12

The question is the other way around - my mkfs.ubifs and mkfs.jffs2 binaries are finetuned to do a better job then the standard ones, and the parameters of calling them are well known - do it yourself if you want a better Plugin then the one you have. But yes, instead of hardcoding Flashgeometry reading it with mtdinfo and ubinfo would be better, because then magically it would work on every box,  as only the image names differ on the boxes.

 

And if you want a browser - add one, as the code fur this functionality is open available - you don't need me for this either.


Edited by gutemine, 18 May 2013 - 17:14.


Re: Flash Gordon Plugin #120 theparasol

  • Senior Member
  • 4,157 posts

+198
Excellent

Posted 18 May 2013 - 17:14

But probably there will be soon complaints about fgwrite not beeing Open Source - then the answer is easy - take my advice and do you own one :D

 

I wonder why you dont release the source of it. What do you gain or loose if you do release the source?

Hope you will change some day on this specific point but till then I'll respect your personal choice.


@Camping: ZGemma H.2S, Technisat Multytenne 4-in-1 @Home: Edision Mini 4K, Wave Frontier T55, EMP Centauri EMP DiSEqC 8/1 switch, 4x Inverto Ultra Black single LNB




Also tagged with one or more of these keywords: Flashing

1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users