Git Product home page Git Product logo

rvos's Introduction

Build user program

fallocate -l 32M hdd.dsk mkfs.minix hdd.dsk cd userspae export PATH=$PWD:$PATH which riscv64-unknown-linux-gnu-as cd /team/LihuaZhao/proj/rtp.rust/osblog/risc_v/userspace vi Makefile (channge cross toolchain) cd startlib/ make cd .. riscv64-unknown-linux-gnu-g++ -Wall -O0 -ffreestanding -nostartfiles -nostdlib -static -march=rv64g -mabi=lp64d -I./startlib -L./startlib -o helloworld.elf helloworld.cpp -lstart sudo upload.sh helloworld.elf

File: /mnt/helloworld.elf Size: 18920 Blocks: 40 IO Block: 1024 regular file Device: 708h/1800d Inode: 2 Links: 1 Access: (0755/-rwxr-xr-x) Uid: ( 0/ root) Gid: ( 0/ root) Access: 2022-12-07 16:42:27.000000000 +0800 Modify: 2022-12-07 16:42:27.000000000 +0800 Change: 2022-12-07 16:42:27.000000000 +0800 Birth: -

rvos's People

Contributors

lihuazhao avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.