This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
eMMC - Memory - Device.....
#1
Hello together,

I use the board and boot the system over microSD - Card.
So, how can I use the internal eMMC for SWAP or tmp - directory.

What is the name of device?   Huh

Best regards



Zhéxué M.
Reply
#2
when i last booted the microSD , I had forgot that there were my pictures , and i had to restore all of them . I tried to do it by myself ,using different programs, but i didn't succeed. https://www.dataclinic.co.uk/
Reply
#3
(07-01-2020, 07:24 PM)Zhexue.M Wrote: Hello together,

I use the board and boot the system over microSD - Card.
So, how can I use the internal eMMC for SWAP or tmp - directory.

What is the name of device?   Huh

Best regards



Zhéxué M.

Hi Zhéxué,

You can find eMMC here: "/dev/mmcblk1"

And following is the sample steps to enable swap at eMMC:

Step 1:
sudo mkdir /media/linaro/emmc

Step 2: edit /etc/fatab
sudo vi /etc/fstab
and add below
Code:
      /dev/mmcblk1p1  /media/linaro/emmc           ext4        defaults      1      1

Step 3: Mount file systems

sudo mount -a

Stes 4: Print system's mounted point
df

Step 5: Then you can edit or create the swap file path, size via config "/etc/dphys-swapfile".

sudo vi /etc/dphys-swapfile
Code:
CONF_SWAPFILE=/media/linaro/emmc/swap
CONF_SWAPSIZE=1000
//1000 (unit is MB)

Step 6: Restart the swap service
sudo service dphys-swapfile restart

Step 7.  Show results and confirm it
sudo swapon
Result would like:
Code:
$ sudo swapon
NAME                    TYPE  SIZE USED PRIO
/var/swap               file  100M   0B   -1
/media/linaro/emmc/swap file 1000M   0B   -2

Thank you for your question, as our new forum is online now, if you have any further questions, please join us on the new site.
https://tinker-board.asus.com/forum/
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)