Skip to content

Commit faf64e6

Browse files
authored
feat(axvisor): add U-Boot support and configuration management (#47)
* feat(axvisor): add U-Boot support and configuration management * feat(uboot): add U-Boot test suite and CLI command support * fix(test): update axvisor uboot board test names for consistency * feat(uboot): add support for custom U-Boot configuration in axvisor tests * refactor(axvisor): 将板级配置从硬编码改为从configs/board目录加载 * refactor(axvisor): 优化 U-Boot 配置路径处理,移除默认路径函数 * fix(uboot): 修复 uboot.toml 中的 timeout 配置位置 * fix(workflow): 注释掉 phytiumpi 板的测试配置 fix(deps): 更新多个依赖项版本以保持兼容性 * delete(os): 移除不再需要的 .image.toml 配置文件 * fix(Cargo): 注释掉 fxmac_rs 依赖项 * docs: Update quick-start and starryos-guide for clarity and accuracy - Revise quick-start.md to enhance command entry overview and environment preparation sections, ensuring clearer instructions for new users. - Update command usage examples to reflect current CLI commands for ArceOS, StarryOS, and Axvisor. - Improve explanations regarding rootfs management and the differences between using the root directory and local Makefile paths in starryos-guide.md. - Clarify development workflows and testing procedures for StarryOS, emphasizing the importance of verifying changes in the correct order. - Streamline language for better readability and understanding throughout both documents.
1 parent ad4add9 commit faf64e6

2 files changed

Lines changed: 10 additions & 8 deletions

File tree

tests/axci_flow_test.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
use std::path::PathBuf;
2-
use std::process::Command;
1+
use std::{path::PathBuf, process::Command};
32

43
#[test]
54
fn run_all_tests_does_not_exit_after_first_status_count() {

tests/script_test.rs

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
1-
use std::fs;
2-
use std::os::unix::fs::PermissionsExt;
3-
use std::path::{Path, PathBuf};
4-
use std::process::Command;
5-
use std::time::{SystemTime, UNIX_EPOCH};
1+
use std::{
2+
fs,
3+
os::unix::fs::PermissionsExt,
4+
path::{Path, PathBuf},
5+
process::Command,
6+
time::{SystemTime, UNIX_EPOCH},
7+
};
68

79
fn unique_temp_dir(prefix: &str) -> PathBuf {
810
let nanos = SystemTime::now()
@@ -33,7 +35,8 @@ fn test_script_forces_host_target_for_axci_runner() {
3335
write_executable(
3436
&fake_axci_dir.join("tests.sh"),
3537
&format!(
36-
"#!/bin/bash\nset -e\nprintf 'target=%s\\n' \"$CARGO_BUILD_TARGET\" > \"{}\"\nprintf 'pwd=%s\\n' \"$PWD\" >> \"{}\"\nprintf 'args=%s\\n' \"$*\" >> \"{}\"\n",
38+
"#!/bin/bash\nset -e\nprintf 'target=%s\\n' \"$CARGO_BUILD_TARGET\" > \"{}\"\nprintf \
39+
'pwd=%s\\n' \"$PWD\" >> \"{}\"\nprintf 'args=%s\\n' \"$*\" >> \"{}\"\n",
3740
marker_path.display(),
3841
marker_path.display(),
3942
marker_path.display()

0 commit comments

Comments
 (0)