|
发表于 2006-5-17 23:34:19
|
显示全部楼层
Re: freebsd7 内核源代码里面有Skyeye配置文件了
贴个别人的dmesg让大家高兴一下
KDB: debugger backends: ddb
KDB: current backend: ddb
Copyright (c) 1992-2006 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 7.0-CURRENT #380: Thu Feb 16 00:50:01 CET 2006
[email protected]:/usr/src/sys/arm/compile/MINIQ31244
CPU: i80321 600MHz rev 2 (XScale core)
DC enabled IC enabled WB enabled LABT branch prediction enabled
32KB/32B 32-way Instruction cache
32KB/32B 32-way write-back-locking Data cache
iq0: <Intel 80321> on motherboard
obio0 on iq0
uart0: <16550 or compatible> on obio0
uart0: console (115200,n,8,1)
itimer0: <i80321 timer> on iq0
pcib0: <i80321 PCI bus> on iq0
pci0: <PCI bus> on pcib0
pcib1: <PCI-PCI bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
atapci0: <Intel 31244 SATA150 controller> mem 0x100000-0x100fff irq 29 at device 1.0 on pci1
ata2: <ATA channel 0> on atapci0
ata3: <ATA channel 1> on atapci0
ata4: <ATA channel 2> on atapci0
ata5: <ATA channel 3> on atapci0
atapci1: <Intel 31244 SATA150 controller> mem 0x101000-0x101fff irq 29 at device 2.0 on pci1
ata6: <ATA channel 0> on atapci1
ata7: <ATA channel 1> on atapci1
ata8: <ATA channel 2> on atapci1
ata9: <ATA channel 3> on atapci1
atapci2: <Intel 31244 SATA150 controller> mem 0x102000-0x102fff irq 29 at device 3.0 on pci1
ata10: <ATA channel 0> on atapci2
ata11: <ATA channel 1> on atapci2
ata12: <ATA channel 2> on atapci2
ata13: <ATA channel 3> on atapci2
atapci3: <Intel 31244 SATA150 controller> mem 0x103000-0x103fff irq 29 at device 4.0 on pci1
ata14: <ATA channel 0> on atapci3
ata15: <ATA channel 1> on atapci3
ata16: <ATA channel 2> on atapci3
ata17: <ATA channel 3> on atapci3
em0: <Intel(R) PRO/1000 Network Connection Version - 3.2.18> port 0xfe400000-0xfe40003f mem 0x200000-0x21ffff,0x220000-0x22ffff irq 27 at device 3.0 on pci0
em0: Ethernet address: 00:80:4d:01:00:4f
em0: [FAST]
em1: <Intel(R) PRO/1000 Network Connection Version - 3.2.18> port 0xfe400040-0xfe40007f mem 0x240000-0x25ffff,0x260000-0x26ffff irq 27 at device 3.1 on pci0
em1: Ethernet address: 00:80:4d:01:00:4e
em1: [FAST]
itimer0: [FAST]
Timecounter "i80321 timer" frequency 594000000 Hz quality 1000
Timecounters tick every 10.000 msec
it is c0c73298 0xc0c73298
ad0: 156334MB <Maxtor 6Y160M0 YAR51HW0> at ata4-master SATA150
Trying to mount root from ufs:/dev/md0
warning: no time-of-day clock registered, system time will not be set accurately
Jan 14 04:45:14 init: login_getclass: unknown class 'daemon'
/e:Enter full pathname of shell or RETURN for /bin/sh: em0: link state changed to UP
[quote:ed40a86534="rwayan"]是可以的,他们发信来说,有人跑起来了。
估计是FreeBSD的开发人员调试FreeBSD/arm的时候可能用到了skyeye
他们反馈说用-O2 会出问题, -O 就过了
是不是代码里面有什么强制类型转换的地方
[quote:ed40a86534="lllaaa"]_http://fxr.watson.org/fxr/source/arm/conf/SKYEYE
貌似可以在skyeye上跑freebsd了
1 # SKYEYE -- Kernel configuration for running the skyeye simulator
2 # simulating the Atmel AT91RM9200.
3 #
4 # For more information on this file, please read the handbook section on
5 # Kernel Configuration Files:
6 #
7 # http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
8 #
9 # The handbook is also available locally in /usr/share/doc/handbook
10 # if you've installed the doc distribution, otherwise always see the
11 # FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
12 # latest information.
13 #
14 # An exhaustive list of options and more detailed explanations of the
15 # device lines is also present in the ../../conf/NOTES and NOTES files.
16 # If you are in doubt as to the purpose or necessity of a line, check first
17 # in NOTES.
18 #
19 # $FreeBSD: src/sys/arm/conf/SKYEYE,v 1.2 2006/02/07 18:45:54 imp Exp $
20
21 machine arm
22 ident KB920X
23
24 options KERNPHYSADDR=0xc0000000
25 options KERNVIRTADDR=0xc0000000
26 options PHYSADDR=0xc0000000
27 include "../at91/std.kb920x"
28 #To statically compile in device wiring instead of /boot/device.hints
29 #hints "GENERIC.hints" #Default places to look for devices.
30
31 makeoptions DEBUG=-g #Build kernel with gdb(1) debug symbols
32 makeoptions CONF_CFLAGS=-mcpu=arm9
33 options DDB
34 options KDB
35
36 options USART0_CONSOLE
37
38 options SCHED_4BSD #4BSD scheduler
39 options INET #InterNETworking
40 options INET6 #IPv6 communications protocols
41 options FFS #Berkeley Fast Filesystem
42 options SOFTUPDATES #Enable FFS soft updates support
43 options UFS_ACL #Support for access control lists
44 options UFS_DIRHASH #Improve performance on big directories
45 options MD_ROOT #MD is a potential root device
46 options ROOTDEVNAME=\"ufs:md0\"
47 options NFSCLIENT #Network Filesystem Client
48 options NFSSERVER #Network Filesystem Server
49 options NFS_ROOT #NFS usable as /, requires NFSCLIENT
50 #options MSDOSFS #MSDOS Filesystem
51 options CD9660 #ISO 9660 Filesystem
52 #options PROCFS #Process filesystem (requires PSEUDOFS)
53 options PSEUDOFS #Pseudo-filesystem framework
54 options COMPAT_43 #Compatible with BSD 4.3 [KEEP THIS!]
55 options SCSI_DELAY=5000 #Delay (in ms) before probing SCSI
56 #options KTRACE #ktrace(1) support
57 options SYSVSHM #SYSV-style shared memory
58 options SYSVMSG #SYSV-style message queues
59 options SYSVSEM #SYSV-style semaphores
60 options _KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time extensions
61 options KBD_INSTALL_CDEV # install a CDEV entry in /dev
62 device genclock
63 device loop
64 device ether
65 device nexus
66 #device saarm
67 device rl
68 device uart
69 #options AHC_REG_PRETTY_PRINT # Print register bitfields in debug
70 # output. Adds ~128k to driver.
71 #options AHD_REG_PRETTY_PRINT # Print register bitfields in debug
72 # output. Adds ~215k to driver.
73
74 # Debugging for use in -current
75 #options INVARIANTS #Enable calls of extra sanity checking
76 #options INVARIANT_SUPPORT #Extra sanity checks of internal structures, required by INVARIANTS
77 #options WITNESS #Enable checks to detect deadlocks and cycles
78 #options WITNESS_SKIPSPIN #Don't run witness on spinlocks for speed
79
80 # To make an SMP kernel, the next two are needed
81 #options SMP # Symmetric MultiProcessor Kernel
82 #options APIC_IO # Symmetric (APIC) I/O
83
84 device mem # Memory and kernel memory devices
85 device md
86 options ARM32_NEW_VM_LAYOUT
87 # Floppy drives
88
89 [/quote][/quote] |
|