Jump to content


Photo

Vu+ 4K Multiboot


  • Please log in to reply
592 replies to this topic

Re: Vu+ 4K Multiboot #501 Ev0

  • Senior Member
  • 102 posts

+7
Neutral

Posted 9 June 2023 - 14:46

I know that with the current implementation there is no partitioning.

But OpenPLi is talking of a small footprint recovery image, isn't it the goal with this recovery image to create real slots (partition) in the flash?

If not what is the interest of this recovery image?

I'm not aware of it being the goal. Certainly not from the view of OpenBh or OpenVix teams.

If partitioning the flash was the goal, then it would have been easier to just use the bpanther method imo.

 

I thought OpenPLi team just wanted a minimal recovery image, for Slot 0, so the least flash space was being used for this purpose.



Re: Vu+ 4K Multiboot #502 Huevos

  • PLi® Contributor
  • 4,686 posts

+166
Excellent

Posted 9 June 2023 - 15:03

I know that with the current implementation there is no partitioning.

But OpenPLi is talking of a small footprint recovery image, isn't it the goal with this recovery image to create real slots (partition) in the flash?

If not what is the interest of this recovery image?

I not aware of that ever having been the goal. The requirement of the recovery image was only that it is smaller.

 

Neo thinks stripping it is absurd, but it takes just a few seconds to run the OPKG filters and there is no need to do anything in the core or to create an an additional image for each box. Maybe PLi has resources to waste on this but we don't.



Re: Vu+ 4K Multiboot #503 littlesat

  • PLi® Core member
  • 57,215 posts

+700
Excellent

Posted 9 June 2023 - 16:58

Openpli is already the smallest image… so as it is now you should install openpli in slot 0.
The real goal is to create a kind of real recovery situation. Then you do not need a real enigma2 image in slot 0.
You need just to have something where you can flash online and select a slot.
To ensure the box can be flashed via the manufacturer’s method I think making partitions is not a good idea that should be considered.
And yes to get this really right without work-a-rounds it needs indeed some time and recourses.

Edited by littlesat, 9 June 2023 - 17:00.

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


Re: Vu+ 4K Multiboot #504 Ev0

  • Senior Member
  • 102 posts

+7
Neutral

Posted 9 June 2023 - 16:59

Openpli is already the smallest image… so as it is now you should install openpli in slot 0.
To ensure the box can be flashed via the manufacturer’s method I think making partitions is not a good idea that should be considered.

Manufacturer method is to flash with usb, nothing is stopping you doing that right now with or without a recovery image.


Edited by Ev0, 9 June 2023 - 17:09.


Re: Vu+ 4K Multiboot #505 littlesat

  • PLi® Core member
  • 57,215 posts

+700
Excellent

Posted 9 June 2023 - 17:01

Yes… but when the flash has partitions it might go wrong… so there might be a danger here?! With the subdir is fine….

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


Re: Vu+ 4K Multiboot #506 Ev0

  • Senior Member
  • 102 posts

+7
Neutral

Posted 9 June 2023 - 17:02

Yes… but when the flash has partitions it might go wrong… so there might be a danger here?! With the subdir is fine….

Nobody is working to add partitions, so why is this even being discussed ?



Re: Vu+ 4K Multiboot #507 Huevos

  • PLi® Contributor
  • 4,686 posts

+166
Excellent

Posted 9 June 2023 - 19:18

Openpli is already the smallest image…

Yes and when you get to Python 3.11 that won't be true any longer.



Re: Vu+ 4K Multiboot #508 littlesat

  • PLi® Core member
  • 57,215 posts

+700
Excellent

Posted 10 June 2023 - 00:43

Why not?’as openpli8.3 is smaller ?

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


Re: Vu+ 4K Multiboot #509 Huevos

  • PLi® Contributor
  • 4,686 posts

+166
Excellent

Posted 10 June 2023 - 09:07

Because *.pyc from python 3.11 is almost double the size compared to those from 3.10, due to optimizations for higher speed and more granular debug.

 

Python 3.11 is between 10-60% faster than Python 3.10. On average, we measured a 1.25x speedup on the standard benchmark suite.

 

PEP 657 – Include Fine Grained Error Locations in Tracebacks

 

PEP 657 – Include Fine Grained Error Locations in TracebackPEP 659 – Specializing Adaptive Interpreter

 

*.pyc files are larger than they need to be #99554



Re: Vu+ 4K Multiboot #510 Pr2

  • PLi® Contributor
  • 6,182 posts

+261
Excellent

Posted 10 June 2023 - 09:54

 

But then every images will increase in size too as long as they switch to Python 3.11 too.


NO SUPPORT by PM, it is a forum make your question public so everybody can benefit from the question/answer.
If you think that my answer helps you, you can press the up arrow in bottom right of the answer.

Wanna help with OpenPLi Translation? Please read our Wiki Information for translators

Sat: Hotbird 13.0E, Astra 19.2E, Eutelsat5A 5.0W
VU+ Solo 4K: 2*DVB-S2 + 2*DVB-C/T/T2 (used in DVB-C) & Duo 4K: 2*DVB-S2X + DVB-C (FBC)

AB-Com: PULSe 4K 1*DVB-S2X (+ DVB-C/T/T2)
Edision OS Mio 4K: 1*DVB-S2X + 1*DVB-C/T/T2
 


Re: Vu+ 4K Multiboot #511 Pr2

  • PLi® Contributor
  • 6,182 posts

+261
Excellent

Posted 10 June 2023 - 09:56

Yes… but when the flash has partitions it might go wrong… so there might be a danger here?! With the subdir is fine….

 

