Skip to content

Commit

Permalink
refactor(build): Close #9 ,在genimage.cfg中指定唯一被加载的.bin后缀文件
Browse files Browse the repository at this point in the history
  • Loading branch information
Gstalker committed Oct 14, 2022
1 parent de9f1c9 commit a560a20
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test-kernel/genimage-sdcard.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ image bootfs.vfat {
files = {
"rustsbi-k510-burn.bin",
"k510.dtb",
"kernel.bin",
"kernel.image",
}
}
size = 30M
Expand Down
2 changes: 1 addition & 1 deletion xtask/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ impl TestSDCardImageArgs {
).unwrap();
fs::copy(
self.build.dir().join("test-kernel.bin"),
&input_dir.join("kernel.bin")
&input_dir.join("kernel.image")
).unwrap();
fs::copy(
PROJECT_DIR.join("rustsbi-k510/src/k510_crb_lp3_v1_2.dtb"),
Expand Down

0 comments on commit a560a20

Please sign in to comment.