[U-Boot] [PATCH v2] x86: zImage: pass device tree setup data to the kernel

Andy Shevchenko andriy.shevchenko at linux.intel.com
Mon Mar 19 09:19:27 UTC 2018


On Fri, 2018-03-16 at 17:16 -0700, Ivan Gorinov wrote:
> On Fri, 2018-03-16 at 19:52 +0200, Andy Shevchenko wrote:
> > On x86 platforms, U-Boot does not provide Device Tree data to the
> > > kernel.
> > > This prevents the kernel from using the same hardware description.
> > > 
> > > Make a copy of DTB data with setup_data header and insert new item
> > > into the the setup data linked list.
> > 
> > So, now is the question, what to do with x86 hardware that has DTS
> > in U-
> > Boot, but uses ACPI tables, generated by U-Boot.
> > 
> > Would it work properly?
> 
> It will work because CONFIG_OF is disabled in most x86 kernel
> configurations.

No one prevents to put CONFIG_OF=y into kernel configuration.

> > I would try to test it on Intel Edison (I hope you may do this
> > yourself
> > as well), though I don't know when, have not much time to work with
> > Edison right now.
> 
> I am going to try that on a Minnowboard.

Yes, please.

-- 
Andy Shevchenko <andriy.shevchenko at linux.intel.com>
Intel Finland Oy


More information about the U-Boot mailing list