Jump to content


Photo

Flashing octagon sf8008 from the command line


  • Please log in to reply
8 replies to this topic

#1 Bruce1823

  • Senior Member
  • 30 posts

0
Neutral

Posted 14 January 2022 - 15:08

Flashing an octagon-sf8008 from the command line will install and replace
the existing image on the current image location.
Is it possible to flash in this manner to a different slot? Thks.


Re: Flashing octagon sf8008 from the command line #2 betacentauri

  • PLi® Core member
  • 7,185 posts

+323
Excellent

Posted 15 January 2022 - 12:30

Yes. Use -m ofgwrite option to select the slot.

 

E.g. this will flash the image into slot 2:

ofgwrite -m2 -r -k <path to the image files>


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

Re: Flashing octagon sf8008 from the command line #3 Bruce1823

  • Senior Member
  • 30 posts

0
Neutral

Posted 15 January 2022 - 17:20

Yes. Use -m ofgwrite option to select the slot.

 

E.g. this will flash the image into slot 2:

ofgwrite -m2 -r -k <path to the image files>

Many thanks for your help and info.



Re: Flashing octagon sf8008 from the command line #4 Bruce1823

  • Senior Member
  • 30 posts

0
Neutral

Posted 15 January 2022 - 20:53

Yes. Use -m ofgwrite option to select the slot.

 

E.g. this will flash the image into slot 2:

ofgwrite -m2 -r -k <path to the image files>

Have just flashed slot 4 with success. Is it also possible to flash sda slots or is this restricted to the first 4 slots. Thks once again.



Re: Flashing octagon sf8008 from the command line #5 betacentauri

  • PLi® Core member
  • 7,185 posts

+323
Excellent

Posted 18 January 2022 - 18:06

Yes, is possible.

I can't test myself at the moment. So better be sure that you have a full backup and that you don't have any important data on the SD card!

ofgwrite -n -m0 -ksda0 -rsda1 <path to image files>

The -n parameter is for a test. You can look at the output and your box won't be flashed.

Important: Exchange the sda0 with a kernel partition on the SD card and the sda1 with a rootfs partition.

And please don't change the -m0 if you want to flash partitions on the SD card.

If you're sure that the output looks good, you can flash by removing the -n parameter.


Edited by betacentauri, 18 January 2022 - 18:07.

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

Re: Flashing octagon sf8008 from the command line #6 Bruce1823

  • Senior Member
  • 30 posts

0
Neutral

Posted 19 January 2022 - 11:37

Following  your instructions, I flashed 2 Images on 2 different sda partitions and both flashed successfully. 
Many thanks once again.


Re: Flashing octagon sf8008 from the command line #7 Bruce1823

  • Senior Member
  • 30 posts

0
Neutral

Posted 26 January 2022 - 17:54

Not all Images have the option to delete an installed Image. Can this also be done from the command line please?



Re: Flashing octagon sf8008 from the command line #8 stro11

  • Senior Member
  • 197 posts

+14
Neutral

Posted 29 January 2022 - 18:45

Hi satfoot,

 

If you format the right partition, the image is deleted.

 

mkfs.ext4 /dev/<devive partition>
 
If you want to delete the image from Multiboot slot 5, format the second partition:
mkfs.ext4 /dev/sda2
 
regards
stro11


Re: Flashing octagon sf8008 from the command line #9 Bruce1823

  • Senior Member
  • 30 posts

0
Neutral

Posted 29 January 2022 - 19:27

 

Hi satfoot,

 

If you format the right partition, the image is deleted.

 

mkfs.ext4 /dev/<devive partition>
 
If you want to delete the image from Multiboot slot 5, format the second partition:
mkfs.ext4 /dev/sda2
 
regards
stro11

 

Thank you very much for your reply. If I need to delete an image not from the sdcard but for example from slot 4, is it also possible by telnet? Thks. again.




4 user(s) are reading this topic

0 members, 4 guests, 0 anonymous users