Swap partition creation
Hi all,
How can I create swap partition in STM32MP1?
Previously I did get an answer to how to increase the rootfs size. Any guidance on this will be highly appreciated.
TIA
Hi all,
How can I create swap partition in STM32MP1?
Previously I did get an answer to how to increase the rootfs size. Any guidance on this will be highly appreciated.
TIA
A swap partition is a good idea when you have a real hard-disk or a fast SSD that includes an internal cache.
With SD card or simple flash devices (NAND, SPI, ...) I expect that the write speed will not give you the performance you would expect.
Plus the limited write/erase cycles of flash devices could impact its life-time, when used too often as swap.
Nevertheless if your need is to just use the cache in some "special" and "limited" case, it could still be interesting to turn swap on.
But I don't have clear what is your need?
Some command to create a swap partition from command-line? Or change the flash partition to include a swap when you re-flash the board?
And which storage you plan to use? Hard-disk, SD card, ...?
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.