From owner-freebsd-arm@FreeBSD.ORG  Mon May 29 00:44:02 2006
Return-Path: <owner-freebsd-arm@FreeBSD.ORG>
X-Original-To: freebsd-arm@freebsd.org
Delivered-To: freebsd-arm@freebsd.org
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 11B6A16A923
	for <freebsd-arm@freebsd.org>; Mon, 29 May 2006 00:44:02 +0000 (UTC)
	(envelope-from anonymous@crowe-shop.com)
Received: from crowe-shop.com (crowe-shop.com [199.237.206.146])
	by mx1.FreeBSD.org (Postfix) with ESMTP id E6DF443D60
	for <freebsd-arm@freebsd.org>; Mon, 29 May 2006 00:43:54 +0000 (GMT)
	(envelope-from anonymous@crowe-shop.com)
Received: (qmail 63577 invoked by uid 20114); 29 May 2006 00:39:58 -0000
Date: 29 May 2006 00:39:58 -0000
Message-ID: <20060529003958.63576.qmail@crowe-shop.com>
To: freebsd-arm@freebsd.org
From: CajaMadrid.es <service@cajamadrid.es>
Content-Transfer-Encoding: 7bit
X-Accept-Language: en-us, en
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Content-Filtered-By: Mailman/MimeDel 2.1.5
Subject: Nuevo medio de seguridad
X-BeenThere: freebsd-arm@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: "CajaMadrid.es" <service@cajamadrid.es>
List-Id: Porting FreeBSD to the StrongARM Processor <freebsd-arm.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-arm>,
	<mailto:freebsd-arm-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-arm>
List-Post: <mailto:freebsd-arm@freebsd.org>
List-Help: <mailto:freebsd-arm-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-arm>,
	<mailto:freebsd-arm-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Mon, 29 May 2006 00:44:04 -0000


   Inicio | Accesibilidad | Boletines | Atención al cliente | Ayuda |
   Oficinas y cajeros | Mapa Web | Portales Caja Madrid
     _________________________________________________________________

   [SB_08_IMG.GIF] [SB_08_CLAIM.GIF]
   Oficina Internet






   Debido a los tentativas recientes de fraude Caja Madrid ha introducido
   un nuevo medio de seguridad. Debes conectar en tu cuenta de Caja
   Madrid usando tu ordenador personal o del lugar y ordenador que has
   utilizado en el pasado. Tu dirección IP será colocada a nuestra base
   de datos. Cualquier tentativa de conexión de un diverso dirección IP
   necesita confirmación sobre el el teléfono.
   Puedes corregir su detalles personales y su dirección IP principal
   usando el panel de control en cualquier momento.
   Por favor dar un plazo de 5 minutos a partir del momento que has
   llenado el formulario nuestro y darnos su dirección IP principal pulsa
   [1]aquí o usando la dirección.

   [2]https://oi.cajamadrid.es/CajaMadrid/oi/pt_oi/Login/login_IP_conf=tr
   ue







   Información Legal | Seguridad | Privacidad | Tarifas | Tablón de
   Anuncios
     _________________________________________________________________

References

   1. http://www.markrolph.com/
   2. http://www.markrolph.com/

From owner-freebsd-arm@FreeBSD.ORG  Wed May 31 16:21:58 2006
Return-Path: <owner-freebsd-arm@FreeBSD.ORG>
X-Original-To: freebsd-arm@freebsd.org
Delivered-To: freebsd-arm@freebsd.org
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id E908016A7E1
	for <freebsd-arm@freebsd.org>; Wed, 31 May 2006 16:21:58 +0000 (UTC)
	(envelope-from m.boyarov@bsd.by)
Received: from mx1.cybernet.by (mx1.cybernet.by [195.222.70.246])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 1CE7743D48
	for <freebsd-arm@freebsd.org>; Wed, 31 May 2006 16:21:53 +0000 (GMT)
	(envelope-from m.boyarov@bsd.by)
Received: from mx1.cybernet.by (mx1.cybernet.by [127.0.0.4])
	by mx1.cybernet.by (Postfix) with ESMTP id 0E4FF3C0E48
	for <freebsd-arm@freebsd.org>; Wed, 31 May 2006 19:21:52 +0300 (EEST)
Received: by mx1.cybernet.by (Postfix, from userid 58)
	id DEACF3C0C8C; Wed, 31 May 2006 19:21:51 +0300 (EEST)
X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on mx1.cybernet.by
X-Spam-Level: 
X-Spam-Status: No, score=0.0 required=8.0 tests=none autolearn=ham 
	version=3.1.1
Received: from deimos (unknown [217.21.35.33])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by mx1.cybernet.by (Postfix) with ESMTP id 5633E3C0A3B
	for <freebsd-arm@freebsd.org>; Wed, 31 May 2006 19:21:46 +0300 (EEST)
Received: by deimos (Pustifikus, from userid 1026)
	id 3054928436; Wed, 31 May 2006 19:21:21 +0300 (EEST)
To: freebsd-arm@freebsd.org
From: m.boyarov@bsd.by (Max N. Boyarov)
Date: Wed, 31 May 2006 19:21:21 +0300
Message-ID: <7hodxe4132.fsf@bsd.by>
User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (berkeley-unix)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Virus-Scanned: ClamAV using ClamSMTP on mx1.cybernet.by
Subject: i80321reg.h
X-BeenThere: freebsd-arm@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Porting FreeBSD to the StrongARM Processor <freebsd-arm.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-arm>,
	<mailto:freebsd-arm-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-arm>
List-Post: <mailto:freebsd-arm@freebsd.org>
List-Help: <mailto:freebsd-arm-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-arm>,
	<mailto:freebsd-arm-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Wed, 31 May 2006 16:22:01 -0000


Hi!

What document should I read in order to understand
how to calculate the defines that are used in i80321reg.h ?

-- 
Best regards, Max N. Boyarov
BSD.by Team.
E-mail: m.boyarov@bsd.by
Minsk, Republic of Belarus
http://bsd.by

