From owner-freebsd-arm@FreeBSD.ORG Mon Sep 10 06:13:40 2012 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 844B41065670; Mon, 10 Sep 2012 06:13:40 +0000 (UTC) (envelope-from jmg@h2.funkthat.com) Received: from h2.funkthat.com (gate2.funkthat.com [208.87.223.18]) by mx1.freebsd.org (Postfix) with ESMTP id 404D48FC0C; Mon, 10 Sep 2012 06:13:39 +0000 (UTC) Received: from h2.funkthat.com (localhost [127.0.0.1]) by h2.funkthat.com (8.14.3/8.14.3) with ESMTP id q8A6Dakm036575 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 9 Sep 2012 23:13:37 -0700 (PDT) (envelope-from jmg@h2.funkthat.com) Received: (from jmg@localhost) by h2.funkthat.com (8.14.3/8.14.3/Submit) id q8A6DZfX036574; Sun, 9 Sep 2012 23:13:35 -0700 (PDT) (envelope-from jmg) Date: Sun, 9 Sep 2012 23:13:35 -0700 From: John-Mark Gurney To: Dave Cheney Message-ID: <20120910061335.GN58312@funkthat.com> Mail-Followup-To: Dave Cheney , Tim Kientzle , freebsd-arm@freebsd.org References: <20120910014813.GL58312@funkthat.com> <4448530B-7916-4642-BD32-6A96AD5DB22B@FreeBSD.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="b5gNqxB1S1yM7hjW" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i X-Operating-System: FreeBSD 7.2-RELEASE i386 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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.2.2 (h2.funkthat.com [127.0.0.1]); Sun, 09 Sep 2012 23:13:37 -0700 (PDT) Cc: freebsd-arm@freebsd.org Subject: Re: -current on BeableBone successful X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Sep 2012 06:13:40 -0000 --b5gNqxB1S1yM7hjW Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Dave Cheney wrote this message on Mon, Sep 10, 2012 at 13:59 +1000: > That is fantastic. Do you think it would be possible to make an SD > card image available? Sure... I'll take it down after a while (probably weeks) since we want to encourage people to make sure they are using the latest code and have infastructure to build it themselves, but to help boot strap a few people, I've decided to make it a torrent available at: http://people.freebsd.org/~jmg/FreeBSD-BEAGLEBONE.img.bz2.torrent or: magnet:?xt=3Durn:btih:37e1bb8e88cb95dce662917b0d7150d58244b854&dn=3DFreeBSD= -BEAGLEBONE.img.bz2 SHA256 (FreeBSD-BEAGLEBONE.img.bz2) =3D f275f058d777397f5ed93ae2c86856ed97e= 3fcbac1778c47b91e4111bc777185 It's ~186MB, but sized for a 1GB SD card. After you fetch it, please keep seeding for others. Thanks. P.S. I've signed the message with a new key. The one I have in the handbook is very old and current gpg doesn't support signing with it. I'll get the handbook updated tomorrow. > On Mon, Sep 10, 2012 at 1:16 PM, Tim Kientzle wrot= e: > > > > On Sep 9, 2012, at 6:48 PM, John-Mark Gurney wrote: > > > >> Well, I have successfully booted FreeBSD-current on the BeagleBone: > >> FreeBSD beaglebone 10.0-CURRENT FreeBSD 10.0-CURRENT #0 r240251: Wed N= ov 2 14:26:08 PDT 2011 jmg@pcbsd-779:/usr/obj/arm.armv6/usr/src.HEAD/s= ys/BEAGLEBONE arm > >> > >> Though there are a few issues... I'm using Kientzle's script to build > >> the bootable image, so one is related to his script, and the others are > >> more generic issues.. > >> > >> The first off is that for some reason, the uenv.txt file doesn't load.. > >> I'm not sure what is wrong, but if I type in: > >> fatload mmc 0:1 0x88000000 ubldr;bootelf 0x88000000 > > > > I just ran into this myself. I think the Arago sources > > broke environment loading. > > > > I started to debug the Arago U-Boot build this weekend > > but decided it would likely be more productive to switch > > to using the Denx sources. Denx publishes periodic > > snapshots which should make things a little more stable. > > > >> manually, it boots fine... > >> > >> The second is that it looks like we have some left over debugging in > >> SIOC[SG]IFMEDIA that we need to remove, and a fall through comment that > >> doesn't look like it is applicable any more... Should I just remove > >> these? > > > > The cpsw driver still needs work. I've fixed a couple of problems, bu= t there are some deeper issues: > > * Under memory pressure, the rx handler populates the receive buffer = list with NULLs then panics when it tries to process them. > > * I've seen the driver stall repeatedly; I'm not sure why yet but I s= uspect the driver is mis-handling queue restarts. > > * The driver doesn't detach properly (which results in panics if you = build the driver as a module and try to unload it) > > > >> Third is that I get this error: > >> ip length 328 disagrees with bytes received 330. > >> accepting packet with data after udp payload. > >> > >> This appeard to be from sbin/dhclient/packet.c... Not sure exactly why > >> we are returning a large packet to userland? > > > > I haven't seen this one. > > > >> Thanks for the work. In a couple days, I'll figure out how well the > >> VLANs work on this system. > >> > >> Thanks to Tim for his script that made building the image really easy, > >> and to the others for getting this working! > > > > Here are my priorities for the BeagleBone, in roughly this order: > > * Fix the cpsw Ethernet driver > > * Get buildworld/buildkernel working correctly natively. (30+ hour b= uilds make this tedious to test; last time I tested the builds completed bu= t installing world crashed things badly) > > * Work on performance for the MMC driver > > * USB host driver > > > > Apart from Ethernet-related panics, the system has > > been remarkably stable. I've been building ports and > > otherwise hammering the system for days on end without > > any apparent ill effects. --=20 John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not." --b5gNqxB1S1yM7hjW Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.11 (FreeBSD) iEYEARECAAYFAlBNhQ0ACgkQnLGPdG0/o5ZiawCeOXnz8hTNNgXqL3YqtVr2tggg 1KAAn2XmzL//kY2vEv3ximKmlXql1nfk =3kdY -----END PGP SIGNATURE----- --b5gNqxB1S1yM7hjW--