Hello, i am using a Verdin IMX8M mini on my personnal carrier board, everything works fine except i have some memory problem with my SoM.
I use the “light” version with 4GB flash memory and i can’t deploy my python program because of
1 error occurred: * failed to register layer: Error processing tar file(exit status 1): write /usr/bin/aarch64-linux-gnu-lto-dump-12: no space left on device
I did modify my torizon os image in order to multiplex some pins of my SoM :
input:
easy-installer:
local: images/torizon-core-docker-verdin-imx8mm-Tezi_6.4.0+build.5.tar
customization:
splash-screen: he-arc-splash-screen.png
device-tree:
# >> Directories where to look for include files.
include-dirs:
- linux/include/
# >> Custom device tree source:
custom: linux/arch/arm64/boot/dts/freescale/imx8mm-verdin-nonwifi-dev.dts
# >> Device-tree overlays configuration:
overlays:
add:
- device-trees/overlays/verdin-imx8mm_spidev_overlay.dts #ajout de spidev
- device-trees/overlays/verdin-imx8mm_disable_can1.dts
- device-trees/overlays/verdin-imx8mm_extra_gpios_overlay.dts #ma modif du device tree
output:
easy-installer:
# >> Output directory of the customized image (REQUIRED):
local: torizon-core-docker-verdin-imx8mm-Tezi_6.4.0.CUSTOM6>
if i use the command “df” on my SoM :<
df
Filesystem 1K-blocks Used Available Use% Mounted on
tmpfs 498592 19708 478884 4% /run
devtmpfs 474312 0 474312 0% /dev
/dev/disk/by-label/otaroot 3616848 3210140 202524 95% /sysroot
tmpfs 498592 0 498592 0% /dev/shm
tmpfs 4096 0 4096 0% /sys/fs/cgroup
tmpfs 498596 0 498596 0% /tmp
tmpfs 498592 8 498584 1% /var/volatile
tmpfs 99716 0 99716 0% /run/user/1000>
and if i try to see which container / images are using my memory with :
docker ps -a --size
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES SIZE
037acdd28040 torizon/weston-vivante “/usr/bin/entry.sh” 8 minutes ago Created torizon-weston-1 0B (virtual 515MB)
71f47f8bea0a portainer/portainer-ce “/portainer --templa…” 8 minutes ago Created torizon-portainer-1 0B (virtual 267MB)>
if i try :
docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
torizon/weston-vivante 9d4b328d55ca 4 months ago 515MB
portainer/portainer-ce ada025d39772 10 months ago 267MB
torizon/chromium cb7ac4913734 16 months ago 609MB>
i can’t understand why i have those 3 images : weston-vivante + portainer-ce + chromium, i don’t need them and i don’t know how they allways come back on my SoM.
I use the template of an python application proveded by you, i am just trying to use some I/O, PWM, SPI etc…
i know that i took the torizon OS with example containers when i first installed my SoM OS but since i created a personnalized images with torizonCore builder and deployed sucessfully on my SoM it should have remplaced it ?
Thank your for your help !