Flash without USB stick

Pluginy a utility pro přijímač Clarke-Tech , Xtrend

Moderátoři: gorick, matchboxx, clasicrock

Odpovědět
Uživatelský avatar
clasicrock Czech Republic
Mírně pokročilý
Mírně pokročilý
Příspěvky: 202
Registrován: 30 kvě 2009, 15:11
Bydliště: Kutná Hora
Kontaktovat uživatele:

Flash without USB stick

Příspěvek od clasicrock »

Kód: Vybrat vše

Flash without USB stick

I wrote a tool which allows you to flash the box during operation. It was created due to the fact that has gutemine published a similar tool in the OpenPLi forum, but no source code to do this . Since there actually everything was already described , I then set myself even think ...

Short first: I have multiple problems with the tool flashed my box . But I take no guarantee that the runs with you !
Therefore, you should definitely take a backup before taking action on a USB stick . According OpenPLi forum , you can supposedly do not scrap with the tools I use his box ... I have not done ;-)

After a warning : If the root file system is flashed , is only stopped e2 and then the box reboots. I.e. not executing the program , if a recording is in progress !

One next to the appended binary requires either a suitable backup or create a new image for the box.
Ofgwrite_v1.8.zip copy the file to the box and unpack ( unzip ofgwrite_v1.8.zip ) . The file can be unpacked ofgwrite go somewhere . For example, the / tmp or / hdd . I go further assume that the file is located in / hdd .

    If the file is not executable " chmod 755 ofgwrite " Run

    Change to the backup directory and copy the new image on the box , unpack it and change into the directory . After that you should be in the directory box , depending on ET9X00 , ET6X00 , ... are

    ofgwrite call : / hdd / ofgwrite parameters see below



parameter:
Usage: ofgwrite <parameter> <image_directory>
Options :
-k - kernel flash kernel (default)
-r - rootfs flash root ( default)
-n - show only nowrite found image and mtd partitions ( no write)
-h - help show help

Without parameters, only this info is displayed. If you want to see what makes the tool exactly, but really anything is changed without the , can

	
Code:

	
ofgwrite -n -r -k <image_dir>

calling. Do not be afraid, for n nothing really happened.
To flash and run it normally like so: ofgwrite-r-k / (if you are already in the correct directory) otherwise / hdd / ofgwrite-r-k / hdd/fullbackup/2013..../et9x00 /.

You can also just flash the kernel (-k only). But then you should make sure that the kernel of the installed kernel modules fit. So einzuspielen a kernel from a 3.6.0 backup, if only the current 3.8.7 kernel modules are available on the machine is not a good idea!

If you have any problems, please spending time posting!

Edit: New version 1.8 is appended. This version shows after the completion of E2 on the television a progress bar (see attached image)

The current source code can be found here: https://github.com/openatv/ofgwrite
ofgwrite.jpg
ofg_src_v0.3.zip
ofg_bin_v0.3.zip
ofgwrite_v1.8.zip
Nemáte oprávnění prohlížet přiložené soubory.


Od 28.2E do 0.8W
Vu+Solo2-OpenPli4-HD Glass16+GSU,DM800HD-sim2.01-OpenPli4.0,DM 500 clon-Gp4.7,Ariva 202E Hd
Gibertiny 85AL Motor SG-2100
Přístupové karty Upc 0D97 , SkyLink 0D96
Odpovědět

Zpět na „Clarke-Tech , Xtrend Pluginy a utility“