Talk:Raspberry Pi/Quick Install Guide
Before creating a discussion or leaving a comment, please read about using talk pages. To create a new discussion, click here. Comments on an existing discussion should be signed using
~~~~
:
A comment [[User:Larry|Larry]] 13:52, 13 May 2024 (UTC) : A reply [[User:Sally|Sally]] 18:23, 8 October 2024 (UTC) :: Your reply ~~~~
Changed downloadable tarball http address for Raspberry Pi B+
The right link is: http://gentoo.osuosl.org/releases/arm/autobuilds/current-stage3-armv6j_hardfp/stage3-armv6j-20160326.tar.bz2 --Best, Pál (talk) 18:48, 3 October 2016 (UTC)
Keeping ntp-client command in install guide
The command "rc-update add ntp-client default" has been removed and replaced with a link to the relevant ntp config page, which is fair enough. However for the typical installed, especially a beginner, this command is pretty much essential. Otherwise you end up with the magical 1 January 1970. I know for 99% of the Gentoo RPi that I install will need this service. Any objections? Baldy (talk) 19:52, 10 February 2013 (UTC)
- A fix was provided (Special:Diff/13277). --Blacki (talk) 03:13, 15 July 2022 (UTC)
Moving "Cross building" to its own page
We now have a very comprehensive section on distcc and cross building, I think it needs its own page.
- People may already have gentoo running on there RPi and just looking to setup distcc
- Not everyone will want to setup distcc, its not essential.
Of course we can leave a description of it and link to the page. Baldy (talk) 19:52, 10 February 2013 (UTC)
- A fix was provided (Special:Diff/13385). --Blacki (talk) 03:47, 15 July 2022 (UTC)
Root password reset
Just tried this howto, everything went fine except the root reset password by editing /etc/shadow, I fixed it by copying the shadow password for root from my laptop. mamac (talk) 23:23, 16 April 2013 (UTC +2)
naming of the network interface
Isn't eth0 still valid ? — The preceding unsigned comment was added by Toralf (talk • contribs) 13:59, 28 August 2013
- The name of a network interface can change. Recent udev versions have different name schema. YMMV. --Grknight (talk) 19:55, 8 November 2018 (UTC)
Why not merge this page to Raspberry Pi
Both seem on the same topic, about the gentoo installation on raspberry pi. Why not merge them? AleiPhoenix (talk) 15:24, 5 September 2013 (UTC)
- Different ways to do the same task so worth keeping both.
- Immolo (talk) 10:18, 7 September 2023 (UTC)
Installing gentoo headless
I installed gentoo on my raspberry pi without a display and input devices. I had to bring forward some steps before unmounting the SD:
- Add net.eth0 to default runlevel
- Add sshd to default runlevel
- set root password
Should something like this be added? Should it be under notes or an extra point? jo77ah 14:40 13 July 2015 (UTC +2)
Raspberry Pi 2 B Changes
With regard to Raspberry Pi 2 B there are some changes that should be put into the documentation, some of them related only to RPi2B and some also affect current installation:
- it is Cortex-A7 which is arm7a arch
- raspberrypi/firmware/boot now contains kernel.img and kernel7.img (idk if kernel7.img is picked up automatically or it must be specified in config.txt, i did not test that)
- raspberrypi/modules now contains two directories, at this moment these are 4.1.15+ and 4.1.15-v7+
- overclocking information is missing for armv7 (good information can be found for example in this article and the discussion below: http://haydenjames.io/raspberry-pi-2-overclock/)
— The preceding unsigned comment was added by Fordfrog (talk • contribs) 2 January 2016
New OpenSSH And Remote root Login Problem
With new OpenSSH one of the default configuration parameters prevents being able to log in as root to the box: PermitRootLogin prohibit-password It should be changed to "yes" instead, at least for the first remote root login.
— The preceding unsigned comment was added by Fordfrog (talk • contribs) 2 January 2016
Using force_turbo=1 Might Void Warranty
According to this article http://haydenjames.io/raspberry-pi-2-overclock/ using force_turbo=1 might void warranty. In the discussion there is written that it voids the warranty when combined with overclocking. — The preceding unsigned comment was added by Fordfrog (talk • contribs) 2 January 2016
- force_turbo=1 is the same as using the performance CPU governor. Its the overclocking/overvolting that sets the warranty bit.
- --NeddySeagoon (talk) 11:07, 8 March 2017 (UTC)
- A fix was provided (Special:Diff/856625). --Blacki (talk) 05:08, 15 July 2022 (UTC)
Splitting Memory
It should mention that for graphical environments gpu_mem should be higher (on RPi2B 256+?) and on headless it can go down to 16. — The preceding unsigned comment was added by Fordfrog (talk • contribs) 2 January 2016
- This is not simple any more. The gpu_mem is only used by the original graphics driver. The open source vc4 driver uses the CMA provided by the kernel. Setting a high gpu_mem when the vc4 driver is in use reserves RAM for the GPU that it will never use.
- --NeddySeagoon (talk) 11:07, 8 March 2017 (UTC)
Raspberry Pi's firmware: config file of the kernel?
So, one can get the precompiled kernel binaries from: git://github.com/raspberrypi/firmware/
and just copy it to /boot/ directory on microSD card.
But, what if one want to know what are the included options for this kernel? There is no config file at all, right? Where can one find this config file? --Best, Pál (talk) 18:58, 9 May 2016 (UTC)
- The config is included as a loadable module.
- modprobe configs
- Then /proc/config.gz appears
- --NeddySeagoon (talk) 11:07, 8 March 2017 (UTC)
CPU Governor
Under install kernel and modules should the page describe how to change the CPU Governor. As distributed, it defaults to powersave. Thats not good for build performance. On the basis that this is a quick install guide. It could just be a note to users.
There are thermal implications of using ondemand or performance.
--NeddySeagoon (talk) 11:07, 8 March 2017 (UTC)
- The article already explained how to change the CPU governor in Raspberry_Pi/Quick_Install_Guide#Optional_cpupower. --Blacki (talk) 05:35, 15 July 2022 (UTC)
WiFi Setup (chroot)
For PiZeroW1 and PiZero2, getting networking up requires some work, since the SoC only has WiFi. Borrowing from the AMD64 instructions, this requires a chroot operation. After step 3.5 (clear password), enter a chroot as follows:
- Create a
/mnt/gentoo/lib/firmware
directory when prepping the SD card - Download wifi-firmware tarball from https://github.com/RPi-Distro/firmware-nonfree
- Extract bcrm firmware:
tar -xzvf rpi-brcm-bullseye.tar.gz -C /mnt/gentoo/lib/firmware --strip-components=4 firmware-nonfree-bullseye/debian/config/brcm80211/brcm
- Extract cypress firmware:
tar -xzvf rpi-brcm-bullseye.tar.gz -C /mnt/gentoo/lib/firmware --strip-components=4 firmware-nonfree-bullseye/debian/config/brcm80211/cypress
- Copy the DNS info over, following step 1.2 in the AMD64 instructions
- Set mountpoints for /dev,/proc,/sys,/tmp, and /run following step 1.3 in the AMD64 instructions
- Enter chroot following step 1.4 in the AMD64 instructions
- Sync emerge in chroot (~40min):
emerge --sync --quiet
- Select your emerge profile using
eselect profile list
andeselect profile set ...
- Move to protage distdir directory:
cd $(portageq distdir)
- Find the required URLs for wpa_supplicant tarballs:
emerge --fetchonly --pretend wpa_supplicant
- Use wget to download the tarballs:
wget <http://url1> <http://url2> <http://url3>
- Exit chroot, shutdown the host OS, and boot your new Gentoo SD
Then once booted into Stage3 bring up wlan0
- Set the local date/time:
date --set="YYYYMMDD HH:MM"
- Install wpa_supplicant with
emerge wpa_supplicant
- Configure wpa_supplicant as described in step 2 of the AMD64 instructions
- Continue with step 4 of the ARM instructions taking care to replace references to eth0 with wlan0
BriandDK (talk) 21:39, 9 November 2023 (UTC)
Select Profile require a previous emerge sync
Step 4.3 (select profile) fails since no previous emerge --sync
operation has not yet been performed. An emerge --sync
operation needs to be done previously, either in a chroot, before booting Stage3, or immediately after bringing the network up.
BriandDK (talk) 22:20, 9 November 2023 (UTC)
Missing bcm2708-rng
Step 7.2 (load bcm2708-rng) fails since bcm2708-rng
doesn't appear to be in either the RPi firmware repo or the Stage3 tarball
BriandDK (talk) 02:17, 10 November 2023 (UTC)
Preparing the SD Card
> The Raspberry Pi boots off a FAT32 /boot partition. It will also require root and swap partitions.
A swap partition is NOT required. A swap file will do nicely instead, and gets the user to a booted system faster. It can also be resized much easier than a swap partition.
See the Swap#Swap_files_page.