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 m68k

Post here for other supported architectures, or if you are interested in porting Gentoo to a currently unsupported architecture.
Post Reply
Advanced search
19 posts • Page 1 of 1
Author
Message
ddc
Guru
Guru
Posts: 521
Joined: Tue Aug 29, 2006 12:53 pm

gentoo m68k

  • Quote

Post by ddc » Sat May 24, 2008 4:23 pm

binary packages for Gentoo/m68k

This should now be very close to a fully working system.

I have myself installed a couple of systems from scratch simly by unpacking
the most obvious system packages to a boot-partition. (This can ofcourse be
done one a non-m68k machine as well, as long as the system understands the
partition table of the m68k system, and the filesystem of choice)

You can also use this directory as a binary source in /etc/make.conf, just set
PORTAGE_BINHOST="http://tinderbox.dev.gentoo.org/default-linux/m68k/"

The packages were buildt with /etc/make.profile pointing to
/usr/portage/profiles/default-linux/m68k and the following flags in
/etc/make.conf:

---
USE="python berkdb xml logrotate objc objc++ pam zlib crypt png jpeg truetype
ncurses nptl nptlonly curl ccache memlimit ipv6 tcpd imagemagick expat gd dba
apache2 bzip2 mailwrapper ssl idn -oss -apache1 -dvd -xv -gpm -nls -esd -sdl
-oggvorbis -gnome -gtk -gtk2 -X -qt -kde -motif -opengl -mozilla -cups
-foomaticdb -mudflap"

CHOST="m68k-unknown-linux-gnu"

CFLAGS="-m68030 -pipe -Os"
CXXFLAGS="${CFLAGS}"

(-Os does not always work, I then try -O2 or no -O at all)

ACCEPT_KEYWORDS="~m68k ~x86 x86 ppc"

FEATURES="sandbox ccache buildpkg"
---

/etc/portage/package.use is:
---
sys-fs/e2fsprogs static
sys-apps/baselayout static
sys-libs/glibc userlocales
sys-libs/cracklib python
net-www/apache mpm-prefork
dev-lang/php cli
app-editors/nano minimal
---

All packages are build on an CBM Amiga A1200 with a Blizzard-1260 (68060
clocked at 50MHz) with 192MB RAM. As I build newer packages I will uploaded
them here.

Note: glibc-2.4 is still on the todo, support for the required
Native POSIX Threads Library is still unresolved for m68k.

Note (2007-01-16):
I've had some BAD experience with the e2fstools - if you experience weird
problems (e2mkfs unable to format filesystem, e2fsck complaining about blocks
being outside fs) please try busybox instead instead, using "busybox e2mkfs"
and "busybox e2fsck" etc.

Cheers!



it could be considered "insane" to think about gentoo on such a slow and so obsoleted m68k arch (amiga 1200/4000 with an accelerator card is still an expansive chunk of old hardware from ebay) , anyway if you do it for kicks thats is the URL http://tinderbox.dev.gentoo.org/default-linux/m68k/
Top
ddc
Guru
Guru
Posts: 521
Joined: Tue Aug 29, 2006 12:53 pm

  • Quote

Post by ddc » Fri May 30, 2008 4:16 pm

anybody using m68k ? i mean amiga A1200/4000 or apple m68k (LC475, LC-*, etc)?
Top
limn
l33t
l33t
Posts: 997
Joined: Fri May 13, 2005 8:08 pm

  • Quote

Post by limn » Fri May 30, 2008 5:16 pm

A few years back I tried to cross compile Gentoo for a Quadra. I spent a fair amount of time on it before switching to NetBSD.
The box does work as a file server and web test box. Large compilations are distributed to a faster box.
Top
ddc
Guru
Guru
Posts: 521
Joined: Tue Aug 29, 2006 12:53 pm

  • Quote

Post by ddc » Sat May 31, 2008 7:49 am

the link provide a nice amount of compiled packages for gentoo/m68k