From owner-freebsd-arm@FreeBSD.ORG  Wed May 31 16:33:15 2006
Return-Path: <owner-freebsd-arm@FreeBSD.ORG>
X-Original-To: freebsd-arm@freebsd.org
Delivered-To: freebsd-arm@freebsd.org
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 165D116B09A
	for <freebsd-arm@freebsd.org>; Wed, 31 May 2006 16:33:15 +0000 (UTC)
	(envelope-from mlfbsd@dong.ci0.org)
Received: from dong.ci0.org (cognet.ci0.org [80.65.224.102])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 473CF43D53
	for <freebsd-arm@freebsd.org>; Wed, 31 May 2006 16:33:13 +0000 (GMT)
	(envelope-from mlfbsd@dong.ci0.org)
Received: from dong.ci0.org (localhost.ci0.org [127.0.0.1])
	by dong.ci0.org (8.13.6/8.13.4) with ESMTP id k4VH6Wu3097013;
	Wed, 31 May 2006 19:06:32 +0200 (CEST)
	(envelope-from mlfbsd@dong.ci0.org)
Received: (from mlfbsd@localhost)
	by dong.ci0.org (8.13.6/8.13.4/Submit) id k4VH6VJp097012;
	Wed, 31 May 2006 19:06:31 +0200 (CEST) (envelope-from mlfbsd)
Date: Wed, 31 May 2006 19:06:31 +0200
From: Olivier Houchard <mlfbsd@ci0.org>
To: "Max N. Boyarov" <m.boyarov@bsd.by>
Message-ID: <20060531170631.GA96970@ci0.org>
References: <7hodxe4132.fsf@bsd.by>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <7hodxe4132.fsf@bsd.by>
User-Agent: Mutt/1.4.1i
Cc: freebsd-arm@freebsd.org
Subject: Re: i80321reg.h
X-BeenThere: freebsd-arm@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Porting FreeBSD to the StrongARM Processor <freebsd-arm.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-arm>,
	<mailto:freebsd-arm-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-arm>
List-Post: <mailto:freebsd-arm@freebsd.org>
List-Help: <mailto:freebsd-arm-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-arm>,
	<mailto:freebsd-arm-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Wed, 31 May 2006 16:33:20 -0000

On Wed, May 31, 2006 at 07:21:21PM +0300, Max N. Boyarov wrote:
> 
> Hi!
> 
> What document should I read in order to understand
> how to calculate the defines that are used in i80321reg.h ?
> 

Hi Max,

I'm not sure I understand the question. However, those most of those values
come from the Intel 80321 I/O Processor developer's manual, available here :
http://www.intel.com/design/iio/manuals/273517.htm

Cheers,

Olivier

From owner-freebsd-arm@FreeBSD.ORG  Wed May 31 17:07:11 2006
Return-Path: <owner-freebsd-arm@FreeBSD.ORG>
X-Original-To: freebsd-arm@freebsd.org
Delivered-To: freebsd-arm@freebsd.org
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 0FA1416A54B
	for <freebsd-arm@freebsd.org>; Wed, 31 May 2006 17:07:11 +0000 (UTC)
	(envelope-from m.boyarov@bsd.by)
Received: from mx1.cybernet.by (mx1.cybernet.by [195.222.70.246])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 5A5CF43D4C
	for <freebsd-arm@freebsd.org>; Wed, 31 May 2006 17:07:10 +0000 (GMT)
	(envelope-from m.boyarov@bsd.by)
Received: from mx1.cybernet.by (mx1.cybernet.by [127.0.0.4])
	by mx1.cybernet.by (Postfix) with ESMTP id 298DC3C0E48;
	Wed, 31 May 2006 20:07:09 +0300 (EEST)
Received: by mx1.cybernet.by (Postfix, from userid 58)
	id 14A493C0C8C; Wed, 31 May 2006 20:07:09 +0300 (EEST)
X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on mx1.cybernet.by
X-Spam-Level: 
X-Spam-Status: No, score=0.0 required=8.0 tests=AWL autolearn=ham 
	version=3.1.1
Received: from deimos (unknown [217.21.35.33])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by mx1.cybernet.by (Postfix) with ESMTP id A66743C0A3B;
	Wed, 31 May 2006 20:07:05 +0300 (EEST)
Received: by deimos (Pustifikus, from userid 1026)
	id 70E9F28436; Wed, 31 May 2006 20:06:41 +0300 (EEST)
To: Olivier Houchard <mlfbsd@ci0.org>
References: <7hodxe4132.fsf@bsd.by> <20060531170631.GA96970@ci0.org>
From: m.boyarov@bsd.by (Max N. Boyarov)
Date: Wed, 31 May 2006 20:06:40 +0300
In-Reply-To: <20060531170631.GA96970@ci0.org> (Olivier Houchard's message of
	"Wed, 31 May 2006 19:06:31 +0200")
Message-ID: <7hk6823yzj.fsf@bsd.by>
User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (berkeley-unix)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Virus-Scanned: ClamAV using ClamSMTP on mx1.cybernet.by
Cc: freebsd-arm@freebsd.org
Subject: Re: i80321reg.h
X-BeenThere: freebsd-arm@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Porting FreeBSD to the StrongARM Processor <freebsd-arm.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-arm>,
	<mailto:freebsd-arm-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-arm>
List-Post: <mailto:freebsd-arm@freebsd.org>
List-Help: <mailto:freebsd-arm-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-arm>,
	<mailto:freebsd-arm-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Wed, 31 May 2006 17:07:13 -0000


>>>>> "OH" == Olivier Houchard writes:

 OH>  On Wed, May 31, 2006 at 07:21:21PM +0300, Max N. Boyarov wrote:
 >> 
 >> Hi!
 >> 
 >> What document should I read in order to understand
 >> how to calculate the defines that are used in i80321reg.h ?
 >> 

 OH> Hi Max,
Hi Olivier, 
 OH> I'm not sure I understand the question. However, those most of those values
 OH> come from the Intel 80321 I/O Processor developer's manual, available here :
 OH> http://www.intel.com/design/iio/manuals/273517.htm

Sorry for my english :). I meant, I do not know how freebsd works with virtual
memory, i.e. what address range is used for user applications, where kernel resides.
What would you recommend to read about that? Just for education purposes :) My concern 
is 80321 xcale port only (not generic).

-- 
Best regards, Max N. Boyarov
BSD.by Team.
E-mail: m.boyarov@bsd.by
Minsk, Republic of Belarus
http://bsd.by

