Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Who is using Gentoo on a Pi?
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
flysideways
Guru
Guru


Joined: 29 Jan 2005
Posts: 501

PostPosted: Fri Feb 15, 2019 4:20 am    Post subject: Who is using Gentoo on a Pi? Reply with quote

Well? Any regular OTW dwellers?
Back to top
View user's profile Send private message
bunder
Bodhisattva
Bodhisattva


Joined: 10 Apr 2004
Posts: 5947

PostPosted: Fri Feb 15, 2019 4:57 am    Post subject: Reply with quote

i believe neddy does, but i'm not sure how often he frequents otw.
_________________
Neddyseagoon wrote:
The problem with leaving is that you can only do it once and it reduces your influence.

banned from #gentoo since sept 2017
Back to top
View user's profile Send private message
Dr.Willy
Guru
Guru


Joined: 15 Jul 2007
Posts: 547
Location: NRW, Germany

PostPosted: Fri Feb 15, 2019 5:00 pm    Post subject: Reply with quote

I do. RPi 1b.
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20584

PostPosted: Fri Feb 15, 2019 11:26 pm    Post subject: Reply with quote

Moved from Off the Wall to Gentoo Chat.
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
Muso
Veteran
Veteran


Joined: 22 Oct 2002
Posts: 1052
Location: The Holy city of Honolulu

PostPosted: Sat Feb 16, 2019 3:27 am    Post subject: Reply with quote

pjp wrote:
Moved from Off the Wall to Gentoo Chat.


++

Wise.

The only thing I've put on a Pi so far is a light version of Kali. Gentoo seems like an interesting choice, but distcc would seem to be mandatory.
_________________
"You can lead a horticulture but you can't make her think" ~ Dorothy Parker
2021 is the year of the Linux Desktop!
Back to top
View user's profile Send private message
pa4wdh
l33t
l33t


Joined: 16 Dec 2005
Posts: 910

PostPosted: Sat Feb 16, 2019 7:59 am    Post subject: Reply with quote

I'm running Gentoo on my RPi 2B and use it as a NTP server with a GPS receiver, a task for which even the RPi is overpowered :D

Since this is a very, vary basic system most packages are compiled in a tmpfs, just a few (binutils and gcc) are compiled on the sdcard because of their size.
_________________
The gentoo way of bringing peace to the world:
USE="-war" emerge --newuse @world

My shared code repository: https://code.pa4wdh.nl.eu.org
Music, Free as in Freedom: https://www.jamendo.com
Back to top
View user's profile Send private message
Dr.Willy
Guru
Guru


Joined: 15 Jul 2007
Posts: 547
Location: NRW, Germany

PostPosted: Sat Feb 16, 2019 10:22 am    Post subject: Reply with quote

pa4wdh wrote:
Since this is a very, vary basic system most packages are compiled in a tmpfs, just a few (binutils and gcc) are compiled on the sdcard because of their size.

This is my setup aswell. The majority of packages can be compiled in tmpfs, even on the 512mb of the RPi1. Now of course this is a headless system running only various daemons, so naturally the packages are somewhat small. Right now the only packages I compile on the SD are
Code:
dev-lang/perl
dev-lang/python
dev-util/cmake
sys-devel/binutils
sys-devel/gcc
sys-libs/glibc

You do however start to appreciate things written in C or Go over C++.
… and then there's the geniuses writing their server software in java. :roll:

As for distcc, I considered it, but so far I don't see the need for it. Yeah compiling takes ages. So does just resolving all dependencies.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Sat Feb 16, 2019 11:07 am    Post subject: Reply with quote

flysideways,

I do 64 bit Gentoo on Raspberry Pi 3 but I don't follow OTW unless someone posts in the report thread.

I too have an NTP timeserver on one of the first 10,000 Pi Bs with 256MB RAM.
I never got around to doing it in Gentoo, so its still running the downloaded modified Debian.
_________________
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
axl
Veteran
Veteran


