Jump to content


Photo

How do a backup in OpenPli 6 e Zgemma H7S

H7S Zgemma Backup Backupsuite

  • Please log in to reply
31 replies to this topic

#1 Blacksimon

  • Senior Member
  • 51 posts

0
Neutral

Posted 22 July 2017 - 13:03

Hi all,

I need do a backup of a OpenPli 6 R.C. installed on the new Zgemma H7S, but Backupsuite do not support it yet.

So what I can do ?

 

 

Thank you


Zgemma H7S Openpli 6.0 R.C.
Zgemma H2.H OpenPli 6.0 R.C.

Zgemma H2 OpenPli 4


Re: How do a backup in OpenPli 6 e Zgemma H7S #2 Erik Slagter

  • PLi® Core member
  • 46,951 posts

+541
Excellent

Posted 22 July 2017 - 15:25

Buy a H7 for Pedro ;)


* Wavefrontier T90 with 28E/23E/19E/13E via SCR switches 2 x 2 x 6 user bands
I don't read PM -> if you have something to ask or to report, do it in the forum so others can benefit. I don't take freelance jobs.
Ik lees geen PM -> als je iets te vragen of te melden hebt, doe het op het forum, zodat anderen er ook wat aan hebben.


Re: How do a backup in OpenPli 6 e Zgemma H7S #3 Pedro_Newbie

  • Senior Member
  • 4,631 posts

+225
Excellent

Posted 22 July 2017 - 15:50

No thank you, I've more receivers than I can use.
Because of personal circumstances I have no or little time to spent on the backupsuite, but if some one has the right information for the lookuptable I'm happy to add it. Or a pull request would even better.

I think there are more Openpli supported models than I've in the lookuptable(?)


Edit: maybe the automatic fullbackup has support for this receiver?

Edited by Pedro_Newbie, 22 July 2017 - 15:52.


Re: How do a backup in OpenPli 6 e Zgemma H7S #4 betacentauri

  • PLi® Core member
  • 7,185 posts

+323
Excellent

Posted 22 July 2017 - 16:10

Most likely similar entry like hd51 should work as it's an arm receiver with ext4 filesystem.
Xtrend ET-9200, ET-8000, ET-10000, OpenPliPC on Ubuntu 12.04

Re: How do a backup in OpenPli 6 e Zgemma H7S #5 betacentauri

  • PLi® Core member
  • 7,185 posts

+323
Excellent

Posted 22 July 2017 - 16:13

Yes, dimirij has added support
https://github.com/D...14cc37053b2a141
Xtrend ET-9200, ET-8000, ET-10000, OpenPliPC on Ubuntu 12.04

Re: How do a backup in OpenPli 6 e Zgemma H7S #6 WTE

  • Senior Member
  • 821 posts

+36
Good

Posted 22 July 2017 - 16:20

No thank you, I've more receivers than I can use.
Because of personal circumstances I have no or little time to spent on the backupsuite, but if some one has the right information for the lookuptable I'm happy to add it. Or a pull request would even better.

I think there are more Openpli supported models than I've in the lookuptable(?)


Edit: maybe the automatic fullbackup has support for this receiver?

 

It's similar as HD51 model. Further I saw some models which was not yet add.

Attached Files


Edited by WTE, 22 July 2017 - 16:20.

Mut@nt HD51 STB 4K

   :rolleyes:                :rolleyes:


Re: How do a backup in OpenPli 6 e Zgemma H7S #7 Pedro_Newbie

  • Senior Member
  • 4,631 posts

+225
Excellent

Posted 22 July 2017 - 18:29


@ WTE
Added. Thanks!

Edited by Pedro_Newbie, 22 July 2017 - 18:31.


Re: How do a backup in OpenPli 6 e Zgemma H7S #8 Pedro_Newbie

  • Senior Member
  • 4,631 posts

+225
Excellent

Posted 22 July 2017 - 18:33

