From ad45b8dc78ce1cb661ec4fb17e3bbd11f1d48d6a Mon Sep 17 00:00:00 2001 From: Youjie Zheng Date: Wed, 31 Jul 2024 15:32:59 +0800 Subject: [PATCH] doc: update README doc for building image --- README.md | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 744b38f..9a51677 100644 --- a/README.md +++ b/README.md @@ -29,30 +29,33 @@ $ make A=apps/helloworld ARCH=x86_64 run # $ ./build_img.sh -$ ./build_img.sh -m x86_64 +$ ./build_img.sh -a x86_64 $ make A=apps/monolithic_userboot ARCH=x86_64 run # Run the testcases in the monolithic architecture -$ make A=apps/monolithic_userboot APP_FEATURES=batch ARCH=x86_64 run +$ make A=apps/monolithic_userboot APP_FEATURES=batch ARCH=x86_64 NET=y BLK=y run ``` ## Build and run testcases with ext4fs The document of the ext4fs is [here](./doc/ext4fs.md). ```sh +# Build the image in ext4fs +$ ./build_img.sh -a x86_64 -fs ext4 + # Run in the lwext4fs with Rust interface, whose url is https://github.com/elliott10/lwext4_rust. -make A=apps/monolithic_userboot FEATURES=lwext4_rust LOG=off ACCEL=n run +$ make A=apps/monolithic_userboot FEATURES=lwext4_rust LOG=off NET=y BLK=y ACCEL=n run # Run in a new ext4fs written in Rust, whose url is https://github.com/yuoo655/ext4_rs. -make A=apps/monolithic_userboot FEATURES=ext4_rs LOG=off ACCEL=n run +$ make A=apps/monolithic_userboot FEATURES=ext4_rs LOG=off NET=y BLK=y ACCEL=n run # Replace virt-io with ram-disk -make A=apps/monolithic_userboot FEATURES=ext4_rs,img LOG=error ARCH=x86_64 ACCEL=n run +$ make A=apps/monolithic_userboot FEATURES=ext4_rs,img LOG=error NET=y BLK=y ARCH=x86_64 ACCEL=n run # Run testcases for OSCOMP -make A=apps/monolithic_userboot FEATURES=ext4_rs,img LOG=off ACCEL=n run APP_FEATURES=batch +$ make A=apps/monolithic_userboot FEATURES=ext4_rs,img LOG=off NET=y BLK=y ACCEL=n run APP_FEATURES=batch ``` ## Pull crates to local workspace