xtensa: Fix broken build (linker error)
PATCH 1/1 xtensa: Fix broken build (linker error)
This configuration requires CONFIG_i8254:
configure --target-list=xtensa-softmmu --audio-card-list=pcspk
--- default-configs/xtensa-softmmu.mak | 1 + default-configs/xtensaeb-softmmu.mak | 1 + 2 files changed, 2 insertions(+)
default-configs/xtensa-softmmu.mak +1 -0
@@ -1,5 +1,6 @@ # Default configuration for Xtensa +CONFIG_I8254=y CONFIG_SERIAL=y CONFIG_OPENCORES_ETH=y CONFIG_PFLASH_CFI01=y
default-configs/xtensaeb-softmmu.mak +1 -0
@@ -1,5 +1,6 @@ # Default configuration for Xtensa +CONFIG_I8254=y CONFIG_SERIAL=y CONFIG_OPENCORES_ETH=y CONFIG_PFLASH_CFI01=y
Signature · 1 line
1.7.10
Quoted 3 lines · Stefan Weil
This configuration requires
CONFIG_i8254:configure --target-list=xtensa-softmmu --audio-card-list=pcspk
This is wrong. The pcspk "audio card" is registered automatically for those targets that support it.
Quoted 13 lines
Reported-by Vassili Karpov (malc) <[email protected]>Signed-off-by Stefan Weil <[email protected]>--- default-configs/xtensa-softmmu.mak | 1 + default-configs/xtensaeb-softmmu.mak | 1 + 2 files changed, 2 insertions(+)default-configs/xtensa-softmmu.mak +0
-0
default-configs/xtensa-softmmu.mak line 3
Quoted 3 lines
default-configs/xtensa-softmmu.mak +1
-0@@ -1,5 +1,6 @@ # Default configuration for Xtensa +CONFIG_I8254=y
And this wrong as well. xtensa does not include any speaker, nor does it include a PIT.
Jan
Quoted 15 lines
default-configs/xtensa-softmmu.mak +0
-0CONFIG_SERIAL=y CONFIG_OPENCORES_ETH=y CONFIG_PFLASH_CFI01=ydefault-configs/xtensaeb-softmmu.mak +1
-0@@ -1,5 +1,6 @@ # Default configuration for Xtensa +CONFIG_I8254=y CONFIG_SERIAL=y CONFIG_OPENCORES_ETH=y CONFIG_PFLASH_CFI01=y
Quoted 23 lines · Jan Kiszka
Quoted 3 lines · Stefan Weil
This configuration requires
CONFIG_i8254:configure --target-list=xtensa-softmmu --audio-card-list=pcspk
This is wrong. The pcspk "audio card" is registered automatically for those targets that support it.
Quoted 15 lines
Reported-by Vassili Karpov (malc) <[email protected]>Signed-off-by Stefan Weil <[email protected]>--- default-configs/xtensa-softmmu.mak | 1 + default-configs/xtensaeb-softmmu.mak | 1 + 2 files changed, 2 insertions(+)default-configs/xtensa-softmmu.mak +0
-0@@ -1,5 +1,6 @@ # Default configuration for Xtensa
Quoted 4 lines
default-configs/xtensa-softmmu.mak line 3
Quoted 1 line
default-configs/xtensa-softmmu.mak +1
-0+CONFIG_I8254=yAnd this wrong as well. xtensa does not include any speaker, nor does it include a PIT.
I was looking for docs and couldn't find any that indicated it contained a PIT either.
Regards,
Anthony Liguori
Quoted 18 lines
Jan
Quoted 15 lines
default-configs/xtensa-softmmu.mak +0
-0CONFIG_SERIAL=y CONFIG_OPENCORES_ETH=y CONFIG_PFLASH_CFI01=ydefault-configs/xtensaeb-softmmu.mak +1
-0@@ -1,5 +1,6 @@ # Default configuration for Xtensa +CONFIG_I8254=y CONFIG_SERIAL=y CONFIG_OPENCORES_ETH=y CONFIG_PFLASH_CFI01=y