Yes, dimirij has added support
https://github.com/D...14cc37053b2a141


I will make the changes in the BackupSuite when I've some time but again it can take some time

Re: How do a backup in OpenPli 6 e Zgemma H7S #9 Blacksimon

  • Senior Member
  • 51 posts

0
Neutral

Posted 22 July 2017 - 19:04

Buy a H7 for Pedro ;)


I have one for him.... :-D

Thank you for support, tomorrow I will try.

Zgemma H7S Openpli 6.0 R.C.
Zgemma H2.H OpenPli 6.0 R.C.

Zgemma H2 OpenPli 4


Re: How do a backup in OpenPli 6 e Zgemma H7S #10 Blacksimon

  • Senior Member
  • 51 posts

0
Neutral

Posted 23 July 2017 - 10:45

This backup is completely ignored when trying to flash another decoder !!!

 

lookuptable file was modified adding H7 parameters.

Backupsuite has created four files in USB / zgemma / h7 directory:
 
kernel1.bin
rootfs.tar.bz2
Imageversion
Back-up = 2017.07.23_10:44
Version = openpli 6.0-rc 
Flashed = 2017.07.19_07:12
Updated = 2017.07.23_10:31
Drivers = zgemma-dvb-modules-h7 - 4.10.6+20170522-r0.0
Enigma2 = 2017-07-20-rc-6.0

BackupSuite Log file

*** THIS BACKUP IS CREATED WITH THE PLUGIN BACKUPSUITE ***
***** This plugin is brought to you by Pedro_Newbie ******

Plugin version     = git152+6524012
Back-up media      = /media/usb
Filesystem                Size      Used Available Use% Mounted on
/dev/sda1                 7.2G    300.3M      6.9G   4% /media/usb

Back-up = 2017.07.23_10:44
Version = openpli 6.0-rc 
Flashed = 2017.07.19_07:12
Updated = 2017.07.23_10:31
Drivers = zgemma-dvb-modules-h7 - 4.10.6+20170522-r0.0
Enigma2 = 2017-07-20-rc-6.0


Working directory  = /media/usb/bi
Destination        = /media/usb/zgemma/h7

RECEIVER = Zgemma H7 
MKUBIFS_ARGS = 
UBINIZE_ARGS = 
KERNEL dimensione del backup:   8192 KB
ROOTFS dimensione del backup: 171600 KB
=TOTAL dimensione del backup: 179792 KB (= 175 MB)
Si prega di essere pazienti, un backup sara' eseguito, ci impieghera' circa: 3.59 Minuti

*** FIRST SOME HOUSEKEEPING ***
Remove directory   = /media/usb/bi
Recreate directory = /media/usb/bi
Create directory   = /tmp/bi/root

Creando: Kerneldump
Kernel resides on /dev/mmcblk0p1
Creando: root.ubifs
Removed directory  = /media/usb/zgemma/h7
Created directory  = /media/usb/zgemma/h7
Created directory  = /media/usb/fullbackup_h7/20170723_1044

USB-Image creata in: /media/usb/zgemma/h7
Il contenuto della cartella e':
     192 Jul 23 10:47 imageversion
    3.0M Jul 23 10:44 kernel1.bin
   62.6M Jul 23 10:45 rootfs.tar.bz2

un altra copia e stata creata in: /media/usb/fullbackup_h7/20170723_1044

Il tempo richiesto per questo processo: 2.45 Minuti

Backup effettuato con: 407KB per secondi


Installed packages contained in this backup:
--------------------------------------------
3rd-party-feed-configs - 1.0-r0.0
Mediastream - 9.0.2
aio-grab - 1.0+git50+84cdfca-r0.0
alsa-conf - 1.1.2-r0.0
alsa-conf-base - 1.1.2-r0.0
alsa-state - 0.2.0-r5.0
alsa-states - 0.2.0-r5.0
alsa-utils-alsactl - 1.1.2-r0.0
avahi-daemon - 0.6.32-r0.0
base-files - 3.0.14-r89.1
base-passwd - 3.5.29-r0.0
bash - 4.3.30-r0.0
busybox - 1.24.1-r0.0
....
....
(all packages) 