my question is: how do you made the stage3 ?
Top
bombsquad
n00b
n00b
Posts: 12
Joined: Tue Aug 28, 2007 7:26 pm
Location: Coventry, United Kingdom

  • Quote

Post by bombsquad » Wed Jun 11, 2008 1:10 pm

I tried a similar thing on my 4000/040@40MHz - got a basic Debian install going then started unpacking the Gentoo bits into a fresh partition.
Never quite got to the stage where it could boot on its own before I had to leave it last time =/

Now I can at least grab the basic binaries from your setup and do it that way.
Nice one.
Top
MrZammler
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 128
Joined: Tue Jun 24, 2003 7:12 pm
Location: The Island of Crete

  • Quote

Post by MrZammler » Mon Sep 01, 2008 9:03 am

I'm thinking of trying something similar (A3000/060).

Anyone who manage a stage1, please do post it somewhere for the rest of us. Would kick things off I think.
Top
MrZammler
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 128
Joined: Tue Jun 24, 2003 7:12 pm
Location: The Island of Crete

  • Quote

Post by MrZammler » Mon Sep 01, 2008 9:06 am

Oh, and something else.

As I'm looking around for general linux/m68k, on an Amiga platform, do the swap and root partitions need to be within the 4G barrier?

I would assume no, since the kernel is booted from AmigaOS, and it should not matter, but I'd like to know.

I'm planning to reserve some 10-20G space at the end of my 120G disk.
Top
ddc
Guru
Guru
Posts: 521
Joined: Tue Aug 29, 2006 12:53 pm

  • Quote

Post by ddc » Tue Dec 30, 2008 6:57 pm

sorry, I don't know about this


I'd like to install emile as boot loader, anyone has experimented it ?
Top
armanox
n00b
n00b
Posts: 36
Joined: Thu Jan 03, 2008 5:39 am
Location: Baltimore, MD

  • Quote

Post by armanox » Mon Jan 05, 2009 5:56 am

MrZammler wrote:Oh, and something else.

As I'm looking around for general linux/m68k, on an Amiga platform, do the swap and root partitions need to be within the 4G barrier?

I would assume no, since the kernel is booted from AmigaOS, and it should not matter, but I'd like to know.

