Jump to content


Photo

BackupSuite


  • Please log in to reply
1308 replies to this topic

Re: BackupSuite #1021 Persian Prince

  • Senior Member
  • 1,982 posts

+247
Excellent

Posted 8 October 2018 - 10:21

The problem is that the H9 (and a few other boxes originally designed for android) don't use a standard GPT table in flash, but something specific for android which is not native to Linux.

 

The restore looks for specific partitions in the GPT to restore the backup to, but those can't be found. We're looking into a way to get Android partition table support built in, but that won't be a quick fix (imho).

 

And there is no android for it so I could test the android on it :(


Open Vision sources: https://github.com/OpenVisionE2


Re: BackupSuite #1022 betacentauri

  • PLi® Core member
  • 7,185 posts

+323
Excellent

Posted 8 October 2018 - 15:04

Yesterday I spend some time to analyze which data is stored on the emmc memory which is visible in linux.
The /dev/mmcblk0 don’t have any MBR or GPT. I don’t know how Linux knows that the emmc memory contains several partitions. I guess it’s built into the kernel. So no way for me to find rootfs and kernel partition.
I guess driver devs need to create a /proc/mtd or /proc/emmc which can be read.
Or we use fix devices for the boxes, which wouldn’t be very nice.
Xtrend ET-9200, ET-8000, ET-10000, OpenPliPC on Ubuntu 12.04

Re: BackupSuite #1023 Erik Slagter

  • PLi® Core member
  • 46,969 posts

+542
Excellent

Posted 8 October 2018 - 18:40

Indeed, afaik Android doesn't use real partitions, a shame.


* 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: BackupSuite #1024 betacentauri

  • PLi® Core member
  • 7,185 posts

+323
Excellent

Posted 8 October 2018 - 19:05

h9 uses ubi filesystem:

root@h9:~# cat /proc/mtd
dev:    size   erasesize  name
mtd0: 00100000 00020000 "boot"
mtd1: 00100000 00020000 "bootargs"
mtd2: 00100000 00020000 "baseparam"
mtd3: 00100000 00020000 "pqparam"
mtd4: 00100000 00020000 "logo"
mtd5: 00100000 00020000 "deviceinfo"
mtd6: 00800000 00020000 "trustedcore"
mtd7: 01000000 00020000 "kernel"
mtd8: 0e200000 00020000 "rootfs"

This looks good. ofgwrite should be able to flash that box. You only need uImage and rootfs.ubi files, which are included in the image zip file.


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

Re: BackupSuite #1025 betacentauri

  • PLi® Core member
  • 7,185 posts

+323
Excellent

Posted 8 October 2018 - 19:13

@Persian Prince: You can also create a kernel.bin instead of a uImage file. That doesn't matter.


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

Re: BackupSuite #1026 foxbob

  • Senior Member
  • 624 posts

+18
Neutral

Posted 19 October 2018 - 13:13

Plugin doesn't work. OpenPli homebuild-sumo branch.

 

*** THIS BACKUP IS CREATED WITH THE PLUGIN BACKUPSUITE ***
***** ********************************************* ******
 
Plugin version     = git406+6816a3d
Back-up media      = /hdd
Filesystem                Size      Used Available Use% Mounted on
/dev/sda1               915.9G    421.2G    448.1G  48% /media/hdd
 
Back-up = 2018.10.19_12:56
Version = openpli-dev 
Flashed = 2018.10.19_08:57
Updated = 2018.10.19_12:56
Drivers = et-dvb-modules-kodi-et1x000 - 4.1.37+20170927-r2
Enigma2 = 2018-10-18-develop
 
 
Working directory  = /hdd/bi
Destination        = /hdd/fullbackup_et1x000/20181019_1256/et1x000
 
RECEIVER = GI ET11000 
MKUBIFS_ARGS = 
UBINIZE_ARGS = 
KERNEL размер резервной копии:   8192 KB
ROOTFS размер резервной копии: 334240 KB
=TOTAL размер резервной копии: 342432 KB (= 334 MB)
Пожалуйста, будьте терпеливы, создание резервной копии началось, это займёт около: 7.36 минут
 
*** FIRST SOME HOUSEKEEPING ***
Remove directory   = /hdd/bi
Recreate directory = /hdd/bi
Create directory   = /tmp/bi/root
 
Создаём: kerneldump

Attached Files



Re: BackupSuite #1027 WanWizard

  • PLi® Core member
  • 70,546 posts

+1,813
Excellent

Posted 19 October 2018 - 13:25

Don't use the sumo branch, it is very much WIP and completely untested.


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: BackupSuite #1028 foxbob

  • Senior Member
  • 624 posts

+18
Neutral

Posted 19 October 2018 - 13:29

I understand that this is a test branch, but it’s necessary to check.



Re: BackupSuite #1029 WanWizard

  • PLi® Core member
  • 70,546 posts

+1,813
Excellent

Posted 19 October 2018 - 13:36

Yes, eventually. But currently is it way to early, we're still busy trying to get everything compiled. None of the images that can be build have even been flashed yet.


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: BackupSuite #1030 Persian Prince

  • Senior Member
  • 1,982 posts

+247
Excellent

Posted 19 October 2018 - 17:52

I understand that this is a test branch, but it’s necessary to check.


As far as it's not merged into develop, not necessary for me or you but if you care contribute yourself, don't expect support for a WIP branch please.

Edited by Persian Prince, 19 October 2018 - 17:52.

Open Vision sources: https://github.com/OpenVisionE2


Re: BackupSuite #1031 Erik Slagter

  • PLi® Core member
  • 46,969 posts

+542
Excellent

Posted 19 October 2018 - 18:01

I understand that this is a test branch, but it’s necessary to check.

No it is not.

 

The sumo branch is a feature branch which eventually will take the develop branch to sumo. That is something completely different than "a branch meant to build sumo from". Never build from feature branches.

 

As it happens I have rebased the sumo branches the last about 20 times, so it will have messed up your building environment quite badly, anyway.


Edited by Erik Slagter, 19 October 2018 - 18:01.

* 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: BackupSuite #1032 Dimmie

  • Senior Member
  • 2,338 posts

+33
Good

Posted 30 October 2018 - 17:18

Any news about a fix for backupsuite for H9 series ? Now that new H9 models are introduced....



Re: BackupSuite #1033 betacentauri

  • PLi® Core member
  • 7,185 posts

+323
Excellent

Posted 30 October 2018 - 17:39

I can only say that latest ofgwrite supports h9 if the box uses ubifs(my does but I don’t know whether all h9 boxes have that).
New OpenPLi version with this ofgwrite version will be released in near future.
Don’t know whether the plugin needs adaptions.
Which files does the plugin create?
Xtrend ET-9200, ET-8000, ET-10000, OpenPliPC on Ubuntu 12.04

Re: BackupSuite #1034 Dimmie

  • Senior Member
  • 2,338 posts

+33
Good

Posted 30 October 2018 - 18:25

The backup seems to be made correct.

 

The problem is that when you want to flash the backup with backupsuite, it doesn't work.

 

Screen becomes black, then after some minutes the box restarts but you still have your old image, so nothing is flashed.


Edited by Dimmie, 30 October 2018 - 18:25.


Re: BackupSuite #1035 betacentauri

  • PLi® Core member
  • 7,185 posts

+323
Excellent

Posted 30 October 2018 - 18:48

The black screen problem is fixed in new ofgwrite version, but also with black screen flashing worked for me. Maybe ofgwrite version is too old in the 6.2 release or something else.

Please test with attached new version. Unzip the file and put it into /usr/bin/. Please be sure that the file is executable (should be when you overwrite the existing file).

Attached Files


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

Re: BackupSuite #1036 Dimmie

  • Senior Member
  • 2,338 posts

+33
Good

Posted 31 October 2018 - 03:13

With the ofgwrite file replaced it gives the screen for flashing but at the end you get error: "error flashing rootfs" and it says that the box wil restart in 60 seconds and that it won't boot anymore.

 

But... >> the box restarts and boots fine, but nothing happened, the image is not flashed, it just restarts in the 'old' image.


Edited by Dimmie, 31 October 2018 - 03:13.


Re: BackupSuite #1037 betacentauri

  • PLi® Core member
  • 7,185 posts

+323
Excellent

Posted 31 October 2018 - 07:33

No more information on the tv screen?
At which step does it happen?
Xtrend ET-9200, ET-8000, ET-10000, OpenPliPC on Ubuntu 12.04

Re: BackupSuite #1038 littlesat

  • PLi® Core member
  • 57,183 posts

+699
Excellent

Posted 31 October 2018 - 08:04

Sounds more the image you tried to flash was invalid...

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


Re: BackupSuite #1039 betacentauri

  • PLi® Core member
  • 7,185 posts

+323
Excellent

Posted 31 October 2018 - 09:58

Good point. But until now we "only" had rootfs.tar.bz2 files which were corrupt and no ubifs file.

I think it's better to switch for debugging to PM.


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

Re: BackupSuite #1040 Dimmie

  • Senior Member
  • 2,338 posts

+33
Good

Posted 31 October 2018 - 11:29

The image was made with the same backupsuite.

 

It first says flashing kernel. Then after a while (80% or so) you get this message in red letters.




9 user(s) are reading this topic

0 members, 7 guests, 0 anonymous users


    Bing (2)