emmc 8GB disabled
-
Hi sir,
I brought recently onion omega2S+ device kit. In that having 8GB emmc. But 2S+ has 32MB internal memory. my question is how to disable the eMMc and how to utilize 32 MB default internal memory for installing packages and execution for programs. please help me.
-
@Nagarjuna-Reddy I suppose you have an Omega2 Pro. It has an Omega2S+ modul with a Mediatek MT7688AN SoC, a 32 MB SPI flash, a 128 MB DDR2 RAM under the shielding and an 8 GB eMMC on the board.
It is an embedded Linux device - it has an OpenWrt 18.06 based firmware out of the box.It is not fully clear - at least for me - what do you want to do.
-
@György-Farkas
Hi ,
for me not required a emmc 8GB memory. just I am going to check an inbuilt 32MB memory. how to use that. but when I checked df -h it has shown to me 8GB. and if I install any packages it has stored into emmc. but I don't want emmc. I want only inbuilt 32MB memory. That memory I can utilize for installing and execution of programs.root@Omega-1C17:~# df -h
what is this
why my flash memory it is showing very less MB. but we have 32MB flash memory.
-
@Nagarjuna-Reddy You should modify the '/usr/bin/o2-pro-init' file and run it to reinitialize your Omega2 Pro without pivot overlay.
-
@Nagarjuna-Reddy just to confirm, you're using the Omega2S Development Kit with 8 GB eMMC?
With the default firmware on your Omega2S+, all of the packages and changes you make to the filesystem will be on the internal flash.
The eMMC storage is just external storage that's mounted automatically. No changes are made to this filesystem unless you specifically go to
/mnt/mmmcblk0p1
and make changes there.You can manually unmount it by running
umount /mnt/mmcblk0p1
Btw, the automatic mounting is handled by the
fstab
utility. Read more about it here
And to answer your questions:
what is this
tmpfs is a temporary filesystem running on the RAM. This is a function of OpenWRT. Learn more here: https://openwrt.org/docs/techref/file_system
why my flash memory it is showing very less MB. but we have 32MB flash memory.
The internal flash memory is 32MB. You're not seeing the full 32MB because of how the flash is partitioned. Learn more about that here:
- https://openwrt.org/docs/techref/flash.layout#partitioning_of_the_flash
- https://openwrt.org/docs/techref/file_system
Note: the examples given in the links above don't match 1-to-1 with the Omega2, but they will illustrate the principle
-
@György-Farkas
can you please explain clearly because I have not understood.
-
@Nagarjuna-Reddy said in emmc 8GB disabled:
@György-Farkas
can you please explain clearly because I have not understood./usr/bin/o2-pro-init
only applies if you're running Omega2 Pro firmware.You can ignore this if you're running the default Omega2+ firmware. Which you likely are.
-
@Nagarjuna-Reddy Please let us know more details about your Omega2 devices.
You have an Omega2S. I suppose it's running on some board. Which one? What firmware are you running on your Omega2S?
You have an Omega2S+ and a "device kit". What is it exactly? What firmware are you running on your Omrga2S+?
-
@Lazar-Demin OP wrote here:
... if I install any packages it has stored into emmc ...
So Omega2 Pro was a guess.
-
"omega2S+ device kit. In that having 8GB emmc" sounds like he has a the Omega2S dev kit eMMC version.
-
@crispyoz OK. omega2S+ device kit = Omega2S Development Kit
I think there was some Omega2+ FW on OP's Omega2S+ module out of the box.
Is it possible to install any packages with opkg to an eMMC external storage (without pivot overlay, extroot, Omega2 Pro FW of course)?
-
@György-Farkas said in emmc 8GB disabled:
Is it possible to install any packages with opkg to an eMMC external storage (without pivot overlay, extroot, Omega2 Pro FW of course)?
It is possible, but looks like it might take some additional work: https://openwrt.org/docs/guide-user/additional-software/opkg#non-standard_installation_destinations