[HowTo] Online flashen openATV Image
- pixicom
- VIP
- Beiträge: 251
- Registriert: 06 Apr 2013 09:56
- Hat gedankt: 112 Mal
- Hat Dank erhalten: 241 Mal
Online flashen openATV Image
Online flashen openATV Image
Da diese Funktion neu ist, hab ich mal eine bebilderte Anleitung erstellt.
[ATTACH]2835[/ATTACH]
englische Version hinzugefügt
[ATTACH]2971[/ATTACH]
Da diese Funktion neu ist, hab ich mal eine bebilderte Anleitung erstellt.
[ATTACH]2835[/ATTACH]
englische Version hinzugefügt
[ATTACH]2971[/ATTACH]
- Dateianhänge
-
- Online flashen openATV Imag englishe.pdf
- (989.06 KiB) 948-mal heruntergeladen
-
- Online flashen openATV Image.pdf
- (988.96 KiB) 11239-mal heruntergeladen
[SIGPIC]
[/SIGPIC]

Hi,
Bin neu hier - also Hallo @All !
Hab ne Frage zum Online/local flashen - habs gestern getestet läuft super
aber warum wird bevors losgeht der Inhalt (also die kernel.bin und die rootfs.bin) des gewählten Imagees also in meinem Falll vom Verzeichnis et9x00
erst noch nach //hdd/images/tmp kopiert ?
Muss das generell so sein da ja auch Online Flash möglich ist ?
Hier ein Bild dazu;
Und sollte man diese Altlasten dann wenns geklappt hat manuell löschen oder wird das beim nächsten Mal eh überschrieben ?
Und folgendes bitte noch eindeutschen;
Und ebenfalls bitte die Hauptmessage dazu auch eindeutschen - davon kann ich kein Bild machen da ja dann schon geflasht wird.
Grüsse
Biki3
Bin neu hier - also Hallo @All !
Hab ne Frage zum Online/local flashen - habs gestern getestet läuft super
aber warum wird bevors losgeht der Inhalt (also die kernel.bin und die rootfs.bin) des gewählten Imagees also in meinem Falll vom Verzeichnis et9x00
erst noch nach //hdd/images/tmp kopiert ?
Muss das generell so sein da ja auch Online Flash möglich ist ?
Hier ein Bild dazu;
Und sollte man diese Altlasten dann wenns geklappt hat manuell löschen oder wird das beim nächsten Mal eh überschrieben ?
Und folgendes bitte noch eindeutschen;
Und ebenfalls bitte die Hauptmessage dazu auch eindeutschen - davon kann ich kein Bild machen da ja dann schon geflasht wird.
Grüsse
Biki3
- mike99
- Super Moderator
- Beiträge: 8425
- Registriert: 05 Apr 2013 21:02
- Wohnort: Berlin
- Hat gedankt: 764 Mal
- Hat Dank erhalten: 2865 Mal
Biki3 hat geschrieben:Und folgendes bitte noch eindeutschen;
[ATTACH=CONFIG]2837[/ATTACH] [ATTACH=CONFIG]2838[/ATTACH]
Das zweite ist im heutigen Image schon übersetzt.

Die erste Übersetzung ist auch im Git, wird aber aus irgend welchen Gründen noch nicht mit gebaut.
Gruss Mike
GB UE 4K Cable FBC + PnP C/T2 Dual-Tuner
Mut@nt HD-51 - 2x DVB-C/T2+FreenetModul
Axas E4HD Ultra Sat + Dual DVB-C/T2
Samsung Crystal 4k

Mut@nt HD-51 - 2x DVB-C/T2+FreenetModul
Axas E4HD Ultra Sat + Dual DVB-C/T2
Samsung Crystal 4k
- Nobody28
- VIP
- Beiträge: 3078
- Registriert: 05 Apr 2013 08:50
- Hat gedankt: 270 Mal
- Hat Dank erhalten: 1004 Mal
Tja... nciht ganz korrekt 
Gigablue 800 SE & UE sind getestet! SOLO wegen anderer Flashbausteine "noch" nicht!

