- Timestamp:
-
09/25/06 04:08:18 (18 years ago)
- Author:
-
ChrisJohns
- Comment:
-
Fix boot image name.
Legend:
- Unmodified
- Added
- Removed
- Modified
-
v7
|
v8
|
|
6 | 6 | |
7 | 7 | |
8 | | Install the RTEMS [wiki:TBR/UserManual/MinGW_Tools_for_Windows MinGW Tools for Windows]. Download the processor emulator you wish to use and install. For example we will install the i368 emulator to '''c:\rtems\i386\qemu-0.8.2-windows'''. Download the boot floppy image [ftp://ftp.rtems.org/pub/rtems/qemu/i386-pc/rtems-grub.img] to ''c:\rtems\i386]. To run QEMU create the batch file '''c:\rtems\i386\qemu.bat''' with: |
| 8 | Install the RTEMS [wiki:TBR/UserManual/MinGW_Tools_for_Windows MinGW Tools for Windows]. Download the processor emulator you wish to use and install. For example we will install the i368 emulator to '''c:\rtems\i386\qemu-0.8.2-windows'''. Download the boot floppy image [ftp://ftp.rtems.org/pub/rtems/qemu/i386-pc/rtems-boot.img] to ''c:\rtems\i386]. To run QEMU create the batch file '''c:\rtems\i386\qemu.bat''' with: |
9 | 9 | |
10 | 10 | rem @echo off |
11 | 11 | set QEMU=C:\rtems\i386\qemu-0.8.2-windows |
12 | | %QEMU%\qemu -L %QEMU% -m 128 -boot a -fda c:\rtems\i386\rtems-grub.img -hda fat:%1 |
| 12 | %QEMU%\qemu -L %QEMU% -m 128 -boot a -fda c:\rtems\i386\rtems-boot.img -hda fat:%1 |
13 | 13 | |
14 | 14 | The boot floppy will look in the root directory the QEMU C: drive for a file called '''rtems-grub.cfg'''. The QEMU C: is a directory on your hard disk passed to QEMU on its command line and can be seen in the '''qemu.bat''' file we created as the '''-hda fat:%1''' option. The command line option we pass to '''qemu.bat''' is a directory that is the root directory the QEMU C: drive. For example download and build RTEMS for the i386 target as described on the [wiki:TBR/UserManual/MinGW_Tools_for_Windows MinGW Tools for Windows] page. Then install [ftp://ftp.rtems.org/pub/rtems/qemu/i386-pc/rtems-grub.cfg rtems-grub.cfg] into the '''c:\rtems\src\i386\i386-rtems4.7\c\pc586\testsuites\samples''' directory. Open the '''RTEMS (i386)''' command window by running '''c:\rtems\i386\rtems-cmd.bat''' then enter: |