diff --git a/FunKey/board/funkey/boot.cmd b/FunKey/board/funkey/boot.cmd index 7fec8e9..7f94312 100644 --- a/FunKey/board/funkey/boot.cmd +++ b/FunKey/board/funkey/boot.cmd @@ -1,4 +1,4 @@ -setenv bootargs console=ttyS0,115200 panic=5 rootwait fbcon=map:10 fbcon=font:VGA8x8 root=/dev/mmcblk0p2 earlyprintk rootfstype=ext4 rootflags=commit=120,data=writeback,barrier=0,journal_async_commit rw +setenv bootargs console=ttyS0,115200 panic=5 rootwait fbcon=map:10 fbcon=font:VGA8x8 root=/dev/mmcblk0p2 earlyprintk rootfstype=ext4 rootflags=commit=120,data=writeback,barrier=0,journal_async_commit rw resume=/dev/mmcblk0p2 resume_offset=88064 hibernate=nocompress load mmc 0:1 0x41000000 uImage load mmc 0:1 0x41800000 sun8i-v3s-funkey.dtb bootm 0x41000000 - 0x41800000 diff --git a/FunKey/board/funkey/linux.config b/FunKey/board/funkey/linux.config index 9b21ae2..59d935c 100644 --- a/FunKey/board/funkey/linux.config +++ b/FunKey/board/funkey/linux.config @@ -27,6 +27,10 @@ CONFIG_CPUFREQ_DT=y CONFIG_VFP=y CONFIG_NEON=y # CONFIG_COREDUMP is not set +CONFIG_HIBERNATION=y +CONFIG_PM_STD_PARTITION="/dev/mmcblk0p2" +CONFIG_PM_DEBUG=y +CONFIG_PM_ADVANCED_DEBUG=y CONFIG_NET=y CONFIG_PACKET=y CONFIG_UNIX=y