Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Architectures & Platforms Gentoo on ARM
  • Search

You can now install gentoo on NanoPi R4S and NanoPi R2S.

Gentoo on all things ARM. Both 32 bit and 64 bit.
Tell about your hardware and CHOST.
Problems with crossdev targeting ARM hardware go here too.
Post Reply
  • Print view
Advanced search
2 posts • Page 1 of 1
Author
Message
crocket
Guru
Guru
Posts: 558
Joined: Sat Apr 29, 2017 2:12 pm

You can now install gentoo on NanoPi R4S and NanoPi R2S.

  • Quote

Post by crocket » Thu Sep 23, 2021 4:01 am

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!!!!
Top
sdauth
l33t
l33t
User avatar
Posts: 770
Joined: Wed Sep 19, 2018 2:48 am
Location: Ásgarðr

Re: You can now install gentoo on NanoPi R4S and NanoPi R2S.

  • Quote

Post by sdauth » Sun Aug 31, 2025 4:28 pm

crocket wrote:https://github.com/palacaze/gentoo-nanopi-r4s
Very useful guide, thanks!
Sorry to resurrect this thread but I was looking for tips or advice for installation for the r4s.
From what I understand, it is now possible to use mainline and u-boot without patches or workaround.
Since my main desktop is not that powerful to run qemu aarch64 comfortably (and I was lazy to setup crossdev again), I installed armbian on a sd card and chrooted to a gentoo stage3 directly via ssh.
I'm currently compiling @world. It is much faster than my previous (failed) experiment with a beaglebone, the 4GB of ram helps also. I'm almost at gcc compilation... 8O (hopefully 4GB of swap is enough, I think it should be just fine with -lto & -pgo though)
The temp was quite high (60c) so I added a little fan temporarily, it is now between 40-45c with all threads busy.
Also I t took the 5.10 config from the guide and ran syncconfig to update it with gentoo-sources-6.12.41. I didn't modify much except remove raid support, video etc... Maybe more later but the more important is that it boots at least once :lol:
I wonder if it is possible to boot from an usb device instead of the sd card... Maybe I can just keep the armbian sd with the installed bootloader and somehow tweak it to boot from usb instead. (I'll update this post later)
Top
Post Reply
  • Print view

2 posts • Page 1 of 1

Return to “Gentoo on ARM”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy