summaryrefslogtreecommitdiffhomepage
path: root/scripts/debug_ata_x64.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/debug_ata_x64.sh')
-rwxr-xr-xscripts/debug_ata_x64.sh16
1 files changed, 16 insertions, 0 deletions
diff --git a/scripts/debug_ata_x64.sh b/scripts/debug_ata_x64.sh
new file mode 100755
index 00000000..dc133614
--- /dev/null
+++ b/scripts/debug_ata_x64.sh
@@ -0,0 +1,16 @@
+#!/bin/sh
+
+export AHCI_SUPPORT=
+export ATA_PIO_SUPPORT=1
+export ATA_DMA_SUPPORT=
+export DEBUG_SUPPORT=1
+
+cd src/kernel
+make -f amd64-desktop.make all
+cd ../boot
+make -f amd64-desktop.make all
+make -f amd64-desktop.make disk
+cd ../../
+./tools/mk_img.py ./src/boot/src/nekernel-esp.img ./src/boot/src/root
+cd src/boot
+make -f amd64-desktop.make run-efi-amd64-ata-pio