Harry Chen
4fc32572b0
Fix some review problems, add mispel arch to CI
...
Signed-off-by: Harry Chen <i@harrychen.xyz>
6 years ago
Yuhao Zhou
684a2c5dd8
Fix syscall return register.
6 years ago
Harry Chen
ecdbc9fd7a
Switch to uart2 on malta to get interrupts (not working)
...
Signed-off-by: Harry Chen <i@harrychen.xyz>
6 years ago
Harry Chen
b1fa65b9c9
Use syscall from MIPS o32 ABI, read boot command line in dts from
...
Signed-off-by: Harry Chen <i@harrychen.xyz>
6 years ago
Harry Chen
a2e98d73fd
Extract serial driver and add mipssim board for mipsel
...
Signed-off-by: Harry Chen <i@harrychen.xyz>
6 years ago
Harry Chen
48864bd79b
Add more output to backtrace, revert fs change, update rust-mips
...
Signed-off-by: Harry Chen <i@harrychen.xyz>
6 years ago
Harry Chen
6cc607e0c8
Make aarch64 and mipsel use img instead of qcow
...
Signed-off-by: Harry Chen <i@harrychen.xyz>
6 years ago
Harry Chen
c3e94d38ae
Fix early uart on malta, now malta board can print things!
...
Signed-off-by: Harry Chen <i@harrychen.xyz>
6 years ago
Harry Chen
06f7b1643d
Fix makefile options for mipsel
...
Signed-off-by: Harry Chen <i@harrychen.xyz>
6 years ago
Harry Chen
65d6fb5b1e
Use gcc to pre-process mipsel assembly
...
Signed-off-by: Harry Chen <i@harrychen.xyz>
6 years ago
Harry Chen
f8a62b5549
Merge remote-tracking branch 'origin/master' into mipsel
6 years ago
Jiajie Chen
c99b7a1aed
Remove -machine ubuntu for newer version of QEMU
6 years ago
Harry Chen
6245d86a27
Move dts to board dir, fix some import error
...
Signed-off-by: Harry Chen <i@harrychen.xyz>
6 years ago
Harry Chen
015cc72aa4
Fix malta drivers
...
Signed-off-by: Harry Chen <i@harrychen.xyz>
6 years ago
Jiajie Chen
ca45848028
Add extra_nic option
6 years ago
Harry Chen
4ddcdeb004
Complete DTS for qemu-malta
...
Signed-off-by: Harry Chen <i@harrychen.xyz>
6 years ago
Harry Chen
b6f1b3c926
Merge remote-tracking branch 'origin/master' into mipsel
6 years ago
Harry Chen
c496dd5778
Fix extra endif in Makefile
...
Signed-off-by: Harry Chen <i@harrychen.xyz>
6 years ago
Harry Chen
34c3d139a1
Modify linker script to mipsel arch, add dts in kernel binary
...
Signed-off-by: Harry Chen <i@harrychen.xyz>
6 years ago
Yuhao Zhou
a78916c57e
Add MIPS target.
6 years ago
Jiajie Chen
2da17d7fcd
Replace IDE with AHCI driver
6 years ago
Jiajie Chen
311cf104f9
Many minor fixes to allow gcc to run inside rCore. Add some syscalls, fix SEEK_* and enlarge the heap
6 years ago
equation314
e4df6d6788
Fix bootloader build failure on aarch64
6 years ago
Jiajie Chen
fcfe677bcc
Fix makefile and loader NULL character stripping
6 years ago
Jiajie Chen
5c33191765
Implement automatic tests using kernel cmdline
6 years ago
WangRunji
6923efd250
fix last commit. improve process code.
6 years ago
Jiajie Chen
e3fb47a03e
Remove m-mode and k210 support.
6 years ago
Jiajie Chen
285df82b80
Fix qcow2, and add pci_passthru to MakeFile
...
Signed-off-by: Jiajie Chen <noc@jiegec.ac.cn>
6 years ago
Jiajie Chen
715faca0df
Use qcow2 instead of img for sfsimg
6 years ago
WangRunji
f6352b2688
fix serial interrupt on HiFiveU
6 years ago
WangRunji
d0202c945e
test and fix something on HiFiveU
6 years ago
WangRunji
17e644e54e
unimportant changes
6 years ago
equation314
18626a2a19
Merge branch 'bootloader' into biscuit
6 years ago
WangRunji
a3edd38046
fix VGA color on x86_64
6 years ago
equation314
8bb1e65ba7
load kernel elf in bootloader
6 years ago
Jiajie Chen
1a1e39c960
Move socket set to iface, redesign NetDriver trait and implement blocking net syscalls
6 years ago
equation314
b94ba7759e
add aarch64 bootloader framework
6 years ago
Jiajie Chen
af9a978a9d
Fix a bug in e1000 driver, run net thread and update Makefile
6 years ago
Jiajie Chen
197bebb1d2
Implement pci bus probing and fix a bug in virtio_mmio
6 years ago
WangRunji
c69386fbc2
add rcore-user submodule
6 years ago
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
6 years ago
WangRunji
95dfb7684f
update kflash.py, fix build k210
6 years ago
WangRunji
2766f49986
update README, Travis, Makefile
6 years ago
WangRunji
2303a8099b
update Rust compiler to support riscv64
6 years ago
WangRunji
ac0c19cdb0
support Sv39
...
To test: make run arch=riscv64 board=u540
6 years ago
WangRunji
047f4ffdcc
cherry-pick jiegec's work ( #3 ) from lab8-rv32: virtio drivers, network stack
...
Read and parse dtb upon boot
Implement virtio net device detection
Negotiate feature bits for virtio-net
Read MAC address from virtio-net device and detect virtqueues
Receiving from virtio net device is working for the first time
Implement driver interface and interrupt handling routines
Rearrange drivers into upper directory
Implement initial support for processing arp request and reply packet
Refactor MAC address and IPv4 address into structs, and implement ICMP echo reply
Fix typos
Implement initial support for virtio gpu driver
Complete first working version of virtio gpu driver with mandelbrot example
Use smoltcp and implement a udp and tcp server on top of it
Cleanup virtio net code
6 years ago
Jiajie Chen
5350ecb09f
Add addr2line tool for annotating backtrace
6 years ago
Jiajie Chen
e3262698be
Fix aarch64 toolchain detection and add missing compiler_builtins v0.1.5
6 years ago
Jiajie Chen
4beb865d32
Update toolchain location and detection
6 years ago
WangRunji
2d5178d0b7
rename ucore to rcore
6 years ago