How to install linux kernel for NanoPi M4

# modules
sudo cp -a modules /usr/lib/
# resource.img
sudo dd if=resource.img of=/dev/mmcblk0 bs=1M seek=20
# kernel.img
sudo dd if=kernel.img of=/dev/mmcblk0 bs=1M seek=32

Over!