From owner-freebsd-ppc@FreeBSD.ORG Mon Nov 3 11:21:27 2003 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F419916A4CE for ; Mon, 3 Nov 2003 11:21:26 -0800 (PST) Received: from zcars04f.nortelnetworks.com (zcars04f.nortelnetworks.com [47.129.242.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id E7F5D43F3F for ; Mon, 3 Nov 2003 11:21:24 -0800 (PST) (envelope-from atrens@nortelnetworks.com) Received: from zcard309.ca.nortel.com (zcard309.ca.nortel.com [47.129.242.69]) id hA3JLMG04622 for ; Mon, 3 Nov 2003 14:21:22 -0500 (EST) Received: from zcard031.ca.nortel.com ([47.129.242.121]) by zcard309.ca.nortel.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13) id VRTPFBLX; Mon, 3 Nov 2003 14:21:22 -0500 Received: from nortelnetworks.com (atrens-3.ca.nortel.com [47.128.22.223]) by zcard031.ca.nortel.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13) id VRSPW6JV; Mon, 3 Nov 2003 14:21:21 -0500 Message-ID: <3FA6AA6C.8060004@nortelnetworks.com> Date: Mon, 03 Nov 2003 14:20:12 -0500 X-Sybari-Space: 00000000 00000000 00000000 00000000 From: Andrew Atrens User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.5) Gecko/20031024 Thunderbird/0.3 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-ppc@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: FreeBSD on EST sbc8260 or EST Scout (750+8260 based) boards ? X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Nov 2003 19:21:27 -0000 Hi All, I'm looking at the feasibility of getting FreeBSD going on these boards. I believe they both use openfirmware... Any pointers to info / examples would be greatly appreciated ... Cheers, Andrew. From owner-freebsd-ppc@FreeBSD.ORG Mon Nov 3 17:00:59 2003 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5C02E16A4CE for ; Mon, 3 Nov 2003 17:00:59 -0800 (PST) Received: from dommail.onthenet.com.au (dommail.OntheNet.com.au [203.13.70.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id C191943F85 for ; Mon, 3 Nov 2003 17:00:57 -0800 (PST) (envelope-from peterg@ptree32.com.au) Received: from dommail.onthenet.com.au (localhost.onthenet.com.au [127.0.0.1]) by dommail.onthenet.com.au (Mirapoint Messaging Server MOS 3.2.4-GA) with ESMTP id ABY56837; Tue, 4 Nov 2003 11:00:47 +1000 (EST) From: Message-Id: <200311040100.ABY56837@dommail.onthenet.com.au> Received: from 144.138.103.241 by dommail.onthenet.com.au (Mirapoint Messaging Server MOS 3.2.4-GA) with HTTP/1.1; Tue, 4 Nov 2003 11:00:47 +1000 Date: Tue, 4 Nov 2003 11:00:47 +1000 To: Andrew Atrens X-Mailer: Webmail Mirapoint Direct 3.2.4-GA MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: freebsd-ppc@freebsd.org Subject: Re: FreeBSD on EST sbc8260 or EST Scout (750+8260 based) boards ? X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Nov 2003 01:00:59 -0000 Hi Andrew, >I'm looking at th e feasibility of getting FreeBSD going on these boards. >I believe they both use openfirmware... > >Any pointers to info / examples would be greatly appreciated ... Having OpenFirmware simplifies the job a lot. The main issue is device drivers, and the bus-probing code. Some code to have a look at is uninorth.c/grackle.c, which are the host bridges on supported Mac models (grackle is the Motorola MPC106 host-pci bridge). A scan of the ppc email archives will help with cross-build instructions. And let me know if you have any questions: it's certainly a goal of mine to get the port running on 8260 h/w at some stage. later, Peter.d From owner-freebsd-ppc@FreeBSD.ORG Tue Nov 4 22:39:45 2003 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7984B16A4CE for ; Tue, 4 Nov 2003 22:39:45 -0800 (PST) Received: from post5.inre.asu.edu (post5.inre.asu.edu [129.219.110.120]) by mx1.FreeBSD.org (Postfix) with ESMTP id BF8B843FB1 for ; Tue, 4 Nov 2003 22:39:44 -0800 (PST) (envelope-from James.Sarrett@asu.edu) Received: from conversion.post5.inre.asu.edu by asu.edu (PMDF V6.1-1X6 #30769) id <0HNV00A0194Q46@asu.edu> for freebsd-ppc@FreeBSD.ORG; Tue, 04 Nov 2003 23:38:50 -0700 (MST) Received: from smtp.asu.edu (smtp.asu.edu [129.219.110.107]) by asu.edu (PMDF V6.1-1X6 #30769) with ESMTP id <0HNV005G394Q85@asu.edu> for freebsd-ppc@FreeBSD.ORG; Tue, 04 Nov 2003 23:38:50 -0700 (MST) Received: from asu.edu (sss24-12.inre.asu.edu [129.219.101.211]) (8.12.10/8.12.10/asu_smtp_relay,nullclient,tcp_wrapped) with ESMTP id hA56cdS8028197 for ; Tue, 04 Nov 2003 23:38:44 -0700 (MST) Date: Tue, 04 Nov 2003 23:38:51 -0700 From: James Sarrett To: freebsd-ppc@FreeBSD.ORG Message-id: MIME-version: 1.0 (Apple Message framework v552) X-Mailer: Apple Mail (2.552) Content-type: text/plain; charset=US-ASCII; format=flowed Content-transfer-encoding: 7bit Subject: this is the wrong place to ask this i know, but just the same... X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Nov 2003 06:39:45 -0000 Since you guys are skilled code monkeys, i figured you'd probably know the awnser. What facilities does fBSD provide from a user program doing something like this (admittedly probably incorrect code): void writemem() { int address,value,i; address << cin; value << cin; *i = address; i=value; } As a way for a program to write to any specified address, i.e. to change a umask of a running process or something. Thanks in advance -James -------------------------------------------- "Never trust a man who can count to 1024 on his fingers" -------------------------------------------- From owner-freebsd-ppc@FreeBSD.ORG Wed Nov 5 00:40:48 2003 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C8C1116A4CE for ; Wed, 5 Nov 2003 00:40:48 -0800 (PST) Received: from mail.speakeasy.net (mail8.speakeasy.net [216.254.0.208]) by mx1.FreeBSD.org (Postfix) with ESMTP id C501A43FDF for ; Wed, 5 Nov 2003 00:40:47 -0800 (PST) (envelope-from jmg@hydrogen.funkthat.com) Received: (qmail 25014 invoked from network); 5 Nov 2003 08:36:19 -0000 Received: from unknown (HELO hydrogen.funkthat.com) ([69.17.45.168]) (envelope-sender ) by mail8.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 5 Nov 2003 08:36:19 -0000 Received: from hydrogen.funkthat.com (clejqd@localhost.funkthat.com [127.0.0.1])hA58aIgP045897; Wed, 5 Nov 2003 00:36:18 -0800 (PST) (envelope-from jmg@hydrogen.funkthat.com) Received: (from jmg@localhost) by hydrogen.funkthat.com (8.12.10/8.12.10/Submit) id hA58aIKc045896; Wed, 5 Nov 2003 00:36:18 -0800 (PST) Date: Wed, 5 Nov 2003 00:36:18 -0800 From: John-Mark Gurney To: James Sarrett Message-ID: <20031105083618.GZ558@funkthat.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.1i X-Operating-System: FreeBSD 4.2-RELEASE i386 X-PGP-Fingerprint: B7 EC EF F8 AE ED A7 31 96 7A 22 B3 D8 56 36 F4 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ X-Resume: http://resnet.uoregon.edu/~gurney_j/resume.html cc: freebsd-ppc@freebsd.org Subject: Re: this is the wrong place to ask this i know, but just the same... X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: John-Mark Gurney List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Nov 2003 08:40:48 -0000 James Sarrett wrote this message on Tue, Nov 04, 2003 at 23:38 -0700: > Since you guys are skilled code monkeys, i figured you'd probably know > the awnser. What facilities does fBSD provide from a user program > doing something like this (admittedly probably incorrect code): > > void writemem() { > int address,value,i; int *i; > address << cin; > value << cin; > > *i = address; i = address; > i=value; *i = value; > } > > As a way for a program to write to any specified address, i.e. to > change a umask of a running process or something. Of course, this can only be used to change memory in your own address space. If you need to change memory in another address space, you need to use mmap and /proc to get access to the other process address space. If you need more information than above, we can't help you, get a book on how to program in the Unix environment, or any IPC communication in the Unix environment. -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not."