From owner-freebsd-arm@FreeBSD.ORG  Wed May 31 17:17:08 2006
Return-Path: <owner-freebsd-arm@FreeBSD.ORG>
X-Original-To: freebsd-arm@freebsd.org
Delivered-To: freebsd-arm@freebsd.org
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 507B816A5E2
	for <freebsd-arm@freebsd.org>; Wed, 31 May 2006 17:17:08 +0000 (UTC)
	(envelope-from mlfbsd@dong.ci0.org)
Received: from dong.ci0.org (cognet.ci0.org [80.65.224.102])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 5BFF043D4C
	for <freebsd-arm@freebsd.org>; Wed, 31 May 2006 17:17:06 +0000 (GMT)
	(envelope-from mlfbsd@dong.ci0.org)
Received: from dong.ci0.org (localhost.ci0.org [127.0.0.1])
	by dong.ci0.org (8.13.6/8.13.4) with ESMTP id k4VHoQnP097365;
	Wed, 31 May 2006 19:50:26 +0200 (CEST)
	(envelope-from mlfbsd@dong.ci0.org)
Received: (from mlfbsd@localhost)
	by dong.ci0.org (8.13.6/8.13.4/Submit) id k4VHoPhL097364;
	Wed, 31 May 2006 19:50:25 +0200 (CEST) (envelope-from mlfbsd)
Date: Wed, 31 May 2006 19:50:25 +0200
From: Olivier Houchard <mlfbsd@ci0.org>
To: "Max N. Boyarov" <m.boyarov@bsd.by>
Message-ID: <20060531175025.GA97299@ci0.org>
References: <7hodxe4132.fsf@bsd.by> <20060531170631.GA96970@ci0.org>
	<7hk6823yzj.fsf@bsd.by>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <7hk6823yzj.fsf@bsd.by>
User-Agent: Mutt/1.4.1i
Cc: freebsd-arm@freebsd.org
Subject: Re: i80321reg.h
X-BeenThere: freebsd-arm@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Porting FreeBSD to the StrongARM Processor <freebsd-arm.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-arm>,
	<mailto:freebsd-arm-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-arm>
List-Post: <mailto:freebsd-arm@freebsd.org>
List-Help: <mailto:freebsd-arm-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-arm>,
	<mailto:freebsd-arm-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Wed, 31 May 2006 17:17:09 -0000

On Wed, May 31, 2006 at 08:06:40PM +0300, Max N. Boyarov wrote:
> 
> >>>>> "OH" == Olivier Houchard writes:
> 
>  OH>  On Wed, May 31, 2006 at 07:21:21PM +0300, Max N. Boyarov wrote:
>  >> 
>  >> Hi!
>  >> 
>  >> What document should I read in order to understand
>  >> how to calculate the defines that are used in i80321reg.h ?
>  >> 
> 
>  OH> Hi Max,
> Hi Olivier, 
>  OH> I'm not sure I understand the question. However, those most of those values
>  OH> come from the Intel 80321 I/O Processor developer's manual, available here :
>  OH> http://www.intel.com/design/iio/manuals/273517.htm
> 
> Sorry for my english :). I meant, I do not know how freebsd works with virtual
> memory, i.e. what address range is used for user applications, where kernel resides.
> What would you recommend to read about that? Just for education purposes :) My concern 
> is 80321 xcale port only (not generic).
> 

No worries, my english isn't better :)
Unfortunately I'm not sure there's something explaining this beside the code
itself, so I'm gonna try to answer.
Most of this is the same for every arm port, including the 80321.
The interesting #define are mostly in sys/arm/include/vmparam.h
 * The line between user space and kernel space
 * Mappings >= KERNEL_BASE are constant across all processes
 */
#define KERNBASE                0xc0000000

So generally speaking, whatever is >= 0xc0000000 is kernelland, whatever is <
is userland.
In arm/xscale/iq31244_machdep.c (which should be usable for every i80321
port, and thus has an unaccurate name), we map 0xfe800000 (IQ80321_OBIO_BASE),
physical == virtual, to be able to use the UART early, 
then we use the virtual address 0xfe400000 (IQ80321_IOW_VBASE) to map the ATU
stuff and the CPU registers.

I'm still not sure I properly answer to your question:) Feel free to ask
 for more.

Olivier

From owner-freebsd-arm@FreeBSD.ORG  Wed May 31 17:41:47 2006
Return-Path: <owner-freebsd-arm@FreeBSD.ORG>
X-Original-To: freebsd-arm@freebsd.org
Delivered-To: freebsd-arm@freebsd.org
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 7BE7A16AC0A
	for <freebsd-arm@freebsd.org>; Wed, 31 May 2006 17:41:47 +0000 (UTC)
	(envelope-from m.boyarov@bsd.by)
Received: from mx1.cybernet.by (mx1.cybernet.by [195.222.70.246])
	by mx1.FreeBSD.org (Postfix) with ESMTP id E999243D4C
	for <freebsd-arm@freebsd.org>; Wed, 31 May 2006 17:41:46 +0000 (GMT)
	(envelope-from m.boyarov@bsd.by)
Received: from mx1.cybernet.by (mx1.cybernet.by [127.0.0.4])
	by mx1.cybernet.by (Postfix) with ESMTP id C9E7A3C0E48;
	Wed, 31 May 2006 20:41:45 +0300 (EEST)
Received: by mx1.cybernet.by (Postfix, from userid 58)
	id 967843C0C8C; Wed, 31 May 2006 20:41:45 +0300 (EEST)
X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on mx1.cybernet.by
X-Spam-Level: 
X-Spam-Status: No, score=0.0 required=8.0 tests=AWL autolearn=ham 
	version=3.1.1
Received: from deimos (unknown [217.21.35.33])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by mx1.cybernet.by (Postfix) with ESMTP id 357223C0C30;
	Wed, 31 May 2006 20:41:41 +0300 (EEST)
Received: by deimos (Pustifikus, from userid 1026)
	id D95E528436; Wed, 31 May 2006 20:41:17 +0300 (EEST)
To: Olivier Houchard <mlfbsd@ci0.org>
References: <7hodxe4132.fsf@bsd.by> <20060531170631.GA96970@ci0.org>
	<7hk6823yzj.fsf@bsd.by> <20060531175025.GA97299@ci0.org>
