[HowTo] expand rootfs to 8GB

Nachricht
Autor
Benutzeravatar
Captain
Community Administrator
Community Administrator
Beiträge: 15357
Registriert: 03 Apr 2013 20:33
Hat gedankt: 706 Mal
Hat Dank erhalten: 17209 Mal

expand rootfs to 8GB

#1

Beitrag von Captain »

The H9 have only 256 MB Flash its time for a cheap rework.

Your need a 8 GB micro SD Card

i have test class4 class 10 and class A1 all working

but Important not all SDCARD works my 16GB have all issue

how to check the SDCARD was ok for expand your H9 Box

insert the micro SDCARD and reboot the box
the SDCARD must insert before your boot the box !!!!!

now check the /var/logs/message file

cat /var/log/messages | grep mmcblk0:
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

when you see the info fine you can start when not buy a new 8 GB micro SDCARD

download the H9 sdcard mover : [ATTACH]91171[/ATTACH]

extract the zip file and copy the files to your box /tmp

change executable bit from the bash script : chmod +x /tmp/h9_mmc.sh

***** attention all data on your SDCARD lost when your start the script! *****

start the script and reboot the box and have fun with more space on rootfs

mmc1.PNG



PS: rollback to rootfs to NAND

flash a new images
or

install the nand bootargs

dd if=/tmp/bootargs-nand.bin of=/dev/mtdblock1
Dateianhänge
h9-sdcard-mover_20230518.zip
(1.53 KiB) 117-mal heruntergeladen
Bild openATV we are open Source

Boykott GPL violator
Benutzeravatar
mihaip
Member
Member
Beiträge: 497
Registriert: 05 Apr 2013 22:51
Hat gedankt: 8 Mal
Hat Dank erhalten: 87 Mal

#2

Beitrag von mihaip »

Well ! this is a demo that expansion is possible ! but I've
expected a menu method involving flash expander plugin
or a plugin executing this script without manual.involvement ...
of course I will test it as described ! tnks @Captain ! to me
this looks as a system issue ... SD card must be treated as USB stick is !
Benutzeravatar
Captain
Community Administrator
Community Administrator
Beiträge: 15357
Registriert: 03 Apr 2013 20:33
Hat gedankt: 706 Mal
Hat Dank erhalten: 17209 Mal

#3

Beitrag von Captain »

@mihaip you can make a nice plugin , nobody stops you :)
Bild openATV we are open Source

Boykott GPL violator
Benutzeravatar
mihaip
Member
Member
Beiträge: 497
Registriert: 05 Apr 2013 22:51
Hat gedankt: 8 Mal
Hat Dank erhalten: 87 Mal

#4

Beitrag von mihaip »

well... I'll try ! till now I've done only plugins to
install emulators ... but I know about postinstall...
we'll see ... as soon as I'll turn back home ..
Benutzeravatar
Captain
Community Administrator
Community Administrator
Beiträge: 15357
Registriert: 03 Apr 2013 20:33
Hat gedankt: 706 Mal
Hat Dank erhalten: 17209 Mal

#5

Beitrag von Captain »

please test tomorrow sdcard with more as 8 gb,

we add a linux update to fix sd card detection
Bild openATV we are open Source

Boykott GPL violator
Benutzeravatar
mitus74
Beginners
Beginners
Beiträge: 6
Registriert: 11 Sep 2013 23:27
Hat gedankt: 11 Mal
Hat Dank erhalten: 3 Mal

#6

Beitrag von mitus74 »

Entfernen bitte dieser
Benutzeravatar
mihaip
Member
Member
Beiträge: 497
Registriert: 05 Apr 2013 22:51
Hat gedankt: 8 Mal
Hat Dank erhalten: 87 Mal

#7

Beitrag von mihaip »

I will test it tomorrow ! I was out of home last two weeks !
so I'm back in business ...
Benutzeravatar
mihaip
Member
Member
Beiträge: 497
Registriert: 05 Apr 2013 22:51
Hat gedankt: 8 Mal
Hat Dank erhalten: 87 Mal

#8

Beitrag von mihaip »

Today ... tested and works as described !!!

20180422135353.jpg


But I have problems with Kodi ... still unclear their origin ...
the procedure I followed was ...

- install a clean image
- initialize a 8Gb SD card
- execute the script
- reboot and verified ... Flash was expanded !
- install Kodi
- restart GUI
- execute Kodi ... changed skin ... select "expert"
but in Settings Menu ... only Player Setiings ... is active !!!

Also I've made a test with OpenPLi image ...
their FlashExpander works on SD card !!! as
should work in OpenATV ... but not yet !

20180422135353.jpg


... FlashExpander works on SD card but ...
their Kodi refuses to install !!!
Dateianhänge
1.jpg
FB1907
Member
Member
Beiträge: 57
Registriert: 26 Mär 2018 16:35
Hat gedankt: 14 Mal
Hat Dank erhalten: 2 Mal

#9

Beitrag von FB1907 »

how to install sd card

Thanks
Benutzeravatar
Captain
Community Administrator
Community Administrator
Beiträge: 15357
Registriert: 03 Apr 2013 20:33
Hat gedankt: 706 Mal
Hat Dank erhalten: 17209 Mal

#10

Beitrag von Captain »

you dont need the flash expander when rootfs on sd card

you need for kodi only a hdd device to add movie db and movie pictures
Bild openATV we are open Source

