Re: [PATCH] xtensa: Partially Revert "xtensa: Remove unnecessary of_platform_populate with default match table"

From: Max Filippov
Date: Tue Jul 26 2016 - 15:49:54 EST


On Tue, Jul 26, 2016 at 02:13:52PM -0500, Rob Herring wrote:
> >> I tried briefly running under QEMU, but didn't have success. If anyone has
> >> up to date instructions that would be helpful as using these[1] didn't
> >> seem to work.
> >
> > I think they're up to date. Another thing that need to be done right is
> > the toolchain: it must match the configured CPU core. Please refer to
> > http://wiki.linux-xtensa.org/index.php/Toolchain_Overlay_File
> > for more details.
>
> I don't build toolchains...

The toolchain for xtensa built with unmodified binutils does not produce
working code. The one at
https://www.kernel.org/pub/tools/crosstool/files/bin/
and the one shipped with Fedora are broken.

Here's a few working prebuilt toolchains capable of building linux:
http://jcmvbkbc.spb.ru/~jcmvbkbc/tmp/201604261801/

--
Thanks.
-- Max