Page 1 of 1

nand space luckfox pico max partition information /dev/shm

Posted: 2024-02-22 18:37
by cttelegram
df -h
Filesystem Size Used Available Use% Mounted on
ubi0:rootfs 100.7M 88.6M 12.1M 88% /
devtmpfs 10.0M 0 10.0M 0% /dev
tmpfs 49.6M 52.0K 49.6M 0% /run
shm 124.0M 0 124.0M 0% /dev/shm
tmpfs 10.0M 1.3M 8.7M 13% /var/tmp/dati

hi, I have nand memory used for 88%, it starts from memory and used by 124.0M 0% /dev/shm, if I install other software packages could I have problems? Is this partition automatically resized by the system?
thanks for your help

Re: nand space luckfox pico max partition information /dev/shm

Posted: 2024-02-23 1:32
by Eng38
Hello,

/dev/shm is a temporary memory file system (tmpfs), and its contents will be cleared when the system is restarted. It is mounted in memory, not on the storage device. Therefore, you cannot allocate space in /dev/shm directly to the / file system (ubi0:rootfs).

If your / file system is full, you may want to consider freeing up some space, deleting unnecessary files or moving files to another location to make room.

Re: nand space luckfox pico max partition information /dev/shm

Posted: 2024-02-23 17:26
by cttelegram
thanks for your answer.
how can I do ?
I'm supposed to have SPI NAND FLASH (256MB pico max) but it seems like I've only taken up half the memory 100.7M?
ubi0:rootfs 100.7M 88.6M 12.1M 88% /

what am I missing?

Re: nand space luckfox pico max partition information /dev/shm

Posted: 2024-02-26 8:17
by Eng38
The image burned from the Google Drive link shows a total memory of approximately 186 MB.
企业微信截图_1708935141769.png
Additionally, if the camera or RKNN inference is not used, it is possible to free up operational memory by modifying it from 66 MB to 1 MB.
企业微信截图_17089352077667.png