1 / 21

LAB1: Start of your own OS

LAB1: Start of your own OS. Qingshu Chen Qingshu.chen714@gmail.com 2013-9-16. At the beginning. Website http://ipads.se.sjtu.edu.cn/courses/os/ Hand-in Ftp ftp: public.sjtu.edu.cn user : xin0625 password : public Due time Sep 30th. Overview of lab1. Step1: Environment build

brigit
Download Presentation

LAB1: Start of your own OS

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. LAB1: Start of your own OS Qingshu Chen Qingshu.chen714@gmail.com 2013-9-16

  2. At the beginning • Website • http://ipads.se.sjtu.edu.cn/courses/os/ • Hand-in Ftp • ftp: public.sjtu.edu.cn • user: xin0625 • password:public • Due time • Sep 30th

  3. Overview of lab1 • Step1: Environment build • You can use the Debian image • Step2: PC bootstrap & boot loader • Step3: Coding work, printf and back trace.

  4. Build Environment • Build yourself • Or use the preinstalled VMware image

  5. Build Environment (1/3) • Recommendation • Use VMware workstation • Debian GNU/Linux i386(32-bit)

  6. Build Environment (2/3) • Compiler Toolchain • Binutils-2.19 • Gcc-core-3.4.1 • Gdb-6.8 • You can download the source code and find installation notes at • Ipads.se.sjtu.edu.cn/courses/os • Click the “Tools” link on the left

  7. Build Environment (3/3) • QEMU Emulators • Patched QEMU-0.10.6 • You can download the source code and find installation notes at ipads.se.sjtu.edu.cn/courses/os • ./configure –target-list=“i386-softmmu x86_64-softmmu” & make & make install

  8. User and password • oslab : 111111

  9. Download jos

  10. Git • Git help to see more git commands

  11. Sample of qemu run • Run the OS • $make qemu • $make qemu-nox • Debug • $make qemu-gdb && $gdb(at another console)

  12. Sample of qemurun • $make grade

  13. Lab1 important notes (1/3) • A script to verify your lab • Make grade • Answer questions in this lab • Don’t modify “grade.sh”, TA will use the original one

  14. Lab1 important notes (2/3) • Coding (80 point) (70%) • Printf(40) • Back trace(40) • Document(report) (15%) • Difficult part in this lab • How you solve the puzzle • Some exercise answers • Interview (15%)

  15. Lab1 important notes (3/3) • No cheating!! • Hand In • Make handin • Rename to {your student id}.tar.gz 5110379001.tar.gz 5110379001_1.tar.gz 5100379001_2.tar.gz • Upload to TA’s public ftp • (xin0625 :upload/joslab1)

  16. Hand-in • $make handin

  17. Thanks

More Related