Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 01 Mar 2014 12:38:41 -0700
From:      Ian Lepore <ian@FreeBSD.org>
To:        Warner Losh <bsdimp@gmail.com>
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:  <1393702721.1149.230.camel@revolution.hippie.lan>
In-Reply-To: <05B4DCBB-E8A9-4EC1-B50C-3D2965828BF1@bsdimp.com>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
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 eventua=
lly
> >>> 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 v=
ar
> >>> 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.

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.

-- Ian





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1393702721.1149.230.camel>