From owner-freebsd-arm@freebsd.org Wed Mar 23 16:09:18 2016 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CC493ADB80C for ; Wed, 23 Mar 2016 16:09:18 +0000 (UTC) (envelope-from russ.haley@gmail.com) Received: from mail-vk0-x22f.google.com (mail-vk0-x22f.google.com [IPv6:2607:f8b0:400c:c05::22f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 823C11C3A for ; Wed, 23 Mar 2016 16:09:18 +0000 (UTC) (envelope-from russ.haley@gmail.com) Received: by mail-vk0-x22f.google.com with SMTP id z68so25426006vkg.3 for ; Wed, 23 Mar 2016 09:09:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc; bh=NwpiMf3Pt5Dax/a6ysWfhw1RxUa6kzXFoDwXdj1Cb5U=; b=S3wTrHImxbJLpIe8n9Nq+s9bKjI2zsfzs2xk0MKp1WvFmRYgAZevq8GPRDTngjzQAz 2MIMxi4L2fu9/z3ZfHv4eurEIKoK8vF0+cf8ZHeCqsoSskd1sHrU/W64dQjcMTLzUM4B sSes/BOgwrmJoRTu9iJ7F70c+EwD0NQZI+lGG46IkF5TsnrIdtxH2NWGdBbG7y3WqVnl dZTw4+f9Lm69+6pYOzLbhBf0t3zcDtPchyY4aBi1DmpbNpb5PsWgAO5NmGuEb0zcpqKO 9aMEKk7jK0/WxyKZgxI/btmwy1McPJsrDgbXmWc1W46Adtvm3xpSiC1qHZ697st0/c+y rDIw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc; bh=NwpiMf3Pt5Dax/a6ysWfhw1RxUa6kzXFoDwXdj1Cb5U=; b=ezJM9AudyGc8j+hzsahOLbeMOZmATjRpRDNfB+O1px9wttqvV9bHmPpEhkHBPua4me OY44f/KWJ/8YNeCr78usGZ+p0pU8LS3rxnHqC6qxuYU/YxbQsX36Z9h7VPCT+7Bw6aR3 muUdCkcpiZQQdbBVQrztuVxwe9UgPzPs4UeT2s1d3CEhjE9/jAUhqls77CgMgI505tuS G4pRTncRMQ/94PGMssAJ4dvGrMCUoSOStIQUCngHnB7jmQk3T0L3teWf3xz4tis/le0R UT8O8mWulGo4074yLxKiXVRNxY6hapNvwr0wmpVWXpJrPf0WywQRnkZpR/TzPfiZJ2CV YDrQ== X-Gm-Message-State: AD7BkJKlKQtQc4AeMpOVCjGsv5aDA3lB/UBUcTlvYUED7Yks+4vfmzoE5uj1DMIvgAcT2x2HBb+kUHBzR9jstw== MIME-Version: 1.0 X-Received: by 10.31.8.205 with SMTP id 196mr2007574vki.144.1458749357568; Wed, 23 Mar 2016 09:09:17 -0700 (PDT) Received: by 10.31.54.13 with HTTP; Wed, 23 Mar 2016 09:09:17 -0700 (PDT) In-Reply-To: References: <5432b449f37a481bc7099fbab25fbd2e@bakulin.de> Date: Wed, 23 Mar 2016 09:09:17 -0700 Message-ID: Subject: Re: Fwd: SDIO Patch D4761.diff Not Building For Me From: Russell Haley To: Ilya Bakulin Cc: freebsd-arm Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Mar 2016 16:09:18 -0000 On Wed, Mar 23, 2016 at 4:00 AM, Ilya Bakulin wrote: > On 2016-03-23 06:16, Russell Haley wrote: >> >> Hi Ilya, >> >> Mixed success tonight. I tried to install the kernel but got an error: > > > You should give MODULES_OVERRIDE= to installkernel as well. > Great, Thank you. >> >> Well, it booted the kernel and then spewed output and eventually ended >> with a failed DHCP request (?). Here is the pastebin of said output. >> > > I never copy the newly built kernel to the SD card. > Instead I configure U-Boot+ubldr to boot kernel from TFTP and mount root > over NFS, it's much faster and it's impossible to crash filesystem if the > kernel crashes. > I guess you should set ROOTDEVNAME manually in the kernel config file and > disable NFSCLIENT-related options. Thanks for this advice. I have had something similar working before (I had rootfs on USB) so should be able to get that running this weekend > From your boot log it's clear that the system boots and probes SD cards. Yes, very exciting to see!!! I will be looking to try and match debug output with code paths asap. > There are two slots and none of them has SDIO card in it. > From what I find about Hummingboard, it actually doesn't have WiFi SDIO > chips on it. I don't understand. It was booted using an SD card? Also, here is the information about the board and the Wi-Fi (the Solid-Run site can be hard to navigate): Carrier Board spec: http://wiki.solid-run.com/doku.php?id=products:imx6:hummingboard:hbpro This is my SOM: http://wiki.solid-run.com/doku.php?id=products:imx6:microsom:dual&s[]=bcm4330 Schematic. I believe page 5 shows the SDIO WIFI module interface? http://wiki.solid-run.com/lib/exe/fetch.php?media=imx6:microsom:docs:sr-usom-mx6-rev-1_3-simplified-schematics.pdf Broadcom BCM4330 http://linux-sunxi.org/images/0/05/4330-DS206-R.pdf I have used it successfully through Kodi and Debian (Raspbian specifically) Thanks, Russ