Skip to content

Commit 6b847a5

Browse files
committed
feat: Add U-Boot support and related commands to Axvisor
- Introduced new command variants for U-Boot and defconfig in the Axvisor CLI. - Implemented `ArgsUboot` and `ArgsDefconfig` structs for parsing U-Boot and defconfig commands. - Enhanced `Axvisor` struct to handle U-Boot commands and configurations. - Created `AxvisorUbootSnapshot` to manage U-Boot specific configurations. - Updated `AppContext` to include `axvisor_dir` for better path management. - Added tests for U-Boot command parsing and functionality. - Refactored existing code to accommodate new U-Boot features and ensure backward compatibility. - Updated repository references in `repos.csv` for new dependencies.
2 parents 449c910 + ec97adb commit 6b847a5

6 files changed

Lines changed: 15 additions & 23 deletions

File tree

configs/board/orangepi-5-plus.toml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
1-
cargo_args = []
1+
env = { AX_IP = "10.0.2.15", AX_GW = "10.0.2.2" }
22
features = [
3-
"dyn-plat",
43
"axstd/bus-mmio",
5-
"driver/sdmmc",
6-
"driver/rk3588-clk",
4+
"sdmmc",
5+
"rk3588-clk",
76
"fs",
87
]
98
log = "Info"
9+
plat_dyn = true
1010
target = "aarch64-unknown-none-softfloat"
11-
to_bin = true
1211
vm_configs = []

configs/board/phytiumpi.toml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
1-
cargo_args = []
1+
env = { AX_IP = "10.0.2.15", AX_GW = "10.0.2.2" }
22
features = [
3-
"dyn-plat",
43
"axstd/bus-mmio",
54
"fs",
65
"sdmmc",
76
"phytium-blk",
87
]
98
log = "Info"
9+
plat_dyn = true
1010
target = "aarch64-unknown-none-softfloat"
11-
to_bin = true
12-
vm_configs = []
11+
vm_configs = []

configs/board/qemu-aarch64.toml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
1-
cargo_args = []
1+
env = { AX_IP = "10.0.2.15", AX_GW = "10.0.2.2" }
22
features = [
33
"ept-level-4",
44
"axstd/bus-mmio",
5-
"dyn-plat",
65
]
76
log = "Info"
7+
plat_dyn = true
88
target = "aarch64-unknown-none-softfloat"
9-
to_bin = true
109
vm_configs = []

configs/board/qemu-riscv64.toml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
1-
cargo_args = []
1+
env = { AX_IP = "10.0.2.15", AX_GW = "10.0.2.2" }
22
features = [
3-
"axstd/myplat",
43
"axstd/bus-mmio",
54
"ept-level-4",
65
# "fs",
76
]
87
log = "Info"
98
target = "riscv64gc-unknown-none-elf"
10-
to_bin = true
119
vm_configs = []
1210
max_cpu_num = 4

configs/board/qemu-x86_64.toml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
1-
cargo_args = []
1+
env = { AX_IP = "10.0.2.15", AX_GW = "10.0.2.2" }
22
features = [
3-
"axstd/myplat",
43
"ept-level-4",
54
"fs",
65
]
76
log = "Info"
87
target = "x86_64-unknown-none"
9-
to_bin = false
10-
vm_configs = []
8+
vm_configs = []

configs/board/roc-rk3568-pc.toml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
1-
cargo_args = []
1+
env = { AX_IP = "10.0.2.15", AX_GW = "10.0.2.2" }
22
features = [
3-
"dyn-plat",
43
"axstd/bus-mmio",
54
"fs",
65
"sdmmc",
76
"rk3568-clk",
87
]
98
log = "Info"
9+
plat_dyn = true
1010
target = "aarch64-unknown-none-softfloat"
11-
to_bin = true
12-
vm_configs = []
11+
vm_configs = []

0 commit comments

Comments
 (0)