I'm planning to reserve some 10-20G space at the end of my 120G disk.
I would imagine that as long as your boot partition is within the limits and the system can use the disk (BIOS doesn't need to be able to boot beyond 4G, just needs to be able to boot the kernel from /boot) you should be fine. That is why we have /boot afterall =)
Top
ddc
Guru
Guru
Posts: 521
Joined: Tue Aug 29, 2006 12:53 pm

  • Quote

Post by ddc » Mon Jan 05, 2009 4:32 pm

I'm very happy to say that i successfully build a gentoo-m68k-stage3-proof.0.2

lc475 ~ # cat /proc/cpuinfo
CPU: 68040
MMU: 68040
FPU: 68040
Clocking: 24.4MHz
BogoMips: 16.28
Calibration: 81408 loops

lc475 ~ # uname -m
m68k

lc475 ~ # uname -r
2.6.24-mac68k-lc475

lc475 ~ # gcc -v
Using built-in specs.
Target: m68k-unknown-linux-gnu
gcc version 4.2.3 (Gentoo 4.2.3 p1.0)

lc475 ~ # myhallo
hallo world from gentoo-m68k



still booting from the floppy disk, but I'm working around Apple_Driver, boot_first_scsi, boot_second_scsi to boot directly from the scsi hard drive (emile-0.12 has a tone of issues that make me unable to boot from the hard drive)



anyone using apple mac68k 68040 ?
Top
Simba7
l33t
l33t
User avatar
Posts: 709
Joined: Mon Jan 22, 2007 8:25 pm
Location: Billings, MT, USA
Contact:
Contact Simba7
Website

  • Quote

Post by Simba7 » Mon Jan 05, 2009 6:49 pm

Did you try out miBoot yet?
Top
ddc
Guru
Guru
Posts: 521
Joined: Tue Aug 29, 2006 12:53 pm

  • Quote

Post by ddc » Mon Jan 05, 2009 7:16 pm

shouldn't be for powerpc ?

lc475 is m68k !

http://people.debian.org/~wouter/d-i/po ... 224-05:27/
Top
Simba7
l33t
l33t
User avatar
Posts: 709
Joined: Mon Jan 22, 2007 8:25 pm
Location: Billings, MT, USA
Contact:
Contact Simba7
Website

  • Quote

Post by Simba7 » Mon Jan 05, 2009 7:44 pm

Darn..

I thought there was a miBoot for 68k.. Ahh well..

You could have a rather TINY MacOS 7 install as a bootstrap (just make a 2-3mb partition), then have it autoload BootX..

I remember doing this on an old IIvx awhile ago..
Top
ddc
Guru
Guru
Posts: 521
Joined: Tue Aug 29, 2006 12:53 pm

  • Quote

Post by ddc » Mon Jan 05, 2009 8:44 pm

I was using bootX on my old-firmware powerbook G3 "wallstreet"
then i sold it for a new-firmware powerbook G4 called "aluminium" and i bootstrap the kernel with yaboot

for apple 68k, a good boot loader maybe "penguin boot", that needs macOS to be loaded

now, the problem is: i don't want any macOS installed on my harddrive 'cause i simply hate it !

so i will develop around "emile" producing something new something working for my LC475 :P

(I am also working to hack the mobo: i'd like to change the clock from 25Mhz to 33Mhz, and i'd like to add a 64Mb simm 72 ram module ... I am studying the problem, it may be possible)



p.s.
have you got any binary packages ? debian ? i can't find them on the web and i'd like to do a compare with what i build
Top
zotalore
n00b
n00b
Posts: 54
Joined: Tue Jan 22, 2008 9:42 pm

Coldfire?

  • Quote

Post by zotalore » Thu Mar 19, 2009 2:00 pm

Have anybody tried out Gentoo on the Freescale coldfire architecture?
Top
ddc
Guru
Guru
Posts: 521
Joined: Tue Aug 29, 2006 12:53 pm

  • Quote

Post by ddc » Thu Mar 19, 2009 9:02 pm

coldfire ... mmm it should have no MMU, so no MMC, no party
ucLinux is not supported yet
Top
zotalore
n00b
n00b
Posts: 54
Joined: Tue Jan 22, 2008 9:42 pm

  • Quote

Post by zotalore » Sun Mar 29, 2009 8:44 am

Some of them do have a MMU, like the MCF5445x while others don't, like my favorite the MC5223x which are dirt cheap and include an ethernet phy.
Top
ddc
Guru
Guru
Posts: 521
Joined: Tue Aug 29, 2006 12:53 pm

  • Quote

Post by ddc » Thu Apr 02, 2009 3:28 pm

ok, it may be possible to emerge a new stage3 compiled for them
unfortunately coldfire uses a reduced set of m68k isa, so ... we need to recompile the whole

umm are you thinking about a good hw ? should it be a pretty target to aim for ?
in this case we could find interest about recompiling the stuff for coldfire :P
Top
zotalore
n00b
n00b
Posts: 54
Joined: Tue Jan 22, 2008 9:42 pm

  • Quote

Post by zotalore » Fri Apr 10, 2009 5:39 pm

ddc wrote: umm are you thinking about a good hw ? should it be a pretty target to aim for ?
in this case we could find interest about recompiling the stuff for coldfire :P
Unfortunately I only have a couple of boards with the MC52235, which lacks the MMU :(
Top
Post Reply

19 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 Authors
Gentoo is a trademark of the Gentoo Foundation, Inc. and of Förderverein Gentoo e.V.
The contents of this document, unless otherwise expressly stated, are licensed under the CC-BY-SA-4.0 license.
The Gentoo Name and Logo Usage Guidelines apply.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy