Commit 9814d638 authored by carbon's avatar carbon

support swap partition

activate the swap partition:

mkswap /dev/mmcblk0p3
swapon /dev/mmcblk0p3

run command 'free -h' to check if the swap partition has been activated.
parent 7b7afd97
# CONFIG_SWAP is not set CONFIG_SWAP=y
CONFIG_SYSVIPC=y CONFIG_SYSVIPC=y
CONFIG_POSIX_MQUEUE=y CONFIG_POSIX_MQUEUE=y
CONFIG_NO_HZ_IDLE=y CONFIG_NO_HZ_IDLE=y
......
...@@ -30,4 +30,9 @@ image milkv-duo.img { ...@@ -30,4 +30,9 @@ image milkv-duo.img {
partition-type = 0x83 partition-type = 0x83
image = "rootfs.ext4" image = "rootfs.ext4"
} }
partition empty {
partition-type-uuid = 0657fd6d-a4ab-43c4-84e5-0933c84b4f4f
size = 256M
}
} }
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment