From 4143056e3baf20ec9195855769e56bce6a1fc788 Mon Sep 17 00:00:00 2001 From: Daniel <dfsantosbu@unal.edu.co> Date: Wed, 10 Feb 2021 10:16:25 +0100 Subject: [PATCH] chore: add some comments in the readme. --- README.md | 22 ++++++++++++++++++++++ build/boot/run.sh | 1 + sextant/.main.cpp.swp | Bin 0 -> 12288 bytes 3 files changed, 23 insertions(+) create mode 100644 build/boot/run.sh create mode 100644 sextant/.main.cpp.swp diff --git a/README.md b/README.md index 32d03d2..1a7b918 100644 --- a/README.md +++ b/README.md @@ -56,3 +56,25 @@ brew install i386-elf-binutils i386-elf-gcc * Ouvrir l'exécuteur de commande: `View > Command Palette` ou `Ctrl + Shift + P` * Choisir `Run Task` * Sélectionner la tâche à exécuter + + +# Adapt + +# Build sextant +$ make +# Run sextant +$ cd build/boot; qemu-system-x86_64 -net nic,model=ne2k_isa -net user,tftp=./ -cdrom grub.iso +# Debug sextant +$ cd build/boot; qemu-system-i386 -S -s -net nic,model=ne2k_isa -net user,tftp=./ -cdrom grub.iso +# Run sextant no graphic +$ cd build/boot; qemu-system-x86_64 -curses -net nic,model=ne2k_isa -net user,tftp=./ -cdrom grub.iso + + + +pour lancer qemu en ligne de commande +il faut taper une des trois commandes +qemu-system-x86_64 -net nic,model=ne2k_isa -net user,tftp=./ -cdrom grub.iso +démarre qemu avec une carte réseau : -net nic,model=ne2k_isa +démarre un "faux" serveur tftp qui pointe en local : tftp=./ +et démarre une image disque de cdrom : -cdrom grub.iso +Avant de démarrer qemu, il faut bien sur avoir compilé le noyau avec la commande make diff --git a/build/boot/run.sh b/build/boot/run.sh new file mode 100644 index 0000000..942d558 --- /dev/null +++ b/build/boot/run.sh @@ -0,0 +1 @@ +qemu-system-x86_64 -net nic,model=ne2k_isa -net user,tftp=./ -cdrom grub.iso diff --git a/sextant/.main.cpp.swp b/sextant/.main.cpp.swp new file mode 100644 index 0000000000000000000000000000000000000000..14332e86b0232ea3aa2f5bcfc0a4015931509fe6 GIT binary patch literal 12288 zcmYc?2=nw+u+TGNU|?VnU|<lMteo)Ee;ea=P6mdQ#JtSZ9FPQloRX1TplfJkrfX<! zpqHDHs+XFZr<YcQp{WjHpuS6fa%paAUP-ZjPJVi3o_=aYK~8>VNn%N6ex80vfT4bI zYDGz6UWtBgVrHIRazO!xNuvUzAut*Oq=x`6gRzmJ0Z5;+lA?mJP$-Bwibq3WGz3ON zU^E0qLtr!nMnhmU1V%$(Gz3OS2$U2sGSo9LFfc*=%L1ht(P$`llo}0z(GVC7fzc2c z4S~@R7!85Z5Eu=C(GVC7fzc2c4S~@R7=j^?n8Ls?kDr0z6hCDCAJ+f>&(FZ{fS-Zk z3{>tUNPY<VZ`8@7Aut*OqaiRF0;3@?8UmvsFd71*Aut*OqaiRF0;3@?yh5OsL7^zM xq_ikc!Pwl`)Y8P*!otj&A+@3;wJ1+P$yrGuGp|G;7_zcH9<;JvL$jKJ0RT)$Kh*#L literal 0 HcmV?d00001 -- GitLab