# Astral **Repository Path**: DY-Young/astral ## Basic Information - **Project Name**: Astral - **Description**: Astral Operating System - **Primary Language**: C - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 2 - **Forks**: 1 - **Created**: 2023-07-26 - **Last Updated**: 2024-06-16 ## Categories & Tags **Categories**: Uncategorized **Tags**: os, arm, memory, assembly ## README ## 依赖的工具 1. qemu-system-arm 以及其它架构对应的模拟器 2. arm-none-eabi- 工具链以及其它架构对应的工具链 3. sudo apt install graphviz ## Possible command for depedency tool ```bash sudo apt install qemu-system-arm sudo apt install gcc-arm-none-eabi sudo apt install graphviz ``` ## 编译运行 1. ARCH=arm make 编译镜像 2. make ramfs 文件系统 3. ARCH=arm make qemu 仿真 make qemu时默认使用fs.fat作为根文件系统,如果不需要,可以使用下面的命令。 测试阶段会自动执行开机测试,并且进入shell模式。 ```bash qemu-system-arm -M vexpress-a9 --kernel output/AstralOS --serial mon:stdio ``` ![Alt text](helps/pics/running.png) 如果需要调试可以使用,如果要指定SMP参数也可以使用DBG ```bash make qemu DBG="-s -S" make qemu DBG="-smp 2" make qemu DBG="-s -S -smp 2" ``` ## 编译框架 ![Alt text](helps/pics/dependency.png) ## jekins