I compared my backup with the file openpli-6.0-rc-h7-20170722_usb.zip, used to flash the decoder, and in this last one, I find a single disk.img file that contains this files (see below image) 

Attached Files


Zgemma H7S Openpli 6.0 R.C.
Zgemma H2.H OpenPli 6.0 R.C.

Zgemma H2 OpenPli 4


Re: How do a backup in OpenPli 6 e Zgemma H7S #11 betacentauri

  • PLi® Core member
  • 7,185 posts

+323
Excellent

Posted 23 July 2017 - 11:48

The receiver is special. It has 4 (technical view 8) partitions where you can store 4 different images. The modified backup suite can create a backup only of the running image.
The created backup cannot be flashed via USB stick. You can flash it via backup suite. And you can only flash (overwrite) the running image.
If you want to flash into other partition you have to do it manually (call ofgwrite with special parameters on console) or you have to flash other image like atv. Atv has e2 screen to flash into other partition.

Maybe automatic full backup can create disk.img which can be flashed via USB stick. I'm not sure.
Xtrend ET-9200, ET-8000, ET-10000, OpenPliPC on Ubuntu 12.04

Re: How do a backup in OpenPli 6 e Zgemma H7S #12 littlesat

  • PLi® Core member
  • 56,256 posts

+691
Excellent

Posted 23 July 2017 - 12:22

Soon the flash part for the HD51 with multi partitions will be in openpli... with 'a bit' less complicated code as atv has. the flashing in partition part is not that difficult.

WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: How do a backup in OpenPli 6 e Zgemma H7S #13 Blacksimon

  • Senior Member
  • 51 posts

0
Neutral

Posted 23 July 2017 - 16:28

Soon the flash part for the HD51 with multi partitions will be in openpli... with 'a bit' less complicated code as atv has. the flashing in partition part is not that difficult.


I can hope that code for hd51 will be fine for the Zgemma H7S?

I'm sure it can be done manually with ofgwrite, but I should know at least the memory offsets of the individual partitions or how they are identified ....

Zgemma H7S Openpli 6.0 R.C.
Zgemma H2.H OpenPli 6.0 R.C.

Zgemma H2 OpenPli 4


Re: How do a backup in OpenPli 6 e Zgemma H7S #14 betacentauri

  • PLi® Core member
  • 7,185 posts

+323
Excellent

Posted 23 July 2017 - 16:58

Afaik does the h7 use the same multiboot system as the hd51. So it should work without problems.

If you want to flash current running image then just call
ofgwrite -r -k <path to image files>
If you want to flash into other partition you need to use -m parameter. After the m use 1-4 for the 4 partitions. So -m2 for the second partition.

BUT at the moment the flashing into other partition won't work(well not in all cases). You need to format the destination partition once manually. If you don't have much Linux knowledge it's nothing for you. If you have experiences you find needed Infos in "parted -l" output.
I'll try to add that step to ofgwrite.
Xtrend ET-9200, ET-8000, ET-10000, OpenPliPC on Ubuntu 12.04

Re: How do a backup in OpenPli 6 e Zgemma H7S #15 Blacksimon

  • Senior Member
  • 51 posts

0
Neutral

Posted 23 July 2017 - 18:25

@betacentauri thank you for support.
Tomorrow I will try, and no problem, I am a Linux user

I hope all this will be integrated in openpli soon.

Zgemma H7S Openpli 6.0 R.C.
Zgemma H2.H OpenPli 6.0 R.C.

Zgemma H2 OpenPli 4


Re: How do a backup in OpenPli 6 e Zgemma H7S #16 betacentauri

  • PLi® Core member
  • 7,185 posts

