Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Aug 2009 09:39:11 +0000 (UTC)
From:      Rafal Jaworowski <raj@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r196533 - head/sys/arm/mv/kirkwood
Message-ID:  <200908250939.n7P9dBTA022265@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: raj
Date: Tue Aug 25 09:39:11 2009
New Revision: 196533
URL: http://svn.freebsd.org/changeset/base/196533

Log:
  Exclude common Kirkwood settings so they can be shared among various platforms
  based on this SOC. This is a preliminary step for SheevaPlug support.
  
  Submitted by:	Michal Hajduk
  Obtained from:	Semihalf

Added:
  head/sys/arm/mv/kirkwood/files.kirkwood   (contents, props changed)
  head/sys/arm/mv/kirkwood/std.kirkwood   (contents, props changed)
Modified:
  head/sys/arm/mv/kirkwood/files.db88f6xxx
  head/sys/arm/mv/kirkwood/std.db88f6xxx

Modified: head/sys/arm/mv/kirkwood/files.db88f6xxx
==============================================================================
--- head/sys/arm/mv/kirkwood/files.db88f6xxx	Tue Aug 25 09:35:50 2009	(r196532)
+++ head/sys/arm/mv/kirkwood/files.db88f6xxx	Tue Aug 25 09:39:11 2009	(r196533)
@@ -1,5 +1,4 @@
 # $FreeBSD$
 
-arm/mv/rtc.c			standard
-arm/mv/kirkwood/kirkwood.c	standard
+include "arm/mv/kirkwood/files.kirkwood"
 arm/mv/kirkwood/db88f6xxx.c	standard

Added: head/sys/arm/mv/kirkwood/files.kirkwood
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sys/arm/mv/kirkwood/files.kirkwood	Tue Aug 25 09:39:11 2009	(r196533)
@@ -0,0 +1,4 @@
+# $FreeBSD$
+
+arm/mv/rtc.c			standard
+arm/mv/kirkwood/kirkwood.c	standard

Modified: head/sys/arm/mv/kirkwood/std.db88f6xxx
==============================================================================
--- head/sys/arm/mv/kirkwood/std.db88f6xxx	Tue Aug 25 09:35:50 2009	(r196532)
+++ head/sys/arm/mv/kirkwood/std.db88f6xxx	Tue Aug 25 09:39:11 2009	(r196533)
@@ -1,13 +1,8 @@
 # $FreeBSD$
 
 include	"../mv/std.mv"
+include "../mv/kirkwood/std.kirkwood"
 files	"../mv/kirkwood/files.db88f6xxx"
 
-makeoptions	KERNPHYSADDR=0x00900000
-makeoptions	KERNVIRTADDR=0xc0900000
 
-options		KERNPHYSADDR=0x00900000
-options		KERNVIRTADDR=0xc0900000
-options		PHYSADDR=0x00000000
 options		PHYSMEM_SIZE=0x20000000
-options		STARTUP_PAGETABLE_ADDR=0x00100000

Added: head/sys/arm/mv/kirkwood/std.kirkwood
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sys/arm/mv/kirkwood/std.kirkwood	Tue Aug 25 09:39:11 2009	(r196533)
@@ -0,0 +1,15 @@
+# $FreeBSD$
+
+# kernel gets loaded at 0x00900000 by the loader, but runs at virtual address
+# 0xc0900000.  RAM starts at 0.  We put the pagetable at a reasonable place
+# in memory, but may need to bounce it higher if there's a problem with this.
+# We could paper over this by loading the kernel at 0xc0000000 virtual, but
+# that leads to other complications, so we'll just reclaim the lower region of
+# ram after we're loaded.  Put the page tables for startup at 1MB.
+makeoptions	KERNPHYSADDR=0x00900000
+makeoptions	KERNVIRTADDR=0xc0900000
+
+options		KERNPHYSADDR=0x00900000
+options		KERNVIRTADDR=0xc0900000
+options		PHYSADDR=0x00000000
+options		STARTUP_PAGETABLE_ADDR=0x00100000



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200908250939.n7P9dBTA022265>