[Sound-open-firmware] [PATCH] apl: core: enable boot loader path for Apollolake
Liam Girdwood
liam.r.girdwood at linux.intel.com
Tue Jun 5 15:44:28 CEST 2018
On Tue, 2018-06-05 at 15:22 +0200, Lauda, Tomasz wrote:
> On 04.06.2018 13:10, Liam Girdwood wrote:
> > On Mon, 2018-06-04 at 12:03 +0100, Liam Girdwood wrote:
> > > From: Tomasz Lauda <tomasz.lauda at linux.intel.com>
> > >
> > > There is no APL boot via SRAM right now, so let's enable it.
> >
> > Can you describe the other changes here that were used to enable the boot
> > loader, I can see some work to support XCC too ?
> >
> > Btw, I tried to compile on master and it fails :-
> >
> > xtensa-bxt-elf-gcc -DHAVE_CONFIG_H -I. -I../../../src/include -I
> > /home/sof/work/sof.git/src/arch/xtensa/include -I
> > /home/sof/work/sof.git/src/arch/xtensa/xtos -DASSEMBLY -I
> > /home/sof/work/sof.git/src/platform/apollolake/include -I
> > /home/sof/work/sof.git/src/platform/apollolake/include/arch -O2 -g -Wall
> > -Werror -Wl,-EL -Wmissing-prototypes -fno-inline-functions -nostdlib
> > -mlongcalls -MT sof-main-entry.o -MD -MP -MF .deps/sof-main-entry.Tpo -c -o
> > sof-main-entry.o `test -f 'main-entry.S' || echo './'`main-entry.S
> > mv -f .deps/sof-main-entry.Tpo .deps/sof-main-entry.Po
> > /bin/bash ../../../libtool --tag=CC --mode=link xtensa-bxt-elf-gcc -I
> > /home/sof/work/sof.git/src/arch/xtensa/include -I
> > /home/sof/work/sof.git/src/arch/xtensa/xtos -mtext-section-literals -I
> > /home/sof/work/sof.git/src/include -I /home/sof/work/sof.git/../xtensa-
> > root/xtensa-bxt-elf/include -I
> > /home/sof/work/sof.git/src/platform/apollolake/include -I
> > /home/sof/work/sof.git/src/platform/apollolake/include/arch -O2 -g -Wall
> > -Werror -Wl,-EL -Wmissing-prototypes -fno-inline-functions -nostdlib
> > -mlongcalls -Wl,-Map=sof-apl.map -T ../../platform/apollolake/apollolake.x
> > -nostdlib -o sof sof-crt1-boards.o sof-_vectors.o sof-init.o sof-timer.o
> > sof-task.o sof-main-entry.o ../../init/libinit.a ../../tasks/libtasks.a
> > ../../lib/libcore.a ../../platform/apollolake/libplatform.a
> > ../../ipc/libsof_ipc.a ../../audio/libaudio.a ../../drivers/libdrivers.a
> > ../../math/libsof_math.a xtos/libxtos.a xtos/libxlevel2.a xtos/libxlevel3.a
> > xtos/libxlevel4.a xtos/libxlevel5.a hal/libhal.a -lgcc
> > libtool: link: xtensa-bxt-elf-gcc -I
> > /home/sof/work/sof.git/src/arch/xtensa/include -I
> > /home/sof/work/sof.git/src/arch/xtensa/xtos -mtext-section-literals -I
> > /home/sof/work/sof.git/src/include -I /home/sof/work/sof.git/../xtensa-
> > root/xtensa-bxt-elf/include -I
> > /home/sof/work/sof.git/src/platform/apollolake/include -I
> > /home/sof/work/sof.git/src/platform/apollolake/include/arch -O2 -g -Wall
> > -Werror -Wl,-EL -Wmissing-prototypes -fno-inline-functions -nostdlib
> > -mlongcalls -Wl,-Map=sof-apl.map -T ../../platform/apollolake/apollolake.x
> > -nostdlib -o sof sof-crt1-boards.o sof-_vectors.o sof-init.o sof-timer.o
> > sof-task.o sof-main-entry.o ../../init/libinit.a ../../tasks/libtasks.a
> > ../../lib/libcore.a ../../platform/apollolake/libplatform.a
> > ../../ipc/libsof_ipc.a ../../audio/libaudio.a ../../drivers/libdrivers.a
> > ../../math/libsof_math.a xtos/libxtos.a xtos/libxlevel2.a xtos/libxlevel3.a
> > xtos/libxlevel4.a xtos/libxlevel5.a hal/libhal.a -lgcc
> > /home/sof/ct-ng.git/builds/xtensa-bxt-elf/lib/gcc/xtensa-bxt-
> > elf/5.2.0/../../../../xtensa-bxt-elf/bin/ld: sof section `.data' will not
> > fit in region `sof_data'
> > /home/sof/ct-ng.git/builds/xtensa-bxt-elf/lib/gcc/xtensa-bxt-
> > elf/5.2.0/../../../../xtensa-bxt-elf/bin/ld: region `sof_data' overflowed by
> > 7440 bytes
> > collect2: error: ld returned 1 exit status
> > Makefile:580: recipe for target 'sof' failed
> > make[5]: *** [sof] Error 1
> > make[5]: Leaving directory '/home/sof/work/sof.git/src/arch/xtensa'
> > Makefile:801: recipe for target 'all-recursive' failed
> > make[4]: *** [all-recursive] Error 1
> > make[4]: Leaving directory '/home/sof/work/sof.git/src/arch/xtensa'
> > Makefile:524: recipe for target 'all' failed
> > make[3]: *** [all] Error 2
> > make[3]: Leaving directory '/home/sof/work/sof.git/src/arch/xtensa'
> > Makefile:379: recipe for target 'all-recursive' failed
> > make[2]: *** [all-recursive] Error 1
> > make[2]: Leaving directory '/home/sof/work/sof.git/src/arch'
> > Makefile:380: recipe for target 'all-recursive' failed
> > make[1]: *** [all-recursive] Error 1
> > make[1]: Leaving directory '/home/sof/work/sof.git/src'
> > Makefile:419: recipe for target 'all-recursive' failed
> > make: *** [all-recursive] Error 1
>
> Please try to first clean the old build.
Sorry, just re-confirmed. Still the same.
Thanks
Liam
More information about the Sound-open-firmware
mailing list