From owner-freebsd-ppc@FreeBSD.ORG Fri Jan 27 02:12:59 2012 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B0BAB106566C for ; Fri, 27 Jan 2012 02:12:59 +0000 (UTC) (envelope-from chmeeedalf@gmail.com) Received: from mail-gx0-f182.google.com (mail-gx0-f182.google.com [209.85.161.182]) by mx1.freebsd.org (Postfix) with ESMTP id 64C918FC0A for ; Fri, 27 Jan 2012 02:12:59 +0000 (UTC) Received: by ggnq2 with SMTP id q2so811657ggn.13 for ; Thu, 26 Jan 2012 18:12:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=cc:message-id:from:to:in-reply-to:content-type :content-transfer-encoding:mime-version:subject:date:references :x-mailer; bh=MKsV5ut//0HztV+02dfVq1QLutgTpY/w4h2yOJeGgXw=; b=c3Ckck0dVNHlo3HUu7gCPec/743uJ+POCxIQHqr8pLqpShX/NzFKK1/evh2zn7WRjW ZdMdRGMSUqF/gGrtHhRwIYLCPxY2W9/wjWQ29b1sh5dVRKIoHZsc2eeaKeWdGtioowc8 SSkTy1yVkfDG+3egwPxqN8HlqYbRiCOYHLTls= Received: by 10.236.155.226 with SMTP id j62mr7068166yhk.49.1327630378670; Thu, 26 Jan 2012 18:12:58 -0800 (PST) Received: from triad.knownspace (216-15-41-8.c3-0.gth-ubr1.lnh-gth.md.cable.rcn.com. [216.15.41.8]) by mx.google.com with ESMTPS id p63sm10416271yhj.22.2012.01.26.18.12.57 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 26 Jan 2012 18:12:57 -0800 (PST) Message-Id: From: Justin Hibbits To: Super Bisquit In-Reply-To: Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v936) Date: Thu, 26 Jan 2012 21:10:40 -0500 References: <6B0E21DA-728B-43ED-8194-76D48A65B885@gmail.com> X-Mailer: Apple Mail (2.936) Cc: FreeBSD PowerPC ML Subject: Re: Has source been updated with Hibbits' recent patches? X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Jan 2012 02:12:59 -0000 Oh, I forgot, you need to manually build the if_wi module (go into / usr/src/sys/modules/wi and make), because it's not included in the modules Makefile for powerpc. - Justin On Jan 26, 2012, at 1:54 PM, Super Bisquit wrote: > Okay. > Is there a new patch available? Would you like for me to boot the > device with a Linux PPC disk to see what exact card it is? > > On 1/20/12, Super Bisquit wrote: >> No wi0 comes up but there is the ukphy0 which is an 802.3u device. >> There is a chance of recognizing the exact card with an OpenBSD or >> Linux >> PowerPC disk. >> >> On Thu, Jan 19, 2012 at 3:21 PM, Justin Hibbits >> wrote: >> >>> On Wed, Jan 18, 2012 at 9:52 PM, Super Bisquit >>> wrote: >>> >>>> I've successfully applied the patches. Now, is the next step >>>> rebuilding >>>> the kernel? >>>> tima# kldstat >>>> Id Refs Address Size Name >>>> 1 24 0x100000 923e20 kernel >>>> 2 1 0xd1480000 1d000 if_wi.ko >>>> 3 9 0xd149d000 7a000 wlan.ko >>>> 4 1 0xd1523000 13000 wlan_acl.ko >>>> 5 1 0xd1536000 12000 wlan_amrr.ko >>>> 6 1 0xd1548000 17000 wlan_ccmp.ko >>>> 7 1 0xd155f000 12000 wlan_rssadapt.ko >>>> 8 1 0xd1571000 14000 wlan_tkip.ko >>>> 9 1 0xd1585000 12000 wlan_wep.ko >>>> 10 1 0xd1597000 11000 wlan_xauth.ko >>>> >>>> tima# ifconfig -a >>>> usbus0: flags=10001 metric 0 mtu 0 >>>> usbus1: flags=10001 metric 0 mtu 0 >>>> fwe0: flags=8802 metric 0 mtu 1500 >>>> options=8 >>>> ether 02:0a:95:93:a8:20 >>>> ch 1 dma -1 >>>> gem0: flags=8843 metric 0 >>>> mtu >>>> 1500 >>>> options=8000b >>>> ether 00:0a:95:93:a8:20 >>>> inet 98.211.76.206 netmask 0xfffffc00 broadcast 255.255.255.255 >>>> media: Ethernet autoselect (100baseTX ) >>>> status: active >>>> lo0: flags=8049 metric 0 mtu 16384 >>>> options=3 >>>> inet 127.0.0.1 netmask 0xff000000 >>>> inet6 ::1 prefixlen 128 >>>> inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5 >>>> nd6 options=21 >>>> tima# dmesg|grep miibus >>>> miibus0: on gem0 >>>> ukphy0: PHY 0 on miibus0 >>>> interface miibus.1 already present in the KLD 'kernel'! >>>> >>>> tima# pciconf -l -b >>>> hostb0@pci0:0:11:0: class=0x060000 card=0x00000000 >>>> chip=0x0027106b >>>> rev=0x00 hdr=0x00 >>>> vgapci0@pci0:0:16:0: class=0x030000 card=0x00000000 >>>> chip=0x011010de >>>> rev=0xb2 hdr=0x00 >>>> bar [10] = type Memory, range 32, base 0x91000000, size >>>> 16777216, >>>> enabled >>>> bar [14] = type Prefetchable Memory, range 32, base >>>> 0x98000000, >>>> size 134217728, enabled >>>> macio0@pci1:0:23:0: class=0xff0000 card=0x00000000 >>>> chip=0x0025106b >>>> rev=0x00 hdr=0x00 >>>> bar [10] = type Memory, range 32, base 0x80000000, size >>>> 524288, >>>> enabled >>>> ohci0@pci1:0:24:0: class=0x0c0310 card=0x00000000 >>>> chip=0x0026106b >>>> rev=0x00 hdr=0x00 >>>> bar [10] = type Memory, range 32, base 0x80081000, size 4096, >>>> enabled >>>> ohci1@pci1:0:25:0: class=0x0c0310 card=0x00000000 >>>> chip=0x0026106b >>>> rev=0x00 hdr=0x00 >>>> bar [10] = type Memory, range 32, base 0x80080000, size 4096, >>>> enabled >>>> hostb1@pci1:0:11:0: class=0x060000 card=0x00000000 >>>> chip=0x0028106b >>>> rev=0x00 hdr=0x00 >>>> fwohci0@pci2:0:14:0: class=0x0c0010 card=0x0030106b >>>> chip=0x0030106b >>>> rev=0x00 hdr=0x00 >>>> bar [10] = type Memory, range 32, base 0xf5000000, size 4096, >>>> enabled >>>> gem0@pci2:0:15:0: class=0x020000 card=0x00000000 chip=0x0024106b >>>> rev=0x00 hdr=0x00 >>>> bar [10] = type Memory, range 32, base 0xf5200000, size >>>> 2097152, >>>> enabled >>>> hostb2@pci2:0:11:0: class=0x060000 card=0x00000000 >>>> chip=0x0029106b >>>> rev=0x00 hdr=0x00 >>>> >>>> ima# ifconfig wlan create wlandev gem0 >>>> ifconfig: SIOCIFCREATE2: Device not configured >>>> tima# >>>> >>>> Unfortunately, I'm having trouble creating the interface. >>>> >>>> I haven't rebuilt the kernel for the ofw brightness patch. >>>> >>>> >>>> >>>> >>>> >>>> On Tue, Jan 17, 2012 at 7:37 PM, Super Bisquit >>>> wrote: >>>> >>>>> I should have an internet connection up again in the next few >>>>> days. I >>>>> downloaded the two files. >>>>> Wow. Nobody? That blows. >>>>> Give me a few days or less to get back to you. >>>>> >>>>> On 1/17/12, Justin Hibbits wrote: >>>>>> On Jan 17, 2012, at 5:19 PM, Super Bisquit wrote: >>>>>> >>>>>>> I'm referring to the AirPort and tty/syscons brightness patches. >>>>>> >>>>>> No. The brightness patch may or may not go in. The Airport >>>>>> patch >>>>>> will go in once I get some test results (have you tested it?). >>>>>> Nobody's given me any test results, and last time I tried I was >>>>>> having >>>>>> issues (attached fine, but couldn't send/receive). Haven't >>>>>> looked at >>>>>> it in a couple months though. >>>>>> >>>>>> - Justin >>>>>> >>>>> >>>> >>>> >>> This shows to me that it hasn't found the airport card, because >>> there's >>> no >>> wi0 listed in ifconfig. Can you boot verbose and send me the >>> dmesg from >>> that boot? >>> >>> - Justin >>> >>