Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 1 Mar 2014 20:21:45 -0700
From:      Warner Losh <imp@bsdimp.com>
To:        Ian Lepore <ian@FreeBSD.org>
Cc:        Tim Kientzle <tim@kientzle.com>, freebsd-arm <freebsd-arm@FreeBSD.org>
Subject:   Re: A unified imx6 kernel config, old WANDBOARD-* configs going away
Message-ID:  <CF149145-763C-4241-97BB-F0E18A01C057@bsdimp.com>
In-Reply-To: <1393702721.1149.230.camel@revolution.hippie.lan>
References:  <1393594966.1149.161.camel@revolution.hippie.lan> <F38D0A2F-D2AF-426D-8515-BD111501B2A2@kientzle.com> <1393688945.1149.225.camel@revolution.hippie.lan> <05B4DCBB-E8A9-4EC1-B50C-3D2965828BF1@bsdimp.com> <1393702721.1149.230.camel@revolution.hippie.lan>

next in thread | previous in thread | raw e-mail | index | archive | help

On Mar 1, 2014, at 12:38 PM, Ian Lepore <ian@FreeBSD.org> wrote:

> On Sat, 2014-03-01 at 12:01 -0700, Warner Losh wrote:
>> On Mar 1, 2014, at 8:49 AM, Ian Lepore <ian@FreeBSD.org> wrote:
>>=20
>>> On Sat, 2014-03-01 at 07:41 -0800, Tim Kientzle wrote:
>>>> On Feb 28, 2014, at 5:42 AM, Ian Lepore <ian@freebsd.org> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CF149145-763C-4241-97BB-F0E18A01C057>