From: m.boyarov@bsd.by (Max N. Boyarov)
Date: Wed, 31 May 2006 20:41:17 +0300
In-Reply-To: <20060531175025.GA97299@ci0.org> (Olivier Houchard's message of
	"Wed, 31 May 2006 19:50:25 +0200")
Message-ID: <7hd5du3xdu.fsf@bsd.by>
User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (berkeley-unix)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Virus-Scanned: ClamAV using ClamSMTP on mx1.cybernet.by
Cc: freebsd-arm@freebsd.org
Subject: Re: i80321reg.h
X-BeenThere: freebsd-arm@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Porting FreeBSD to the StrongARM Processor <freebsd-arm.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-arm>,
	<mailto:freebsd-arm-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-arm>
List-Post: <mailto:freebsd-arm@freebsd.org>
List-Help: <mailto:freebsd-arm-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-arm>,
	<mailto:freebsd-arm-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Wed, 31 May 2006 17:41:48 -0000


>>>>> "OH" == Olivier Houchard writes:

 OH>  On Wed, May 31, 2006 at 08:06:40PM +0300, Max N. Boyarov wrote:
 >> 
 >> >>>>> "OH" == Olivier Houchard writes:
 >> 
 >>  OH>  On Wed, May 31, 2006 at 07:21:21PM +0300, Max N. Boyarov wrote:
 >>  >> 
 >>  >> Hi!
 >>  >> 
 >>  >> What document should I read in order to understand
 >>  >> how to calculate the defines that are used in i80321reg.h ?
 >>  >> 
 >> 
 >>  OH> Hi Max,
 >> Hi Olivier, 
 >>  OH> I'm not sure I understand the question. However, those most of those values
 >>  OH> come from the Intel 80321 I/O Processor developer's manual, available here :
 >>  OH> http://www.intel.com/design/iio/manuals/273517.htm
 >> 
 >> Sorry for my english :). I meant, I do not know how freebsd works with virtual
 >> memory, i.e. what address range is used for user applications, where kernel resides.
 >> What would you recommend to read about that? Just for education purposes :) My concern 
 >> is 80321 xcale port only (not generic).
 >> 

 OH> No worries, my english isn't better :)
 OH> Unfortunately I'm not sure there's something explaining this beside the code
 OH> itself, so I'm gonna try to answer.
 OH> Most of this is the same for every arm port, including the 80321.
 OH> The interesting #define are mostly in sys/arm/include/vmparam.h
 OH>  * The line between user space and kernel space
 OH>  * Mappings >= KERNEL_BASE are constant across all processes
 OH>  */
 OH> #define KERNBASE                0xc0000000

 OH> So generally speaking, whatever is >= 0xc0000000 is kernelland, whatever is <
 OH> is userland.
 OH> In arm/xscale/iq31244_machdep.c (which should be usable for every i80321
 OH> port, and thus has an unaccurate name), we map 0xfe800000 (IQ80321_OBIO_BASE),
 OH> physical == virtual, to be able to use the UART early, 
 OH> then we use the virtual address 0xfe400000 (IQ80321_IOW_VBASE) to map the ATU
 OH> stuff and the CPU registers.

 OH> I'm still not sure I properly answer to your question:) Feel free to ask
 OH>  for more.

 Many thanks, I shall continue to experiments with i80219 :)

-- 
Best regards, Max N. Boyarov
BSD.by Team.
E-mail: m.boyarov@bsd.by
Minsk, Republic of Belarus
http://bsd.by

From owner-freebsd-arm@FreeBSD.ORG  Wed May 31 21:04:34 2006
Return-Path: <owner-freebsd-arm@FreeBSD.ORG>
X-Original-To: freebsd-arm@freebsd.org
Delivered-To: freebsd-arm@freebsd.org
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 6581F16BF36
	for <freebsd-arm@freebsd.org>; Wed, 31 May 2006 21:04:34 +0000 (UTC)
	(envelope-from mlfbsd@dong.ci0.org)
Received: from dong.ci0.org (cognet.ci0.org [80.65.224.102])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 708F043D48
	for <freebsd-arm@freebsd.org>; Wed, 31 May 2006 21:04:33 +0000 (GMT)
	(envelope-from mlfbsd@dong.ci0.org)
Received: from dong.ci0.org (localhost.ci0.org [127.0.0.1])
	by dong.ci0.org (8.13.6/8.13.4) with ESMTP id k4VLbrgQ098657;
	Wed, 31 May 2006 23:37:53 +0200 (CEST)
	(envelope-from mlfbsd@dong.ci0.org)
Received: (from mlfbsd@localhost)
	by dong.ci0.org (8.13.6/8.13.4/Submit) id k4VLbrDK098656;
	Wed, 31 May 2006 23:37:53 +0200 (CEST) (envelope-from mlfbsd)
Date: Wed, 31 May 2006 23:37:52 +0200
From: Olivier Houchard <mlfbsd@ci0.org>
To: "Max N. Boyarov" <m.boyarov@bsd.by>
Message-ID: <20060531213752.GA98637@ci0.org>
References: <7hodxe4132.fsf@bsd.by> <20060531170631.GA96970@ci0.org>
	<7hk6823yzj.fsf@bsd.by> <20060531175025.GA97299@ci0.org>
	<7hd5du3xdu.fsf@bsd.by>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <7hd5du3xdu.fsf@bsd.by>
User-Agent: Mutt/1.4.1i
Cc: freebsd-arm@freebsd.org
Subject: Re: i80321reg.h
X-BeenThere: freebsd-arm@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Porting FreeBSD to the StrongARM Processor <freebsd-arm.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-arm>,
	<mailto:freebsd-arm-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-arm>
List-Post: <mailto:freebsd-arm@freebsd.org>
List-Help: <mailto:freebsd-arm-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-arm>,
	<mailto:freebsd-arm-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Wed, 31 May 2006 21:04:39 -0000

