hw/microblaze: Set MicroBlaze CPU version
cover hw/microblaze: Set MicroBlaze CPU version
From: "Edgar E. Iglesias" <[email protected]>
Hi,
This series avoids runtime warnings when using the petalogix s3adsp1800 and ml605 microblaze boards by explicitly selecting the MicroBlaze CPU versions.
The versions match the DTBs we ship.
Cheers,
Edgar
Edgar E. Iglesias (2):
s3adsp1800: Set the MicroBlaze CPU version to 7.10.d
petalogix-ml605: Set the MicroBlaze CPU version to 8.10.a
hw/microblaze/petalogix_ml605_mmu.c | 1 + hw/microblaze/petalogix_s3adsp1800_mmu.c | 1 + 2 files changed, 2 insertions(+)
Signature · 1 line
1.9.1
PATCH 1/2 s3adsp1800: Set the MicroBlaze CPU version to 7.10.d
From: "Edgar E. Iglesias" <[email protected]>
Set the MicroBlaze CPU version to 7.10.d avoiding a runtime warning due to an unset CPU version.
--- hw/microblaze/petalogix_s3adsp1800_mmu.c | 1 + 1 file changed, 1 insertion(+)
hw/microblaze/petalogix_s3adsp1800_mmu.c +1 -0
@@ -66,6 +66,7 @@ petalogix_s3adsp1800_init(MachineState *machine)MemoryRegion *sysmem =get_system_memory (); cpu =MICROBLAZE_CPU (object_new (TYPE_MICROBLAZE_CPU )); +object_property_set_str (OBJECT (cpu),"7.10.d" ,"version" , &error_abort);object_property_set_bool (OBJECT (cpu), true,"realized" , &error_abort);/* Attach emulated BRAM through the LMB. */
Signature · 1 line
1.9.1
PATCH 2/2 petalogix-ml605: Set the MicroBlaze CPU version to 8.10.a
In reply to Edgar E. IglesiasFrom: "Edgar E. Iglesias" <[email protected]>
Set the MicroBlaze CPU version to 8.10.a avoiding a runtime warning due to an unset CPU version.
--- hw/microblaze/petalogix_ml605_mmu.c | 1 + 1 file changed, 1 insertion(+)
hw/microblaze/petalogix_ml605_mmu.c +1 -0
@@ -81,6 +81,7 @@ petalogix_ml605_init(MachineState *machine)/* init CPUs */ cpu =MICROBLAZE_CPU (object_new (TYPE_MICROBLAZE_CPU )); +object_property_set_str (OBJECT (cpu),"8.10.a" ,"version" , &error_abort);/* Use FPU but don't use floating point conversion and square * root instructions */
Signature · 1 line
1.9.1
Quoted 8 lines · Edgar E. Iglesias
From: "Edgar E. Iglesias" <[email protected]>
Hi,
This series avoids runtime warnings when using the petalogix s3adsp1800 and ml605 microblaze boards by explicitly selecting the MicroBlaze CPU versions.
Quoted 9 lines
The versions match the DTBs we ship.
Cheers,
EdgarEdgar E. Iglesias (2):
s3adsp1800: Set the MicroBlaze CPU version to 7.10.d
petalogix-ml605: Set the MicroBlaze CPU version to 8.10.a
Quoted 8 lines
hw/microblaze/petalogix_ml605_mmu.c | 1 + hw/microblaze/petalogix_s3adsp1800_mmu.c | 1 + 2 files changed, 2 insertions(+)--
1.9.1
Quoted 9 lines · Edgar E. Iglesias
From: "Edgar E. Iglesias" <[email protected]>
Hi,
This series avoids runtime warnings when using the petalogix s3adsp1800 and ml605 microblaze boards by explicitly selecting the MicroBlaze CPU versions.
The versions match the DTBs we ship.
I've applied this series.
Cheers,
Edgar
Quoted 15 lines
Cheers,
EdgarEdgar E. Iglesias (2):
s3adsp1800: Set the MicroBlaze CPU version to 7.10.d
petalogix-ml605: Set the MicroBlaze CPU version to 8.10.ahw/microblaze/petalogix_ml605_mmu.c | 1 + hw/microblaze/petalogix_s3adsp1800_mmu.c | 1 + 2 files changed, 2 insertions(+)Signature · 1 line
1.9.1