Date: Sat, 1 Mar 2014 20:04:45 -0700 From: Warner Losh <bsdimp@gmail.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: <D38546F6-AEC4-4D32-9F45-B853B77DFE3A@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>
index | next in thread | previous in thread | raw e-mail
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: >> >>> 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: >>>> >>>>> 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. >> >> Yes, many more steps to go, but if we can have a generic kernel per SoC that¢s >> miles ahead of where we are now. >> >>>>> 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. >> >> When U-Boot itself doesn¢t 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. Very cool... Warnerhome | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?D38546F6-AEC4-4D32-9F45-B853B77DFE3A>