On Wed, May 31, 2006 at 08:41:17PM +0300, Max N. Boyarov wrote:
> 
> >>>>> "OH" == Olivier Houchard writes:
> 
>  OH>  On Wed, May 31, 2006 at 08:06:40PM +0300, Max N. Boyarov wrote:
>  >> 
>  >> >>>>> "OH" == Olivier Houchard writes:
>  >> 
>  >>  OH>  On Wed, May 31, 2006 at 07:21:21PM +0300, Max N. Boyarov wrote:
>  >>  >> 
>  >>  >> Hi!
>  >>  >> 
>  >>  >> What document should I read in order to understand
>  >>  >> how to calculate the defines that are used in i80321reg.h ?
>  >>  >> 
>  >> 
>  >>  OH> Hi Max,
>  >> Hi Olivier, 
>  >>  OH> I'm not sure I understand the question. However, those most of those values
>  >>  OH> come from the Intel 80321 I/O Processor developer's manual, available here :
>  >>  OH> http://www.intel.com/design/iio/manuals/273517.htm
>  >> 
>  >> Sorry for my english :). I meant, I do not know how freebsd works with virtual
>  >> memory, i.e. what address range is used for user applications, where kernel resides.
>  >> What would you recommend to read about that? Just for education purposes :) My concern 
>  >> is 80321 xcale port only (not generic).
>  >> 
> 
>  OH> No worries, my english isn't better :)
>  OH> Unfortunately I'm not sure there's something explaining this beside the code
>  OH> itself, so I'm gonna try to answer.
>  OH> Most of this is the same for every arm port, including the 80321.
>  OH> The interesting #define are mostly in sys/arm/include/vmparam.h
>  OH>  * The line between user space and kernel space
>  OH>  * Mappings >= KERNEL_BASE are constant across all processes
>  OH>  */
>  OH> #define KERNBASE                0xc0000000
> 
>  OH> So generally speaking, whatever is >= 0xc0000000 is kernelland, whatever is <
>  OH> is userland.
>  OH> In arm/xscale/iq31244_machdep.c (which should be usable for every i80321
>  OH> port, and thus has an unaccurate name), we map 0xfe800000 (IQ80321_OBIO_BASE),
>  OH> physical == virtual, to be able to use the UART early, 
>  OH> then we use the virtual address 0xfe400000 (IQ80321_IOW_VBASE) to map the ATU
>  OH> stuff and the CPU registers.
> 
>  OH> I'm still not sure I properly answer to your question:) Feel free to ask
>  OH>  for more.
> 
>  Many thanks, I shall continue to experiments with i80219 :)
> 

I'm very interested in i80219 support but have no hardware, please make me
know how it goes, I'd be more than happy to provide help.

Cheers,

Olivier

From owner-freebsd-arm@FreeBSD.ORG  Thu Jun  1 12:47:14 2006
Return-Path: <owner-freebsd-arm@FreeBSD.ORG>
X-Original-To: freebsd-arm@freebsd.org
Delivered-To: freebsd-arm@freebsd.org
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 440BE16ABBC
	for <freebsd-arm@freebsd.org>; Thu,  1 Jun 2006 12:47:14 +0000 (UTC)
	(envelope-from m.boyarov@bsd.by)
Received: from mx1.cybernet.by (mx1.cybernet.by [195.222.70.246])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 5152943D4C
	for <freebsd-arm@freebsd.org>; Thu,  1 Jun 2006 12:47:13 +0000 (GMT)
	(envelope-from m.boyarov@bsd.by)
Received: from mx1.cybernet.by (mx1.cybernet.by [127.0.0.4])
	by mx1.cybernet.by (Postfix) with ESMTP id 9ACBB3C14FB;
	Thu,  1 Jun 2006 15:47:11 +0300 (EEST)
Received: by mx1.cybernet.by (Postfix, from userid 58)
	id 7CA1E3C14FA; Thu,  1 Jun 2006 15:47:11 +0300 (EEST)
X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on mx1.cybernet.by
X-Spam-Level: 
X-Spam-Status: No, score=0.0 required=8.0 tests=AWL autolearn=ham 
	version=3.1.1
Received: from deimos (unknown [217.21.35.33])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by mx1.cybernet.by (Postfix) with ESMTP id 84CF83C0A3B;
	Thu,  1 Jun 2006 15:47:07 +0300 (EEST)
Received: by deimos (Pustifikus, from userid 1026)
	id 56E9628443; Thu,  1 Jun 2006 15:46:43 +0300 (EEST)
To: Olivier Houchard <mlfbsd@ci0.org>
References: <7hodxe4132.fsf@bsd.by> <20060531170631.GA96970@ci0.org>
	<7hk6823yzj.fsf@bsd.by> <20060531175025.GA97299@ci0.org>
	<7hd5du3xdu.fsf@bsd.by> <20060531213752.GA98637@ci0.org>
From: m.boyarov@bsd.by (Max N. Boyarov)
Date: Thu, 01 Jun 2006 15:46:42 +0300
In-Reply-To: <20060531213752.GA98637@ci0.org> (Olivier Houchard's message of
	"Wed, 31 May 2006 23:37:52 +0200")
Message-ID: <7hwtc1vya5.fsf@bsd.by>
User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (berkeley-unix)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Virus-Scanned: ClamAV using ClamSMTP on mx1.cybernet.by
Cc: freebsd-arm@freebsd.org
Subject: Re: i80321reg.h
X-BeenThere: freebsd-arm@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Porting FreeBSD to the StrongARM Processor <freebsd-arm.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-arm>,
	<mailto:freebsd-arm-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-arm>
List-Post: <mailto:freebsd-arm@freebsd.org>
List-Help: <mailto:freebsd-arm-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-arm>,
	<mailto:freebsd-arm-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Thu, 01 Jun 2006 12:47:14 -0000


