A unified imx6 kernel config, old WANDBOARD-* configs going away
Ian Lepore
ian at FreeBSD.org
Sat Mar 1 19:38:46 UTC 2014
On Sat, 2014-03-01 at 12:01 -0700, Warner Losh wrote:
> On Mar 1, 2014, at 8:49 AM, Ian Lepore <ian at 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 at 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.
-- Ian
More information about the freebsd-arm
mailing list