From owner-freebsd-arm@FreeBSD.ORG Mon Aug 25 14:35:44 2014 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id CEE5C430 for ; Mon, 25 Aug 2014 14:35:44 +0000 (UTC) Received: from olinguito.schwarzes.net (olinguito.schwarzes.net [IPv6:2a01:4f8:7d:1b5::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 602253306 for ; Mon, 25 Aug 2014 14:35:44 +0000 (UTC) Received: from asc-t60.schwarzes.net (p5B033EB6.dip0.t-ipconnect.de [91.3.62.182]) (authenticated bits=0) by olinguito.schwarzes.net (8.14.8/8.14.8) with ESMTP id s7PEZakd023669; Mon, 25 Aug 2014 16:35:36 +0200 (CEST) (envelope-from Andreas.Schwarz@schwarzes.net) Date: Mon, 25 Aug 2014 16:35:36 +0200 (CEST) From: Andreas Schwarz To: freebsd-arm@freebsd.org Subject: Re: FreeBSD 10.0 on Raspberry PI B+ no network devices Message-Id: <20140825163528.d2e696cc3d03ad9bebcd239c@schwarzes.net> In-Reply-To: References: <20140825165622.6771b548@X220.alogt.com> X-Mailer: Sylpheed 3.4.2 (GTK+ 2.10.14; i686-pc-mingw32) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.4.3 (olinguito.schwarzes.net [78.47.41.143]); Mon, 25 Aug 2014 16:35:37 +0200 (CEST) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Aug 2014 14:35:44 -0000 On Mon, 25 Aug 2014 09:05:35 -0400 Paul Mather wrote: > On Aug 25, 2014, at 4:56 AM, Erich Dollansky wrote: Hi, > > I got recently two Raspberries B+. I downloaded the file > > FreeBSD-10.0-STABLE-arm-armv6-RPI-B-20140406-r264194.img.bz2 and copied > > it to a memory card. > > > > I edited rc.conf to be able to use the Raspberries without keyboard. > > The problem is now that no network comes up. > > > > ue0 simply does not exist. > > > > What do I do wrong here? > > > > It must be something simple I just do not see. > > You are likely not doing anything wrong. As I understand it, the Model > B+ uses a slightly different USB controller/revision to the Model B, > and this might not be recognised/supported yet by FreeBSD. The network > is via USB on Raspberry Pi, so the USB support problem would cause the > network not to work/be recognised. I've got also two B+ Models two weeks ago and I'm able to use the image (r269955) from my B Models without any problems. The only thing, what I had to do, was to upgrade the bootloader to a recent version. Have a look at : https://github.com/raspberrypi/firmware/tree/master/boot root@pizelot:~ # uname -a FreeBSD pizelot.schwarzes.net 11.0-CURRENT FreeBSD 11.0-CURRENT #0 r269955: Fri Aug 15 05:00:27 CEST 2014 root@pizelot.schwarzes.net:/usr/obj/usr/src/sys/RPI-B-ASC arm root@pizelot:~ # dmesg KDB: debugger backends: ddb KDB: current backend: ddb Copyright (c) 1992-2014 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 11.0-CURRENT #0 r269955: Fri Aug 15 05:00:27 CEST 2014 root@pizelot.schwarzes.net:/usr/obj/usr/src/sys/RPI-B-ASC arm FreeBSD clang version 3.4.1 (tags/RELEASE_34/dot1-final 208032) 20140512 VT: init without driver. CPU: ARM1176JZ-S rev 7 (ARM11J core) Supported features: ARM_ISA THUMB2 JAZELLE ARMv4 Security_Ext WB enabled LABT branch prediction enabled 16KB/32B 4-way instruction cache 16KB/32B 4-way write-back-locking-C data cache real memory = 536866816 (511 MB) avail memory = 499798016 (476 MB) random: initialized kbd0 at kbdmux0 ofwbus0: simplebus0: mem 0x20000000-0x20ffffff on ofwbus0 intc0: mem 0xb200-0xb3ff on simplebus0 systimer0: mem 0x3000-0x3fff irq 8,9,10,11 on simplebus0 Event timer "BCM2835 Event Timer 3" frequency 1000000 Hz quality 1000 Timecounter "BCM2835 Timecounter" frequency 1000000 Hz quality 1000 bcmwd0: mem 0x10001c-0x100027 on simplebus0 gpio0: mem 0x200000-0x2000af irq 57,59,58,60 on simplebus0 gpio0: read-only pins: 46,47,48,49,50,51,52,53. gpio0: reserved pins: 48,49,50,51,52,53. gpioc0: on gpio0 gpiobus0: on gpio0 gpioled0: at pin(s) 16 on gpiobus0 iichb0: mem 0x205000-0x20501f irq 61 on simplebus0 iicbus0: on iichb0 iic0: on iicbus0 iichb1: mem 0x804000-0x80401f irq 61 on simplebus0 iicbus1: on iichb1 iic1: on iicbus1 spi0: mem 0x204000-0x20401f irq 62 on simplebus0 spibus0: on spi0 bcm_dma0: mem 0x7000-0x7fff,0xe05000-0xe05fff irq 24,25,26,27,28,29,30,31,32,33,34,35,36 on simplebus0 mbox0: mem 0xb880-0xb8bf irq 1 on simplebus0 sdhci_bcm0: mem 0x300000-0x3000ff irq 70 on simplebus0 mmc0: on sdhci_bcm0 uart0: mem 0x201000-0x201fff irq 65 on simplebus0 uart0: console (115200,n,8,1) dwcotg0: mem 0x980000-0x99ffff irq 17 on simplebus0 usbus0 on dwcotg0 fb0: on ofwbus0 simplebus1: on ofwbus0 simplebus1: could not get ranges device_attach: simplebus1 attach returned 6 Timecounters tick every 10.000 msec usbus0: 480Mbps High Speed USB v2.0 ugen0.1: at usbus0 uhub0: on usbus0 mmcsd0: 32GB at mmc0 25.0MHz/4bit/65535-block fb0: 1920x1200(0x0@0,0) 16bpp fb0: pitch 3840, base 0x5f005000, screen_size 4608000 fbd0 on fb0 VT: initialize with new VT driver "fb". random: unblocking device. Root mount waiting for: usbus0 uhub0: 1 port with 1 removable, self powered ugen0.2: at usbus0 uhub1: on usbus0 uhub1: MTT enabled Root mount waiting for: usbus0 uhub1: 5 ports with 4 removable, self powered Root mount waiting for: usbus0 ugen0.3: at usbus0 smsc0: on usbus0 smsc0: chip 0xec00, rev. 0002 miibus0: on smsc0 ukphy0: PHY 1 on miibus0 ukphy0: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto ue0: on smsc0 ue0: Ethernet address: b8:27:eb:ba:c9:19 Root mount waiting for: usbus0 ugen0.4: at usbus0 ukbd0: on usbus0 kbd1 at ukbd0 Trying to mount root from ufs:/dev/mmcsd0s2a [rw,noatime]... warning: no time-of-day clock registered, system time will not be set accurately smsc0: chip 0xec00, rev. 0002 uhid0: on usbus0 -- best regards Andreas