Hardware For Sale/Trade

FS Apple 68K LC475/060 crazy maxed out, running gentoo/m68k

it's a mad hack i have done in 2009, trying to put a full gentoo/m68k on (which simply does not exist, so i had to create it)

i need money to repair my Octane2, or to replace it, also i need to have more free space in my small room, so here it is my crazy box for sale, featured with

  • 68060 FULL, it has MMU and FPU (68LC060 does not have FPU, 68EC060 does not have FPU and MMU)
  • SmartSocket, to put a 68060 on the 68040 socket you need it, as it performs 3.3V conversion for the 68060, the 68040 uses 5V, also it has a PLL to provide the proper clock, while 68040 has a double frequency in quadrature, which the 68060 simply doesn't have
  • clocked @ 33Mhz (PLL hack, it was @ 25Mhz)
  • rom hacked to put 68060SP on, as this CPU does not support all the 68040 ISA, you need a "support package", more specifically you need to put "handlers" on "unsupported opcode exceptions", the hack is needed to have the firmware able to boot the kernel, which bootstrap thinking to have to deal with a 68060, so … it requires the SP already loaded by the boot loader. I wanted to put everything into flash instead of dealing with what is loaded from the hard drive at early boot stage because i wanted to profile all my firmware to 68060 instead of having things compiled for 68000 and things compiled for 68060
  • LAN E410, it's a NuBus/E420 LC PDS, EtherNet Adapter on RJ45
  • SCSI to pATA, it's a board i have developed by myself, it's not the perfection, it's slow, but … it performs 3Mbyte/sec making you able to put a micro drive on
  • micro drive of 4Gbyte with a mon68k, a second stage boot loader, and the linux kernel 2.6.27-hacked, plus a ram rootfs + a full gentoo stage4, but i mean … the minimal survival apps, gcc, binutils, a bit of utilities, and … nothing more, it takes to much to emerge things, but it has a full portage, python and emerge … this machine takes 7 month 24h/24 to emerge her stage4, also … using NFS due to the limitations of the installed ram (too poor for emerge, the swap file was provided by NFS, 1Gbyte), CPU power (the 68060 is hardly under clocked, it can go up to 66/75Mhz), etc
  • 32Mbyte installed
  • LCD 2x16 backlighted on the front of the machine, connected to the /dev/ttyS1, so it is possible to put short-texts on (load balance, machine status, pretty MessageOfTheDay, whatever), i have removed the floppy that is -broken- and -useless-



the following screenshot show how pretty she boots from a SEAGATE ST32550N hard drive, which trust me … this SCSI disc was very very noisy, while the micro drive is very silent (even if … slower due to my SCSI-to-pATA interface)

Code: Select all

