The ConnectCore MP13 SOM variant included in the development kit has the following specifications:

Number of cores

1

RAM size

256MB

Digi offers the ConnectCore MP13 SOM in different configurations, typically with different number of cores and RAM memory size. This topic explains how you can simulate a variant with fewer cores and/or less RAM memory and verify how well it performs for your application.

Simulate a smaller RAM size

You can check the current RAM size by looking at the kernel boot messages:

# dmesg | grep -i memory
[    0.000000] Reserved memory: created CMA memory pool at 0x0000000096000000, size 640 MiB
[    0.000000] Early memory node ranges
[    0.000000] Memory: 1188060K/2015232K available (14652K kernel code, 1050K rwdata, 4584K rodata, 2496K init, 1035K bss, 171812K reserved, 655360K cma-reserved)
[    0.140943] No USDPAA memory, no 'fsl,usdpaa-mem' in device-tree
[    3.668498] Freeing unused kernel memory: 2496K

You can use the kernel command line argument mem=size to limit the amount of RAM memory available to Linux. For example, to limit the RAM memory to 512 MB, append the following to the environment variable extra_bootargs:

=> env edit extra_bootargs
edit: mem=512M
If you want to keep this setting across reboots, save the environment with saveenv.

Boot Linux with this configuration and verify the available memory:

# dmesg | grep -i memory
[    0.000000] Memory limited to 512MB
[    0.000000] Reserved memory: created CMA memory pool at 0x000000009a000000, size 96 MiB
[    0.000000] Early memory node ranges
[    0.000000] Memory: 196060K/444416K available (14652K kernel code, 1050K rwdata, 4584K rodata, 2496K init, 1035K bss, 150052K reserved,98304K cma-reserved)
[    0.123944] No USDPAA memory, no 'fsl,usdpaa-mem' in device-tree
[    3.608580] Freeing unused kernel memory: 2496K