Joined: 11 Oct 2002
Posts: 1146
Location: Romania

PostPosted: Sat Feb 16, 2019 3:11 pm    Post subject: Reply with quote

First I should say, I have one pi of each. some more than others. but at least one of each. 1 a and b. 2 2a and 2b (of each). 2 3a and 3 3b. and one zero.

I ran various versions of gentoo on the raspberry pi over the years. Which at some point lost due to one reason or another. either wanted to do something fast and the thing I wanted wasn't compiled in, so had to reinstall a quick raspbian. kept a backup, but who wants to restart from backup. so restarted it from scratch.

Which is what i've been working for a few weeks on. I made a 32 bit image for armv7 and upwords. it will not work on the platforms that have only one core, but will work on any of the multicore ones. it has the unstable branch, so gcc 8.2.0. clang and llvm. kodi. omxplayer. the raspbian userland. lxde|xfce|openbox. it also includes static versions of qemu-system-arm. which means you can chroot in it as if it was amd64. crossdev and x64 toolchain as I am entertaining the idea of a cluster of 8 pi's to compile distcc code for x64, because they are low powered. dosbox, wine ofc. the ps2 emulator. I never got to try it, but I can't wait to actually try it. basically all I have seen and liked in others oses, i tried to make with gentoo. for a pi. I had to settle for armv7 because armv6j can't do most of the stuff, and aarch64 can't do it either because it can't use the mmal. whatever. maybe I'll figure out how to run kodi in aarch64, but atm, since that is not easily doable, i did armv7.

and I'm thinking to provide this for everybody. if they choose to try it.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Sat Feb 16, 2019 4:51 pm    Post subject: Reply with quote

Moved from Gentoo Chat to Gentoo on ARM.

Its one of these now.

Kodi on 64 bit Pi3 B doesn't quite work without frame dropping.
My test sequence is the opening of the Good the Bad and the Ugly, where the dog walks across a long shot from right to lef..

The Pi 3B+, which is 200MHz faster, if you can keep it cool, is just about good enough. That's without mmal too.
mmal is coming to 64 bit Pi real soon now.
_________________
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
axl
Veteran
Veteran


Joined: 11 Oct 2002
Posts: 1146
Location: Romania

PostPosted: Sat Feb 16, 2019 5:04 pm    Post subject: Reply with quote

NeddySeagoon wrote:
Moved from Gentoo Chat to Gentoo on ARM.

Its one of these now.

Kodi on 64 bit Pi3 B doesn't quite work without frame dropping.
My test sequence is the opening of the Good the Bad and the Ugly, where the dog walks across a long shot from right to lef..

The Pi 3B+, which is 200MHz faster, if you can keep it cool, is just about good enough. That's without mmal too.
mmal is coming to 64 bit Pi real soon now.


yeah it's 1.6 instead of 1.4.

but in terms of software, the armv7a can run most software. video stuff. aarch64 does some things better. and all the while, at one point, i will have to do again armv6j arch as well. pi zero needs love too. but this image I'm working on, swiss army knife of an image, is armv7 oriented. kernel 5.0p6 :).

One more thing. Raspberry pi comes with noobs. New Out Of Box Software. an installer that allows you to install stuff from the internet. I love the upgrade. PINN. PINN Is Not Noobs. in contrast to noobs, pinn allows you to install or boot more than one os. it is effectively like a grub for raspberry pi. when you could choose at boot what version of os you want to boot. also has a recovery mode and edit mode where you can just edit config.txt and cmdline.txt. just like grub. it's effectively a software mode boot loader. very useful.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Sat Feb 16, 2019 5:10 pm    Post subject: Reply with quote

axl,

See Sakaki's Bootable 64-bit RPi3 Gentoo image (OpenRC/Xfce/VC4) UPDATED and help yourself from my arm64 binhost too.
_________________
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
axl
Veteran
Veteran


Joined: 11 Oct 2002
Posts: 1146
Location: Romania

