From owner-freebsd-arm@FreeBSD.ORG Thu Oct 11 07:15:56 2012 Return-Path: Delivered-To: arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D96AD6DD; Thu, 11 Oct 2012 07:15:56 +0000 (UTC) (envelope-from tim@kientzle.com) Received: from monday.kientzle.com (99-115-135-74.uvs.sntcca.sbcglobal.net [99.115.135.74]) by mx1.freebsd.org (Postfix) with ESMTP id 89F9E8FC12; Thu, 11 Oct 2012 07:15:56 +0000 (UTC) Received: (from root@localhost) by monday.kientzle.com (8.14.4/8.14.4) id q9B7Fkri040919; Thu, 11 Oct 2012 07:15:46 GMT (envelope-from tim@kientzle.com) Received: from [192.168.2.143] (CiscoE3000 [192.168.1.65]) by kientzle.com with SMTP id 4hybre4fgzvg25vzufmmgr6w32; Thu, 11 Oct 2012 07:15:45 +0000 (UTC) (envelope-from tim@kientzle.com) Subject: Re: Towards an ARM system-building script Mime-Version: 1.0 (Apple Message framework v1278) Content-Type: text/plain; charset=us-ascii From: Tim Kientzle In-Reply-To: Date: Thu, 11 Oct 2012 00:16:28 -0700 Content-Transfer-Encoding: 7bit Message-Id: References: <0DCAC001-FF06-431A-A486-2B50BE913B0D@bsdimp.com> <7E18623F-3945-4EA0-B332-5A5C717B20F0@kientzle.com> <9896AA3E-D8A0-4CE8-8160-4672AA07388F@cheney.net> <6B74ADD7-3266-4919-BEB4-B10E0C1BAB58@kientzle.com> <5679C679-A434-4714-BE61-4DC093DA7F34@kientzle.com> <8C1192B3-EC56-4D9E-824E-774700FB2EE9@kientzle.com> <1349876577.1123.30.camel@revolution.hippie.lan> To: Giovanni Trematerra X-Mailer: Apple Mail (2.1278) Cc: arm@freebsd.org, Oleksandr Tymoshenko X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Oct 2012 07:15:56 -0000 On Oct 10, 2012, at 3:08 PM, Giovanni Trematerra wrote: > On Wed, Oct 10, 2012 at 3:42 PM, Ian Lepore > wrote: >> On Tue, 2012-10-09 at 23:42 +0200, Giovanni Trematerra wrote: >>> I booted a kernel with your suggestion but I get a panic during >>> initialization of ue0 I think >> >> It looks like bootpc_init() is getting called before USB has found the >> ethernet adapter. It might be fixable with a simple patch such as the >> following, but I really don't know whether this will work, and even if >> it does, whether it's a good idea (hopefully someone more knowledgable >> will offer an opinion). But if nothing else it's an interesting >> experiment to try. > > I think the patch is wrong at least in my case. > I had to run the "usb start" command from U-boot to have > ethernet card of PandaBoard working. What happens if you disable BOOTP in the kernel? That might help clarify whether the Ethernet isn't working at all or whether the Ethernet isn't getting started early enough for BOOTP. Tim