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
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)
# gcc -v
# cat /proc/cpuinfo
just to make you understand how "pretty slow" is this machine with linux
# time gcc hAllo.c -o hAllo
# ./hAllo
a modern machine takes 0.062s for the real time parameter
btw, let me know if you want to feel the gentoo/m68k Appeal
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
IP30/Octane2,
linux
kernel development,
Irix
Scientific Apps (I'd like to use Ansys and Catia, I need more ram)