From owner-freebsd-arm@FreeBSD.ORG Sun Mar 2 03:21:55 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 03F61999 for ; Sun, 2 Mar 2014 03:21:55 +0000 (UTC) Received: from mail-ie0-f172.google.com (mail-ie0-f172.google.com [209.85.223.172]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id BBA221499 for ; Sun, 2 Mar 2014 03:21:54 +0000 (UTC) Received: by mail-ie0-f172.google.com with SMTP id as1so4472229iec.3 for ; Sat, 01 Mar 2014 19:21:48 -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=MmUux+XQfhhHd5LTVK2XJgfDaC07LCCWdU04GVjmgIg=; b=J1aitSThGMLYqoF9yaO1KYD6Clb0RHDiCQjnKSzYi89lSAtydNsS3PzD2LwkgDJJGU euyUKSh4doWFzW0NWtKsLMFSEmdKbhdj0hTTqeHVbfMn5bRGratd9v1Y4R1EMDWmwCO5 tum1Ye61EOAEmm+TFFtd8b53rypmR8lFmAkAZlKmUIvV9IV9coO4Dq7Lr7sLNwTq3zTe x+jin05cEzwrBVv87IbyApeuPLgJsTlkRO5TxCGVUil1367Yl8+NlMa9HQ7wg/Os8WJt 932CEHVaI+dUjvWrSq8kXJHVui+e/tyT/8XY8H3L/FaZgOsx9kHPQ8bJY0cH/EU3CHvK RNGA== X-Gm-Message-State: ALoCoQlGP8mu+nqPXlzi9amU7SNuR/XH/JfgRGEO6izY75UQiaPtlZvMeyBnCC0zrj5vRiQN9HXp X-Received: by 10.42.27.136 with SMTP id j8mr176431icc.69.1393730508196; Sat, 01 Mar 2014 19:21: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 bf7sm24360281igb.9.2014.03.01.19.21.46 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 01 Mar 2014 19:21:47 -0800 (PST) Sender: Warner Losh 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:21: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:21:55 -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