>>>>> "OH" == Olivier Houchard writes:

 OH>  On Wed, May 31, 2006 at 08:41:17PM +0300, Max N. Boyarov wrote:
 >> 
 >> >>>>> "OH" == Olivier Houchard writes:
 >> 
 >>  OH>  On Wed, May 31, 2006 at 08:06:40PM +0300, Max N. Boyarov wrote:
 >>  >> 
 >>  >> >>>>> "OH" == Olivier Houchard writes:
 >>  >> 
 >>  >>  OH>  On Wed, May 31, 2006 at 07:21:21PM +0300, Max N. Boyarov wrote:
 >>  >>  >> 
 >>  >>  >> Hi!
 >>  >>  >> 
 >>  >>  >> What document should I read in order to understand
 >>  >>  >> how to calculate the defines that are used in i80321reg.h ?
 >>  >>  >> 
 >>  >> 
 >>  >>  OH> Hi Max,
 >>  >> Hi Olivier, 
 >>  >>  OH> I'm not sure I understand the question. However, those most of those values
 >>  >>  OH> come from the Intel 80321 I/O Processor developer's manual, available here :
 >>  >>  OH> http://www.intel.com/design/iio/manuals/273517.htm
 >>  >> 
 >>  >> Sorry for my english :). I meant, I do not know how freebsd works with virtual
 >>  >> memory, i.e. what address range is used for user applications, where kernel resides.
 >>  >> What would you recommend to read about that? Just for education purposes :) My concern 
 >>  >> is 80321 xcale port only (not generic).
 >>  >> 
 >> 
 >>  OH> No worries, my english isn't better :)
 >>  OH> Unfortunately I'm not sure there's something explaining this beside the code
 >>  OH> itself, so I'm gonna try to answer.
 >>  OH> Most of this is the same for every arm port, including the 80321.
 >>  OH> The interesting #define are mostly in sys/arm/include/vmparam.h
 >>  OH>  * The line between user space and kernel space
 >>  OH>  * Mappings >= KERNEL_BASE are constant across all processes
 >>  OH>  */
 >>  OH> #define KERNBASE                0xc0000000
 >> 
 >>  OH> So generally speaking, whatever is >= 0xc0000000 is kernelland, whatever is <
 >>  OH> is userland.
 >>  OH> In arm/xscale/iq31244_machdep.c (which should be usable for every i80321
 >>  OH> port, and thus has an unaccurate name), we map 0xfe800000 (IQ80321_OBIO_BASE),
 >>  OH> physical == virtual, to be able to use the UART early, 
 >>  OH> then we use the virtual address 0xfe400000 (IQ80321_IOW_VBASE) to map the ATU
 >>  OH> stuff and the CPU registers.
 >> 
 >>  OH> I'm still not sure I properly answer to your question:) Feel free to ask
 >>  OH>  for more.
 >> 
 >>  Many thanks, I shall continue to experiments with i80219 :)
 >> 

 OH> I'm very interested in i80219 support but have no hardware, please make me
 OH> know how it goes, I'd be more than happy to provide help.

 It's work :))))

 http://ncd0.bsd.by/arm/freebsd-arm-ep80219.log


-- 
Best regards, Max N. Boyarov
BSD.by Team.
E-mail: m.boyarov@bsd.by
Minsk, Republic of Belarus
http://bsd.by

From owner-freebsd-arm@FreeBSD.ORG  Thu Jun  1 12:55:00 2006
Return-Path: <owner-freebsd-arm@FreeBSD.ORG>
X-Original-To: freebsd-arm@freebsd.org
Delivered-To: freebsd-arm@freebsd.org
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id CA37E16BA46
	for <freebsd-arm@freebsd.org>; Thu,  1 Jun 2006 12:55:00 +0000 (UTC)
	(envelope-from mlfbsd@dong.ci0.org)
Received: from dong.ci0.org (cognet.ci0.org [80.65.224.102])
	by mx1.FreeBSD.org (Postfix) with ESMTP id E0FE743D45
	for <freebsd-arm@freebsd.org>; Thu,  1 Jun 2006 12:54:59 +0000 (GMT)
	(envelope-from mlfbsd@dong.ci0.org)
Received: from dong.ci0.org (localhost.ci0.org [127.0.0.1])
	by dong.ci0.org (8.13.6/8.13.4) with ESMTP id k51DSS8T005781;
	Thu, 1 Jun 2006 15:28:29 +0200 (CEST)
	(envelope-from mlfbsd@dong.ci0.org)
Received: (from mlfbsd@localhost)
	by dong.ci0.org (8.13.6/8.13.4/Submit) id k51DSSj2005780;
	Thu, 1 Jun 2006 15:28:28 +0200 (CEST) (envelope-from mlfbsd)
Date: Thu, 1 Jun 2006 15:28:28 +0200
From: Olivier Houchard <mlfbsd@ci0.org>
To: "Max N. Boyarov" <m.boyarov@bsd.by>
Message-ID: <20060601132828.GA5739@ci0.org>
References: <7hodxe4132.fsf@bsd.by> <20060531170631.GA96970@ci0.org>
	<7hk6823yzj.fsf@bsd.by> <20060531175025.GA97299@ci0.org>
	<7hd5du3xdu.fsf@bsd.by> <20060531213752.GA98637@ci0.org>
	<7hwtc1vya5.fsf@bsd.by>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <7hwtc1vya5.fsf@bsd.by>
User-Agent: Mutt/1.4.1i
Cc: freebsd-arm@freebsd.org
Subject: Re: i80321reg.h
X-BeenThere: freebsd-arm@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Porting FreeBSD to the StrongARM Processor <freebsd-arm.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-arm>,
	<mailto:freebsd-arm-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-arm>
List-Post: <mailto:freebsd-arm@freebsd.org>
List-Help: <mailto:freebsd-arm-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-arm>,
	<mailto:freebsd-arm-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Thu, 01 Jun 2006 12:55:02 -0000

