You are not logged in.

gorski

PurE2-Supporter

  • "gorski" is male
  • "gorski" started this thread

Posts: 398

Activitypoints: 4,490

Date of registration: Aug 12th 2017

net.hawkes.userlevel.level 30 [?]

net.hawkes.userlevel.experience 280,164

net.hawkes.userlevel.nextlevel 300,073

Thanks: 296 / 158

  • Send private message

1

Wednesday, January 16th 2019, 11:15am

How to expand ROM and RAM in PurE2

OK, time to pull together various threads which help people set up their machines with PurE2 properly... :4_small16:

Let's explain the notions/jargon and the principles...

ROM = "Flash/NAND/eMMC" etc. To expand ROM (= Read Only Memory, i.e. "permanent" memory) we use Flash Expander, Flodder, OpenMultiBoot etc. Let's call this our receiver's "hard drive".

When you reboot the receiver/PC/etc. this memory should still contain all the files it had before the reboot, i.e. Operating System (OS) should still be there, plus plugins/apps etc. It should remain unchanged. Of course, unless you installed or uninstalled something on purpose and rebooted, in which case it will be changed slightly - but all the other stuff should still be there.

RAM = "working memory". To enlarge RAM (= Randomly Accessed Memory) we use SWAP (either partition or in this case) file. Swap Manager is built-into PurE2 along the lines of old PowerBoard achievements.

The files/apps which were in RAM are "lost" once a receiver is rebooted. They are populated once again, from scratch, when one restarts a receiver, depending on which apps one starts etc. So, this memory is not "permanent" but "variable", as it were. In terms of PCs, this is - you guessed it - RAM! :EV6CC5~125:

Let's deal with RAM first, as it is simple...

You will find Swap Manager in PurE2 > MENU > pManager > Device Manager > go to the right and then all the way down...

Activate Swap file? YES
Swap file size - I usually make a 512MB one...
Swap file location - USB, mSD or SSD (not a device with moving parts, like old HDDs).


Note that some older boxes need this, of course. But some newer boxes have a SWAP partition done by default, at the time of flashing an image, on eMMC/NAND/in Flash itself. Ergo, one doesn't need a Swap file on top of that.

To see if you already have a Swap partition, after flashing an image, Telnet into your box via PuTTy, for instance, and write:

Source code

1
df -h


and also

Source code

1
free -h


See the output and act accordingly. In DB500HD you will need a Swap file made by Swap Manager, of course.

But in Zgemma H7S, on the other hand, you would not, as you would have 1/2 GB Swap partition done at the moment of flashing an image, by default.

Have a look:

Source code

1
2
3
4
5
6
7
8
9
10
11
12
13
14
root@zgemmah7:~# df -h
Filesystem                Size      Used Available Use% Mounted on
/dev/root               733.5M    513.0M    164.5M  76% /
devtmpfs                185.8M      4.0K    185.8M   0% /dev
tmpfs                    64.0K         0     64.0K   0% /media
/dev/mmcblk0p1            3.0M     10.0K      3.0M   0% /boot
tmpfs                   502.0M    760.0K    501.2M   0% /var/volatile
/dev/sda1               436.6G      7.8G    405.5G   2% /media/hdd
/dev/sdb1                27.9G    155.1M     26.3G   1% /media/usb

root@zgemmah7:~# free -h
              total        used        free      shared  buff/cache   available
Mem:           1.0G        904M         62M        640K         37M         68M
Swap:          490M        8.9M        482M


Good luck! :EV790A~137:
http://www.english.upenn.edu/~mgamer/Etexts/kant.html - I. Kant, "Political writings" (1784), the jolly text on Enlightenment, at the basis of Modernity...

4 registered users thanked already.

Users who thanked for this post:

Raze (16.01.2019), terrajoe (16.01.2019), Eiweiss (16.01.2019), ngc.ie (03.06.2019)

gorski

PurE2-Supporter

  • "gorski" is male
  • "gorski" started this thread

Posts: 398

Activitypoints: 4,490

Date of registration: Aug 12th 2017

net.hawkes.userlevel.level 30 [?]

net.hawkes.userlevel.experience 280,164

net.hawkes.userlevel.nextlevel 300,073

Thanks: 296 / 158

  • Send private message

2

Wednesday, January 16th 2019, 11:45am

Let's deal with ROM now...

