Multiboot Partitioning script for various devices and boxes.
-
- Developer
- Beiträge: 946
- Registriert: 19 Aug 2021 14:24
- Wohnort: Belgien
- Receiver 1: vuultimo4k
- Receiver 2: sf8008
- Receiver 3: GBquad4k
- Receiver 4: GBue4k
- Receiver 5: h9se
- Hat gedankt: 73 Mal
- Hat Dank erhalten: 237 Mal
Danke Anskar das ist sehr interessant
Offenbar kann hd51 boxmode1 und boxmode12 booten
booten.
Erweitertes Multiboot wird dann auch möglich sein.
Könnten Sie die Ausgabe des Telnet-Befehls angeben
cat /boot/STARTUP_LINUX_1_BOXMODE_1 und
cat /boot/STARTUP_LINUX_1_BOXMODE_12
Für das Skript darüber nachgedacht
Auf der Box befindet sich eine Datei, die Informationen über den Boxtyp enthält
Geben Sie im Skript die Daten pro Box ein
wenn Box = hd55 oder xxx dann
Boot-String ist xxxxx
Bootmodus ist yyyy
Dies ist nicht für jede Box notwendig, viele Boxen mit unterschiedlichen
Namen sind intern die gleichen
Thanks Anskar this is very interesting
Apparently hd51 can do boxmode1 and boxmode12
boot.
Extended multiboot will be possible then too.
Could you please give the output of telnet command
cat /boot/STARTUP_LINUX_1_BOXMODE_1 and
cat /boot/STARTUP_LINUX_1_BOXMODE_12
Have thought about it for the script
On the box is a file that gives info about boxtype
Put in the script the data per box
if box = hd55 or xxx then
boot string is xxxxx
boot mode is yyyy
This is not necessary for every box many boxes are internally the same
Offenbar kann hd51 boxmode1 und boxmode12 booten
booten.
Erweitertes Multiboot wird dann auch möglich sein.
Könnten Sie die Ausgabe des Telnet-Befehls angeben
cat /boot/STARTUP_LINUX_1_BOXMODE_1 und
cat /boot/STARTUP_LINUX_1_BOXMODE_12
Für das Skript darüber nachgedacht
Auf der Box befindet sich eine Datei, die Informationen über den Boxtyp enthält
Geben Sie im Skript die Daten pro Box ein
wenn Box = hd55 oder xxx dann
Boot-String ist xxxxx
Bootmodus ist yyyy
Dies ist nicht für jede Box notwendig, viele Boxen mit unterschiedlichen
Namen sind intern die gleichen
Thanks Anskar this is very interesting
Apparently hd51 can do boxmode1 and boxmode12
boot.
Extended multiboot will be possible then too.
Could you please give the output of telnet command
cat /boot/STARTUP_LINUX_1_BOXMODE_1 and
cat /boot/STARTUP_LINUX_1_BOXMODE_12
Have thought about it for the script
On the box is a file that gives info about boxtype
Put in the script the data per box
if box = hd55 or xxx then
boot string is xxxxx
boot mode is yyyy
This is not necessary for every box many boxes are internally the same
- Anskar
- VIP
- Beiträge: 3555
- Registriert: 19 Sep 2014 20:42
- Wohnort: Thüringer
- Receiver 1: 3 mal Mut@nt HD 51 UHD
- Receiver 2: GB HD Quad Plus
- Receiver 3: Octagon SF8008
- Receiver 4: Octagon SF8008 SUPREME
- Hat gedankt: 3538 Mal
- Hat Dank erhalten: 952 Mal
Hallo listener, hier die Telnet-Ausgabe beider Befehle:
Wegen Deiner Ausführung wegen dem Script, leider weis ich da nicht was Du meinst ?
MfG
-------------------------------------
Regarding your comments about the script, unfortunately I don't know what you mean?
Kind regards
Code: Alles auswählen
Welcome to openATV for mutant51-Eins
openatv 7.4 mutant51-Eins
mutant51-Eins login: root
Password:
root@mutant51-Eins:~# cat /boot/STARTUP_LINUX_1_BOXMODE_1
boot emmcflash0.linuxkernel 'root=/dev/mmcblk0p3 rootsubdir=linuxrootfs1 kernel=/dev/mmcblk0p2 rw rootwait hd51_4.boxmode=1'
root@mutant51-Eins:~# cat /boot/STARTUP_LINUX_1_BOXMODE_12
boot emmcflash0.linuxkernel 'brcm_cma=520M@248M brcm_cma=192M@768M root=/dev/mmcblk0p3 rootsubdir=linuxrootfs1 kernel=/dev/mmcblk0p2 rw rootwait hd51_4.boxmode=12'
root@mutant51-Eins:~#
Wegen Deiner Ausführung wegen dem Script, leider weis ich da nicht was Du meinst ?
MfG
-------------------------------------
Regarding your comments about the script, unfortunately I don't know what you mean?
Kind regards
-
- Developer
- Beiträge: 946
- Registriert: 19 Aug 2021 14:24
- Wohnort: Belgien
- Receiver 1: vuultimo4k
- Receiver 2: sf8008
- Receiver 3: GBquad4k
- Receiver 4: GBue4k
- Receiver 5: h9se
- Hat gedankt: 73 Mal
- Hat Dank erhalten: 237 Mal
Entschuldigung, dass ich mich bei den Erklärungen etwas kurz gefasst habe.
Um eine Slot hinzuzufügen, muss eine Boot-Datei erstellt werden.
Diese Bootdatei ist für jede Box anders.
Die Nachricht war eher an Luzcfer gerichtet, der das Skript erstellt.
Meine Idee war, in /proc/stb/info/model zu schauen, dort steht, welche
Box verwendet wird.
In das Skript pro Box eintragen, welche Parameter zu dieser Box gehören
zu booten.
Ich sehe, dass die hd51 das gleiche Partitionsformat verwendet wie
meine zgemma h9se, wo ich 8 funktionierende Slots hinzugefügt habe.
Es funktioniert also
sorry I was a bit short with explanations.
To add a slot, a boot file has to be created.
That boot file is different for each box.
Message was more addressed to Lucifer who makes the script.
My idea was look in /proc/stb/info/model it says which
box is used.
Put in the script per box which parameters belong to that box
to boot.
I see that the hd51 uses the same partition format as
my zgemma h9se where I added 8 slots working.
So it works
Isee just /proc/stb/info/model is not the good file
enigma has somewhere that info file
Ich sehe grade das /proc/stb/info/model nicht die richtige ist
enigma2 setzt den info file
Um eine Slot hinzuzufügen, muss eine Boot-Datei erstellt werden.
Diese Bootdatei ist für jede Box anders.
Die Nachricht war eher an Luzcfer gerichtet, der das Skript erstellt.
Meine Idee war, in /proc/stb/info/model zu schauen, dort steht, welche
Box verwendet wird.
In das Skript pro Box eintragen, welche Parameter zu dieser Box gehören
zu booten.
Ich sehe, dass die hd51 das gleiche Partitionsformat verwendet wie
meine zgemma h9se, wo ich 8 funktionierende Slots hinzugefügt habe.
Es funktioniert also
sorry I was a bit short with explanations.
To add a slot, a boot file has to be created.
That boot file is different for each box.
Message was more addressed to Lucifer who makes the script.
My idea was look in /proc/stb/info/model it says which
box is used.
Put in the script per box which parameters belong to that box
to boot.
I see that the hd51 uses the same partition format as
my zgemma h9se where I added 8 slots working.
So it works
Isee just /proc/stb/info/model is not the good file
enigma has somewhere that info file
Ich sehe grade das /proc/stb/info/model nicht die richtige ist
enigma2 setzt den info file
-
- Developer
- Beiträge: 946
- Registriert: 19 Aug 2021 14:24
- Wohnort: Belgien
- Receiver 1: vuultimo4k
- Receiver 2: sf8008
- Receiver 3: GBquad4k
- Receiver 4: GBue4k
- Receiver 5: h9se
- Hat gedankt: 73 Mal
- Hat Dank erhalten: 237 Mal
Anskar hat geschrieben:@ listener,
die Datei enthält keinen Eintrag.
MfG
--------------------------------
@ listener,
the file does not contain any entry.
Kind regards
Correct i just edit mij post
enigma2 does save that info somewhere have to look
Stimt hab mein post schon angepast enigma2 setzt irgent wo
den info file
muss suchen
- Papi2000
- Super Moderator
- Beiträge: 26976
- Registriert: 20 Apr 2013 20:09
- Receiver 1: Viele GigaBlues
- Receiver 2: DM und ZGemma
- Receiver 3: bissl VU
- Hat gedankt: 4578 Mal
- Hat Dank erhalten: 8737 Mal
Das ist ein "Proc" bzw. Register mit Inhalt, keine Datei.
Code: Alles auswählen
Welcome to openATV for GBQuad4K-3
openatv 7.5 GBQuad4K-3
GBQuad4K-3 login: root
Password:
root@GBQuad4K-3:~# cat /proc/stb/info/model
gbquad4k
root@GBQuad4K-3:~# cat /etc/version
20240609031134
root@GBQuad4K-3:~# cat /etc/image-version
box_type=gbquad4k
build_type=
machine_brand=GigaBlue
machine_name=UHD QUAD 4K
version=7.5
build=20240722
date=20240722
comment=openATV
target=9
creator=openATV
url=https://www.opena.tv
catalog=https://www.opena.tv
oever=OE-Alliance 5.5
distro=openatv
brandoem=gigablue
machinemake=gbquad4k
imageversion=7.5
imagebuild=20240722
imagedevbuild=001
imagetype=release
feedsurl=https://feeds2.mynonpublic.com/7.5/gb7252
imagedir=gigablue/quad4k
imagefs=tar.bz2
mtdrootfs=mmcblk0p5
mtdkernel=mmcblk0p4
rootfile=rootfs.tar.bz2
kernelfile=kernel.bin
mkubifs=
ubinize=
driverdate=
arch=cortexa15hf-neon-vfpv4
display-type=colorlcd400
hdmi=True
yuv=False
rca=False
av-jack=False
scart=False
scart-yuv=False
dvi=False
minitv=False
hdmi-in-hd=False
hdmi-in-fhd=True
wol=False
wwol=False
ci=True
transcoding=transcoding
compile-date=20240722
compile-datetime=20240722224626
root@GBQuad4K-3:~#
- Anskar
- VIP
- Beiträge: 3555
- Registriert: 19 Sep 2014 20:42
- Wohnort: Thüringer
- Receiver 1: 3 mal Mut@nt HD 51 UHD
- Receiver 2: GB HD Quad Plus
- Receiver 3: Octagon SF8008
- Receiver 4: Octagon SF8008 SUPREME
- Hat gedankt: 3538 Mal
- Hat Dank erhalten: 952 Mal
@Papi2000, dann sollte ich mal Deine Befehle ausführen?
MfG
MfG
Code: Alles auswählen
Welcome to openATV for mutant51-Eins
openatv 7.4 mutant51-Eins
mutant51-Eins login: root
Password:
root@mutant51-Eins:~# cat /proc/stb/info/model
hd51
root@mutant51-Eins:~# cat /etc/version
20240528025445
root@mutant51-Eins:~# cat /etc/image-version
box_type=mutant51
build_type=
machine_brand=Mut@nt
machine_name=HD51
version=7.4
build=20240528
date=20240528
comment=openATV
target=9
creator=openATV
url=https://www.opena.tv
catalog=https://www.opena.tv
oever=OE-Alliance 5.4
distro=openatv
brandoem=gfutures
machinemake=mutant51
imageversion=7.4
imagebuild=20240528
imagedevbuild=001
imagetype=release
feedsurl=https://feeds2.mynonpublic.com/7.4/hd51
imagedir=hd51
imagefs= hdemmc tar
mtdrootfs=mmcblk0p3
mtdkernel=mmcblk0p2
rootfile=rootfs.tar.bz2
kernelfile=kernel.bin
mkubifs=
ubinize=
driverdate=
arch=cortexa15hf-neon-vfpv4
display-type=textlcd
hdmi=True
yuv=False
rca=False
av-jack=True
scart=False
scart-yuv=False
dvi=False
minitv=False
hdmi-in-hd=False
hdmi-in-fhd=False
wol=False
wwol=False
ci=True
transcoding=
compile-date=20240528
compile-datetime=20240528053257
root@mutant51-Eins:~#
- Papi2000
- Super Moderator
- Beiträge: 26976
- Registriert: 20 Apr 2013 20:09
- Receiver 1: Viele GigaBlues
- Receiver 2: DM und ZGemma
- Receiver 3: bissl VU
- Hat gedankt: 4578 Mal
- Hat Dank erhalten: 8737 Mal
Die drei Befehle sind "unschädlich", weil sie nur die Inhalte abrufen.
Wenn die Ergebnisse ihm helfen? Gern. Schaden kann es nicht.
Wenn die Ergebnisse ihm helfen? Gern. Schaden kann es nicht.
Code: Alles auswählen
cat /proc/stb/info/model
cat /etc/version
cat /etc/image-version
- Lucifer
- Member
- Beiträge: 232
- Registriert: 01 Feb 2015 12:30
- Hat gedankt: 159 Mal
- Hat Dank erhalten: 155 Mal
The right proc is boxtype: cat /proc/stb/info/boxtype
I use it in other scripts too, this is a part of the script that i removed in post #1.
Google translation Deutsch:
Das richtige Verfahren für den Boxtyp ist: cat /proc/stb/info/boxtype
Ich verwende es auch in anderen Skripten, dies ist ein Teil des Skripts, den ich in Beitrag Nr. 1 entfernt habe.
In the past not all images used /proc/stb/info/boxtype but i have no idea if this is the standard now, we will have to find out by testing.
Google translation Deutsch:
In der Vergangenheit verwendeten nicht alle Bilder /proc/stb/info/boxtype, aber ich habe keine Ahnung, ob das jetzt der Standard ist. Wir müssen das durch Tests herausfinden.
I use it in other scripts too, this is a part of the script that i removed in post #1.
Google translation Deutsch:
Das richtige Verfahren für den Boxtyp ist: cat /proc/stb/info/boxtype
Ich verwende es auch in anderen Skripten, dies ist ein Teil des Skripts, den ich in Beitrag Nr. 1 entfernt habe.
Code: Alles auswählen
## Read boxtype ##
BOXTYPE=$(cat /proc/stb/info/boxtype)
## Check for octagon sf8008 boxtype versions by adding all the different boxtypes ##
## Suchen Sie nach Octagon SF8008-Boxtypversionen, indem Sie alle verschiedenen Boxtypen hinzufügen. ##
#if [ $BOXTYPE = "sf8008" ] || [ $BOXTYPE = "sf8008m" ] || [ $BOXTYPE = "sf8008s" ] || [ $BOXTYPE = "sf8008t" ] ; then
## Different/simpler way to check for octagon sf8008 boxtypes ##
## Andere/einfachere Möglichkeit zum Überprüfen von Octagon SF8008-Boxtypen ##
if echo $BOXTYPE | grep -q 'sf8008'; then
In the past not all images used /proc/stb/info/boxtype but i have no idea if this is the standard now, we will have to find out by testing.
Google translation Deutsch:
In der Vergangenheit verwendeten nicht alle Bilder /proc/stb/info/boxtype, aber ich habe keine Ahnung, ob das jetzt der Standard ist. Wir müssen das durch Tests herausfinden.
-
- Developer
- Beiträge: 946
- Registriert: 19 Aug 2021 14:24
- Wohnort: Belgien
- Receiver 1: vuultimo4k
- Receiver 2: sf8008
- Receiver 3: GBquad4k
- Receiver 4: GBue4k
- Receiver 5: h9se
- Hat gedankt: 73 Mal
- Hat Dank erhalten: 237 Mal
this method was used in mount-helper now it is changed to
check partition name to skip a mount.
Diese methode wurde gebracht in mount-helper jetz wird nach
partition name gefilterd .
Made exclude mutiboot partitions universal (#880) . oe-alliance/oe-alliance-core@73113a9 . GitHub
a step to extended multiboot for several boxes
check partition name to skip a mount.
Diese methode wurde gebracht in mount-helper jetz wird nach
partition name gefilterd .
Made exclude mutiboot partitions universal (#880) . oe-alliance/oe-alliance-core@73113a9 . GitHub
a step to extended multiboot for several boxes
- Anskar
- VIP
- Beiträge: 3555
- Registriert: 19 Sep 2014 20:42
- Wohnort: Thüringer
- Receiver 1: 3 mal Mut@nt HD 51 UHD
- Receiver 2: GB HD Quad Plus
- Receiver 3: Octagon SF8008
- Receiver 4: Octagon SF8008 SUPREME
- Hat gedankt: 3538 Mal
- Hat Dank erhalten: 952 Mal
@Lucifer
Code: Alles auswählen
Welcome to openATV for mutant51-Eins
openatv 7.4 mutant51-Eins
mutant51-Eins login: root
Password:
root@mutant51-Eins:~# cat /proc/stb/info/boxtype
hd51
root@mutant51-Eins:~#
- Lucifer
- Member
- Beiträge: 232
- Registriert: 01 Feb 2015 12:30
- Hat gedankt: 159 Mal
- Hat Dank erhalten: 155 Mal
I'm not sure that /proc/stb/info/model is a good idea for this, The result of th sf8008 is dm8000.
With /proc/stb/info/boxtype the result is sf8008.
I will make a new script using /proc/stb/info/boxtype until we have a better way, these are just test script so anything can happen later.
I have time for scripting this evening.
Google translation Deutsch:
Ich bin nicht sicher, ob /proc/stb/info/model dafür eine gute Idee ist. Das Ergebnis von sf8008 ist dm8000.
Mit /proc/stb/info/boxtype ist das Ergebnis sf8008.
Ich werde ein neues Skript mit /proc/stb/info/boxtype erstellen, bis wir eine bessere Möglichkeit haben. Dies sind nur Testskripte, also kann später alles passieren.
Ich habe heute Abend Zeit zum Skripten.
EDIT @listener, what is the output of the Zgemma H9 when you do: cat /proc/stb/info/boxtype ?
With /proc/stb/info/boxtype the result is sf8008.
I will make a new script using /proc/stb/info/boxtype until we have a better way, these are just test script so anything can happen later.
I have time for scripting this evening.
Google translation Deutsch:
Ich bin nicht sicher, ob /proc/stb/info/model dafür eine gute Idee ist. Das Ergebnis von sf8008 ist dm8000.
Mit /proc/stb/info/boxtype ist das Ergebnis sf8008.
Ich werde ein neues Skript mit /proc/stb/info/boxtype erstellen, bis wir eine bessere Möglichkeit haben. Dies sind nur Testskripte, also kann später alles passieren.
Ich habe heute Abend Zeit zum Skripten.
EDIT @listener, what is the output of the Zgemma H9 when you do: cat /proc/stb/info/boxtype ?
-
- Developer
- Beiträge: 946
- Registriert: 19 Aug 2021 14:24
- Wohnort: Belgien
- Receiver 1: vuultimo4k
- Receiver 2: sf8008
- Receiver 3: GBquad4k
- Receiver 4: GBue4k
- Receiver 5: h9se
- Hat gedankt: 73 Mal
- Hat Dank erhalten: 237 Mal
zgemmah92hse login: root
Password:
root@zgemmah92hse:~# cat /proc/stb/info/boxtype
H9.2H.SE
root@zgemmah92hse:~#
oeps i think strip to H9 is OK
gbquad4k login: root
Password:
Last login: Sat Jul 20 15:55:24 CEST 2024 on pts/0
root@gbquad4k:~# cat /proc/stb/info/boxtype
gigablue
root@gbquad4k:~#
gigablue no correct awnser
Password:
root@zgemmah92hse:~# cat /proc/stb/info/boxtype
H9.2H.SE
root@zgemmah92hse:~#
oeps i think strip to H9 is OK
gbquad4k login: root
Password:
Last login: Sat Jul 20 15:55:24 CEST 2024 on pts/0
root@gbquad4k:~# cat /proc/stb/info/boxtype
gigablue
root@gbquad4k:~#
gigablue no correct awnser
- Lucifer
- Member
- Beiträge: 232
- Registriert: 01 Feb 2015 12:30
- Hat gedankt: 159 Mal
- Hat Dank erhalten: 155 Mal
This is the way to use the boxtype info:
So verwenden Sie die Boxtype-Informationen:
So verwenden Sie die Boxtype-Informationen:
Code: Alles auswählen
## Read boxtype ##
BOXTYPE=$(cat /proc/stb/info/boxtype)
## Check boxtype ##
if [ $BOXTYPE = "zgemmah9" ] ; then
STARTUP_LINE_1="bootcmd=setenv notee y; setenv bootargs \$(bootargs) \$(bootargs_common); mmc read 0 0x1000000 0x3D5000 0x8000; bootm 0x1000000; run bootcmd_fallback"
elif [ $BOXTYPE = "hd51" ] ; then
STARTUP_LINE_1="bla bla bla"
fi
- Lucifer
- Member
- Beiträge: 232
- Registriert: 01 Feb 2015 12:30
- Hat gedankt: 159 Mal
- Hat Dank erhalten: 155 Mal
Here are the new test and sim scripts, i just noticed there were a few bugs/imperfections in the scripts that i posted yesterday.
That's the price you pay when you make a script when you don't really have the time for it.
@listener, the script only checks for the H9 part now.
Hier sind die neuen Test- und Sim-Skripte. Mir ist gerade aufgefallen, dass die Skripte, die ich gestern gepostet habe, ein paar Fehler/Unvollkommenheiten aufweisen.
Das ist der Preis, den man zahlt, wenn man ein Skript erstellt, für das man eigentlich keine Zeit hat.
@listener, das Skript prüft jetzt nur noch den H9-Teil.
That's the price you pay when you make a script when you don't really have the time for it.

@listener, the script only checks for the H9 part now.
Hier sind die neuen Test- und Sim-Skripte. Mir ist gerade aufgefallen, dass die Skripte, die ich gestern gepostet habe, ein paar Fehler/Unvollkommenheiten aufweisen.
Das ist der Preis, den man zahlt, wenn man ein Skript erstellt, für das man eigentlich keine Zeit hat.

@listener, das Skript prüft jetzt nur noch den H9-Teil.
Code: Alles auswählen
## Check boxtype ##
if echo $BOXTYPE | grep -q 'H9'; then
STARTUP_LINE_1="bootcmd=setenv notee y; setenv bootargs \$(bootargs) \$(bootargs_common); mmc read 0 0x1000000 0x3D5000 0x8000; bootm 0x1000000; run bootcmd_fallback"
elif [ $BOXTYPE = "hd51" ] ; then
STARTUP_LINE_1="bla bla bla"
fi
- Dateianhänge
-
- mb_part_test_script_5.rar
- (2.08 KiB) 47-mal heruntergeladen
-
- mb_part_sim_script_5.rar
- (2.08 KiB) 41-mal heruntergeladen