summaryrefslogtreecommitdiffstats
path: root/sys/powerpc/conf
diff options
context:
space:
mode:
authorraj <raj@FreeBSD.org>2008-03-03 20:40:20 +0000
committerraj <raj@FreeBSD.org>2008-03-03 20:40:20 +0000
commite03fbae38985b8df6df8cb851d82fcafd8f715a6 (patch)
treec4713cc4df3cdab9bf7b077e966e4a6e13c29239 /sys/powerpc/conf
parent469edf6052992c3be9401c89ee81a7eff0e7a7e6 (diff)
downloadFreeBSD-src-e03fbae38985b8df6df8cb851d82fcafd8f715a6.zip
FreeBSD-src-e03fbae38985b8df6df8cb851d82fcafd8f715a6.tar.gz
Connect MPC85XX to the PowerPC build.
The kernel config file is KERNCONF=MPC85XX, so the usual procedure applies: 1. make buildworld TARGET_ARCH=powerpc 2. make buildkernel TARGET_ARCH=powerpc TARGET_CPUTYPE=e500 KERNCONF=MPC85XX This default config uses kernel-level FPU emulation. For the soft-float world approach: 1. make buildworld TARGET_ARCH=powerpc TARGET_CPUTYPE=e500 2. disable FPU_EMU option in sys/powerpc/conf/MPC85XX 3. make buildkernel TARGET_ARCH=powerpc TARGET_CPUTYPE=e500 KERNCONF=MPC85XX Approved by: cognet (mentor) MFp4: e500
Diffstat (limited to 'sys/powerpc/conf')
-rw-r--r--sys/powerpc/conf/MPC85XX72
-rw-r--r--sys/powerpc/conf/NOTES2
2 files changed, 74 insertions, 0 deletions
diff --git a/sys/powerpc/conf/MPC85XX b/sys/powerpc/conf/MPC85XX
new file mode 100644
index 0000000..c53293a
--- /dev/null
+++ b/sys/powerpc/conf/MPC85XX
@@ -0,0 +1,72 @@
+#
+# Custom kernel for Freescale MPC85XX development boards like the CDS etc.
+#
+# $FreeBSD$
+#
+
+cpu E500
+ident MPC85XX
+
+makeoptions DEBUG="-Wa,-me500 -g"
+makeoptions NO_MODULES=yes
+
+options FPU_EMU
+
+options _KPOSIX_PRIORITY_SCHEDULING
+options ALT_BREAK_TO_DEBUGGER
+options BREAK_TO_DEBUGGER
+options BOOTP
+options BOOTP_NFSROOT
+options BOOTP_NFSV3
+options BOOTP_WIRED_TO=tsec0
+options CD9660
+options COMPAT_43
+options DDB
+#options DIAGNOSTIC
+options FFS
+options GDB
+options GEOM_PART_GPT
+options INET
+options INET6
+options INVARIANTS
+options INVARIANT_SUPPORT
+options KDB
+options KTRACE
+options MD_ROOT
+options MPC85XX
+options MSDOSFS
+options NFS_ROOT
+options NFSCLIENT
+options PROCFS
+options PSEUDOFS
+options SCHED_4BSD
+options SYSVMSG
+options SYSVSEM
+options SYSVSHM
+options WITNESS
+options WITNESS_SKIPSPIN
+
+device ata
+device atadisk
+device bpf
+device da
+device em
+device ether
+device fxp
+device loop
+device md
+device miibus
+device pci
+device pty
+device quicc
+device random
+#device rl
+device scbus
+device scc
+device tsec
+device tun
+device uart
+device ugen
+#device uhci
+device umass
+device usb
diff --git a/sys/powerpc/conf/NOTES b/sys/powerpc/conf/NOTES
index dad77f0..53b8c57 100644
--- a/sys/powerpc/conf/NOTES
+++ b/sys/powerpc/conf/NOTES
@@ -11,9 +11,11 @@
#
# You must specify at least one CPU (the one you intend to run on).
cpu AIM
+cpu E500
options FPU_EMU
+options MPC85XX
options POWERMAC #NewWorld Apple PowerMacs
options PSIM #GDB PSIM ppc simulator
OpenPOWER on IntegriCloud