1 Star 0 Fork 0

Osprey / Linux-0.11

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README

Linux-0.11

The old Linux kernel source ver 0.11 which has been tested under modern Linux, Mac OSX and Windows.

1. Build on Linux

1.1. Linux Setup

  • a linux distribution: debian , ubuntu and mint are recommended
  • some tools: gcc gdb qemu
  • a linux-0.11 hardware image file: hdc-0.11.img, please download it from http://www.oldlinux.org, or http://mirror.lzu.edu.cn/os/oldlinux.org/, ant put it in the root directory.
  • Now, This version already support the Ubuntu 16.04, enjoy it.

1.2. hack linux-0.11

$ make help		// get help
$ make  		// compile
$ make start		// boot it on qemu
$ make debug		// debug it via qemu & gdb, you'd start gdb to connect it.
$ gdb tools/system
(gdb) target remote :1234
(gdb) b main
(gdb) c

2. Build on Mac OS X

2.1. Mac OS X Setup

  • install cross compiler gcc and binutils
  • install qemu
  • install gdb. you need download the gdb source and compile it to use gdb because port doesn't provide i386-elf-gdb, or you can use the pre-compiled gdb in the tools directory.
  • a linux-0.11 hardware image file: hdc-0.11.img
$ sudo port install qemu
$ sudo port install i386-elf-binutils i386-elf-gcc

optional

$ wget ftp://ftp.gnu.org/gnu/gdb/gdb-7.4.tar.bz2
$ tar -xzvf gdb-7.4.tar.bz2
$ cd gdb-7.4
$ ./configure --target=i386-elf
$ make

2.2. hack linux-0.11

same as section 1.2

3. Build on Windows

todo...

空文件

简介

暂无描述 展开 收起
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
1
https://gitee.com/embeddedosprey/Linux-0.11.git
git@gitee.com:embeddedosprey/Linux-0.11.git
embeddedosprey
Linux-0.11
Linux-0.11
master

搜索帮助