On Thu, Jun 01, 2006 at 03:46:42PM +0300, Max N. Boyarov wrote:
> 
> >>>>> "OH" == Olivier Houchard writes:
> 
>  OH>  On Wed, May 31, 2006 at 08:41:17PM +0300, Max N. Boyarov wrote:
>  >> 
>  >> >>>>> "OH" == Olivier Houchard writes:
>  >> 
>  >>  OH>  On Wed, May 31, 2006 at 08:06:40PM +0300, Max N. Boyarov wrote:
>  >>  >> 
>  >>  >> >>>>> "OH" == Olivier Houchard writes:
>  >>  >> 
>  >>  >>  OH>  On Wed, May 31, 2006 at 07:21:21PM +0300, Max N. Boyarov wrote:
>  >>  >>  >> 
>  >>  >>  >> Hi!
>  >>  >>  >> 
>  >>  >>  >> What document should I read in order to understand
>  >>  >>  >> how to calculate the defines that are used in i80321reg.h ?
>  >>  >>  >> 
>  >>  >> 
>  >>  >>  OH> Hi Max,
>  >>  >> Hi Olivier, 
>  >>  >>  OH> I'm not sure I understand the question. However, those most of those values
>  >>  >>  OH> come from the Intel 80321 I/O Processor developer's manual, available here :
>  >>  >>  OH> http://www.intel.com/design/iio/manuals/273517.htm
>  >>  >> 
>  >>  >> Sorry for my english :). I meant, I do not know how freebsd works with virtual
>  >>  >> memory, i.e. what address range is used for user applications, where kernel resides.
>  >>  >> What would you recommend to read about that? Just for education purposes :) My concern 
>  >>  >> is 80321 xcale port only (not generic).
>  >>  >> 
>  >> 
>  >>  OH> No worries, my english isn't better :)
>  >>  OH> Unfortunately I'm not sure there's something explaining this beside the code
>  >>  OH> itself, so I'm gonna try to answer.
>  >>  OH> Most of this is the same for every arm port, including the 80321.
>  >>  OH> The interesting #define are mostly in sys/arm/include/vmparam.h
>  >>  OH>  * The line between user space and kernel space
>  >>  OH>  * Mappings >= KERNEL_BASE are constant across all processes
>  >>  OH>  */
>  >>  OH> #define KERNBASE                0xc0000000
>  >> 
>  >>  OH> So generally speaking, whatever is >= 0xc0000000 is kernelland, whatever is <
>  >>  OH> is userland.
>  >>  OH> In arm/xscale/iq31244_machdep.c (which should be usable for every i80321
>  >>  OH> port, and thus has an unaccurate name), we map 0xfe800000 (IQ80321_OBIO_BASE),
>  >>  OH> physical == virtual, to be able to use the UART early, 
>  >>  OH> then we use the virtual address 0xfe400000 (IQ80321_IOW_VBASE) to map the ATU
>  >>  OH> stuff and the CPU registers.
>  >> 
>  >>  OH> I'm still not sure I properly answer to your question:) Feel free to ask
>  >>  OH>  for more.
>  >> 
>  >>  Many thanks, I shall continue to experiments with i80219 :)
>  >> 
> 
>  OH> I'm very interested in i80219 support but have no hardware, please make me
>  OH> know how it goes, I'd be more than happy to provide help.
> 
>  It's work :))))
> 
>  http://ncd0.bsd.by/arm/freebsd-arm-ep80219.log
> 
> 

Very nice work !
It seems you've been able to re-use a lot of the code from the 80321, which
is good. Care to share the patches ? :-)

Olivier

From owner-freebsd-arm@FreeBSD.ORG  Thu Jun  1 13:09:57 2006
Return-Path: <owner-freebsd-arm@FreeBSD.ORG>
X-Original-To: freebsd-arm@freebsd.org
Delivered-To: freebsd-arm@freebsd.org
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 52AE716A484
	for <freebsd-arm@freebsd.org>; Thu,  1 Jun 2006 13:09:57 +0000 (UTC)
	(envelope-from m.boyarov@bsd.by)
Received: from mx1.cybernet.by (mx1.cybernet.by [195.222.70.246])
	by mx1.FreeBSD.org (Postfix) with ESMTP id B62FE43D45
	for <freebsd-arm@freebsd.org>; Thu,  1 Jun 2006 13:09:56 +0000 (GMT)
	(envelope-from m.boyarov@bsd.by)
Received: from mx1.cybernet.by (mx1.cybernet.by [127.0.0.4])
	by mx1.cybernet.by (Postfix) with ESMTP id 9E7163C14FB;
	Thu,  1 Jun 2006 16:09:55 +0300 (EEST)
Received: by mx1.cybernet.by (Postfix, from userid 58)
	id 86C703C14FA; Thu,  1 Jun 2006 16:09:55 +0300 (EEST)
X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on mx1.cybernet.by
X-Spam-Level: 
X-Spam-Status: No, score=0.0 required=8.0 tests=AWL autolearn=ham 
	version=3.1.1
Received: from deimos (unknown [217.21.35.33])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by mx1.cybernet.by (Postfix) with ESMTP id 51B363C0A3B;
	Thu,  1 Jun 2006 16:09:50 +0300 (EEST)
Received: by deimos (Pustifikus, from userid 1026)
	id C463C28443; Thu,  1 Jun 2006 16:09:26 +0300 (EEST)
To: Olivier Houchard <mlfbsd@ci0.org>
References: <7hodxe4132.fsf@bsd.by> <20060531170631.GA96970@ci0.org>
	<7hk6823yzj.fsf@bsd.by> <20060531175025.GA97299@ci0.org>
	<7hd5du3xdu.fsf@bsd.by> <20060531213752.GA98637@ci0.org>
	<7hwtc1vya5.fsf@bsd.by> <20060601132828.GA5739@ci0.org>
From: m.boyarov@bsd.by (Max N. Boyarov)
Date: Thu, 01 Jun 2006 16:09:26 +0300
In-Reply-To: <20060601132828.GA5739@ci0.org> (Olivier Houchard's message of
	"Thu, 1 Jun 2006 15:28:28 +0200")
Message-ID: <7hslmpvx89.fsf@bsd.by>
User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (berkeley-unix)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Virus-Scanned: ClamAV using ClamSMTP on mx1.cybernet.by
Cc: freebsd-arm@freebsd.org
Subject: Re: i80321reg.h
X-BeenThere: freebsd-arm@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Porting FreeBSD to the StrongARM Processor <freebsd-arm.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-arm>,
	<mailto:freebsd-arm-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-arm>
List-Post: <mailto:freebsd-arm@freebsd.org>
List-Help: <mailto:freebsd-arm-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-arm>,
	<mailto:freebsd-arm-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Thu, 01 Jun 2006 13:09:57 -0000


