Skip to content

Commit

Permalink
Update 2024-07-17-qemu_linux_61.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Huang weiliang committed Jul 17, 2024
1 parent be1efa4 commit 5234fdf
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions _posts/2024-07-17-qemu_linux_61.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ From this Google [link](https://source.android.com/docs/devices/cuttlefish/kerne

For the folder common which is the kernel source code location. Please do following change:

```diff
```suggestion
--- a/arch/arm64/configs/gki_defconfig
+++ b/arch/arm64/configs/gki_defconfig
Expand All @@ -50,10 +50,8 @@ For the folder common which is the kernel source code location. Please do follo
+CONFIG_NET_9P_DEBUG=y
+CONFIG_9P_FS=y
+CONFIG_9P_FS_POSIX_ACL=y
+
+
diff --git a/build.config.gki b/build.config.gki
index 4b931d9eb333..da87a30d24e8 100644
--- a/build.config.gki
+++ b/build.config.gki
@@ -1,2 +1,2 @@
Expand All @@ -68,7 +66,7 @@ index 4b931d9eb333..da87a30d24e8 100644

Execute below commands to build kernel and modules:

```
```suggestion
tools/bazel run //common:kernel_aarch64_dist -- --dist_dir=/media/nvme1/play_android_kernel/out-new
tools/bazel run //common-modules/virtual-device:virtual_device_aarch64_dist -- --dist_dir=/media/nvme1/play_android_kernel/out-new
```
Expand All @@ -82,7 +80,8 @@ The folder device_test1 and hello-world-module is the 2 modules we are going to

To compile these 2 kernel modules we need do following change :

```diff
```suggestion
--- a/BUILD.bazel
+++ b/BUILD.bazel
@@ -92,6 +92,20 @@ filegroup(
Expand Down

0 comments on commit 5234fdf

Please sign in to comment.