PostPosted: Sat Feb 16, 2019 5:16 pm    Post subject: Reply with quote

I have that installed on my usb2sata adaptor. I have a 120 GB ssd connected to one of my raspberry pi 3b+, booting from usb, with pinn, and with fedora, kali, raspbian, libreelec, gentoo from sakaki, my gentoo, etc. that's what I'm saying.

Code:

/dev/sdb1: SEC_TYPE="msdos" LABEL_FATBOOT="RECOVERY" LABEL="RECOVERY" UUID="00A6-2211" TYPE="vfat" PARTUUID="b4564bf6-01"
/dev/sdb2: LABEL="swap" UUID="1f85d164-7178-404a-a48c-ce045f7c8ccf" TYPE="swap" PARTUUID="b4564bf6-02"
/dev/sdb5: LABEL="SETTINGS" UUID="4a800964-0020-4f4c-857f-8199756a9a40" TYPE="ext4" PARTUUID="b4564bf6-05"
/dev/sdb6: LABEL_FATBOOT="BOOT-ARCH" LABEL="BOOT-ARCH" UUID="7A8A-BEA7" TYPE="vfat" PARTUUID="b4564bf6-06"
/dev/sdb7: LABEL="root-arch" UUID="dc484828-3bea-4351-a6e1-ac8d521b7158" TYPE="ext4" PARTUUID="b4564bf6-07"
/dev/sdb8: LABEL_FATBOOT="BOOT-FEDORA" LABEL="BOOT-FEDORA" UUID="7B47-3A3E" TYPE="vfat" PARTUUID="b4564bf6-08"
/dev/sdb9: LABEL="root-fedora" UUID="5121e81c-b7a7-4137-bb68-f76318fc50cc" TYPE="xfs" PARTUUID="b4564bf6-09"
/dev/sdb10: LABEL_FATBOOT="BOOT-GENTOO" LABEL="BOOT-GENTOO" UUID="7C32-7CAC" TYPE="vfat" PARTUUID="b4564bf6-0a"
/dev/sdb11: LABEL="root-gentoo" UUID="96e942c4-513c-46d7-90ba-cfefe0753c92" TYPE="ext4" PARTUUID="b4564bf6-0b"
/dev/sdb12: LABEL_FATBOOT="BOOT-KALI" LABEL="BOOT-KALI" UUID="7D46-4891" TYPE="vfat" PARTUUID="b4564bf6-0c"
/dev/sdb13: LABEL="root-kali" UUID="0a18e4e5-2283-4cd8-86c7-88b6bc7ea6e2" TYPE="ext4" PARTUUID="b4564bf6-0d"
/dev/sdb14: LABEL_FATBOOT="BOOT-KODI" LABEL="BOOT-KODI" UUID="7E95-FC19" TYPE="vfat" PARTUUID="b4564bf6-0e"
/dev/sdb15: LABEL="data-kodi" UUID="70ab4c75-b682-48c8-ada6-84c5c775fa04" TYPE="ext4" PARTUUID="b4564bf6-0f"
/dev/sdb16: LABEL_FATBOOT="BOOT-REMOTE" LABEL="BOOT-REMOTE" UUID="8043-D64E" TYPE="vfat" PARTUUID="b4564bf6-10"
/dev/sdb17: LABEL_FATBOOT="BOOT-RETRO" LABEL="BOOT-RETRO" UUID="8130-1C36" TYPE="vfat" PARTUUID="b4564bf6-11"
/dev/sdb18: LABEL="root-retro" UUID="933cc232-e486-42e8-86ad-3215712bb09e" TYPE="ext4" PARTUUID="b4564bf6-12"
/dev/sdb19: LABEL_FATBOOT="BOOT-DS" LABEL="BOOT-DS" UUID="833D-25F0" TYPE="vfat" PARTUUID="b4564bf6-13"
/dev/sdb20: LABEL="root-ds" UUID="d2306ee9-d77f-487e-8c63-d8e2ee4ac88c" TYPE="xfs" PARTUUID="b4564bf6-14"


