Previously, I gave up on using NanoPi R2S because I couldn't figure out how to compile and install u-boot and linux kernel.
Today, I searched with "gentoo nanopi r4s" as search keywords, and I found
https://github.com/palacaze/gentoo-nanopi-r4s
I don't know how palacaze figured out how to install gentoo linux on NanoPi R4S, but he did it.
I also found gentoo installation instructions for NanoPi Neo3 and NanoPi R2S on
https://wiki.gentoo.org/wiki/Embedded_H ... anoPI/Neo3
NanoPi Neo3 and NanoPi R2S are similar to each other, so this guide can be used for NanoPi R2S, too.
Rejoice! It's time to build a gentoo router!!!!

