Skip to contentSkip to conversation

xtensa: Fix broken build (linker error)

PATCH In review Stefan Weil 3 participants 3 messages Sep 17, 2012

lore
Share & tools
lore
#0 lore raw

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
index 9d8899c..c3a263b 100644
@@ -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
index 9d8899c..c3a263b 100644
@@ -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
#1 lore raw
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
---
 default-configs/xtensa-softmmu.mak   |    1 +
 default-configs/xtensaeb-softmmu.mak |    1 +
 2 files changed, 2 insertions(+)
default-configs/xtensa-softmmu.mak +0 -0
index 9d8899c..c3a263b 100644

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 -0
 CONFIG_SERIAL=y
 CONFIG_OPENCORES_ETH=y
 CONFIG_PFLASH_CFI01=y
default-configs/xtensaeb-softmmu.mak +1 -0
index 9d8899c..c3a263b 100644
@@ -1,5 +1,6 @@
 # Default configuration for Xtensa
 
+CONFIG_I8254=y
 CONFIG_SERIAL=y
 CONFIG_OPENCORES_ETH=y
 CONFIG_PFLASH_CFI01=y
#2 lore raw
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
---
 default-configs/xtensa-softmmu.mak   |    1 +
 default-configs/xtensaeb-softmmu.mak |    1 +
 2 files changed, 2 insertions(+)
default-configs/xtensa-softmmu.mak +0 -0
index 9d8899c..c3a263b 100644
@@ -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=y

And 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 -0
 CONFIG_SERIAL=y
 CONFIG_OPENCORES_ETH=y
 CONFIG_PFLASH_CFI01=y
default-configs/xtensaeb-softmmu.mak +1 -0
index 9d8899c..c3a263b 100644
@@ -1,5 +1,6 @@
 # Default configuration for Xtensa
 
+CONFIG_I8254=y
 CONFIG_SERIAL=y
 CONFIG_OPENCORES_ETH=y
 CONFIG_PFLASH_CFI01=y