+323
Excellent

Posted 23 July 2017 - 18:40

Ok, then some more details. "parted -l" shows several errors. Ignore them. Just press Ctrl+c. Then you should see something like this:

Model: MMC 004GE0 (sd/mmc)
Disk /dev/mmcblk0: 3959MB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags: 

Number  Start   End     Size    File system  Name     Flags
 1      1049kB  4194kB  3146kB               boot     msftdata
 2      4194kB  12.6MB  8389kB               kernel1
 3      12.6MB  1086MB  1074MB  ext4         rootfs1
 4      1086MB  1095MB  8389kB               kernel2
 5      1095MB  2168MB  1074MB  ext4         rootfs2
 6      2168MB  2177MB  8389kB               kernel3
 7      2177MB  3251MB  1074MB               rootfs3
 8      3251MB  3259MB  8389kB               kernel4
 9      3259MB  3908MB  649MB                rootfs4

It can differ a little bit. Depends on which image you have flashed.

You see 2 partitions for every image. The rootfs partition needs to be formatted if you want to use the partition. So in my case I can use image 1 and 2 without problems with ofgwrite as they are already ext4 formatted. rootfs3 and 4 needs formating if you want to use them.

Command to format rootfs3 is:

mkfs.ext4 /dev/mmcblk0p7

First part of the device name is at the top of the output visible. Then "p" and then the number in the partition info.

 

WARNING: Please check "parted -l" output before you use above mkfs.ext4 command. As said there are different images with different partition layouts!

 


Xtrend ET-9200, ET-8000, ET-10000, OpenPliPC on Ubuntu 12.04

Re: How do a backup in OpenPli 6 e Zgemma H7S #17 betacentauri

  • PLi® Core member
  • 7,185 posts

+323
Excellent

Posted 23 July 2017 - 18:44

The flashing part will included in OpenPLi 6.1. At least flashing the running image. Flashing other partitions we need to see.


Xtrend ET-9200, ET-8000, ET-10000, OpenPliPC on Ubuntu 12.04

Re: How do a backup in OpenPli 6 e Zgemma H7S #18 Blacksimon

  • Senior Member
  • 51 posts

0
Neutral

Posted 23 July 2017 - 21:15

In summary:
Do a backup with backupsuite
Flash another decoder from a running image with ofgwrite



Or wait Openpli 6.1 :-)

Zgemma H7S Openpli 6.0 R.C.
Zgemma H2.H OpenPli 6.0 R.C.

Zgemma H2 OpenPli 4


Re: How do a backup in OpenPli 6 e Zgemma H7S #19 Blacksimon

  • Senior Member
  • 51 posts

0
Neutral

Posted 26 July 2017 - 19:13

That's what happens:
* BackupSuite creates a h7 folder with kernel1.bin and rootfs.tar.bz2 but cannot be restored in other decoder using blu button (error rootfs.bin not present)
* Autobackup do a simple backup of certain settings but not all files.
* Software Manager, after selecting destination and choosing all decoder folders, do the work.
I can restore my backup in a new decoder immediately after flashing the latest Openpli 6.

But i think this is not the right way to go on.

Zgemma H7S Openpli 6.0 R.C.
Zgemma H2.H OpenPli 6.0 R.C.

Zgemma H2 OpenPli 4


Re: How do a backup in OpenPli 6 e Zgemma H7S #20 betacentauri

  • PLi® Core member
  • 7,185 posts

+323
Excellent

Posted 26 July 2017 - 20:25

The adapted backup suite(with h7 support) is most likely not included in the current image yet.
Can you please download this file
https://github.com/P...lookuptable.txt
(Raw button and then right mouse click save as)
Replace the file on the 2. box with this version. Afterwards flashing the box should work.
Xtrend ET-9200, ET-8000, ET-10000, OpenPliPC on Ubuntu 12.04



1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users