boot gentoo and root gentoo is sakaki's gentoo. mine is boot ds root ds. :)
Back to top
View user's profile Send private message
flysideways
Guru
Guru


Joined: 29 Jan 2005
Posts: 501

PostPosted: Sat Feb 16, 2019 6:32 pm    Post subject: Reply with quote

NeddySeagoon wrote:
flysideways,

I do 64 bit Gentoo on Raspberry Pi 3 but I don't follow OTW unless someone posts in the report thread.

I too have an NTP timeserver on one of the first 10,000 Pi Bs with 256MB RAM.
I never got around to doing it in Gentoo, so its still running the downloaded modified Debian.


NeddySeagoon,

The short version; you, Sakaki, and others that have contributed to the rpi_64, are due some recognition. I have little time to play around with Gentoo anymore, and it was never more than an escape. Now, in the time it takes to do a load of laundry, I can have a usable 64 bit Raspberry Pi 3 B+. Again, Thanks.

A long time ago I bought a serial modem so I could try out this Gentoo stuff. Never got past a command line install and didn't really have any use for it, but it was interesting. When I finally got cable access to the web I progressed a bit farther. That was building on an Athlon 1200.

I have had Pi 2 B's, 3 B's, and now the 3 B+. I never tried Gentoo on any of them but I have occasionally followed what you all were posting and thought it was time to jump in. I am quite pleased. The 6 or so hours for an update are nothing compared to the weeks I had previously spent building and maintaining systems before.


Last edited by flysideways on Sat Feb 16, 2019 6:39 pm; edited 1 time in total
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Sat Feb 16, 2019 6:37 pm    Post subject: Reply with quote

flysideways,

I recall the kernel alone taking several hours to download over a serial modem. :)
I didn't start Gentoo until a few months after I got 512k broadband in 2002.
_________________
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
Etal
Veteran
Veteran


Joined: 15 Jul 2005
Posts: 1932

PostPosted: Sun Feb 17, 2019 2:58 am    Post subject: Reply with quote

My original 256MB ARMv6 Pi is running a Gentoo CUPS server to share two USB printers over the network. And I squeezed it onto an old 1GB sdcard.
Code:
$ df -h
Filesystem      Size  Used Avail Use% Mounted on
/dev/root       866M  704M  101M  88% /
devtmpfs         10M     0   10M   0% /dev
tmpfs            24M  208K   23M   1% /run
shm             116M     0  116M   0% /dev/shm
cgroup_root      10M     0   10M   0% /sys/fs/cgroup
$ free -m
              total        used        free      shared  buff/cache   available
Mem:            231          18         134           0          77         203
Swap:             0           0           0

I "cheated" a little, though. I built the packages in a chroot on a CubieTruck (also running Gentoo), with the help of my amd64 PC through distcc.
_________________
“And even in authoritarian countries, information networks are helping people discover new facts and making governments more accountable.”– Hillary Clinton, Jan. 21, 2010
Back to top
View user's profile Send private message
Sakaki
Guru
Guru


Joined: 21 May 2014
Posts: 409

PostPosted: Wed Feb 20, 2019 12:11 am    Post subject: Reply with quote

Hello,

Coming to this thread a little late as I have been busy with other stuff recently, but as is covered (in painful detail ^-^) in the sticky NeddySeagoon linked to above, I currently maintain an (unofficial!) bootable arm64 OpenRC Gentoo image for the RPi3 B/B+, available on GitHub here (also available on PINN, thanks to procount, where it is called "Gentoo64"). This has been through quite a few iterations now, but was built out originally on a system following the urtext of Neddy's excellent tutorial.

It comes bundled with a reasonable set of pre-built software (libreoffice, firefox quantum, chromium, kodi, vlc etc), runs Xfce4 with some VC4 acceleration (vc4-{f,}kms-v3d) and is backed by a weekly-autobuild binhost (here), to lessen the maintenance burden. NeddySeagoon also maintains his own binhost (here) which often has more cutting-edge ebuilds available.

