WangRunji
e12074c936
replace gnu binutils with cargo-binutils
2019-04-12 00:23:34 +08:00
Jiajie Chen
41dab25f9c
Merge remote-tracking branch 'origin/master' into dev
2019-04-09 20:30:30 +08:00
Harry Chen
9b5f7b8078
Use host gcc for preprocessing in makefile
...
Signed-off-by: Harry Chen <i@harrychen.xyz>
2019-04-09 17:06:33 +08:00
Harry Chen
801b2e609a
Fix makefile for aarch64
...
Signed-off-by: Harry Chen <i@harrychen.xyz>
2019-04-09 16:16:09 +08:00
Harry Chen
aa9bf593e2
Fix Makefile for aarch64, install dtc in travis config
...
Signed-off-by: Harry Chen <i@harrychen.xyz>
2019-04-09 13:47:04 +08:00
Harry Chen
4fc32572b0
Fix some review problems, add mispel arch to CI
...
Signed-off-by: Harry Chen <i@harrychen.xyz>
2019-04-09 13:31:56 +08:00
Yuhao Zhou
684a2c5dd8
Fix syscall return register.
2019-04-08 01:00:26 +08:00
Harry Chen
ecdbc9fd7a
Switch to uart2 on malta to get interrupts (not working)
...
Signed-off-by: Harry Chen <i@harrychen.xyz>
2019-04-07 18:36:29 +08:00
Harry Chen
b1fa65b9c9
Use syscall from MIPS o32 ABI, read boot command line in dts from
...
Signed-off-by: Harry Chen <i@harrychen.xyz>
2019-04-07 18:04:28 +08:00
Harry Chen
a2e98d73fd
Extract serial driver and add mipssim board for mipsel
...
Signed-off-by: Harry Chen <i@harrychen.xyz>
2019-04-06 21:59:16 +08:00
Harry Chen
48864bd79b
Add more output to backtrace, revert fs change, update rust-mips
...
Signed-off-by: Harry Chen <i@harrychen.xyz>
2019-04-06 14:43:10 +08:00
Harry Chen
6cc607e0c8
Make aarch64 and mipsel use img instead of qcow
...
Signed-off-by: Harry Chen <i@harrychen.xyz>
2019-04-06 11:20:50 +08:00
Harry Chen
c3e94d38ae
Fix early uart on malta, now malta board can print things!
...
Signed-off-by: Harry Chen <i@harrychen.xyz>
2019-04-06 01:57:23 +08:00
Harry Chen
06f7b1643d
Fix makefile options for mipsel
...
Signed-off-by: Harry Chen <i@harrychen.xyz>
2019-04-06 00:58:32 +08:00
Harry Chen
65d6fb5b1e
Use gcc to pre-process mipsel assembly
...
Signed-off-by: Harry Chen <i@harrychen.xyz>
2019-04-06 00:24:01 +08:00
Jiajie Chen
58932e0bee
Add uboot instructions
2019-04-05 23:31:02 +08:00
Jiajie Chen
b0c9087f0f
Implement ioctl arp translation
2019-04-05 01:16:26 +08:00
Harry Chen
f8a62b5549
Merge remote-tracking branch 'origin/master' into mipsel
2019-04-04 00:31:59 +08:00
Jiajie Chen
c99b7a1aed
Remove -machine ubuntu for newer version of QEMU
2019-04-04 00:16:27 +08:00
Harry Chen
6245d86a27
Move dts to board dir, fix some import error
...
Signed-off-by: Harry Chen <i@harrychen.xyz>
2019-04-03 15:52:34 +08:00
Harry Chen
015cc72aa4
Fix malta drivers
...
Signed-off-by: Harry Chen <i@harrychen.xyz>
2019-04-03 13:53:34 +08:00
Jiajie Chen
ca45848028
Add extra_nic option
2019-04-02 08:27:02 +08:00
Harry Chen
4ddcdeb004
Complete DTS for qemu-malta
...
Signed-off-by: Harry Chen <i@harrychen.xyz>
2019-04-02 01:07:08 +08:00
Harry Chen
b6f1b3c926
Merge remote-tracking branch 'origin/master' into mipsel
2019-04-01 23:32:30 +08:00
Harry Chen
c496dd5778
Fix extra endif in Makefile
...
Signed-off-by: Harry Chen <i@harrychen.xyz>
2019-04-01 23:29:50 +08:00
Harry Chen
34c3d139a1
Modify linker script to mipsel arch, add dts in kernel binary
...
Signed-off-by: Harry Chen <i@harrychen.xyz>
2019-04-01 23:07:49 +08:00
Yuhao Zhou
a78916c57e
Add MIPS target.
2019-03-31 22:04:22 +08:00
Jiajie Chen
2da17d7fcd
Replace IDE with AHCI driver
2019-03-30 10:03:08 +08:00
Jiajie Chen
311cf104f9
Many minor fixes to allow gcc to run inside rCore. Add some syscalls, fix SEEK_* and enlarge the heap
2019-03-29 13:14:08 +08:00
equation314
e4df6d6788
Fix bootloader build failure on aarch64
2019-03-27 12:08:02 +08:00
Jiajie Chen
fcfe677bcc
Fix makefile and loader NULL character stripping
2019-03-26 16:50:21 +08:00
Jiajie Chen
5c33191765
Implement automatic tests using kernel cmdline
2019-03-26 16:05:21 +08:00
WangRunji
6923efd250
fix last commit. improve process code.
2019-03-26 11:23:58 +08:00
Jiajie Chen
e3fb47a03e
Remove m-mode and k210 support.
2019-03-26 08:28:10 +08:00
Jiajie Chen
285df82b80
Fix qcow2, and add pci_passthru to MakeFile
...
Signed-off-by: Jiajie Chen <noc@jiegec.ac.cn>
2019-03-24 01:29:03 +08:00
Jiajie Chen
715faca0df
Use qcow2 instead of img for sfsimg
2019-03-24 00:49:48 +08:00
WangRunji
f6352b2688
fix serial interrupt on HiFiveU
2019-03-19 18:23:10 +08:00
WangRunji
d0202c945e
test and fix something on HiFiveU
2019-03-18 18:24:58 +08:00
WangRunji
17e644e54e
unimportant changes
2019-03-18 00:18:03 +08:00
equation314
18626a2a19
Merge branch 'bootloader' into biscuit
2019-03-17 15:53:37 +08:00
WangRunji
a3edd38046
fix VGA color on x86_64
2019-03-16 15:54:43 +08:00
equation314
8bb1e65ba7
load kernel elf in bootloader
2019-03-06 00:46:01 +08:00
Jiajie Chen
1a1e39c960
Move socket set to iface, redesign NetDriver trait and implement blocking net syscalls
2019-03-04 15:34:02 +08:00
equation314
b94ba7759e
add aarch64 bootloader framework
2019-03-04 15:22:19 +08:00
Jiajie Chen
af9a978a9d
Fix a bug in e1000 driver, run net thread and update Makefile
2019-02-26 20:46:51 +08:00
Jiajie Chen
197bebb1d2
Implement pci bus probing and fix a bug in virtio_mmio
2019-02-25 19:12:41 +08:00
WangRunji
c69386fbc2
add rcore-user submodule
2019-02-21 18:35:10 +08:00
Jiajie Chen
8313b8854e
cherry-pick virtio improvement from lab8-rv32
...
Move mandelbrot to test mod, cleanup virtio feature negotiation and add addr2line script to Makefile
Implement full virtqueue operations, virtio input driver
Use new virtqueue implementation for virtio net driver
Implement virtio blk device support and use it instead of memory sfs when available
fix dirty hack for virtio_blk
2019-02-16 16:52:11 +08:00
WangRunji
95dfb7684f
update kflash.py, fix build k210
2019-02-16 14:31:47 +08:00
WangRunji
2766f49986
update README, Travis, Makefile
2019-02-15 16:10:24 +08:00