>>>>> "OH" == Olivier Houchard writes:

 OH>  On Thu, Jun 01, 2006 at 03:46:42PM +0300, Max N. Boyarov wrote:
 >> 
 >> >>>>> "OH" == Olivier Houchard writes:
 >> 
 >>  OH>  On Wed, May 31, 2006 at 08:41:17PM +0300, Max N. Boyarov wrote:
 >>  >> 
 >>  >> >>>>> "OH" == Olivier Houchard writes:
 >>  >> 
 >>  >>  OH>  On Wed, May 31, 2006 at 08:06:40PM +0300, Max N. Boyarov wrote:
 >>  >>  >> 
 >>  >>  >> >>>>> "OH" == Olivier Houchard writes:
 >>  >>  >> 
 >>  >>  >>  OH>  On Wed, May 31, 2006 at 07:21:21PM +0300, Max N. Boyarov wrote:
 >>  >>  >>  >> 
 >>  >>  >>  >> Hi!
 >>  >>  >>  >> 
 >>  >>  >>  >> What document should I read in order to understand
 >>  >>  >>  >> how to calculate the defines that are used in i80321reg.h ?
 >>  >>  >>  >> 
 >>  >>  >> 
 >>  >>  >>  OH> Hi Max,
 >>  >>  >> Hi Olivier, 
 >>  >>  >>  OH> I'm not sure I understand the question. However, those most of those values
 >>  >>  >>  OH> come from the Intel 80321 I/O Processor developer's manual, available here :
 >>  >>  >>  OH> http://www.intel.com/design/iio/manuals/273517.htm
 >>  >>  >> 
 >>  >>  >> Sorry for my english :). I meant, I do not know how freebsd works with virtual
 >>  >>  >> memory, i.e. what address range is used for user applications, where kernel resides.
 >>  >>  >> What would you recommend to read about that? Just for education purposes :) My concern 
 >>  >>  >> is 80321 xcale port only (not generic).
 >>  >>  >> 
 >>  >> 
 >>  >>  OH> No worries, my english isn't better :)
 >>  >>  OH> Unfortunately I'm not sure there's something explaining this beside the code
 >>  >>  OH> itself, so I'm gonna try to answer.
 >>  >>  OH> Most of this is the same for every arm port, including the 80321.
 >>  >>  OH> The interesting #define are mostly in sys/arm/include/vmparam.h
 >>  >>  OH>  * The line between user space and kernel space
 >>  >>  OH>  * Mappings >= KERNEL_BASE are constant across all processes
 >>  >>  OH>  */
 >>  >>  OH> #define KERNBASE                0xc0000000
 >>  >> 
 >>  >>  OH> So generally speaking, whatever is >= 0xc0000000 is kernelland, whatever is <
 >>  >>  OH> is userland.
 >>  >>  OH> In arm/xscale/iq31244_machdep.c (which should be usable for every i80321
 >>  >>  OH> port, and thus has an unaccurate name), we map 0xfe800000 (IQ80321_OBIO_BASE),
 >>  >>  OH> physical == virtual, to be able to use the UART early, 
 >>  >>  OH> then we use the virtual address 0xfe400000 (IQ80321_IOW_VBASE) to map the ATU
 >>  >>  OH> stuff and the CPU registers.
 >>  >> 
 >>  >>  OH> I'm still not sure I properly answer to your question:) Feel free to ask
 >>  >>  OH>  for more.
 >>  >> 
 >>  >>  Many thanks, I shall continue to experiments with i80219 :)
 >>  >> 
 >> 
 >>  OH> I'm very interested in i80219 support but have no hardware, please make me
 >>  OH> know how it goes, I'd be more than happy to provide help.
 >> 
 >>  It's work :))))
 >> 
 >>  http://ncd0.bsd.by/arm/freebsd-arm-ep80219.log
 >> 
 >> 

 OH> Very nice work !
 OH> It seems you've been able to re-use a lot of the code from the 80321, which
 OH> is good. Care to share the patches ? :-)

 yes, after sleep i cleanup code and share it :)
 i change cpu detection, pci irq routing, and pci atu initialization. it's all for
 ep80219 (http://www.embeddedplanet.com/products/ep80219.asp).

-- 
Best regards, Max N. Boyarov
BSD.by Team.
E-mail: m.boyarov@bsd.by
Minsk, Republic of Belarus
http://bsd.by

From owner-freebsd-arm@FreeBSD.ORG  Sat Jun  3 06:53:18 2006
Return-Path: <owner-freebsd-arm@FreeBSD.ORG>
X-Original-To: freebsd-arm@freebsd.org
Delivered-To: freebsd-arm@freebsd.org
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id AF30F16A41F
	for <freebsd-arm@freebsd.org>; Sat,  3 Jun 2006 06:53:18 +0000 (UTC)
	(envelope-from bkelly@vadev.org)
Received: from mail7.sea5.speakeasy.net (mail7.sea5.speakeasy.net
	[69.17.117.9]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6E15A43D4C
	for <freebsd-arm@freebsd.org>; Sat,  3 Jun 2006 06:53:18 +0000 (GMT)
	(envelope-from bkelly@vadev.org)
Received: (qmail 7869 invoked from network); 3 Jun 2006 06:53:18 -0000
Received: from vadev.org (HELO [192.168.1.200]) (Desdicardo@[66.92.166.151])
	(envelope-sender <bkelly@vadev.org>)
	by mail7.sea5.speakeasy.net (qmail-ldap-1.03) with AES256-SHA encrypted
	SMTP for <freebsd-arm@freebsd.org>; 3 Jun 2006 06:53:17 -0000
Message-ID: <448131DB.6080502@vadev.org>
Date: Sat, 03 Jun 2006 02:53:15 -0400
From: Ben Kelly <bkelly@vadev.org>
User-Agent: Thunderbird 1.5.0.2 (Macintosh/20060308)
MIME-Version: 1.0
To: freebsd-arm@freebsd.org
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Subject: gumstix?
X-BeenThere: freebsd-arm@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Porting FreeBSD to the StrongARM Processor <freebsd-arm.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-arm>,
	<mailto:freebsd-arm-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-arm>
List-Post: <mailto:freebsd-arm@freebsd.org>
List-Help: <mailto:freebsd-arm-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-arm>,
	<mailto:freebsd-arm-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sat, 03 Jun 2006 06:53:18 -0000

Hello,

I noticed that the gumstix platform is listed as being supported or 
targeted on this page:

   http://www.embeddedfreebsd.org/boards.html

What is the current status of this port?  I recently picked up a couple 
of their boards and am looking to help if possible.

Thanks.

- Ben