There are various ways of expanding your ROM: Flodder, Flash Expander, MiniMultiBoot, Barry Alen, OpenMultiBoot etc. etc.

OpenMultiBoot (OMB)

We will presume that in your Sat TV receiver (= STB = Set Top Box) you have installed PurE2.

We will also presume that you have a clean/empty, big enough USB stick in your machine.

One presses MENU button on one's remote control (RC) and goes to "PurE2 feeds" (= Plugins in your MENU), then to Extensions, where one should

a) Install enigma2-plugin-extensions-openmultiboot and restart your machine

b) in your PC with Windows or Linux OS, use FileZilla Client, for instance, to FTP into your STB (in other words, connect your PC and your STB)

c) from your PC send an unpacked PurE2 image with 'zip' suffix to the following folder of your STB ==> /media/hdd/open-multiboot-upload (do not unpack it!)

d) go to MENU > Plugins > OpenMultiBoot > install PurE2 image in this plugin's menu

e) restart PurE2, then chose non-flash PurE2 image from the menu and wait until it starts fully.

After it boots, you'll have PurE2 image installed on the USB memory stick with plenty of space and you will be able to install a bunch of stuff.

If your STB has a small RAM - you can install a large SWAP file on the same USB stick, too...

I tested this on my old 500HD (only 64MB small ROM/Flash) with Japhar SIM card and it's brilliant!

Of course, now you may install more images made for your machine - the same way as above - and have fun... :EV790A~137:
http://www.english.upenn.edu/~mgamer/Etexts/kant.html - I. Kant, "Political writings" (1784), the jolly text on Enlightenment, at the basis of Modernity...

3 registered users thanked already.

Users who thanked for this post:

Raze (16.01.2019), terrajoe (16.01.2019), Eiweiss (16.01.2019)

gorski

PurE2-Supporter

  • "gorski" is male
  • "gorski" started this thread

Posts: 398

Activitypoints: 4,490

Date of registration: Aug 12th 2017

net.hawkes.userlevel.level 30 [?]

net.hawkes.userlevel.experience 280,164

net.hawkes.userlevel.nextlevel 300,073

Thanks: 296 / 158

  • Send private message

3

Wednesday, January 16th 2019, 11:56am

FLASH EXPANDER

This is a bit more complicated and hence not as stable, long term - but a great tool, nevertheless!!!

We will presume you have an STB with a USB port, using PurE2 image, of course... I have tested it in my F500HD, hence the title below...

gorski's 11 theses for 500HD bliss with Flash Expander

1) First thing one does is one partitions one's BIG and FAST USB 3.0 memory stick into 2 partitions (Mini Tool Partition Wizard freeware under Windows, for instance, is a good tool to do this with).

2) Then, one plugs the USB stick into one's 500HD. Old Ferrari clones have 2 USB ports: internal and external one.

3) Then, one mounts the 2 USB 3.0 stick partitions by going to:

MENU > pManager > Device Manager > Mount Manager > blue button > yellow button (to switch Automount OFF) > Exit > do this for both partitions on the USB stick.

4) Then, do not restart E2 but instead go back to mount those two partitions in a fixed manner, via FSTAB file.

How?

5) This you can do either by using the MENU or the BLUE button, then using the > or < buttons on your remote, changing the mounts to get as follows:

-smaller (say, 2GB) partition as /media/usb (= partition 1)
-bigger (say the rest, i.e. 30GB of 32GB USB stick) partition as /media/hdd (= partition 2)

6) Press OK to write it into the FSTAB file, then out of 3 options choose RESTART THE BOX. The box reboots.

(If it doesn't work the first time round, the second time it will be as you want it to be!)

7) Now, go to MENU > Plugins > Extensions > install this plugin, i.e. Flash Expander.

8) Exit and if necessary restart E2, then go back to Plugins > start Flash Expander and use it to move the /usr folder to the smaller 2GB partition (it will later on appear as /usr in various menus, as you'll see soon). Restart will follow, when it moves the /usr folder content to USB /media/usb partition.

9) I then use a SWAP Manager, which you will find in the same part of pManager, to create a SWAP file (512MB) and activate it (see top post for details).

This is the result, firstly showing the partitions using "df -h" command and then "before and after" SWAP creation, using "free" command:

Source code

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
PURE2-TEAM 2019

