User:Rebeltrouper/Raspberry Pi4 and PI400 64 bit install

Overview
The raspberry pi 4 increase in power has made it a popular choice for specific tasks. These can include hosting servers, samba share, streaming devices, and many more. The main problem is the weak hardware of the raspberry pi when compared to amd64 cpus. The main point of this guide is to install gentoo on a raspberry pi using crossdev and qemu to speed up the compiling process for bootstrapping. Then set up a binhost so that your pi so that it can download from you amd64 computer. Finally setting up X in your pi to show off.

This process will be bootstrapping a gentoo install from a stage2 that you create. Some additional steps will be outlined in making it a stage3 then a stage4. This will be more for an advanced user as certain things can go weird. If you want the easiest way to install and slow way to install gentoo will be listed later on.

Install crossdev on the PC
An initial set up for the pi is needed in order for it to boot. The PI will need a toolchain in order to build the rest of the system. Crossdev creates a toolchain on your main amd64 computer to cross-compile the code into aarch64/arm64 executable code. This will give a major speed boost over trying to do this on the pi itself and should be the main attempt in install and maintain the pi.