Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Gentoo on ARM
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on ARM
View previous topic :: View next topic  
Author Message
kyleighterry
n00b
n00b


Joined: 25 Sep 2024
Posts: 1

PostPosted: Wed Sep 25, 2024 8:22 am    Post subject: Gentoo on ARM Reply with quote

Has anyone tried Gentoo on ARM or RISC-V? If so, how easy is it to install Gentoo, relative to installing Gentoo on x86_64 architectures?

I have what is essentially an android TV box that I want to run Linux on. It’s an SoC that doesn’t have much info about it. I wondered if it’s worth it to use Gentoo to compile applications for it from source since it has such limited support relative to other TV boxes. I would probably just be using it as a mini server anyway. Thoughts?
Back to top
View user's profile Send private message
Banana
Moderator
Moderator


Joined: 21 May 2004
Posts: 1755
Location: Germany

PostPosted: Wed Sep 25, 2024 9:19 am    Post subject: Reply with quote

Moved from Installing Gentoo to Gentoo on ARM.
_________________
Forum Guidelines

PFL - Portage file list - find which package a file or command belongs to.
My delta-labs.org snippets do expire
Back to top
View user's profile Send private message
pingtoo
Veteran
Veteran


Joined: 10 Sep 2021
Posts: 1269
Location: Richmond Hill, Canada

PostPosted: Wed Sep 25, 2024 1:59 pm    Post subject: Reply with quote

I have both ARM and RISCV box with Gentoo.

The stage3 tarball work.

However you will need to know how to get Kernel for your hardware. ARM most likely work even with mainline kernel. RISCV you most likely need BSP.

You most likely need to have box Device Tree(DT) or else kernel will not work.

I use ARM as my primary workstation, the RISCV box just a toy to play to see how much I can get it going. ARM box can be use for daily drive however building Gentoo it is better off if you have more than a few so you can utilize CPU and RAM of all nodes on network.

I think you better think through why you need Gentoo on the box. It is OK to just for learning. but if you expect much higher function than you need to be patient, you need a lot of time to research and re-try.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54586
Location: 56N 3W

PostPosted: Wed Sep 25, 2024 3:33 pm    Post subject: Reply with quote

kyleighterry,

Welcome to Gentoo.

These TV sticks often have binary blob kernel modules, so building to own kernel is not an option.
ARM SoCs all have weird and wonderful ways of booting. Its easy to 'brick' the device trying to update the boot code.
You will need JTAG to unbrick it. That won't be documented either.

As you say, ARM TV sticks don't have much documentation.

If this is to be your first Gentoo install, it's a bad place to start.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 10656
Location: Somewhere over Atlanta, Georgia

PostPosted: Wed Sep 25, 2024 5:22 pm    Post subject: Reply with quote

Hi, kyleighterry.

One more point. Almost all contemporary Android TV SoCs have hardware-anchored secure boot features enabled. It's likely that you won't have access to the signing keys to get an image to load on the platform. So it may not be just an ill-advised first Gentoo project, but practically impossible.

- John
_________________
I can confirm that I have received between 0 and 499 National Security Letters.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on ARM All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum