Forums

Skip to content

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

[Solved] uboot not in Portage?

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
3 posts • Page 1 of 1
Author
Message
TJNII
l33t
l33t
User avatar
Posts: 648
Joined: Sun Nov 09, 2003 3:16 am
Location: for(;;);

[Solved] uboot not in Portage?

  • Quote

Post by TJNII » Sat Jun 15, 2024 4:00 pm

This caught me by surprise:

Code: Select all

# emerge uboot
Calculating dependencies... done!
Dependency resolution took 4.93 s (backtrack: 0/20).


emerge: there are no ebuilds to satisfy "uboot".

emerge: searching for similar names...
emerge: Maybe you meant any of these: app-emacs/uboat, sys-boot/tboot, app-misc/broot?
I don't see it on https://packages.gentoo.org/packages/search?q=uboot either.

uboot seems like a natural fit for the Gentoo build process as a quick skim of https://docs.u-boot.org/en/latest/build/gcc.html shows all the usual flags we know and love from /etc/portage/make.conf. I've just started reading about how how the boot sequence on the SBC I'm using works and it really doesn't seem that complicated, is there a reason uboot isn't in Portage? Seems like a large and obvious gap, and when I find a large and obvious gap it usually means there's something large I don't actually understand.
Last edited by TJNII on Thu Jun 20, 2024 2:29 pm, edited 1 time in total.
Top
pingtoo
Advocate
Advocate
User avatar
Posts: 2185
Joined: Fri Sep 10, 2021 8:37 pm
Location: Richmond Hill, Canada

  • Quote

Post by pingtoo » Sat Jun 15, 2024 5:54 pm

In my opinion, DAS U-boot is very hard to put in to Portage because it is very much customised for each platform/board.

There are too many variations to consider for building u-boot for a given condition, also the cross compiler tool chain some time need to be special for some boards so it is not a good candidate for Portage.

However there is dev-embedded/u-boot-tools ebuild that provide mkimage and friends from u-boot tool sub-directory.
Top
TJNII
l33t
l33t
User avatar
Posts: 648
Joined: Sun Nov 09, 2003 3:16 am
Location: for(;;);

  • Quote

Post by TJNII » Sun Jun 16, 2024 2:48 pm

Aah, fair enough.

Code: Select all

make <board name>_defconfig
masks a lot of that complexity in the install instructions. Not in a bad way, the instructions worked for me as expected on a mainlined board. But I the first time I got into menuconfig and quickly backed out seeing all the low level options, not wanting to toggle something accidentally.

Guess that was the "don't know what I don't know" factor.
Top
Post Reply
  • Print view

3 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