diff options
author | Vegard Storheil Eriksen <zyp@jvnv.net> | 2009-12-24 02:07:27 +0100 |
---|---|---|
committer | Vegard Storheil Eriksen <zyp@jvnv.net> | 2009-12-24 02:07:27 +0100 |
commit | f57cbe8ecdb4f6ecb22618de361d4fcaee3fdcf3 (patch) | |
tree | f28577b0216d1d7c87f9bf55bd606a50aaa06547 | |
parent | 864fb03a3305b65fedbe434ebb87510ac13fe865 (diff) |
Use PXE instead of a floppy image for testing with QEMU.
-rw-r--r-- | SConstruct | 4 | ||||
-rwxr-xr-x | mboot.c32 | bin | 0 -> 34092 bytes | |||
-rwxr-xr-x | pxelinux.0 | bin | 0 -> 16466 bytes | |||
-rw-r--r-- | pxelinux.cfg/default | 4 |
4 files changed, 7 insertions, 1 deletions
@@ -10,6 +10,8 @@ env.SConscript('kernel/SConscript') env.SConscript('floppy/SConscript') -env.Command('qemu', 'floppy/floppy.img', 'qemu -s -m 32 -fda $SOURCE') +#env.Command('qemu', 'floppy/floppy.img', 'qemu -s -m 32 -fda $SOURCE') + +env.Command('qemu', 'kernel', 'qemu -s -m 32 -boot n -tftp . -bootp /pxelinux.0') Default('kernel') diff --git a/mboot.c32 b/mboot.c32 Binary files differnew file mode 100755 index 0000000..30aaca1 --- /dev/null +++ b/mboot.c32 diff --git a/pxelinux.0 b/pxelinux.0 Binary files differnew file mode 100755 index 0000000..8b280c2 --- /dev/null +++ b/pxelinux.0 diff --git a/pxelinux.cfg/default b/pxelinux.cfg/default new file mode 100644 index 0000000..b39e4c7 --- /dev/null +++ b/pxelinux.cfg/default @@ -0,0 +1,4 @@ +default potetmos +label potetmos +kernel mboot.c32 +append kernel/kernel |