Boykott GPL violator
Benutzeravatar
mihaip
Member
Member
Beiträge: 497
Registriert: 05 Apr 2013 22:51
Hat gedankt: 8 Mal
Hat Dank erhalten: 87 Mal

#11

Beitrag von mihaip »

I know ! I've made the changes ... as indicated !
but Kodi failed to create or access his hidden
temporary folder ! look inside the plugin ...
the postinstall script must be adapted to create
.kodi in /usr instead of root directory ! I think will
be enough ...

20180423155002.jpg


20180423155002.jpg


... as you can see ... menu item "Add-ons" cannot
be accessed ! plugins cannot be installed in Kodi !
For usage as mediaplayer ... what you say is enough
... but for streaming we need plugins !

P.S. now works !
Dateianhänge
20180423155017.jpg
FB1907
Member
Member
Beiträge: 57
Registriert: 26 Mär 2018 16:35
Hat gedankt: 14 Mal
Hat Dank erhalten: 2 Mal

#12

Beitrag von FB1907 »

How to expand sd card 8gb flash.
How do I install the H9 carrier zip file?


Thanks
FB1907
Member
Member
Beiträge: 57
Registriert: 26 Mär 2018 16:35
Hat gedankt: 14 Mal
Hat Dank erhalten: 2 Mal

#13

Beitrag von FB1907 »

Invalid command. I can not expand the 8.gb sdkart.
I hoped you could help me.
I am waiting for my vacancy
FB1907
Member
Member
Beiträge: 57
Registriert: 26 Mär 2018 16:35
Hat gedankt: 14 Mal
Hat Dank erhalten: 2 Mal

#14

Beitrag von FB1907 »

Captain hat geschrieben:The H9 have only 256 MB Flash its time for a cheap rework.

Your need a 8 GB micro SD Card

i have test class4 class 10 and class A1 all working

but Important not all SDCARD works my 16GB have all issue

how to check the SDCARD was ok for expand your H9 Box

insert the micro SDCARD and reboot the box
the SDCARD must insert before your boot the box !!!!!

now check the /var/logs/message file

cat /var/log/messages | grep mmcblk0:
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

when you see the info fine you can start when not buy a new 8 GB micro SDCARD

download the H9 sdcard mover : [ATTACH]55172[/ATTACH]

extract the zip file and copy the files to your box /tmp

change executable bit from the bash script : chmod +x /tmp/h9_mmc.sh

***** attention all data on your SDCARD lost when your start the script! *****

start the script and reboot the box and have fun with more space on rootfs

[ATTACH=CONFIG]55173[/ATTACH]


PS: rollback to rootfs to NAND

flash a new images
or

install the nand bootargs

dd if=/tmp/bootargs-nand.bin of=/dev/mtdblock1


I did it like you wrote it
I am getting an invalid command error.
Benutzeravatar
Captain
Community Administrator
Community Administrator
Beiträge: 15357
Registriert: 03 Apr 2013 20:33
Hat gedankt: 706 Mal
Hat Dank erhalten: 17209 Mal

#15

Beitrag von Captain »

show me what you have type
Bild openATV we are open Source

Boykott GPL violator
FB1907
Member
Member
Beiträge: 57
Registriert: 26 Mär 2018 16:35
Hat gedankt: 14 Mal
Hat Dank erhalten: 2 Mal

#16

Beitrag von FB1907 »

Apr 30 13:11:12 zgemmah9s user.info kernel: mmc0: new high speed SDHC card at address 0001
Apr 30 13:11:12 zgemmah9s user.info kernel: mmcblk0: mmc0:0001 00000 7.44 GiB
Apr 30 13:11:12 zgemmah9s user.notice kernel: f9c40000.himciv200.SD: eMMC/MMC/SD Device NOT detected!
Apr 30 13:11:12 zgemmah9s user.info kernel: mmcblk0: p1

/var/volatile/log$ chmod+x/tmp/h9_mmc.sh
500 Unknown command.
FB1907
Member
Member
Beiträge: 57
Registriert: 26 Mär 2018 16:35
Hat gedankt: 14 Mal
Hat Dank erhalten: 2 Mal

#17

Beitrag von FB1907 »

Thank you for your interest
Benutzeravatar
Captain
Community Administrator
Community Administrator
Beiträge: 15357
Registriert: 03 Apr 2013 20:33
Hat gedankt: 706 Mal
Hat Dank erhalten: 17209 Mal

#18

Beitrag von Captain »

chmod+x/tmp/h9_mmc.sh you have forget a space:

Code: Alles auswählen

chmod   +x     /tmp/h9_mmc.sh
Bild openATV we are open Source

Boykott GPL violator
FB1907
Member
Member
Beiträge: 57
Registriert: 26 Mär 2018 16:35
Hat gedankt: 14 Mal
Hat Dank erhalten: 2 Mal

#19

Beitrag von FB1907 »

/var/volatile/tmp$ chmod +x /tmp/h9_mmc.sh
500 Unknown command.

The result is again the same
Benutzeravatar
Captain
Community Administrator
Community Administrator
Beiträge: 15357
Registriert: 03 Apr 2013 20:33
Hat gedankt: 706 Mal
Hat Dank erhalten: 17209 Mal

#20

Beitrag von Captain »

ypi mus download the fip file extract the file and copy the sh to the /tmp folder

no file cant work
Bild openATV we are open Source

Boykott GPL violator
Antworten

Zurück zu „Air Digital Zgemma H9“