Yes and other team already cover it by backing up the subdirs when flashing slot 0, so why not align with what other teams does?


NO SUPPORT by PM, it is a forum make your question public so everybody can benefit from the question/answer.
If you think that my answer helps you, you can press the up arrow in bottom right of the answer.

Wanna help with OpenPLi Translation? Please read our Wiki Information for translators

Sat: Hotbird 13.0E, Astra 19.2E, Eutelsat5A 5.0W
VU+ Solo 4K: 2*DVB-S2 + 2*DVB-C/T/T2 (used in DVB-C) & Duo 4K: 2*DVB-S2X + DVB-C (FBC)

AB-Com: PULSe 4K 1*DVB-S2X (+ DVB-C/T/T2)
Edision OS Mio 4K: 1*DVB-S2X + 1*DVB-C/T/T2
 


Re: Vu+ 4K Multiboot #512 rantanplan

  • PLi® Contributor
  • 1,860 posts

+87
Good

Posted 10 June 2023 - 10:39

Python has almost no influence on the size of the image.
The size changes by the environment of things used.
Samba version
FFMpeg
GST
gcc/glibc
used are much more important than the simple Python code.

 



Re: Vu+ 4K Multiboot #513 Huevos

  • PLi® Contributor
  • 4,686 posts

+166
Excellent

Posted 10 June 2023 - 11:06

Python has almost no influence on the size of the image.
The size changes by the environment of things used.
Samba version
FFMpeg
GST
gcc/glibc
used are much more important than the simple Python code.

 

Really? So why do we get around 30MB through stripping the python plugins?



Re: Vu+ 4K Multiboot #514 Huevos

  • PLi® Contributor
  • 4,686 posts

+166
Excellent

Posted 10 June 2023 - 11:12

 

 

But then every images will increase in size too as long as they switch to Python 3.11 too.

 

As software evolves it gets bigger. That is a fact of all the base programs we use that are beyond our control. The reason PLi is smaller is because it is about 3-4 versions behind in all the software it uses. Pli is 3 bitbake versions behind OE-A. That itself is worth about 30 MB in the image.



Re: Vu+ 4K Multiboot #515 rantanplan

  • PLi® Contributor
  • 1,860 posts

+87
Good

Posted 10 June 2023 - 11:14

Really? So why do we get around 30MB through stripping the python plugins?

 

 

You compare a complete image in a different build environment and conclude that python3 alone is the trigger.
That's wrong.

To make a careful comparison, one should update the version alone.
This would also be possible in the hardknott branch.



Re: Vu+ 4K Multiboot #516 littlesat

  • PLi® Core member
  • 57,215 posts

+700
Excellent

Posted 10 June 2023 - 11:34

Yes and other team already cover it by backing up the subdirs when flashing slot 0, so why not align with what other teams does?
->
Because this is the work-a-round at least the way it is implemented. Maybe we need to wait for the creator of ofgwrite to include it in there as I think this is a better place to put it in a ‘better stealthy’ way.
It is or having a real recovery mechanism or just give the feeling and behavior for the user that the special slot behaves as a normal slot.
I only want to discuss…. To get agreement… so I put more options on the table. Before something is made….
Making a small image with just what is needed is one idea… and indeed for an image where you just need to flash and select an image you can remove a lot of stuff even when it is enigma2 ‘based’ then you do not need all the python files.
make it as is in a more ‘stealthy’ way is another approach.

Edited by littlesat, 10 June 2023 - 11:44.

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


Re: Vu+ 4K Multiboot #517 Huevos

  • PLi® Contributor
  • 4,686 posts

+166
Excellent

Posted 10 June 2023 - 15:16

 

Really? So why do we get around 30MB through stripping the python plugins?

 

 

You compare a complete image in a different build environment and conclude that python3 alone is the trigger.
That's wrong.

To make a careful comparison, one should update the version alone.
This would also be possible in the hardknott branch.

 

I didn't say that was the sole reason. We inspected the PLi image and know where the size differences are.



Re: Vu+ 4K Multiboot #518 Huevos

  • PLi® Contributor
  • 4,686 posts

+166
Excellent

Posted 10 June 2023 - 15:18

Yes and other team already cover it by backing up the subdirs when flashing slot 0, so why not align with what other teams does?
->
Because this is the work-a-round at least the way it is implemented. Maybe we need to wait for the creator of ofgwrite to include it in there as I think this is a better place to put it in a ‘better stealthy’ way.
It is or having a real recovery mechanism or just give the feeling and behavior for the user that the special slot behaves as a normal slot.
I only want to discuss…. To get agreement… so I put more options on the table. Before something is made….
Making a small image with just what is needed is one idea… and indeed for an image where you just need to flash and select an image you can remove a lot of stuff even when it is enigma2 ‘based’ then you do not need all the python files.
make it as is in a more ‘stealthy’ way is another approach.

??? We already added code to ofgwrite for kexec.



Re: Vu+ 4K Multiboot #519 littlesat

  • PLi® Core member
  • 57,215 posts

+700
Excellent

Posted 10 June 2023 - 16:27

When it is in ofgwrite we also should get it…

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


Re: Vu+ 4K Multiboot #520 Huevos

  • PLi® Contributor
  • 4,686 posts

+166
Excellent

Posted 10 June 2023 - 20:32

When it is in ofgwrite we also should get it…

Kexec has been in ofgwrite since 3 months ago. How else do you think you are using it?

 

https://github.com/o.../commits/master


Edited by Huevos, 10 June 2023 - 20:34.



1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users