root@dm500hd:~# df -h
Filesystem                Size      Used Available Use% Mounted on
/dev/root                60.0M     56.3M      3.7M  94% /
devtmpfs                 66.3M      4.0K     66.3M   0% /dev
tmpfs                    66.4M    128.0K     66.3M   0% /var/volatile
/dev/mtdblock2            3.8M      2.7M      1.0M  73% /boot
/dev/sda2                26.9G    171.9M     25.4G   1% /media/hdd
/dev/sda1                 2.4G    179.3M      2.1G   8% /usr

(before)
root@dm500hd:~# free
total        used        free      shared  buff/cache   available
Mem:         136044       68520       10992         132       56532       42494
Swap:             0           0           0

(after)
root@dm500hd:~# free
total        used        free      shared  buff/cache   available
Mem:         136044       72472       10880         132       52692       39912
Swap:        524284           0      524284


10) Now, we can start downloading
-plugins/addons (like Franc's FNC plugins, then ffmpeg package for E2iPlayer etc. etc.)
-tools you may need (like Dream Explorer)
-skins you may want to have extra
-picons galore
-EPG
-etc. etc.

and

11) direct picons, EPG, buffering, cache etc. to /media/hdd (partition 2), just like we directed SWAP file to it...

Only the careful configuration of it all will ensure all will be well with our "oldie but goldie"!!! :12_small35:
http://www.english.upenn.edu/~mgamer/Etexts/kant.html - I. Kant, "Political writings" (1784), the jolly text on Enlightenment, at the basis of Modernity...

4 registered users thanked already.

Users who thanked for this post:

Raze (16.01.2019), terrajoe (16.01.2019), atari (16.01.2019), Eiweiss (16.01.2019)

gorski

PurE2-Supporter

  • "gorski" is male
  • "gorski" started this thread

Posts: 398

Activitypoints: 4,490

Date of registration: Aug 12th 2017

net.hawkes.userlevel.level 30 [?]

net.hawkes.userlevel.experience 280,164

net.hawkes.userlevel.nextlevel 300,073

Thanks: 296 / 158

  • Send private message

4

Wednesday, January 16th 2019, 12:46pm

Flodder instructions are here: Flodder dm800se PurE2 How-to...

Zgemma H9x/H9.2X series similar "expansion thread" is here: Expanding H9 flash to a Micro SD card...

MultiMiniBoot to expand a small flash in old STBs, even clones: MultiMiniBoot to expand a small flash in old STBs!

How to setup PurE2 generally, in pictures: PurE2 in pictures... Later on in words, too, hehe...

...and we'll keep adding them... :3_small30:

:4_small16:
http://www.english.upenn.edu/~mgamer/Etexts/kant.html - I. Kant, "Political writings" (1784), the jolly text on Enlightenment, at the basis of Modernity...

3 registered users thanked already.

Users who thanked for this post:

terrajoe (16.01.2019), atari (16.01.2019), Eiweiss (16.01.2019)

atari

Moderator

  • "atari" is male

Posts: 232

Activitypoints: 2,695

Date of registration: Oct 27th 2017

net.hawkes.userlevel.level 27 [?]

net.hawkes.userlevel.experience 145,737

net.hawkes.userlevel.nextlevel 157,092

Thanks: 139 / 154

  • Send private message

5

Wednesday, January 16th 2019, 6:20pm

Thx @gorski great tutorial for open Multiboot and Flashexpander $%&/

-peters-
best regards,

i like PurE2 much more


1 registered user thanked already.

Users who thanked for this post:

gorski (16.01.2019)

gorski

PurE2-Supporter

  • "gorski" is male
  • "gorski" started this thread

Posts: 398

Activitypoints: 4,490

Date of registration: Aug 12th 2017

net.hawkes.userlevel.level 30 [?]

net.hawkes.userlevel.experience 280,164

net.hawkes.userlevel.nextlevel 300,073

Thanks: 296 / 158

  • Send private message

6

Monday, June 17th 2019, 10:37am

It seems that the built-in SWAP Manager works until one reboots...

For a permanent SWAP file go to:

MENU > Plugins > System plugins > swapmanager2 > install and restart E2.

Make a SWAP file as described above...

Good luck! :4_small16:
http://www.english.upenn.edu/~mgamer/Etexts/kant.html - I. Kant, "Political writings" (1784), the jolly text on Enlightenment, at the basis of Modernity...

1 registered user thanked already.

Users who thanked for this post:

Newworld (17.06.2019)