version 2.6.27-rotary-wombat-m68k-apple-lc475-68060
- compiled by root@queen-vittoria
- compiled with gcc version 3.4.5
- compiled on 19 Tue Jan2009
Detected Macintosh model: LC475
Bootinfo data:
Video: addr 0xf9001000 row 0x400 depth 8 dimensions 640 x 480
Videological 0xf0101000 phys. 0x51901000, SCC at 0x50f0c020
Boottime: 0xe71c3e2a GMTBias: 0x0
Machine ID: 90 CPUid: 0x2 memory size: 0x24
VIA1 at 50f00000 is a 6522 or clone
VIA2 at 50f02000 is a 6522 or clone
On node 0 totalpages: 9216
free_area_init_node: node 0, pgdat 00207b9c, node_mem_map 00257000
DMA zone: 9135 pages, LIFO batch:1
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 9135
Kernel command line: root=/dev/sda7 init=/sbin/initmini
mac_init_IRQ(): Setting things up …
- Killing onboard sonic ethernet card ... <6>Done
mac_init_IRQ(): Done!
PID hash table entries: 256 (order: 8, 1024 bytes)
mac_enable_irq irq=14, irq_src=1 <6> via_irq_enable <6>
Console: colour dummy device 80x25
console [tty0] enabled
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory: 34072k/34092k available (1544k kernel code, 1144k data, 84k init)
SLUB: Genslabs=12, HWalign=16, Order=0-3, MinObjects=0, CPUs=1, Nodes=8
Calibrating delay loop... 31.70 BogoMIPS
Mount-cache hash table entries: 512
net_namespace: 292 bytes
NET: Registered protocol family 16
NuBus: Scanning NuBus slots.
Now probing slot E at feffffff
Now probing slot E at fefffffe
Slot E:
Board resource:
type: [cat 0x1 type 0x0 hw 0x0 sw 0x0]
name: EtherNet card
board id: 0x8
vendor info:
ID: TFL LAN INC.
revision: REV 1.1
part: E410 NuBus/E420 LC PDS,EtherNet Adapter
Function 0x08:
type: [cat 0x4 type 0x1 hw 0x11e sw 0x100]
name: Network_Ethernet_Apple_TFL
memory offset: 0x000d0000
MAC address: 00:a0:4b:08:db:26
SCSI subsystem initialized
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 2048 (order: 2, 16384 bytes)
TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
TCP: Hash tables configured (established 2048 bind 2048)
TCP reno registered
NET: Registered protocol family 1
msgmni has been set to 66
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered (default)
macfb: framebuffer at 0xf9001000, mapped to 0x02800000, size 480k
macfb: mode is 640x480x8, linelength=1024
macfb: scrolling: redraw
Console: switching to colour frame buffer device 80x30
fb0: DAFB frame buffer device
r3964: Philips r3964 Driver $Revision: 1.10 $
Ethernet Channel Bonding Driver: v3.3.0 (June 10, 2008)
mac8390.c: v0.4
eth0: Memory length resource for slot E not found, probing
eth0: EtherNet card in slot E (type apple)
MAC 00:a0:4b:08:db:26 IRQ 61, 32 KB shared memory at 0xfeed0000,  32-bit access.
tun: Universal TUN/TAP device driver, 1.6
tun: (C) 1999-2004 Max Krasnyansky <[email protected]>
input: Macintosh mouse button emulation as /class/input/input0
mac_enable_irq irq=10, irq_src=1 <6> via_irq_enable <6>
Macintosh CUDA driver v0.5 for Unified ADB.
adb: starting probe task …
mac_esp: using PDMA for controller 0
mac_enable_irq irq=19, irq_src=2 <6> (via:present) <6>
esp: esp0, regs[50f10000:0] irq[19]
esp: esp0 is a ESP236, 16 MHz (ccf=4), SCSI ID 7
adb devices: [2]: 2 8
ADB keyboard at 2, handler 1
Detected ADB keyboard, type ANSI.
input: ADB keyboard as /class/input/input1
adb: finished probe task...
scsi0 : esp
osst :I: Tape driver with OnStream support version 0.99.4
osst :I: $Id: osst.c,v 1.73 2005/01/01 21:13:34 wriede Exp $
Driver 'osst' needs updating - please use bus_type methods
scsi 0:0:0:0: Direct-Access     SEAGATE  ST32550N         8607 PQ: 0 ANSI: 2
target0:0:0: Beginning Domain Validation
SCSI Media Changer driver v0.25
target0:0:0: FAST-5 SCSI 3.3 MB/s ST (304 ns, offset 15)
target0:0:0: Domain Validation skipping write tests
target0:0:0: Ending Domain Validation
mice: PS/2 mouse device common for all mice
NET: Registered protocol family 26
IPv4 over IPv4 tunneling driver
sd 0:0:0:0: [sda] 4194995 512-byte hardware sectors (2148 MB)
TCP bic registered
TCP cubic registered
TCP westwood registered
TCP htcp registered
NET: Registered protocol family 17
NET: Registered protocol family 15
802.1Q VLAN Support v1.8
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: ab 00 10 08
scsi: waiting for bus probes to complete ...
sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, supports DPO and FUA
sd 0:0:0:0: [sda] 4194995 512-byte hardware sectors (2148 MB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: ab 00 10 08
sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, supports DPO and FUA
sda: [mac] sda1 sda2 sda3 sda4 sda5 sda6 sda7
sd 0:0:0:0: [sda] Attached SCSI disk
sd 0:0:0:0: Attached scsi generic sg0 type 0
kjournald starting.  Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
VFS: Mounted root (ext3 filesystem) readonly.
EXT3-fs warning: checktime reached, running e2fsck is recommended
EXT3 FS on sda7, internal journal


# gcc -v
Target: m68k-unknown-linux-gnu
Configured with: /var/tmp/portage/sys-devel/gcc-4.2.3/work/gcc-4.2.3/configure --prefix=/usr --bindir=/usr/m68k-unknown-linux-gnu/gcc-bin/4.2.3 --includedir=/usr/lib/gcc/m68k-unknown-linux-gnu/4.2.3/include --datadir=/usr/share/gcc-data/m68k-unknown-linux-gnu/4.2.3 --mandir=/usr/share/gcc-data/m68k-unknown-linux-gnu/4.2.3/man --infodir=/usr/share/gcc-data/m68k-unknown-linux-gnu/4.2.3/info --with-gxx-include-dir=/usr/lib/gcc/m68k-unknown-linux-gnu/4.2.3/include/g++-v4 --host=m68k-unknown-linux-gnu --build=m68k-unknown-linux-gnu --disable-altivec --disable-nls --with-system-zlib --disable-checking --disable-werror --enable-secureplt --disable-libunwind-exceptions --disable-multilib --disable-libmudflap --disable-libssp --disable-libgcj --enable-languages=c,c++,objc,obj-c++,treelang,fortran --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu
Thread model: posix
gcc version 4.2.3 (Gentoo 4.2.3 p1.0)


# cat /proc/cpuinfo
m68k ~ # cat /proc/cpuinfo
CPU: 68060
MMU: 68060
FPU: 68060
Clocking: 33 MHz



just to make you understand how "pretty slow" is this machine with linux

Code: Select all

#include <stdio.h>

int main()
{
printf("hAllo world, ops i did muuuuuuuue again\n");
return 0;
}


# time gcc hAllo.c -o hAllo

Code: Select all

real   0m6.890s
user   0m5.620s
sys   0m1.260s


# ./hAllo

Code: Select all

hAllo world, ops i did muuuuuuuue again



a modern machine takes 0.062s for the real time parameter





btw, let me know if you want to feel the gentoo/m68k Appeal :lol:
IP30/Octane2, linux kernel development, Irix Scientific Apps (I'd like to use Ansys and Catia, I need more ram)
Amazing work! What a cool machine. I'm interested...do you have a figure in mind?
indeed impressive how you reconstructed the whole thing. i wonder what you would/could do to an 68k sgi :D
r-a-c.de
thank you =)

a guy has proposed me a very pretty exchange: his Acorn RiscPC/Arm-610 machine for my "strange" 68K linux pizza box, and i am really thinking it would be a very nice exchange. His machine is missing the lan, but it's not a problem, i can find one.

No decision taken yet, but i have to confess i am really tempted to accept the exchange.

Image
Image
Image
Image
Image

@foetz
i have never seen the earlier SGI 68k line, i have few informations about them, but …. about m68k I have designed an home-made 68k-board, also trying to adapt a box-case (IBM S/370 CRT-Terminal). I't not completed yet, also the firmware needs more improvement, it has 2 big NVram for the storage (non volatile memory, it stores things when you switch the PSU off) but currently the firmware boots an interpreter (released as open sources) i have coded it in order to pass my university homework, and which looks like "pascal". Well, if pascal hadn't procedures :lol:

Sorry about that, i am still having limited capability about designing an interpreter, i am still having lessons about (computer science, "compiler and interpreters" courses), it may be i will learn, actually it has no procedures, just the "main", even if it's able to do this:

Code: Select all

_______________________
< Have you mooed today? >
-----------------------
\   ^__^
\  (oo)\_______
(__)\       )\/\
||----w |
||     ||



