From owner-freebsd-arm@FreeBSD.ORG Sun Mar 2 16:30:15 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 DC42F5AB for ; Sun, 2 Mar 2014 16:30:14 +0000 (UTC) Received: from mail-ig0-f174.google.com (mail-ig0-f174.google.com [209.85.213.174]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 9F68310F5 for ; Sun, 2 Mar 2014 16:30:14 +0000 (UTC) Received: by mail-ig0-f174.google.com with SMTP id h18so5781420igc.1 for ; Sun, 02 Mar 2014 08:30:08 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:content-type:mime-version:subject:from :in-reply-to:date:cc:content-transfer-encoding:message-id:references :to; bh=QZh2nY79bvy+KRwAgEsa3IiNYTk27pVMDsIItBruHiE=; b=VAfcePff1wwakO5fHqdMH8v/2Iv0TSOheZ1aBmXZgyqXhfnF+ilwn/QxGuSRI0ClD/ HPZhUAaVhLGKnMyIVNIrUt0eosG0kfJfM2ZfwnDoxTFILwlv89QLX2zXN5HW5uRUYZOi BeJsN4fao7GNHka/plnsMPmGTvuXrGBNAqQM4KLRN+H6XsmADuPyznQ9V0gcK+pQz/gk mUvoUruk0NG5bGDyGk8m3XkRkLJ8WTwQuH887j74QntR8iH62dNvl4/x0Uska5rdN0AH 3VpEw8FzBDgCKCRuk8Z1K13RHZLWN//7dep/0p+/wkhGiwxHFocRrSQI7Cru38bh0e76 suiQ== X-Gm-Message-State: ALoCoQm9QHYOcpqHblTGQzvXWQGyQ/ouStOzDCMiGcmgJcdt1KxlnVML4adAd1nh1OdRUXbxnYMq X-Received: by 10.42.246.8 with SMTP id lw8mr21641566icb.22.1393777807940; Sun, 02 Mar 2014 08:30:07 -0800 (PST) Received: from netflix-mac.bsdimp.com (50-78-194-198-static.hfc.comcastbusiness.net. [50.78.194.198]) by mx.google.com with ESMTPSA id dz8sm29966116igb.5.2014.03.02.08.30.07 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 02 Mar 2014 08:30:07 -0800 (PST) Sender: Warner Losh Content-Type: text/plain; charset=windows-1252 Mime-Version: 1.0 (Mac OS X Mail 7.2 \(1874\)) Subject: Re: A unified imx6 kernel config, old WANDBOARD-* configs going away From: Warner Losh In-Reply-To: <1393731762.1149.233.camel@revolution.hippie.lan> Date: Sun, 2 Mar 2014 09:30:07 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: <9BF14340-2267-473E-B047-E377AA258713@bsdimp.com> References: <1393594966.1149.161.camel@revolution.hippie.lan> <1393731762.1149.233.camel@revolution.hippie.lan> To: Ian Lepore X-Mailer: Apple Mail (2.1874) Cc: Tim Kientzle , freebsd-arm X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Mar 2014 16:30:15 -0000 On Mar 1, 2014, at 8:42 PM, Ian Lepore wrote: > On Sat, 2014-03-01 at 18:01 -0700, Tom Everett wrote: >> I'm looking at the crochet code, and I see in freebsd_install_fdt = that both >> *.dtb and *.dts are supported. However on the source tree it's = imx6.dtsi. >> What's the difference b/t a dts file and a dtsi file? >=20 > A .dtsi file is an include file used by .dts files. A .dtb is the > binary (compiled) form used by the kernel. >=20 > So there are several wandboard-something.dts files, each of which > includes imx6.dtsi where all the common parts live. For a new imx6 > device, a new board-named file similar to one of the wandboard files = is > necessary, and it would also include imx6.dtsi. As would other boards that use the imx6 SoC. They=92d have their own = .dts file that included the imx6.dsti and customized it for how they are = wired together. > We're pushing hard towards just using the standard dtb files from > vendors, but we've got a bit of work to do before we're there. I have some rough changes that allow us to build N different DTBs as = part of the kernel build, but not glom them into the kernel. Not strictly = required for this, but helpful. I=92m planning on having Atmel use 100% vendor supplied files as well. It is a very good goal. There=92s also efforts on the linux side to = separate out the device-trees from the linux kernel, which is where I grabbed the = recent /vendor/device-tree stuff from. Warner