feat: map xemu flash images by 64 KiB granule

xbox_flash_init maps any image whose size is a positive multiple of
65536 bytes (hw/xbox/xbox.c:75-81), not three listed sizes.
This commit is contained in:
Abdessamad Derraz committed 2026-11-10 12:52:46 +01:00
1 parent ac3fb2c2d2
commit 8b02ac7db5
1 file changed
+6 -4
+6 -4
View File
@@ -131,9 +131,10 @@ files:
- name: Complex_4627.bin
mode: standalone
required: true
size: [262144, 524288, 1048576]
min_size: 65536
size_multiple: 65536
validation: [size]
size_note: "Any size that is a positive multiple of 64 KiB is mapped, and the image is mirrored across the 16 MB flash window"
size_note: "Any size that is a positive multiple of 64 KiB is mapped (hw/xbox/xbox.c:75-81), and the image is mirrored across the 16 MB flash window"
config_key: sys.files.flashrom_path
found_by: content
description: "Xbox flash ROM image"
@@ -150,9 +151,10 @@ files:
path: "xemu/Complex_4627.bin"
aliases: [Complex_4627v1.03.bin]
required: true
size: [262144, 524288, 1048576]
min_size: 65536
size_multiple: 65536
validation: [size]
size_note: "Any size that is a positive multiple of 64 KiB is mapped, and the image is mirrored across the 16 MB flash window"
size_note: "Any size that is a positive multiple of 64 KiB is mapped (hw/xbox/xbox.c:75-81), and the image is mirrored across the 16 MB flash window"
description: "Xbox flash ROM image"
note: >-
The core tries Complex_4627v1.03.bin, then Complex_4627.bin, in