Difference between revisions of "Xbox Port Tests/Cromwell 2.41-dev"

From ReactOS Wiki
Jump to: navigation, search
(FATX HDD boot tests: boots to desktop!)
(CORE-16692 ticket created)
(15 intermediate revisions by the same user not shown)
Line 1: Line 1:
This page contains latest boot tests of ReactOS [[Xbox Port]] in XQEMU using custom '''Cromwell 2.41-dev BIOS'''. Tests also needs to be performed on real Xbox hardware.
+
This page contains latest boot tests of ReactOS [[Xbox Port]] in XQEMU using [https://github.com/XboxDev/cromwell/releases '''XboxDev Cromwell 2.41-dev BIOS''']. Tests also needs to be performed on real Xbox hardware.
  
 
== Help testing ==
 
== Help testing ==
  
=== ReactOS 0.2.5-xbox ===
+
=== ReactOS FAT32 boot ===
* Download [https://svn.reactos.org/downloads/xbox/reactosonxbox.tar.gz ReactOS 0.2.5-xbox] archive which was built especially for Xbox.
 
* Unpack files from the archive and place all them in the root of Xbox E:\ hard drive.
 
* Download one of the available Cromwell firmware binaries from the links below, either flash or execute it, and choose '''FatX (E:)''' boot device on start.
 
* Report any loading progress and/or errors to Stas'M on XboxDev Discord or in ReactOS Mattermost. --[[User:Binarymaster|binarymaster]] ([[User talk:Binarymaster|talk]]) 00:43, 10 July 2019 (UTC)
 
 
 
=== ReactOS nightly ===
 
 
* Create a virtual disk drive (2 GB recommended).
 
* Create a virtual disk drive (2 GB recommended).
 
* Install ReactOS from <code>bootcd.iso</code> in normal QEMU:
 
* Install ReactOS from <code>bootcd.iso</code> in normal QEMU:
** Choose Xbox HAL (or Standard HAL, if there is no Xbox HAL available).
+
** Select computer type "'''Original Xbox (x86 based)'''".
 +
** Select display type "'''Original Xbox NV2A Framebuffer'''".
 
** Format disk as FAT32.
 
** Format disk as FAT32.
* Modify <code>freeldr.ini</code> (because {{JIRA|16218}}):
+
* Modify <code>freeldr.ini</code> manually (because {{JIRA|16218}}):
 
** <code>DefaultOS=ReactOS_KdSerial</code> to enable debugging over serial.
 
** <code>DefaultOS=ReactOS_KdSerial</code> to enable debugging over serial.
** Add <code>/NOGUIBOOT</code> to Options in ReactOS_KdSerial section (because {{JIRA|16219}}).
 
 
* Copy over your hard disk image to XQEMU directory.
 
* Copy over your hard disk image to XQEMU directory.
 
* Download one of the available Cromwell firmware binaries from the links below, either flash or execute it, and choose '''hda1''' boot device on start.
 
* Download one of the available Cromwell firmware binaries from the links below, either flash or execute it, and choose '''hda1''' boot device on start.
  
 
=== ReactOS FATX boot ===
 
=== ReactOS FATX boot ===
* Install ReactOS from <code>bootcd.iso</code> in QEMU or any other PC emulator.
+
* Install ReactOS from <code>bootcd.iso</code> in QEMU or any other PC emulator:
 +
** Select computer type "'''Original Xbox'''".
 +
** Select display type "'''Original Xbox NV2A Framebuffer'''".
 
* Right after 1st stage setup, power down VM, and extract all files from virtual HDD using 7-Zip into desired folder.
 
* Right after 1st stage setup, power down VM, and extract all files from virtual HDD using 7-Zip into desired folder.
 +
 +
==== Boot in XQEMU ====
 
* Use [https://www.reddit.com/r/originalxbox/wiki/xboxhdm#wiki_using_xboxhdm XboxHDM] to create FATX formatted drive from scratch as follows:
 
* Use [https://www.reddit.com/r/originalxbox/wiki/xboxhdm#wiki_using_xboxhdm XboxHDM] to create FATX formatted drive from scratch as follows:
** Move all ReactOS files into the directory <code>/xboxhdm/linux/E/</code>.
+
** Move all extracted ReactOS files into the directory <code>/xboxhdm/linux/E/</code>.
 
** Execute <code>make-iso-win.bat</code> or <code>./make-iso-lin.sh</code> depending on your host OS, it will generate <code>linux.iso</code> file.
 
** Execute <code>make-iso-win.bat</code> or <code>./make-iso-lin.sh</code> depending on your host OS, it will generate <code>linux.iso</code> file.
 
** Create empty 8 GB virtual hard drive.
 
** Create empty 8 GB virtual hard drive.
** Boot <code>linux.iso</code> in QEMU with empty HDD attached, it will start Linux with XboxHDM and allow to format the drive as FATX.
+
** Boot <code>linux.iso</code> in QEMU with empty HDD attached, it will start Linux with XboxHDM and allow to format the drive as FATX. It also will copy all files to the newly created partition.
 
* Copy over hard disk image to XQEMU directory.
 
* Copy over hard disk image to XQEMU directory.
 +
 +
==== Boot on hardware ====
 +
* Place all extracted files in the root of Xbox E:\ hard drive.
 +
 +
==== Final step ====
 
* Download one of the available Cromwell firmware binaries from the links below, either flash or execute it, and choose '''FatX (E:)''' boot device on start.
 
* Download one of the available Cromwell firmware binaries from the links below, either flash or execute it, and choose '''FatX (E:)''' boot device on start.
  
 
== Links ==
 
== Links ==
* https://github.com/binarymaster/cromwell - Source repository
+
* https://github.com/XboxDev/cromwell - Source repository
* [https://github.com/binarymaster/cromwell/releases/download/v2.41-dev-test2/cromwell-2.41-reactos_256k.bin Cromwell 512k BIOS image]
+
* [https://github.com/XboxDev/cromwell/releases/download/build-20200106-5d3d3f3/cromwell.bin Cromwell 512k ROM image]
* [https://github.com/binarymaster/cromwell/releases/download/v2.41-dev-test2/cromwell-2.41-reactos_1024k.bin Cromwell 1M BIOS image]
+
* [https://github.com/XboxDev/cromwell/releases/download/build-20200106-5d3d3f3/cromwell_1024.bin Cromwell 1M ROM image]
* [https://github.com/binarymaster/cromwell/releases/download/v2.41-dev-test2/xromwell-2.41-reactos.xbe Xromwell XBE executable]
+
* [https://github.com/XboxDev/cromwell/releases/download/build-20200106-5d3d3f3/xromwell.xbe Cromwell XBE binary]
  
 
== ISO boot tests ==
 
== ISO boot tests ==
Line 42: Line 45:
 
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
! Version !! XQEMU !! Microsoft Xbox 1.0
+
! Version !! XQEMU !! Microsoft Xbox
 
|-
 
|-
 
| ReactOS-0.2.5 .. 0.2.6 || [[File:ReactOS 0.2.5 - bootcd XQEMU.png|200px|thumb|left|Failed to read the PVD]] || TODO
 
| ReactOS-0.2.5 .. 0.2.6 || [[File:ReactOS 0.2.5 - bootcd XQEMU.png|200px|thumb|left|Failed to read the PVD]] || TODO
Line 64: Line 67:
 
| ReactOS-0.4.5 || black screen || TODO
 
| ReactOS-0.4.5 || black screen || TODO
 
|-
 
|-
| ReactOS-0.4.6 .. 0.4.13-dev-656 || [[File:ReactOS 0.4.6 - livecd XQEMU.png|200px|thumb|left|Error when detecting hardware - {{JIRA|16220}}]] || TODO
+
| ReactOS-0.4.6 .. 0.4.13-dev-1033 || [[File:ReactOS 0.4.6 - livecd XQEMU.png|200px|thumb|left|Error when detecting hardware - {{JIRA|16220}}]] || TODO
 +
|-
 +
| ReactOS-0.4.14-dev-803 || [https://pastebin.com/raw/KRSxBhHw Works but shows black screen] || [https://jira.reactos.org/browse/CORE-16628 DVD drive not detected]<br>(tested rev 1.3)
 +
|-
 +
| ReactOS-0.4.14-dev-945 || [https://pastebin.com/raw/KRSxBhHw Works but shows black screen] || [https://jira.reactos.org/browse/CORE-16628 DVD drive not detected]<br>(tested rev 1.3)
 +
|-
 +
| ReactOS-0.4.14-dev-965 || [https://pastebin.com/raw/KRSxBhHw Works but shows black screen] || [https://jira.reactos.org/browse/CORE-16692 IopCreateArcNames failed]<br>(tested rev 1.3)
 
|}
 
|}
  
Line 70: Line 79:
 
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
! Version !! XQEMU !! Microsoft Xbox 1.0
+
! Version !! XQEMU !! Microsoft Xbox
 
|-
 
|-
 
| ReactOS-0.2.5 .. 0.3.10 || [[File:ReactOS 0.3.8 - bootcd XQEMU.png|200px|thumb|left|Failed to read the PVD]] || TODO
 
| ReactOS-0.2.5 .. 0.3.10 || [[File:ReactOS 0.3.8 - bootcd XQEMU.png|200px|thumb|left|Failed to read the PVD]] || TODO
Line 86: Line 95:
 
| ReactOS-0.4.5 || black screen || TODO
 
| ReactOS-0.4.5 || black screen || TODO
 
|-
 
|-
| ReactOS-0.4.6 .. 0.4.13-dev-656 || [[File:ReactOS 0.4.6 - livecd XQEMU.png|200px|thumb|left|Error when detecting hardware - {{JIRA|16220}}]] || TODO
+
| ReactOS-0.4.6 .. 0.4.13-dev-1033 || [[File:ReactOS 0.4.6 - livecd XQEMU.png|200px|thumb|left|Error when detecting hardware - {{JIRA|16220}}]] || TODO
 +
|-
 +
| ReactOS-0.4.14-dev-803 || [https://jira.reactos.org/browse/CORE-16627 Random 'Invalid Opcode' exceptions] || [https://jira.reactos.org/browse/CORE-16628 DVD drive not detected]<br>(tested rev 1.3)
 +
|-
 +
| ReactOS-0.4.14-dev-945 || [[File:ReactOS 0.4.14-dev-945 LiveCD in XQEMU.png|200px|thumb|left|Boots to LiveCD menu (xbox branch)]] || [https://jira.reactos.org/browse/CORE-16628 DVD drive not detected]<br>(tested rev 1.3)
 +
|-
 +
| ReactOS-0.4.14-dev-965 || [[File:ReactOS 0.4.14-dev-945 LiveCD in XQEMU.png|200px|thumb|left|Boots to LiveCD menu (xbox branch)]] || [https://jira.reactos.org/browse/CORE-16692 IopCreateArcNames failed]<br>(tested rev 1.3)
 
|}
 
|}
  
Line 92: Line 107:
 
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
! Version !! XQEMU !! Microsoft Xbox 1.0 !! Microsoft Xbox 1.1 !! Microsoft Xbox 1.4
+
! Version !! XQEMU !! Microsoft Xbox
 
|-
 
|-
| ReactOS-0.2.5 || No multiboot header found || TODO || TODO || TODO
+
| ReactOS-0.2.5 || No multiboot header found || TODO
 
|-
 
|-
| [https://svn.reactos.org/downloads/xbox/reactosonxbox.tar.gz ReactOS-0.2.5-xbox] || [[File:ReactOS 0.2.5-xbox - HDD boot XQEMU.png|200px|thumb|left|Boots to desktop - https://twitter.com/x86corez/status/1166843184523165697]] || Boots to desktop || Boots to desktop || Boots to desktop
+
| [https://svn.reactos.org/downloads/xbox/reactosonxbox.tar.gz ReactOS-0.2.5-xbox] || [[File:ReactOS 0.2.5-xbox - HDD boot XQEMU.png|200px|thumb|left|Boots to desktop - [https://twitter.com/x86corez/status/1166843184523165697 Twitter post]]] || Boots to desktop<br>(tested rev 1.0, 1.1, 1.3, 1.4)
 
|-
 
|-
| ReactOS-0.2.6 || return to BIOS (on kernel load) || TODO || TODO || TODO
+
| ReactOS-0.2.6 || return to BIOS (on kernel load) || TODO
 +
|-
 +
| ReactOS-0.3.7 || [https://pastebin.com/raw/CzBDqrvM Assert '(Page)->Flags.Type != 0'] || TODO
 +
|-
 +
| ReactOS-0.3.10 || [https://pastebin.com/raw/cSM3AGnE Assert '(Page)->Flags.Type != 0'] || TODO
 +
|-
 +
| ReactOS-0.3.11 || [[File:ReactOS 0.3.11 - bootcd XQEMU.png|200px|thumb|left|Error opening freeldr.ini or file not found]] || TODO
 
|-
 
|-
| ReactOS-0.3.7 || [https://pastebin.com/CzBDqrvM Assert '(Page)->Flags.Type != 0'] || TODO || TODO || TODO
+
| ReactOS-0.4.0 || [[File:ReactOS 0.3.11 - bootcd XQEMU.png|200px|thumb|left|Error opening freeldr.ini or file not found]] || TODO
 
|-
 
|-
| ReactOS-0.3.10 || [https://pastebin.com/cSM3AGnE Assert '(Page)->Flags.Type != 0'] || TODO || TODO || TODO
+
| ReactOS-0.4.13-dev-656 || [[File:ReactOS 0.3.11 - bootcd XQEMU.png|200px|thumb|left|Error opening freeldr.ini or file not found]] || TODO
 
|-
 
|-
| ReactOS-0.3.11 || [[File:ReactOS 0.3.11 - bootcd XQEMU.png|200px|thumb|left|Error opening freeldr.ini or file not found]] || TODO || TODO || TODO
+
| ReactOS-0.4.13-dev-1033 || BSOD 0x7B - see {{JIRA|16329}} || BSOD 0x7B (tested rev 1.3)
 
|-
 
|-
| ReactOS-0.4.0 || [[File:ReactOS 0.3.11 - bootcd XQEMU.png|200px|thumb|left|Error opening freeldr.ini or file not found]] || TODO || TODO || TODO
+
| ReactOS-0.4.14-dev-803 || TODO || Partial test: FreeLdr works<br>(tested rev 1.3)
 
|-
 
|-
| ReactOS-0.4.13-dev-631 || [[File:ReactOS 0.3.11 - bootcd XQEMU.png|200px|thumb|left|Error opening freeldr.ini or file not found]] || TODO || TODO || TODO
+
| ReactOS-0.4.14-dev-945 || TODO || Partial test: FreeLdr works<br>(tested rev 1.3)
 
|-
 
|-
| ReactOS-0.4.13-dev-656 || TODO || TODO || TODO || TODO
+
| ReactOS-0.4.14-dev-965 || TODO || Partial test: FreeLdr works<br>(tested rev 1.3)
 
|}
 
|}
  
Line 116: Line 137:
 
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
! Version !! XQEMU !! Microsoft Xbox 1.0
+
! Version !! XQEMU !! Microsoft Xbox
 
|-
 
|-
| ReactOS-0.3.11 || [https://pastebin.com/Qz186HCf Unhandled or Unexpected Code] || TODO
+
| ReactOS-0.3.11 || [https://pastebin.com/raw/Qz186HCf Unhandled or Unexpected Code] || TODO
 
|-
 
|-
 
| ReactOS-0.3.12 || black screen || TODO
 
| ReactOS-0.3.12 || black screen || TODO
Line 132: Line 153:
 
| ReactOS-0.4.5 .. 0.4.12 || black screen || TODO
 
| ReactOS-0.4.5 .. 0.4.12 || black screen || TODO
 
|-
 
|-
| ReactOS-0.4.13-dev-648 || black screen || TODO
+
| ReactOS-0.4.13-dev-656 || hangs at kernel boot - {{JIRA|16222}} || TODO
 +
|-
 +
| ReactOS-0.4.13-dev-1033 || [[File:ReactOS 0.4.13-dev-1025 in XQEMU.png|200px|thumb|left|Boots to 2nd stage - [https://twitter.com/x86corez/status/1167589261169823746 Twitter post]]] || TODO
 
|-
 
|-
| ReactOS-0.4.13-dev-656 || hangs at kernel boot - {{JIRA|16222}} || TODO
+
| ReactOS-0.4.14-dev-803 || [[File:ReactOS 0.4.14-dev-803 in XQEMU.png|200px|thumb|left|Boots to 2nd stage (xbox branch)]] || Partial test: FreeLdr works<br>(tested rev 1.3)
 +
|-
 +
| ReactOS-0.4.14-dev-945 || [[File:ReactOS 0.4.14-dev-803 in XQEMU.png|200px|thumb|left|Boots to 2nd stage (xbox branch)]] || Partial test: FreeLdr works<br>(tested rev 1.3)
 +
|-
 +
| ReactOS-0.4.14-dev-965 || [[File:ReactOS 0.4.14-dev-803 in XQEMU.png|200px|thumb|left|Boots to 2nd stage (xbox branch)]] || Partial test: FreeLdr works<br>(tested rev 1.3)
 
|}
 
|}
  
Line 140: Line 167:
 
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
! Version !! XQEMU !! Microsoft Xbox 1.0
+
! Version !! XQEMU !! Microsoft Xbox
 
|-
 
|-
 
| TODO || TODO || TODO
 
| TODO || TODO || TODO
 
|}
 
|}

Revision as of 22:25, 13 February 2020

This page contains latest boot tests of ReactOS Xbox Port in XQEMU using XboxDev Cromwell 2.41-dev BIOS. Tests also needs to be performed on real Xbox hardware.

Help testing

ReactOS FAT32 boot

  • Create a virtual disk drive (2 GB recommended).
  • Install ReactOS from bootcd.iso in normal QEMU:
    • Select computer type "Original Xbox (x86 based)".
    • Select display type "Original Xbox NV2A Framebuffer".
    • Format disk as FAT32.
  • Modify freeldr.ini manually (because CORE-16218):
    • DefaultOS=ReactOS_KdSerial to enable debugging over serial.
  • Copy over your hard disk image to XQEMU directory.
  • Download one of the available Cromwell firmware binaries from the links below, either flash or execute it, and choose hda1 boot device on start.

ReactOS FATX boot

  • Install ReactOS from bootcd.iso in QEMU or any other PC emulator:
    • Select computer type "Original Xbox".
    • Select display type "Original Xbox NV2A Framebuffer".
  • Right after 1st stage setup, power down VM, and extract all files from virtual HDD using 7-Zip into desired folder.

Boot in XQEMU

  • Use XboxHDM to create FATX formatted drive from scratch as follows:
    • Move all extracted ReactOS files into the directory /xboxhdm/linux/E/.
    • Execute make-iso-win.bat or ./make-iso-lin.sh depending on your host OS, it will generate linux.iso file.
    • Create empty 8 GB virtual hard drive.
    • Boot linux.iso in QEMU with empty HDD attached, it will start Linux with XboxHDM and allow to format the drive as FATX. It also will copy all files to the newly created partition.
  • Copy over hard disk image to XQEMU directory.

Boot on hardware

  • Place all extracted files in the root of Xbox E:\ hard drive.

Final step

  • Download one of the available Cromwell firmware binaries from the links below, either flash or execute it, and choose FatX (E:) boot device on start.

Links

ISO boot tests

bootcd.iso

Version XQEMU Microsoft Xbox
ReactOS-0.2.5 .. 0.2.6
Failed to read the PVD
TODO
ReactOS-0.2.7 .. 0.3.2
Failed to read the PVD
TODO
ReactOS-0.3.3 .. 0.3.7
Failed to read the PVD
TODO
ReactOS-0.3.8 .. 0.3.10
Failed to read the PVD
TODO
ReactOS-0.3.11
Error opening freeldr.ini or file not found
TODO
ReactOS-0.3.12 .. 0.3.13 black screen TODO
ReactOS-0.3.14
Unable to initialize memory manager
TODO
ReactOS-0.3.15 .. 0.3.17 return to BIOS TODO
ReactOS-0.4.0 .. 0.4.4
Error opening freeldr.ini or file not found
TODO
ReactOS-0.4.5 black screen TODO
ReactOS-0.4.6 .. 0.4.13-dev-1033
Error when detecting hardware - CORE-16220
TODO
ReactOS-0.4.14-dev-803 Works but shows black screen DVD drive not detected
(tested rev 1.3)
ReactOS-0.4.14-dev-945 Works but shows black screen DVD drive not detected
(tested rev 1.3)
ReactOS-0.4.14-dev-965 Works but shows black screen IopCreateArcNames failed
(tested rev 1.3)

livecd.iso

Version XQEMU Microsoft Xbox
ReactOS-0.2.5 .. 0.3.10
Failed to read the PVD
TODO
ReactOS-0.3.11
Error opening freeldr.ini or file not found
TODO
ReactOS-0.3.12 .. 0.3.13 black screen TODO
ReactOS-0.3.14
Unable to initialize memory manager
TODO
ReactOS-0.3.15 .. 0.3.17 return to BIOS TODO
ReactOS-0.4.0 .. 0.4.4
Error opening freeldr.ini or file not found
TODO
ReactOS-0.4.5 black screen TODO
ReactOS-0.4.6 .. 0.4.13-dev-1033
Error when detecting hardware - CORE-16220
TODO
ReactOS-0.4.14-dev-803 Random 'Invalid Opcode' exceptions DVD drive not detected
(tested rev 1.3)
ReactOS-0.4.14-dev-945
Boots to LiveCD menu (xbox branch)
DVD drive not detected
(tested rev 1.3)
ReactOS-0.4.14-dev-965
Boots to LiveCD menu (xbox branch)
IopCreateArcNames failed
(tested rev 1.3)

FATX HDD boot tests

Version XQEMU Microsoft Xbox
ReactOS-0.2.5 No multiboot header found TODO
ReactOS-0.2.5-xbox
Boots to desktop - Twitter post
Boots to desktop
(tested rev 1.0, 1.1, 1.3, 1.4)
ReactOS-0.2.6 return to BIOS (on kernel load) TODO
ReactOS-0.3.7 Assert '(Page)->Flags.Type != 0' TODO
ReactOS-0.3.10 Assert '(Page)->Flags.Type != 0' TODO
ReactOS-0.3.11
Error opening freeldr.ini or file not found
TODO
ReactOS-0.4.0
Error opening freeldr.ini or file not found
TODO
ReactOS-0.4.13-dev-656
Error opening freeldr.ini or file not found
TODO
ReactOS-0.4.13-dev-1033 BSOD 0x7B - see CORE-16329 BSOD 0x7B (tested rev 1.3)
ReactOS-0.4.14-dev-803 TODO Partial test: FreeLdr works
(tested rev 1.3)
ReactOS-0.4.14-dev-945 TODO Partial test: FreeLdr works
(tested rev 1.3)
ReactOS-0.4.14-dev-965 TODO Partial test: FreeLdr works
(tested rev 1.3)

Native HDD boot tests

Version XQEMU Microsoft Xbox
ReactOS-0.3.11 Unhandled or Unexpected Code TODO
ReactOS-0.3.12 black screen TODO
ReactOS-0.3.13 bootloader doesn't see FAT32 filesystem TODO
ReactOS-0.3.14
Unable to initialize memory manager
TODO
ReactOS-0.3.15 .. 0.3.17 return to BIOS TODO
ReactOS-0.4.0 .. 0.4.4
Error opening freeldr.ini or file not found
TODO
ReactOS-0.4.5 .. 0.4.12 black screen TODO
ReactOS-0.4.13-dev-656 hangs at kernel boot - CORE-16222 TODO
ReactOS-0.4.13-dev-1033
Boots to 2nd stage - Twitter post
TODO
ReactOS-0.4.14-dev-803
Boots to 2nd stage (xbox branch)
Partial test: FreeLdr works
(tested rev 1.3)
ReactOS-0.4.14-dev-945
Boots to 2nd stage (xbox branch)
Partial test: FreeLdr works
(tested rev 1.3)
ReactOS-0.4.14-dev-965
Boots to 2nd stage (xbox branch)
Partial test: FreeLdr works
(tested rev 1.3)

PXE boot tests

Version XQEMU Microsoft Xbox
TODO TODO TODO