Gigablue 800 SE & UE sind getestet! SOLO wegen anderer Flashbausteine "noch" nicht!
Gigablue QUADplus
Gigablue IPbox
Gigablue QUAD + Samsung SPF-105P (zeitw. Pearl Displ.)
Gigablue UE plus / Gigablue SE plus / Gigablue ULTRA UE
Gigablue UE + RS232 / Gigablue SE Combo + RS232
Gigablue SOLO +int.USB Port
MK-Digital XP 1000 / Octagon SF8 HD
Xtrend ET9200
Starsat LX
Eddison OptimussOS2plus
Atemio NEMESIS
OPTICUM QuadboxHD 2400
SPYCAT
Gigablue IPbox
Gigablue QUAD + Samsung SPF-105P (zeitw. Pearl Displ.)
Gigablue UE plus / Gigablue SE plus / Gigablue ULTRA UE
Gigablue UE + RS232 / Gigablue SE Combo + RS232
Gigablue SOLO +int.USB Port
MK-Digital XP 1000 / Octagon SF8 HD
Xtrend ET9200
Starsat LX
Eddison OptimussOS2plus
Atemio NEMESIS
OPTICUM QuadboxHD 2400
SPYCAT
- Black_64
- Betatester
- Beiträge: 1165
- Registriert: 04 Apr 2013 13:11
- Hat gedankt: 833 Mal
- Hat Dank erhalten: 422 Mal
To be correct, these are the boxes where it NOT wil work (and no plugin shown in the menu):
azbox/dreambox/ebox/gb800solo
I want to use this topic to express my special thanks to betacentauri for his "OFGWRITE" !!
Without this bin file it was not possible to flash on a running system.
So all credits are giong to betacentauri !!
azbox/dreambox/ebox/gb800solo
I want to use this topic to express my special thanks to betacentauri for his "OFGWRITE" !!
Without this bin file it was not possible to flash on a running system.
So all credits are giong to betacentauri !!
- betacentauri
- Developer
- Beiträge: 2359
- Registriert: 15 Jun 2013 11:42
- Hat gedankt: 152 Mal
- Hat Dank erhalten: 1063 Mal
Danke! Das ganze ist entstanden durch einen Thread im OpenPli Forum. Deswegen gehört der Dank teilweise auch Gutemine(Ideengeber) und Pieterg. Und es sieht vielleicht kompliziert aus, ist es aber eigentlich nicht wirklich 
Und natürlich auch ein großer Dank ans OpenATV Team, die als erste das Tool fest ins Image eingebaut haben und damit fast jedem User zur Verfügung stellen!!
Ja, soweit ich weiß funktioniert es nicht auf den Dreamboxen. Da ich die Besonderheiten der Dreams nicht kenne, kann ich das Tool nicht anpassen. Das gleiche gilt für die anderen oben erwähnten Boxen.
Ich wünsche allen viel Spaß mit meinem Tool!

