From owner-freebsd-arm@freebsd.org Mon Jul 17 18:32:07 2017 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 8E485D9D603 for ; Mon, 17 Jul 2017 18:32:07 +0000 (UTC) (envelope-from russ.haley@gmail.com) Received: from mail-lf0-x229.google.com (mail-lf0-x229.google.com [IPv6:2a00:1450:4010:c07::229]) (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 15F9B6BAEC; Mon, 17 Jul 2017 18:32:07 +0000 (UTC) (envelope-from russ.haley@gmail.com) Received: by mail-lf0-x229.google.com with SMTP id z78so90786795lff.0; Mon, 17 Jul 2017 11:32:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=1c6V9OCXazVh9N/UXBwQ51GegSd33ZzFE21AWkCNzJg=; b=lacVZY1wvqBw5wVi5aYMqnTq1wzhFdIlXKNZ0mX7E1fmSlYgXu48EZF33NEz4HlyC5 GbFGrmNe3WIzXTyQO1CQy/vjp1Y+9NH15u781SmWkZUs5ysmsLp8UQtkjXSBE6SgQQRq Xgeejlth4mgph+Ke/3HHdaaogwTqmyqDZECfatGT8VqyAQ9WB/7oU9w8WN9UokA15Ihb SOMVPQEJY0CfDp20DJcgJA2FJsGZem8CJSlYlBErgjn6nCQpTwv0BycjEALbOvAaFtRn zwHpoKO64byESChL2P0z2FR8JlhdCqPObxOy/Z3i/tyCIN3rElMGdluCZlm91sRAzn+M Z+Aw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=1c6V9OCXazVh9N/UXBwQ51GegSd33ZzFE21AWkCNzJg=; b=Qyv8bcBVGvjsY4wrndWaezfCbVGjp40sRKhp7vzfUiFyKl+S6XwyZY7p1SgO9qCnqH Vp6LgsChWoYr3zNygLVXCIqRi3z5mioa44q9qo6wkBoJkRx98lBNxesESFjL3JM10cNH /a9FdZMBKSyVOeo44midDy+FmDmoBiam8zhXfL8Tc6lBlXOC1vGjjjxmOP8nDn/0xoqR eznds9YkMH6ri5pSA8DIBDXnsdu7A99yyqXbSIxXYEpbJ+G9t/ZnzfIhJQSDb3vKkLej zZZ6YK09Mi7GVDxaKh7qKjq732abFJ3noH+aizvjTFnQbwCLfqRYMBxzAH1SLUZNvO+k yYFQ== X-Gm-Message-State: AIVw1102YvmhEYHX20EzFgLmvyEYFIdH/S1ZHr7ZVqeIRMbuEee4tPfQ HYdUdARlxM0ZEivst3VAkYGTJdXUa6eF X-Received: by 10.25.234.211 with SMTP id y80mr183310lfi.25.1500316324975; Mon, 17 Jul 2017 11:32:04 -0700 (PDT) MIME-Version: 1.0 Received: by 10.46.82.211 with HTTP; Mon, 17 Jul 2017 11:32:04 -0700 (PDT) In-Reply-To: <1500258608.22314.63.camel@freebsd.org> References: <1500258608.22314.63.camel@freebsd.org> From: Russell Haley Date: Mon, 17 Jul 2017 11:32:04 -0700 Message-ID: Subject: Re: BBB & IMX6 Hummingboard SDIO driver To: Ian Lepore Cc: freebsd-arm Content-Type: text/plain; charset="UTF-8" X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Jul 2017 18:32:07 -0000 On Sun, Jul 16, 2017 at 7:30 PM, Ian Lepore wrote: > On Sun, 2017-07-16 at 17:41 -0700, Russell Haley wrote: >> Hi, >> >> I'm building for a BBB and I think I've got almost everything but I >> er... can't find the dtb file or the uEnv.txt file. Any help would be >> grand? I have a feeling I'm going to have to beg/borrow/steal a >> uEnv.txt file from a pre-built image. >> >> As I'm going through the process of re-learning the build steps, i >> thought of a couple of things that I either didn't see or couldn't >> find on the website: >> >> - A list of boards and their kernel config files >> - An easy reference on where to find the bits after the build. yes, >> yes, it's in the handbook. >> - Since u-boot has been standardised now, it would be nice to have a >> section on where to get u-boot and the other bits needed to boot. >> >> Anyway, I've got an unprecedented week with no work and no kids, so >> I'm going to do what any sane person would do during a beautiful July >> summer: play with FreeBSD! >> >> My end goal - and this is a stretch target - is to try and adopt >> Illyia's SDIO driver. I'm not sure how far I'll get, or much time >> I'll >> have after my week is up, but that's what my objective is. I've built >> the system using the kernel config BEAGLEBONE-MMCCAM in the blind >> hope >> that it will use his drivers? Once I get that working and can verify >> it in dtrace (maybe? yet another rabbit hole!) I want to get it >> working on my IMX6 hummingboard. >> >> oh, and I suppose I should open up some code, eh? >> >> Okay, now why isn't my PC computer seeing my sd cards? grrr... ;) >> >> Cheers, >> >> Russ > > You don't need a uenv.txt file. It was always optional, and with the > latest uboot stuff it's completely gone. > > -- Ian Thanks Ian. DTB files are apparently generated with buildworld. https://wiki.freebsd.org/FlattenedDeviceTree I know they are generated with a specific tool (the name of which I forget) . I'm surprised it's not it's own target or at least part of buildkernel. Russ