From owner-freebsd-arm@FreeBSD.ORG Sun Mar 2 01:01:35 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 143DDDF4 for ; Sun, 2 Mar 2014 01:01:35 +0000 (UTC) Received: from mail-ob0-f175.google.com (mail-ob0-f175.google.com [209.85.214.175]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id CEB0614DA for ; Sun, 2 Mar 2014 01:01:34 +0000 (UTC) Received: by mail-ob0-f175.google.com with SMTP id uy5so2230096obc.6 for ; Sat, 01 Mar 2014 17:01:28 -0800 (PST) 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:content-type; bh=KZmBlTUKgsFMA0js6P4WxFItjEkDQk7f1W6GAQZMXUo=; b=l6IKgi1vb3SrBcJdFCpoL1XnOF6YvvwHY2R+vy50lRgF6Kb/a3Bl8BNJL0R1zZWIsT zE0Y4eQ36EJjJxY8p3pxGZawqzBOrJVDqfgcPp4Rv8FHkcVErMts+6saYtYvdi+cnLyq 7N1gZZmOd0jV+fqkxsXC5upsfGycKCFQNLe4dfudqbhOINJ34iMTgLBU0tCbvX+Y3jX5 AJG+BNiS2JOS3Wx4qKWgHXw9wpK+z1DRVl9J//HUnecXvl85qAIg0byo6K6lnct7jtu6 pgrmj02vOW0ABJCxzsL1BGQ6xCY3X8Gu1tz0cgdeM7DTW0dAhFOo1bj963U7gvJzPLg5 kYlQ== X-Gm-Message-State: ALoCoQnFi5WzcCbzM+bCIMsN0baVNe1pSyd30SNlUI25Hrt0ZbMTP6Ng/mPDrS869XKUnCl2oFvM MIME-Version: 1.0 X-Received: by 10.60.63.197 with SMTP id i5mr9872959oes.38.1393722088512; Sat, 01 Mar 2014 17:01:28 -0800 (PST) Received: by 10.182.104.169 with HTTP; Sat, 1 Mar 2014 17:01:28 -0800 (PST) In-Reply-To: References: <1393594966.1149.161.camel@revolution.hippie.lan> Date: Sat, 1 Mar 2014 18:01:28 -0700 Message-ID: Subject: Re: A unified imx6 kernel config, old WANDBOARD-* configs going away From: Tom Everett To: Tim Kientzle Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.17 Cc: freebsd-arm , Ian Lepore 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 01:01:35 -0000 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? On Sat, Mar 1, 2014 at 8:41 AM, Tim Kientzle wrote: > > On Feb 28, 2014, at 5:42 AM, Ian Lepore wrote: > > > I've added a new imx6 unified kernel config named IMX6. It has no > > compiled-in fdt, and can boot all three flavors of Wandboard when u-boot > > and ubldr load a dtb file. Folks should start using it and eventually > > the WANDBOARD* configs will go away when nobody needs them anymore. > > Nice! Another step towards GENERIC ARM. > > > the .dtb file in your /boot/kernel or /boot/modules directory, and ubldr > > will load it from there, using the filename set in the u-boot env var > > fdt_file. > > Using a U-Boot env var to specify the FDT is a nice idea. > > > Unfortunately we can't do a single image that boots any wandboard, > > because u-boot itself has to be different for each board. This is what > > my u-boot env looks like on each wandboard: > > > > => printenv > > baudrate=115200 > > bootcmd=run ubnet > > bootdelay=1 > > console=ttymxc0 > > fdt_file=wandboard-dual.dtb > > loadaddr=11000000 > > loaderdev=net > > ubmmc=fatload mmc 0 ${loadaddr} ubldr; bootelf > > ubnet=dhcp ${loadaddr} /wand/boot/ubldr;bootelf > > > > Environment size: 265/8188 bytes > > > > The only thing that differs per-board is the fdt_file setting, and the > > u-boot binary itself. > > If you could get to a single U-Boot binary, you might > be able to do what BeagleBone does: The U-boot.env > script detects the board variation and conditionally > loads the correct DTB blob. > > Tim > > _______________________________________________ > freebsd-arm@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-arm > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org" > -- A better world shall emerge based on faith and understanding - Douglas MacArthur