Und natürlich auch ein großer Dank ans OpenATV Team, die als erste das Tool fest ins Image eingebaut haben und damit fast jedem User zur Verfügung stellen!!
Ja, soweit ich weiß funktioniert es nicht auf den Dreamboxen. Da ich die Besonderheiten der Dreams nicht kenne, kann ich das Tool nicht anpassen. Das gleiche gilt für die anderen oben erwähnten Boxen.
Ich wünsche allen viel Spaß mit meinem Tool!
- banu
- VIP
- Beiträge: 2401
- Registriert: 18 Apr 2013 16:53
- Wohnort: Thüringer Wald
- Receiver 1: GigaBlue UHD Quad 4k
- Receiver 2: GigaBlue UE 4k + Edision OS Mega
- Receiver 3: ET8000 / Axas E4HD
- Receiver 4: Mut@nt HD 51 / Mut@nt HD1200
- Receiver 5: Atemio 6000 / OCTAGON SF208
- Hat gedankt: 1127 Mal
- Hat Dank erhalten: 460 Mal
- betacentauri
- Developer
- Beiträge: 2359
- Registriert: 15 Jun 2013 11:42
- Hat gedankt: 152 Mal
- Hat Dank erhalten: 1063 Mal
Ne, glaube nicht, dass Gutemine den dreams abgeschworen hat. Er taucht nur hin und wieder im OpenPli Forum auf. Er hatte als erstes das Tool gebaut. Dazu gab es aber keine Sourcen(und jetzt funktioniert es auch nicht mehr, da ein ein Check Datum < 01.09 eingebaut ist). Ich habe es ohne Sourcen nachgebaut. Meine Sourcen sind im OpenATV git zu finden.
@pixicom: Es gibt ein Plugin von dima73, das auf OpenPli Images läuft.
Solltest du hier im Thread finden: http://openpli.org/forums/topic/24799-fullbackup/page-5#entry371234
Da ist noch nicht die allerletzte Version meines Tools enthalten. Ist aber nicht ganz tragisch, wenn du keine sehr exotische Box verwendest. Ansonsten das Tool über telnet einmal aufrufen und schauen, ob die Devices richtig erkannt werden. Ich werde Dima73 die nächsten Tage das Binary zur Verfügung stellen.
@pixicom: Es gibt ein Plugin von dima73, das auf OpenPli Images läuft.
Solltest du hier im Thread finden: http://openpli.org/forums/topic/24799-fullbackup/page-5#entry371234
Da ist noch nicht die allerletzte Version meines Tools enthalten. Ist aber nicht ganz tragisch, wenn du keine sehr exotische Box verwendest. Ansonsten das Tool über telnet einmal aufrufen und schauen, ob die Devices richtig erkannt werden. Ich werde Dima73 die nächsten Tage das Binary zur Verfügung stellen.
- betacentauri
- Developer
- Beiträge: 2359
- Registriert: 15 Jun 2013 11:42
- Hat gedankt: 152 Mal
- Hat Dank erhalten: 1063 Mal
Oder das Binary /usr/bin/ofgwrite aus dem openatv Image auf die Festplatte kopieren. Dann kannst du über telnet von jedem Image aus flashen.
Einfach nur
<Pfad zum Binary>/ofgwrite -r -k <Pfad zu den Imagedateien>
ausführen.
Die Imagedateien müssen in diesem Fall schon entpackt sein. Also nicht als zip vorliegen.
Einfach nur
<Pfad zum Binary>/ofgwrite -r -k <Pfad zu den Imagedateien>
ausführen.
Die Imagedateien müssen in diesem Fall schon entpackt sein. Also nicht als zip vorliegen.
- Black_64
- Betatester
- Beiträge: 1165
- Registriert: 04 Apr 2013 13:11
- Hat gedankt: 833 Mal
- Hat Dank erhalten: 422 Mal
pixicom hat geschrieben:wird es das auch als ipk geben? Ich würd es gern auch mal mit anderen Images testen.
I know it will be added to openmips, but as single ipk, i dont kow yet.
It's all open source (look in the openatv git) so other teams can add this also.
I think you better use the ofgwrite like betacentauri say in telnet.
Hi,
Danke für die Antworten
@willy01
Ok, Alles klar.
@mike99,
Na wenn die eh schon im git ist dann wird sie ja demnächst eh kommen hoffe ich.
Grüsse
Biki3
Danke für die Antworten
@willy01
Das ist vom Plugin so bestimmt, daß es in HDD/images/tmp kopiert wird. Brauchst aber nicht löschen, wird automatisch wieder überschrieben beim nächsten mal.
Ok, Alles klar.
@mike99,
Das zweite ist im heutigen Image schon übersetzt.
Die erste Übersetzung ist auch im Git, wird aber aus irgend welchen Gründen noch nicht mit gebaut.
Na wenn die eh schon im git ist dann wird sie ja demnächst eh kommen hoffe ich.
Grüsse
Biki3
- -=niki=-
- VIP
- Beiträge: 874
- Registriert: 07 Apr 2013 14:41
- Receiver 1: Gigablue Solo @ ATV4
- Receiver 2: Sogno 8800HD @ ATV4 / PLI4
- Receiver 3: diverse
- Hat gedankt: 64 Mal
- Hat Dank erhalten: 339 Mal
Folgende Ordner anlegen
/hdd/images
/hdd/images/imagetoflash
In den Ordner /hdd/images kommt das ofgwrite Binary (chmod +x).
In den Ordner /hdd/images/imagetoflash wird das zu flashende Image entpackt.
Der Aufruf des flashens erfolgt dann in /hdd/images (cd /hdd/images) mit:
./ofgwrite -r -k imagetoflash
-r -k bedeutet eben rootfs.bin und kernel.bin
Testlauf durchführen:
./ofgwrite -n -r -k imagetoflash
Die Option -n simuliert nur den Flashvorgang
/hdd/images
/hdd/images/imagetoflash
In den Ordner /hdd/images kommt das ofgwrite Binary (chmod +x).
In den Ordner /hdd/images/imagetoflash wird das zu flashende Image entpackt.
Der Aufruf des flashens erfolgt dann in /hdd/images (cd /hdd/images) mit:
./ofgwrite -r -k imagetoflash
-r -k bedeutet eben rootfs.bin und kernel.bin
Testlauf durchführen:
./ofgwrite -n -r -k imagetoflash
Die Option -n simuliert nur den Flashvorgang
Code: Alles auswählen
root@gb800solo:/media/hdd/images# ls
imagetoflash ofgwrite
root@gb800solo:/media/hdd/images# ./ofgwrite --help
ofgwrite Utility v1.0
Author: Betacentauri
Based upon: mtd-utils-native-1.4.9
Use at your own risk! Make always a backup before use!
Don't use it if you use multiple ubi volumes in ubi layer!
image_directory parameter missing
Usage: ofgwrite <parameter> <image_directory>
Options:
-k --kernel flash kernel (default)
-r --rootfs flash root (default)
-n --nowrite show only found image and mtd partitions (no write)
-q --quiet show less output
-h --help show help
root@gb800solo:/media/hdd/images# ./ofgwrite -nrk imagetoflash
ofgwrite Utility v1.0
Author: Betacentauri
Based upon: mtd-utils-native-1.4.9
Use at your own risk! Make always a backup before use!
Don't use it if you use multiple ubi volumes in ubi layer!
Found rootfs file: imagetoflash/rootfs.bin
Found kernel file: imagetoflash/kernel.bin
Found /proc/mtd entries:
Device: Size: Erasesize: Name: Image:
/dev/mtd0 07800000 00020000 "rootfs" -> imagetoflash/rootfs.bin
/dev/mtd2 00400000 00020000 "kernel" -> imagetoflash/kernel.bin
Erasing kernel: flash_erase /dev/mtd2 0 0
Flashing kernel: nandwrite -pm /dev/mtd2 imagetoflash/kernel.bin
Switching to user mode 2
Syncing filesystem
Remounting root read-only
Flashing rootfs: ubiformat /dev/mtd0 -f imagetoflash/rootfs.bin
Successfully flashed rootfs! Rebooting in 5 seconds...
root@gb800solo:/media/hdd/images#
- Black_64
- Betatester
- Beiträge: 1165
- Registriert: 04 Apr 2013 13:11
- Hat gedankt: 833 Mal
- Hat Dank erhalten: 422 Mal
In the mean time we use version 1.4.
This is a bit different then V1.0 but the basics are the same.
This is a bit different then V1.0 but the basics are the same.
Code: Alles auswählen
ofgwrite Utility v1.4
Author: Betacentauri
Based upon: mtd-utils-native-1.4.9
Use at your own risk! Make always a backup before use!
Don't use it if you use multiple ubi volumes in ubi layer!
Usage: ofgwrite <parameter> <image_directory>
Options:
-k --kernel flash kernel with automatic device recognition(default)
-kmtdx --kernel=mtdx use mtdx device for kernel flashing
-r --rootfs flash rootfs with automatic device recognition(default)
-rmtdy --rootfs=mtdy use mtdy device for rootfs flashing
-n --nowrite show only found image and mtd partitions (no write)
-q --quiet show less output
-h --help show help
- mike99
- Super Moderator
- Beiträge: 8425
- Registriert: 05 Apr 2013 21:02
- Wohnort: Berlin
- Hat gedankt: 764 Mal
- Hat Dank erhalten: 2865 Mal
Mit der aktuellen ofgwrite sollte es zB. so aussehen.
ofgwrite -k -r /hdd/images/tmp
Edit: - Black war schneller *g*
ofgwrite -k -r /hdd/images/tmp
Code: Alles auswählen
gbquad login: root
root@gbquad:~# ofgwrite -k -r /hdd/images/tmp
ofgwrite Utility v1.4
Author: Betacentauri
Based upon: mtd-utils-native-1.4.9
Use at your own risk! Make always a backup before use!
Don't use it if you use multiple ubi volumes in ubi layer!
Flashing kernel
Flashing rootfs
Searching image files in /hdd/images/tmp
Found rootfs file: /hdd/images/tmp/rootfs.bin
Found kernel file: /hdd/images/tmp/kernel.bin
Found /proc/mtd entries:
Device: Size: Erasesize: Name: Image:
mtd0: 1f800000 00020000 "rootfs" -> /hdd/images/tmp/rootfs.b
in
mtd1: 1f800000 00020000 "rootfs(redundant)"
mtd2: 00400000 00020000 "kernel" -> /hdd/images/tmp/kernel.b
in
mtd3: 00400000 00010000 "spi0.0"
mtd4: 00002000 00002000 "ph
mtd5: 1e251000 0001f000 "rootfs"
Using kernel mtd device: /dev/mtd2
Using rootfs mtd device: /dev/mtd0
Erasing kernel: flash_erase /dev/mtd2 0 0
Erasing 128 Kibyte @ 3e0000 -- 100 % complete
Flashing kernel: nandwrite -pm /dev/mtd2 /hdd/images/tmp/kernel.bin
Writing data to block 0 at offset 0x0
Writing data to block 1 at offset 0x20000
Writing data to block 2 at offset 0x40000
Writing data to block 3 at offset 0x60000
Writing data to block 4 at offset 0x80000
Writing data to block 5 at offset 0xa0000
Writing data to block 6 at offset 0xc0000
Writing data to block 7 at offset 0xe0000
Writing data to block 8 at offset 0x100000
Writing data to block 9 at offset 0x120000
Writing data to block 10 at offset 0x140000
Writing data to block 11 at offset 0x160000
Writing data to block 12 at offset 0x180000
Writing data to block 13 at offset 0x1a0000
Writing data to block 14 at offset 0x1c0000
Writing data to block 15 at offset 0x1e0000
Writing data to block 16 at offset 0x200000
Writing data to block 17 at offset 0x220
Writing data to block 18 at offset 0x240000
Writing data to block 19 at offset 0x260000
Writing data to block 20 at offset 0x280000
Writing data to block 21 at offset 0x2a0000
Writing data to block 22 at offset 0x2c0000
Writing data to block 23 at offset 0x2e0000
Writing data to block 24 at offset 0x300000
Writing data to block 25 at offset 0x320000
Writing data to block 26 at offset 0x340000
Writing data to block 27 at offset 0x360000
Writing data to block 28 at offset 0x380000
Writing data to block 29 at offset 0x3a0000
Writing data to block 30 at offset 0x3c0000
Writing data to block 31 at offset 0x3e0000
Switching to user mode 2
Syncing filesystem
Remounting root read-only
Flashing rootfs: ubiformat /dev/mtd0 -f /hdd/images/tmp/rootfs.bin
ubiformat: mtd0 (nand), size 528482304 bytes (504.0 MiB), 4032 eraseblocks of 13
1072 bytes (128.0 KiB), min. I/O size 2048 bytes
libscan: scanning eraseblock 4031 -- 100 % complete
ubiformat: 4027 eraseblocks have valid erase counter, mean value is 33
ubiformat: 5 bad eraseblocks found, numbers: 141, 647, 2361, 2383, 2772
ubiformat: flashing eraseblock 612 -- 100 % complete
ubiformat: formatting eraseblock 4031 -- 100 % complete
Successfully flashed rootfs! Rebooting in 5 seconds...
Edit: - Black war schneller *g*
Gruss Mike
GB UE 4K Cable FBC + PnP C/T2 Dual-Tuner
Mut@nt HD-51 - 2x DVB-C/T2+FreenetModul
Axas E4HD Ultra Sat + Dual DVB-C/T2
Samsung Crystal 4k

Mut@nt HD-51 - 2x DVB-C/T2+FreenetModul
Axas E4HD Ultra Sat + Dual DVB-C/T2
Samsung Crystal 4k