←  [EN] Enduser support

Forums

»

DFlash under OpenPLi 2.1

fcs001fcs's Photo fcs001fcs 23 Aug 2011

I have a DM800 and installed the latest dFlash (ver 99) manually and it only partially works.

It creates the Back-up files OK but will not Flash them back on to the DM800.

Has anyone managed to get this relatively new NFI Backup Plugin to work correctly with OpenPLi 2.1?

Attached Files

Quote

Happysat's Photo Happysat 24 Aug 2011

Same result overhere, dFlash only supports bootloader 82/ and 83 not 76 which the Pli image is using.
Quote

pieterg's Photo pieterg 24 Aug 2011

76 is really old.
we are using 82 and 83 (depending on the hardware)
see
http://openpli.git.s...302406766430cdf

so that's not the reason why it fails.
Quote

fcs001fcs's Photo fcs001fcs 24 Aug 2011

I have OpenPLi 2.1 that has Second Stage Loader (Bootloader) #82 and dFlash still does not work.

I have been in contact with the author , gutemine, at IHAD and he mentioned that it may have to do with libc file that PLi uses or maybe something else. He is hesitant to put a lot of time in supporting dFlash under OpenPLi.
Quote

hemertje's Photo hemertje 25 Aug 2011

why dont you use alternatives for this plugin?
autobackup?
Quote

fcs001fcs's Photo fcs001fcs 25 Aug 2011

why dont you use alternatives for this plugin?
autobackup?


I am not 100% sure what autobackup does but I think it only saves settings etc... and I would have to reinstall a clean image and then restore the settings. Is this correct?

I use the full NFI backup to keep a known good image loaded with the options, plugin, settings, channel settings, etc... . When I experiment and change a lot in my DM800 setup I sometimes cannot go back easily to the old setup. I then just flash the last known good image and I am back to where I started. Think of it as a Windows Restore Point.
Quote

MiLo's Photo MiLo 26 Aug 2011

why dont you use alternatives for this plugin?
autobackup?

I am not 100% sure what autobackup does but I think it only saves settings etc... and I would have to reinstall a clean image and then restore the settings. Is this correct?


Nope.

The "auto" part of autobackup actually applies to the restore function. The restore will happen automatically when you boot a fresh flash image. This also makes the first boot a bit faster, because it doesn't have to calculate machine keys and such.

In addition to settings (and it stores more than the default) it can also optionally restore plugins. For this you need either network access or a copy of the ipk files somewhere during the restore phase. The plugin can create the list of plugins to install automatically.

So what it does is close to what you describe as a restore point, but a lot faster (the backup usually only takes a second or two). Once the backup is created, you can flash any PLi image (newer and older versions) and it will boot with the restored settings.
Quote

fcs001fcs's Photo fcs001fcs 26 Aug 2011

why dont you use alternatives for this plugin?
autobackup?

I am not 100% sure what autobackup does but I think it only saves settings etc... and I would have to reinstall a clean image and then restore the settings. Is this correct?


Nope.

The "auto" part of autobackup actually applies to the restore function. The restore will happen automatically when you boot a fresh flash image. This also makes the first boot a bit faster, because it doesn't have to calculate machine keys and such.

In addition to settings (and it stores more than the default) it can also optionally restore plugins. For this you need either network access or a copy of the ipk files somewhere during the restore phase. The plugin can create the list of plugins to install automatically.

So what it does is close to what you describe as a restore point, but a lot faster (the backup usually only takes a second or two). Once the backup is created, you can flash any PLi image (newer and older versions) and it will boot with the restored settings.


Sounds like it may be what I need. I will install and try it out. Thanks
Quote

fcs001fcs's Photo fcs001fcs 26 Aug 2011

MiLo,

Installed Pli Plugin Auto-backup but could not find where to setup plugin backups etc... . Is there a tutorial I could use somewhere?
Quote

hemispherical1's Photo hemispherical1 26 Aug 2011

menu / setup / software management / advanced options / choose backup location, choose backup files, etc...



--
hemi
Quote

MiLo's Photo MiLo 26 Aug 2011

Menu, Applications, AutoBackup.

Should be easy enough.
Quote

fcs001fcs's Photo fcs001fcs 27 Aug 2011

menu / setup / software management / advanced options / choose backup location, choose backup files, etc...



--
hemi


Thanks. It was easy to figure out how to save certain files and file locations but how to select and save which plugins you want to have saved and ensure that they are setup correctly when you flash a new image?

Also, which files and file locations are recommended to be backed up?
Quote

MiLo's Photo MiLo 27 Aug 2011

Be warned that what hemispherical1 mentioned points to the "standard" backup, which is very confusing. It's a remnant of old times, and is not related to autobackup in any way.
Quote

MiLo's Photo MiLo 27 Aug 2011

Also, which files and file locations are recommended to be backed up?


The ones that AutoBackup backups by default are the recommended ones.
Quote

MiLo's Photo MiLo 27 Aug 2011

...how to select and save which plugins you want to have saved and ensure that they are setup correctly when you flash a new image?


Menu, Applications, AutoBackup.

Select a backup location.

Set the "create autoinstall" option to "on" and press the yellow button to create a manual backup this time. All installed plugins and other extensions are listed into a autoinstall file on the backup medium, and will be (attempted to be) reinstalled the next time you flash an image. The AutoInstall list will not be removed.

You can edit this text file with a text editor if you insist on making changes to it.

To select "extra" files or directories to be backed up, press the menu key. The list itself will also become part of the backup.
Quote

hemispherical1's Photo hemispherical1 27 Aug 2011

Ya sorry, I had never used autobackup and I "assumed" it would use the same database of files to backup as the normal backup. Silly me... ;)


--
hemi
Quote

fcs001fcs's Photo fcs001fcs 28 Aug 2011

Thanks for the info. It sounds like it works as set as default. Will give it a try next time I mess up and need to re-flash.
Quote

gjstroom's Photo gjstroom 31 Aug 2011

To get dflash working on PLi you need to mount /boot :
mount -t jffs2 /dev/mtdblock2 /boot

Or you can add this to your /etc/fstab to automount /boot.
/dev/mtdblock2 /boot jffs2 defaults 0 0
Quote

hemertje's Photo hemertje 31 Aug 2011

we disabled /boot as it is not used with normal use
only when flashing bootloaders if i'm correct
Quote

gjstroom's Photo gjstroom 31 Aug 2011

To get dflash working on PLi you need to mount /boot :
mount -t jffs2 /dev/mtdblock2 /boot

Or you can add this to your /etc/fstab to automount /boot.
/dev/mtdblock2 /boot jffs2 defaults 0 0
Quote