x86-64 support

Peter Wemm peter at wemm.org
Wed Apr 23 21:05:13 PDT 2003


Dag-Erling Smorgrav wrote:
> "Petr Holub" <hopet at ics.muni.cz> writes:
> > can anybody tell me what's the status of x86-64 (Opteron/Hammer) port?
> 
> http://www.freebsd.org/~peter/hammer.txt

I updated that today.. Its reaching single user from disk and netboot.

>> FreeBSD/i386 BOOT
Default: 0:ad(0,a)/boot/loader64
boot: 0:ad(0,g)/boot/loader
Console: serial port
BIOS drive A: is disk0
BIOS drive C: is disk1
BIOS 639kB/523200kB available memory

FreeBSD/i386 bootstrap loader, Revision 1.1
(peter at daintree.yahoo.com, Tue Apr  8 21:33:49 PDT 2003)
Loading /boot/defaults/loader.conf 
/boot/kernel/kernel text=0x1a14a0 data=0x56e78+0x44bd8 syms=[0x8+0x39948+0x8+0x2f2f0]

Type '?' for a list of commands, 'help' for more detailed help.
OK boot -s
Copyright (c) 1992-2003 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
        The Regents of the University of California. All rights reserved.
FreeBSD 5.0-CURRENT #514: Wed Apr 23 17:28:31 PDT 2003
    peter at daintree.yahoo.com:/home/peter/fbp4/hammer/sys/x86_64/compile/GENERIC
Preloaded elf64 kernel "/boot/kernel/kernel" at 0x404a7000.
Timecounter "i8254"  frequency 1193182 Hz
Timecounter "TSC"  frequency 3141592 Hz
CPU: AMD ClawHammer(tm) (3.14-MHz Hammer-class CPU)
  Origin = "AuthenticAMD"  Id = 0xf00  Stepping = 0
  Features=0x78bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2>
  AMD Features=0xe0500000<<b20>,AMIE,<b29>,DSP,3DNow!>
real memory  = 536805376 (511 MB)
avail memory = 504209408 (480 MB)
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Host to PCI bridge> at pcibus 0 on motherboard
pci0: <PCI bus> on pcib0
pcib1: <PCI-PCI bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pcib2: <PCI-PCI bridge> at device 6.0 on pci0
pci2: <PCI bus> on pcib2
ohci0: <OHCI (generic) USB controller> mem 0xe9521000-0xe9521fff irq 11 at device 0.0 on pci2
usb0: OHCI version 1.0, legacy support
usb0: <OHCI (generic) USB controller> on ohci0
usb0: USB revision 1.0
uhub0: AMD OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 3 ports with 3 removable, self powered
ohci1: <OHCI (generic) USB controller> mem 0xe9523000-0xe9523fff irq 11 at device 1.0 on pci2
usb1: OHCI version 1.0, legacy support
usb1: <OHCI (generic) USB controller> on ohci1
usb1: USB revision 1.0
uhub1: AMD OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 3 ports with 3 removable, self powered
pci2: <display, VGA> at device 4.0 (no driver attached)
bge0: <Broadcom BCM5701 Gigabit Ethernet, ASIC rev. 0x105> mem 0xe9500000-0xe950ffff irq 10 at device 5.0 on pci2
bge0: Ethernet address: 00:04:76:eb:a9:cd
miibus0: <MII bus> on bge0
brgphy0: <BCM5701 10/100/1000baseTX PHY> on miibus0
brgphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX, 1000baseTX-FDX, auto
fxp0: <Intel 82557/8/9 EtherExpress Pro/100(B) Ethernet> port 0xc000-0xc03f mem 0xe9400000-0xe94fffff,0xe9522000-0xe9522fff irq 11 at device 7.0 on pci2
fxp0: Ethernet address 00:d0:b7:23:af:0d
miibus1: <MII bus> on fxp0
inphy0: <i82555 10/100 media interface> on miibus1
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
isab0: <PCI-ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <AMD 8111 UDMA133 controller> port 0xd000-0xd00f at device 7.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
pci0: <serial bus, SMBus> at device 7.2 (no driver attached)
pci0: <bridge, PCI-unknown> at device 7.3 (no driver attached)
pci0: <multimedia, audio> at device 7.5 (no driver attached)
orm0: <Option ROMs> at iomem 0xc8000-0xc8fff,0xc0000-0xc7fff on isa0
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A, console
Timecounters tick every 10.000 msec
ad0: 58644MB <IC35L060AVER07-0> [119150/16/63] at ata0-master UDMA100
acd0: DVD-ROM <TOSHIBA DVD-ROM SD-M1612> at ata1-master PIO4
Mounting root from ufs:/dev/ad0s1g
Enter full pathname of shell or RETURN for /bin/sh: 
# ls -l
total 1905
drwxr-xr-x  2 0  0     512 Apr 24 00:42 bin
drwxr-xr-x  4 0  0     512 Apr 24 00:50 boot
dr-xr-xr-x  4 0  0     512 Apr 24 00:56 dev
drwxr-xr-x  2 0  0     512 Apr 24 00:41 etc
drwxr-xr-x  2 0  0     512 Apr 24 00:42 sbin
# 

(yes, I edited the 3.14MHz bit)

Cheers,
-Peter
--
Peter Wemm - peter at wemm.org; peter at FreeBSD.org; peter at yahoo-inc.com
"All of this is for nothing if we don't go to the stars" - JMS/B5



More information about the freebsd-hackers mailing list