Update pi_zero_2_w_Config.md

This commit is contained in:
aiminick 2021-11-15 00:22:51 +08:00 committed by GitHub
parent 5ffe24fbc8
commit fa2477de83
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 0 deletions

View File

@ -49,3 +49,12 @@ Undo the following from cmdline:
cgroup_enable=1 cgroup_memory=1 cgroup_enable=cpuset cgroup_enable=memory swapaccount=1 cgroup_enable=1 cgroup_memory=1 cgroup_enable=cpuset cgroup_enable=memory swapaccount=1
zswap.enabled=1 zswap.zpool=z3fold zswap.compressor=lz4 zswap.max_pool_percent=25 zswap.enabled=1 zswap.zpool=z3fold zswap.compressor=lz4 zswap.max_pool_percent=25
``` ```
#### initrd:
```
rm -rf /boot/initrd.img ; mkinitramfs -o /boot/initrd.img; \
echo 'initramfs initrd.img followkernel' >>/boot/config.txt; \
cat /boot/config.txt|tail -n1 ;\
sync; sync; reboot
```