Image
MC68060 VME SMP

my 68K-home board machine is a pretty common design in where you have all devices attached to the CPU bus, no DMA, and just a few interrupt driven devices (e.g. the ACIA, uart, and the PIT, which is used as timer and could be used for "tick" generator in order to schedule things). Nothing special in this design, everything looks very easy, while the board in the picture looks much more interesting !

That's MC68060 VME SMP made by "Eltec". There are other companies that used the Eltec board, and they do "embroidery machines", but we are talking about bit-industrial embroidery machines, something that need "hard real time" processing, so the board i got from ebay dot com looks more interesting.

The board has two big 68060 CPUs @ 50Mhz, and a pretty amount of "shared ram", something like "dual port" ram, but it also have 2 engines that perform DMA and "mail boxes". Each CPU has a private space, and can access the "partner" space in two way: -1- accessing the share ram (which is also semaphored), and -2- trapping a mail into the partner mail-box, this is the full interrupt driven way. DMA works in the background, has 4 channels, and can move stream from and to the VME bus.

Very amazing design, and VxWorks v5 is running, i have seen it on the serial console. I had to hack it a bit, adding a VME backplane in order to power to board, and reversing the console to wire out a connector in order to access the console. Lately I got a pretty documentation, thanks to Eltec, which has provided me 2 big pdf :D
IP30/Octane2, linux kernel development, Irix Scientific Apps (I'd like to use Ansys and Catia, I need more ram)
If you decide to make the trade, can you post pictures of your machine? I'd love to see your handy work.

Just saying, I might have some interesting gear to trade as well...

:-)
sure, i have posted old photos of my home-made 68k just because i already have them on my hard drive, for new photos i have to ask my friend for his digital camera

