Skip to contentSkip to conversation

sparc: sparc64_defconfig: add necessary configs for qemu

PATCH Superseded Corentin Labbe 3 participants 4 messages Jul 2, 2020 – Jul 3, 2020 SPARC + UltraSPARC (sparc/sparc64)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 sparc: sparc64_defconfig: add necessary configs for qemu

The sparc64 qemu machines uses pcnet32 network hardware by default, so for simple boot testing using qemu, having PCNET32 is useful.
Same for its storage which is a PATA_CMD64.

---
 arch/sparc/configs/sparc64_defconfig | 3 +++
 1 file changed, 3 insertions(+)
arch/sparc/configs/sparc64_defconfig +3 -0
index bde4d21a8ac8..61073f48a7a1 100644
@@ -236,3 +236,6 @@ CONFIG_CRYPTO_TWOFISH=m
 CONFIG_CRC16=m
 CONFIG_LIBCRC32C=m
 CONFIG_VCC=m
+CONFIG_ATA=y
+CONFIG_PATA_CMD64X=y
+CONFIG_PCNET32=y
Signature · 1 line
2.26.2
#1 lore raw

Hi Corentin,

Quoted 15 lines · Corentin Labbe

The sparc64 qemu machines uses pcnet32 network hardware by default, so for simple boot testing using qemu, having PCNET32 is useful.
Same for its storage which is a PATA_CMD64.

---
 arch/sparc/configs/sparc64_defconfig | 3 +++
 1 file changed, 3 insertions(+)
arch/sparc/configs/sparc64_defconfig +0 -0
index bde4d21a8ac8..61073f48a7a1 100644

arch/sparc/configs/sparc64_defconfig CONFIG_CRYPTO_TWOFISH=m · line 241

Quoted 6 lines
arch/sparc/configs/sparc64_defconfig +3 -0
@@ -236,3 +236,6 @@ CONFIG_CRYPTO_TWOFISH=m
 CONFIG_CRC16=m
 CONFIG_LIBCRC32C=m
 CONFIG_VCC=m
+CONFIG_ATA=y
+CONFIG_PATA_CMD64X=y
+CONFIG_PCNET32=y

FWIW the CMD640 is the IDE controller used on the Ultra 5/10 machines.

Thanks,

Signature · 4 lines
Julian Calaby

Email: [email protected]
Profile: http://www.google.com/profiles/julian.calaby/
#2 lore raw
In reply to Corentin Labbe
Quoted 3 lines · Corentin Labbe

The sparc64 qemu machines uses pcnet32 network hardware by default, so for simple boot testing using qemu, having PCNET32 is useful.
Same for its storage which is a PATA_CMD64.

Which version of QEMU are you using? qemu-system-sparc64 switched to using a hme NIC by default in version 2.11 (see
https://wiki.qemu.org/Documentation/Platforms/SPARC#Changes_to_sun4u_machine_from_2.11_onwards)
which is well over 2 years ago...

ATB,

Mark.

#3 lore raw
Quoted 11 lines · Mark Cave-Ayland
Quoted 3 lines · Corentin Labbe

The sparc64 qemu machines uses pcnet32 network hardware by default, so for simple boot testing using qemu, having PCNET32 is useful.
Same for its storage which is a PATA_CMD64.

Which version of QEMU are you using? qemu-system-sparc64 switched to using a hme NIC by default in version 2.11 (see
https://wiki.qemu.org/Documentation/Platforms/SPARC#Changes_to_sun4u_machine_from_2.11_onwards)
which is well over 2 years ago...

You are right, I verfied in the code and it is sunhme by default. So I will verify it works and send a v2.