vx6-homework

1.establish the situation of vx6

explain:my system is Ubuntu 16.04 x86_64

step 1:sudo apt-get install glibc-devel.i686(maybe this step will fail,but this is no problem)

step2:sudo apt-get qemu(if it is failed,you use "sudo apt-get update",then you can execute it)

step3:

mkdir -p ~/xv6 && cd ~/xv6

git clone git://github.com/mit-pdos/xv6-public.git
(I get this from the website:https://pdos.csail.mit .edu/6.828/2014/xv6.html)

step4:cd xv6-public(you can use"ls",find the directory)

step5:make

step6:qemu-system-i386 -serial mon:stdio -hdb fs.img xv6.img -smp 1 -m 512

if you are in the qemu situation,you are success.

tip:you edit"vi ~/.bashrc",write  "  alias qemu='qemu-system-i386 -serial mon:stdio -hdb fs.img xv6.img -smp 1 -m 512'  " in the final row ,for the convinence.


2.program the module system call-date, and use it like date.

https://pdos.csail.mit.edu/6.828/2016/homework/xv6-syscall.html


sudo apt install git; git --version

git clone git://github.com/mit-pdos/xv6-public.git

sudo apt install libsdl1.2-dev

sudo apt install qemu

sudo ln -s /usr/bin/qemu /usr/bin/qemu-system-x86_64

make qemu

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值