[Sound-open-firmware] Error compiling SOF with newer Xtensa configuration
Daniel Baluta
daniel.baluta at gmail.com
Tue Jan 21 09:49:40 CET 2020
On Mon, Jan 20, 2020 at 6:24 PM Liam Girdwood
<liam.r.girdwood at linux.intel.com> wrote:
>
> On Mon, 2020-01-20 at 17:33 +0200, Daniel Baluta wrote:
> > Hello Liam, Tomasz,
> >
> > We are trying to upgrade the toolchains (gcc/xtensa) based
> > on RI-2019.1-linux.
> >
> > Anyhow, we are hitting the following error:
> > /work/repos/sof/sof/src/arch/xtensa/xtos/core-restore.S: Assembler
> > messages:
> > /work/repos/sof/sof/src/arch/xtensa/xtos/core-restore.S:241: Error:
> > unknown opcode or format name 'addi.a'
> >
> >
> > I wonder if you met this kind of error before at toolchain upgrade. I
> > suspect that something
> > has changed and we somehow need to update the xtos/ directory too.
> >
>
> Does your toolchain config align with your core-isa.h config ?
I think that could be the problem, I really need to get my time to
understand how
this stuff works. I'm very confused. And also I think Tensilica does
not guarantee
backward compatibility between configuration releases.
Alain generated two packages:
- (1) xtensa_hifi4_mscale_RI_2019_1.tar.gz
- (2) XtensaTools_RI_2019_1_linux.tgz
Package (1) contains the core-isa.h and config stuff and package (2) which
contains xtos/core-restore.S.
So, in order to base our toolchain on RI-2019.1 we also need to update
the xtos/ stuff
inside SOF. This might break compatibility with older toolchains.
For, now I will go back and use RF-2016.4 version which works fine with SOF.
Daniel.
More information about the Sound-open-firmware
mailing list