From owner-freebsd-arm@FreeBSD.ORG Sun Mar 2 03:04:49 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 1AEC98A2; Sun, 2 Mar 2014 03:04:49 +0000 (UTC) Received: from mail-ie0-x235.google.com (mail-ie0-x235.google.com [IPv6:2607:f8b0:4001:c03::235]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id CACC412F6; Sun, 2 Mar 2014 03:04:48 +0000 (UTC) Received: by mail-ie0-f181.google.com with SMTP id tp5so1541701ieb.26 for ; Sat, 01 Mar 2014 19:04:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=MmUux+XQfhhHd5LTVK2XJgfDaC07LCCWdU04GVjmgIg=; b=YP6CCWHamC7kWv0nZSvPCQNACXMlpKafHF3oGwA+9jYE2IBE9e+ZH75syhPHR5VGG5 ggiGg1aqAO0xxgyetP+vWWQTfvmiQFK9jqGOo2UxoW7CUfd9oGAdlYDqt0Zk3evhdPbH dUvbkblVLJ1iZCEsTLQXbXYxnEK/osRmFtv2ZU9YVkKnpG2QlKlts5GhbZV/4nTOkHmk x9SZlxs93koTsN436y1G+/vMYDawbfUJjpys/yzAsvOzr1/BuHjUbyeFwirA2OT/UQGe XFcEySiR2+J7jBMPCKR53K+l2BTwQwPeU2lOiVOrf1UV+hXXJ9UWTpBw1kwhjwyXye/9 UO7w== X-Received: by 10.42.53.10 with SMTP id l10mr19001226icg.33.1393729488245; Sat, 01 Mar 2014 19:04:48 -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 vu3sm24262405igc.6.2014.03.01.19.04.46 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 01 Mar 2014 19:04:47 -0800 (PST) Content-Type: text/plain; charset=iso-8859-7 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: <1393702721.1149.230.camel@revolution.hippie.lan> Date: Sat, 1 Mar 2014 20:04:45 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: References: <1393594966.1149.161.camel@revolution.hippie.lan> <1393688945.1149.225.camel@revolution.hippie.lan> <05B4DCBB-E8A9-4EC1-B50C-3D2965828BF1@bsdimp.com> <1393702721.1149.230.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 03:04:49 -0000 On Mar 1, 2014, at 12:38 PM, Ian Lepore wrote: > On Sat, 2014-03-01 at 12:01 -0700, Warner Losh wrote: >> On Mar 1, 2014, at 8:49 AM, Ian Lepore wrote: >>=20 >>> On Sat, 2014-03-01 at 07:41 -0800, Tim Kientzle wrote: >>>> On Feb 28, 2014, at 5:42 AM, Ian Lepore wrote: >>>>=20 >>>>> 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. >>>>=20 >>>> Nice! Another step towards GENERIC ARM. >>=20 >> Yes, many more steps to go, but if we can have a generic kernel per = SoC that=A2s >> miles ahead of where we are now. >>=20 >>>>> 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. >>>>=20 >>>> Using a U-Boot env var to specify the FDT is a nice idea. >>=20 >> When U-Boot itself doesn=A2t have the DTB already in the image, yes. >=20 > The way wandboard's boot setup works, the u-boot binary just provides = a > default filename for fdt_file and their image has the file on the = msdos > partition, and they use an env-var script to load the file before > loading the kernel. I removed all that cruft from the environment and > let ubldr load the file named in fdt_file from the ufs filesystem. Very cool... Warner