i hope i will be able to take a shot of the booting stage: it's very funny :D
IP30/Octane2, linux kernel development, Irix Scientific Apps (I'd like to use Ansys and Catia, I need more ram)
ivelegacy wrote: thank you =)
a guy has proposed me a very pretty exchange: his Acorn RiscPC/Arm-610 machine for my "strange" 68K linux pizza box, and i am really thinking it would be a very nice exchange. His machine is missing the lan, but it's not a problem, i can find one.

... on which you can then run ARM Linux! though it will cope much better with RISC OS.

I've just brought mine up to Debian 4.0 after several "false starts" over the years. There is a 2.2 install image on the net that did the trick; upgrading from there via 3.0 to 3.1 ran into a keymap problem, but that seems to have gone away in 4.0. But note that I have a Kinetic StrongARM and plenty of RAM - with an ARM610 you might want to start with the 2.0.36/Redhat installation
Fuel ; Indigo2 ; RiscPC Kinetic-StrongARM/448MB/RISCOS4.39 or Debian-etch; EspressoPC ViaC3/900MHz/256MB/Debian-testing; RPi B RISCOS5.21 or Raspbian-jessie; A5000/33MHz/FPA11/8MB/RISCOS3.11; A540/25MHz/FPA10/16MB/RISCOS3.11 or RISCiX1.21; R140/35MHz/4MB/RISCOS3.11 or RISCiX1.21
i am a gentoo guy, not a debian guy, and not a red hat guy (see my smile :D ) , so, if there is a linux kernel work Acorn RiscPC, then i will put a stage1-4 on catalyst/arm (under qemu/arm) in order to have the specific rootfs. It will be easier than the work i did for the LC475 gentoo/m68k. The real problem is … that dude has a RiscPC/700 equipped with a StrongArm @ 200Mhz CPU but only 32+2Mbyte of ram, so It looks to me like the profile i have with my this LC475 machine, and in this case … it's a problem about natively emerging things from the gentoo's portage because emerge eats a lot of ram. Acorn ram are very expensive, i was asked about 30-35UKP on ebay, and 99UKP by dealers, for just one 128Mbyte module, plus shipping and VAT
IP30/Octane2, linux kernel development, Irix Scientific Apps (I'd like to use Ansys and Catia, I need more ram)
ivelegacy wrote: i am a gentoo guy, not a debian guy, and not a red hat guy (see my smile :D ) , so, if there is a linux kernel work Acorn RiscPC, then i will put a stage1-4 on catalyst/arm (under qemu/arm) in order to have the specific rootfs. It will be easier than the work i did for the LC475 gentoo/m68k.

Aside from the compiled kernels 2.6.18-4 and 2.6.18-6 in the Debian etch distribution archive, you might find something useful at slackware/arm or the ARMLinux site - there is more in the FTP side than appears from the web pages.
ivelegacy wrote: The real problem is … that dude has a RiscPC/700 equipped with a StrongArm @ 200Mhz CPU but only 32+2Mbyte of ram, so It looks to me like the profile i have with my this LC475 machine, and in this case … it's a problem about natively emerging things from the gentoo's portage because emerge eats a lot of ram. Acorn ram are very expensive, i was asked about 30-35UKP on ebay, and 99UKP by dealers, for just one 128Mbyte module, plus shipping and VAT

Look out for non-parity, non-ECC, 32bit, 60ns "generic" SIMMs - none standing out on ebay just now but they do come up at reasonable cost from time to time, from printers or Amiga boards. Check the part number on the motherboard - "1280" means a later revision that could well be tolerant of EDO as well as FPM SIMMs - I have an EDO SIMM on an old m/b, so they are worth trying anyway. Full technical specs from Acorn at http://chrisacorns.computinghistory.org ... AN/259.pdf insisting on FPM will give you the key parameters.
Fuel ; Indigo2 ; RiscPC Kinetic-StrongARM/448MB/RISCOS4.39 or Debian-etch; EspressoPC ViaC3/900MHz/256MB/Debian-testing; RPi B RISCOS5.21 or Raspbian-jessie; A5000/33MHz/FPA11/8MB/RISCOS3.11; A540/25MHz/FPA10/16MB/RISCOS3.11 or RISCiX1.21; R140/35MHz/4MB/RISCOS3.11 or RISCiX1.21