PERFORCE change 153484 for review
Sam Leffler
sam at FreeBSD.org
Mon Nov 24 15:40:31 PST 2008
http://perforce.freebsd.org/chv.cgi?CH=153484
Change 153484 by sam at sam_ebb on 2008/11/24 23:40:11
move memory layout defs from kernel config and correct physical
memory layout to match reality
Affected files ...
.. //depot/projects/vap/sys/arm/xscale/ixp425/std.avila#3 edit
Differences ...
==== //depot/projects/vap/sys/arm/xscale/ixp425/std.avila#3 (text+ko) ====
@@ -1,6 +1,23 @@
-#GW2348-4 board configuration
#$FreeBSD: src/sys/arm/xscale/ixp425/std.avila,v 1.1 2006/11/19 23:55:23 sam Exp $
+
+#
+# Gateworks GW23XX board configuration
+#
include "../xscale/ixp425/std.ixp425"
files "../xscale/ixp425/files.avila"
-makeoptions KERNPHYSADDR=0x10200000
+#
+# Physical memory starts at 0. We assume images are loaded at
+# 0x200000, e.g. from redboot with load -b 0x200000 kernel.
+#
+# Redboot is expected to handle unmapping the flash memory that
+# appears at 0 on boot. Likewise we expect the expansion bus to
+# be remapped away from 0.
+#
+options PHYSADDR=0x00000000
+options KERNPHYSADDR=0x00200000
+makeoptions KERNPHYSADDR=0x00200000
+options KERNVIRTADDR=0xc0200000 # Used in ldscript.arm
makeoptions KERNVIRTADDR=0xc0200000
+options FLASHADDR=0x50000000
+options LOADERRAMADDR=0x00000000
+options STARTUP_PAGETABLE_ADDR=0x00000000
More information about the p4-projects
mailing list