The image uses an overlay (here) which provides a number of RPi3-specific services etc. This repo also provides a custom Gentoo profile (here ff) which is used to maintain the various arm64 USE flags, ACCEPT_KEYWORDS settings etc. required to get a clean build. A weekly[1] gated mirror of the main Gentoo tree is also provided (here), to ensure that users of the binhost get a high hit rate (as they will not 'see' version bumps to large packages like libreoffice until the build server has created a tbz2, I have at done at least a preliminary test of it, and the tbz2 has been pushed to the binhost).

There's also an associated wiki (here) with details about setting up distcc / crossdev, running a user-mode QEMU binfmt_misc chroot, etc. for those interested.

The project started as a way of sharing the system I wanted to run on an RPi3 myself, and thought would be useful to a few others, but has had a surprising level of take-up: over 15k downloads[2] and 250 GitHub stars to date. For many of those users, it appears to be their first experience of Gentoo, and indeed on a personal level, my hope for this project - and the reason I'm still maintaining it - is that it might just encourage some of them to try Gentoo on a PC as their "daily driver" as well ^-^

[1] With the occasional slightly longer pause, as now, when a new image release is in the final stages of prep.
[2] Across project versions; the actual 'distinct user count' will be significantly lower than this, of course.

PS: useful info about Gentoo on the RPi family may also be found on the raspberry pi forums, e.g. here.
_________________
Regards,

sakaki
Back to top
View user's profile Send private message
dsiggi
Tux's lil' helper
Tux's lil' helper


Joined: 28 Aug 2007
Posts: 92
Location: Wilhermsdorf

PostPosted: Tue Feb 26, 2019 8:13 am    Post subject: Reply with quote

Hi,
I'm using gentoo on my RPI 2b as a kodi mediacenter.
It's working like a charm.

If someone needs the ebuild for kodi on gentoo rpi, here's my overlay:
https://github.com/dsiggi/odroidberry

dsiggi
Back to top
View user's profile Send private message
fredbear5150
Tux's lil' helper
Tux's lil' helper


Joined: 11 Oct 2003
Posts: 113

PostPosted: Thu Mar 07, 2019 9:00 am    Post subject: Reply with quote

I've just installed Sakaki's RPi64 build on a Pi 3B and am building Gentoo (slowly) on an original Pi B too. I've got it running nicely on a Banana Pi also.

I've got a whole heap of other SBCs including more Pi's, Tinkerboard, some Orange Pi's, a Nano Pi, Odroid XU4...

I've got an idea to do a YouTube channel called about building and running Gentoo on everything I can so want to build Gentoo on all of these and review/benchmark them.
Back to top
View user's profile Send private message
xaviermiller
Bodhisattva
Bodhisattva


Joined: 23 Jul 2004
Posts: 8723
Location: ~Brussels - Belgique

PostPosted: Thu Mar 07, 2019 9:26 am    Post subject: Reply with quote

I have a RPI 1, first revision. It runs on NFS, and the system is build using a qemu chroot or crossdev on Intel machines.
_________________
Kind regards,
Xavier Miller
Back to top
View user's profile Send private message
salfter
Tux's lil' helper
Tux's lil' helper


Joined: 02 Jan 2003
Posts: 89

PostPosted: Fri Mar 08, 2019 7:15 pm    Post subject: Reply with quote

NeddySeagoon wrote:
I recall the kernel alone taking several hours to download over a serial modem. :)


My first Linux install was from 30 or so 5.25" floppies. Assuming 30 full disks at 1.2 MB each, that would've been over 7 hours at 14.4 kbps. :)

That was SLS, as Slackware only provided 3.5" floppy images and I didn't yet have a 3.5" floppy drive. (I had one, but it was for my Apple IIGS and wouldn't have worked.)
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