Jump to content


Photo

Expanding Zgemma H9 flash to a Micro SD card...


  • Please log in to reply
3 replies to this topic

#1 gorski

  • Senior Member
  • 1,699 posts

+46
Good

Posted 20 May 2018 - 14:46

========================EXPANDING ZGEMMA H9 FLASH TO MICRO SD CARD=====================

ZGEMMA H9 has a 256 MB Flash, so serious hobbyists need to expand its Flash. There are 2 ways:

1) Flash Expander E2 plugin, to a fast USB 3.0 stick (I wrote in detail about it on this forum and elsewhere) or

2) the following script moving it all from the flash to a fast Micro SD memory card (Zgemma H9 Flodder, as it were... :D ).

Various Micro SD cards have been tested: class4, class 10 and class A1. In principle, they are all working but not all Micro SD cards will work.

HOW TO CHECK IF A MICRO SD CARD IS OK FOR FLASH EXPANSION WITH ZGEMMA H9
=========================================================================

Insert the Micro SD card into Zgemma H9 and reboot the box. Check the /var/logs/message file, using the PuTTy app. Log in by writing:

root
password - for an image you use (for example "pure2" for PurE2 image [without "" signs]).

Now, copy and paste this telnet command into PuTTy:

cat /var/log/messages | grep mmcblk0:

If you see these messages:

Apr 6 19:28:13 zgemmah9t user.info kernel: mmcblk0: mmc0:59b4 USDU1 7.31 GiB
Apr 6 19:28:13 zgemmah9t user.info kernel: mmcblk0: p1

or

May 20 13:25:49 zgemmah9s user.info kernel: mmcblk0: mmc0:aaaa SC64G 59.5 GiB
May 20 13:25:49 zgemmah9s user.info kernel:  mmcblk0: p1

...then you can proceed..

Download the "H9 SDcard Mover" attached to this message.

Extract the zip file and copy all 3 files to Zgemma H9 /tmp folder, using FileZilla Client app, for instance.

Now, right click on h9_mmc.sh file > File permissions > 755 > OK.

Warning: all data on your Micro SD card will be lost when your start this script!

Start the script by the following 2 telnet commands:

cd /tmp

./h9_mmc.sh

Reboot the box and wait for the script to move everything to Micro SD card.

Your Zgemma H9 just got a boost!

Just remember that there is a small price to pay: your flash is larger but the Zgemma H9 might be a bit slower than if everything is running from H9 flash alone.

=======================================================================

How to go back to a previous state of things (rollback to rootfs, to NAND)?

Simply flash a new image.

=======================================================================

Credit to Captain @ OpenATV

Edited by gorski, thanx to TerraJoe for the missing IT info... :)

Attached Files


Edited by gorski, 20 May 2018 - 14:47.

<span style='font-family: comic sans ms,cursive'>"Enlightenment is man's emergence from his self-incurred immaturity. Immaturity is the inability to use one's own understanding without the guidance of another. This immaturity is self-incurred if its cause is not lack of understanding, but lack of resolution and courage to use it without the guidance of another. The motto of enlightenment is therefore: Sapere aude! Have courage to use your own understanding!</span><br /> <br /><span style='font-family: comic sans ms,cursive'>Laziness and cowardice are the reasons why such a large proportion of men, even when nature has long emancipated them from alien guidance..." I. Kant, "Political writings" (1784)</span><br /> <br /><span style='font-family: comic sans ms,cursive'><a class='bbc_url' href='<a class='bbc_url' href='http://eserver.org/p...lightenment.txt'>http://eserver.org/p...ent.txt</a>'><a class='bbc_url' href='http://www.english.upenn.edu/~mgamer/Etexts/kant.html</a>'>http://www.english.upenn.edu/~mgamer/Etexts/kant.html</a></a> - the jolly text on Enlightenment, at the basis of Modernity...</span>

Re: Expanding Zgemma H9 flash to a Micro SD card... #2 gorski

  • Senior Member
  • 1,699 posts

+46
Good

Posted 20 May 2018 - 15:56

Do not mount Micro SD card using pManager (in PurE2 or any kind of Device Manager in any other Enigma2). Then, the script can't umount it. Once I unmounted it, using pManager - it worked! ;)

 

Look... :)

Attached Files


<span style='font-family: comic sans ms,cursive'>"Enlightenment is man's emergence from his self-incurred immaturity. Immaturity is the inability to use one's own understanding without the guidance of another. This immaturity is self-incurred if its cause is not lack of understanding, but lack of resolution and courage to use it without the guidance of another. The motto of enlightenment is therefore: Sapere aude! Have courage to use your own understanding!</span><br /> <br /><span style='font-family: comic sans ms,cursive'>Laziness and cowardice are the reasons why such a large proportion of men, even when nature has long emancipated them from alien guidance..." I. Kant, "Political writings" (1784)</span><br /> <br /><span style='font-family: comic sans ms,cursive'><a class='bbc_url' href='<a class='bbc_url' href='http://eserver.org/p...lightenment.txt'>http://eserver.org/p...ent.txt</a>'><a class='bbc_url' href='http://www.english.upenn.edu/~mgamer/Etexts/kant.html</a>'>http://www.english.upenn.edu/~mgamer/Etexts/kant.html</a></a> - the jolly text on Enlightenment, at the basis of Modernity...</span>

Re: Expanding Zgemma H9 flash to a Micro SD card... #3 HiRun

  • New Member
  • 1 posts

0
Neutral

Posted 7 September 2020 - 15:30

After copied all 3 files to Zgemma H9S to tmp folder,

then telnet:

 

openpli 7.3-release h9

 

 c61ee81353380453.jpg

 

./h9_mmc.sh: not found


Edited by HiRun, 7 September 2020 - 15:31.


Re: Expanding Zgemma H9 flash to a Micro SD card... #4 gradtje

  • Member
  • 2 posts

0
Neutral

Posted 15 April 2023 - 12:03

Hi Gorski,

 

Think you did a wonderfull job ! But unfortunatly, it doesn`t work on my ZGemma H9.2H (anymore ?). Script works ok, no errors, but after the reboot, the system will not boot anymore. And when it is not booting there little to analyse.

 

Is there an updated script ?


Edited by gradtje, 15 April 2023 - 12:04.



1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users