Forums

Skip to content

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

Raspberry PI2 Git-Kernel and Kernel Packages

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
8 posts • Page 1 of 1
Author
Message
GOS
Tux's lil' helper
Tux's lil' helper
Posts: 105
Joined: Thu Sep 09, 2010 2:23 pm
Location: Germany

Raspberry PI2 Git-Kernel and Kernel Packages

  • Quote

Post by GOS » Sat Oct 31, 2015 11:13 pm

Hello guys,

at the moment I try to install gentoo on a raspberry pi2. I am wondering about the installation of the kernel via "git clone --depth 1 git://github.com/raspberrypi/firmware/ " and what are the packages "raspberrypi-image", "raspberrypi-userland" and "raspberrypi-firmware" good for?

Can it be that installaing the Kernel via git or emerging these three packages has the same effect but via two different ways? Any ideas?

Thanks in advance
GOS
Top
Roman_Gruber
Advocate
Advocate
Posts: 3854
Joined: Tue Oct 03, 2006 8:43 am
Location: Austro Bavaria

  • Quote

Post by Roman_Gruber » Sun Nov 01, 2015 6:46 pm

You may do your homework

Google the terms: firmware, git

and i am sure some hundred or thousands people already wrote how to compile a kernel for your rasperry pi.

It seems these are just common questions, which are answered in any faq, any newbie tutorial, any guide.

Therefore I kindly want to ask you to utilize google and serach for those terms.

When you are able to make a kernel for one box, you should understand the terminology for making it for another platform.

In the very early days we hat a term called, which i do not want ot write now .. RTFM.

any arm platform related documetnation will guide you

regards
Top
NeddySeagoon
Administrator
Administrator
User avatar
Posts: 56094
Joined: Sat Jul 05, 2003 9:37 am
Location: 56N 3W

  • Quote

Post by NeddySeagoon » Sun Nov 01, 2015 7:07 pm

tw04l124,

A Read The Friendly Manual response here is normally accompanied with a pointer to the piece of the friendly manual that needs to be consulted.
On the other hand, we teach fishing here, rather than hand out fish :)

Embedded kernels in general are a bit of a black art. The mainline kernel tends to lack all sorts of required patches.
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Top
GOS
Tux's lil' helper
Tux's lil' helper
Posts: 105
Joined: Thu Sep 09, 2010 2:23 pm
Location: Germany

  • Quote

Post by GOS » Sun Nov 01, 2015 9:36 pm

@tw... what is wrong with you??? The question was in short: what are these three packages goof for because one can also install kernel and firmware via git. If you know the answer it would be helpful you wrote it down. By the way it is not googeling firmware and git.
Top
Leio
Developer
Developer
User avatar
Posts: 494
Joined: Thu Feb 27, 2003 3:41 pm
Location: Estonia

Re: Raspberry PI2 Git-Kernel and Kernel Packages

  • Quote

Post by Leio » Thu Nov 05, 2015 9:01 am

GOS wrote:Hello guys,

at the moment I try to install gentoo on a raspberry pi2. I am wondering about the installation of the kernel via "git clone --depth 1 git://github.com/raspberrypi/firmware/ " and what are the packages "raspberrypi-image", "raspberrypi-userland" and "raspberrypi-firmware" good for?

Can it be that installaing the Kernel via git or emerging these three packages has the same effect but via two different ways? Any ideas?
As the package descriptions say:
  • raspberrypi-image is precompiled kernel and modules
  • raspberrypi-userland is userspace tools and libraries
  • raspberrypi-firmware is bootloader and firmware
But to put more information behind that:
  • raspberrypi-userland is various Pi specific userspace stuff, such as its OpenMAX bits, graphics libraries (the semi-open source stuff that came out long ago, not what Eric Anholt is working on to mainline kernel and mesa), various demos and more. You probably want this if you want hardware accelerated video decoding or anything graphics related when not playing around with the new mesa stuff; however the 2014 snapshots in main tree are too old for Pi2, I believe the ARM overlay has newer stuff, or various community overlays.
  • raspberrypi-image seem to be some gentoo precompiled kernel and modules, and they seem awfully outdated and not worth using. I also use the raspberry foundation precompiled kernels from that git location out of lazyness, but keep in mind you should not forget to get the matching kernel modules found in there to your /lib/modules in rootfs. Another option is to use raspberrypi-sources package or the relevant git tree from an appropriate git branch directly, to configure and compile your own kernel. That might be a good idea, especially if you start with the appropriate Pi default kernel configuration (or that used by the firmware git tree) and tweaking from there
  • raspberrypi-firmware is pretty much what goes to the boot FAT32 partition thing. Seem awfully outdated in main tree as well, so I'd use the files from that git tree instead as well.
Hope this helps more.
GNOME team lead; GStreamer; MIPS/ARM64
Top
GOS
Tux's lil' helper
Tux's lil' helper
Posts: 105
Joined: Thu Sep 09, 2010 2:23 pm
Location: Germany

  • Quote

Post by GOS » Thu Nov 05, 2015 9:39 pm

Many Thanks :D . Your Infos helped me a lot.

I have one further question: Is there a possibility to download the .config used by the raspberry foundation for their precompiled kernels? That would be helpful as starting point for a self-compiled kernel.
Top
bbgermany
Veteran
Veteran
User avatar
Posts: 1844
Joined: Mon Feb 21, 2005 8:19 am
Location: Oranienburg/Germany

  • Quote

Post by bbgermany » Fri Nov 06, 2015 6:43 am

Hi,

if you have booted a kernel from the git repo, you can run "modprobe configs" and you will find the running config compressed in "/proc/config.gz"

greets bb

EDIT: you can contact me in the german forums as well, i have a rpi b running gentoo with git kernel from hexxeh ;)
Desktop: Ryzen 7 5800X, 32GB, 2TB, RX7700XT
Noebook: Dell XPS 13 9370, 16GB, 1TB
Server #1: Ryzen 5 Pro 4650G, 64GB, 16.5TB
Server #2: Ryzen 4800H, 32GB, 22TB
Top
GOS
Tux's lil' helper
Tux's lil' helper
Posts: 105
Joined: Thu Sep 09, 2010 2:23 pm
Location: Germany

  • Quote

Post by GOS » Fri Nov 06, 2015 12:24 pm

Sounds good, I will try it! :wink:
Top
Post Reply
  • Print view

8 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

 

 

magic