Forums

Skip to content

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

Gentoo/Portage support for mips

Post here for other supported architectures, or if you are interested in porting Gentoo to a currently unsupported architecture.
Post Reply
Advanced search
9 posts • Page 1 of 1
Author
Message
manphiz
n00b
n00b
Posts: 26
Joined: Wed Dec 01, 2021 9:18 pm

Gentoo/Portage support for mips

  • Quote

Post by manphiz » Sat Jan 01, 2022 2:46 pm

It looks like some time ago the mips support for portage was removed as there is no mips column in ebuild status. However the Gentoo mips install guide is still available. I wonder what's the status of the current Gentoo/Portage support on mips? Is it still possible to use the current portage on such systems?
Top
Etal
Veteran
Veteran
User avatar
Posts: 1932
Joined: Fri Jul 15, 2005 3:01 pm

  • Quote

Post by Etal » Sat Jan 01, 2022 10:37 pm

Why do you say mips was removed? It doesn't look like there's "stable" mips, but plenty of packages have ~mips keywords and there's recent mips-related activity in the portage tree:

Code: Select all

/var/db/repos/gentoo $ git log --grep mips
commit b72382bd0fa91cdfa39178ae2d662935bde1ebb1
Author: Sam James <sam@…>
Date:   Wed Dec 29 01:48:59 2021 +0000

    dev-libs/apr: libatomic workaround needed for mips too
    
    Bug: https://bugs.gentoo.org/815265
    Reported-by: John Hansen <john@…>
    Signed-off-by: Sam James <sam@…>

commit 165025e64d1f892618caacf230f005752f91fb7b
Author: Joshua Kinard <kumba@…>
Date:   Tue Dec 7 03:39:30 2021 -0500

    dev-python/wrapt: Added ~mips to KEYWORDS
    
    Signed-off-by: Joshua Kinard <kumba@…>
    Package-Manager: Portage-3.0.28, Repoman-3.0.3
Top
manphiz
n00b
n00b
Posts: 26
Joined: Wed Dec 01, 2021 9:18 pm

  • Quote

Post by manphiz » Sun Jan 02, 2022 2:50 am

Thanks Etal! It's just that if I visit the package page of dev-libs/apr[1] mips is not listed in the available versions which gives me the impression that mips is not supported. Good to know it's not the case!

[1] https://packages.gentoo.org/packages/dev-libs/apr
Top
manphiz
n00b
n00b
Posts: 26
Joined: Wed Dec 01, 2021 9:18 pm

  • Quote

Post by manphiz » Sun Jan 02, 2022 6:03 am

BTW if the ebuild info page is missing mips info, is it a bug?
Top
NeddySeagoon
Administrator
Administrator
User avatar
Posts: 56094
Joined: Sat Jul 05, 2003 9:37 am
Location: 56N 3W

  • Quote

Post by NeddySeagoon » Sun Jan 02, 2022 12:36 pm

manphiz,

Maybe its a bug but not in portage. However,

Code: Select all

KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
~mips is listed.

Try

Code: Select all

qgrep -l mips
to list packages with mips or ~mips KEYWORDS.

Unkeyworded packages are untested on mips, not always broken. Someone has to be first testing, why not you.
Last edited by NeddySeagoon on Sun Jan 02, 2022 2:12 pm, edited 1 time in total.
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Top
manphiz
n00b
n00b
Posts: 26
Joined: Wed Dec 01, 2021 9:18 pm

  • Quote

Post by manphiz » Sun Jan 02, 2022 1:52 pm

NeddySeagoon wrote:[..snip..]
Someone has to be first testing, why not you.
Actually I'm intended to :) Though I need to figure out how to get out of the mess I'm currently in when starting from the 2014 yeeloong image. I'll post more questions with more details soon.
Top
XiaoaiX
n00b
n00b
Posts: 30
Joined: Sat May 30, 2015 11:53 am

  • Quote

Post by XiaoaiX » Sun May 01, 2022 7:55 am

I am just upgrading from the 2014 stage3 image to current snapshot. hehe
manphiz wrote:
NeddySeagoon wrote:[..snip..]
Someone has to be first testing, why not you.
Actually I'm intended to :) Though I need to figure out how to get out of the mess I'm currently in when starting from the 2014 yeeloong image. I'll post more questions with more details soon.
Top
Zucca
Administrator
Administrator
User avatar
Posts: 4694
Joined: Thu Jun 14, 2007 10:31 pm
Location: Rasi, Finland
Contact:
Contact Zucca
Website

  • Quote

Post by Zucca » Sun May 01, 2022 8:28 am

@manphiz on what MIPS hardware are you running Gentoo?
I have one surveillance camera that has MIPS CPU and it is running Linux. I have full root access to it and would really like to have portage at least in it. I hope I could have full Gentoo system there, but first I need to grab (backup) all the modules (if closed source) and possibly kernel too.
..: Zucca :..

Code: Select all

init=/sbin/openrc-init
-systemd -logind -elogind seatd
I am NaN! I am a man!
Top
NeddySeagoon
Administrator
Administrator
User avatar
Posts: 56094
Joined: Sat Jul 05, 2003 9:37 am
Location: 56N 3W

  • Quote

Post by NeddySeagoon » Sun May 01, 2022 11:44 am

XiaoaiX,

You probably don't want to do that on MIPS hardware.
That leaves you with two paths.

Install a suitable MIPS toolchain on a more capable system then cross compile whatever your need.
That's easier said than done. Lots of things just work. Some need to be coaxed and others are cross compile hostile.

If QEMU supports your CPU, build QEMU with static-user, untar the 2014 stage into a directory on a more capable non MIPS system, install the QEMU-static and chroot into the MIPS stage 3. Now update there.
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Top
Post Reply

9 posts • Page 1 of 1

Return to “Gentoo on Alternative Architectures”

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