diff --git a/doc/setup.rst b/doc/setup.rst index ff4e8a7c3273a65e715264d7a80d8d8328baa81d..c3d5d52dff5d8eff3b8657283504ff1792141198 100644 --- a/doc/setup.rst +++ b/doc/setup.rst @@ -398,6 +398,10 @@ In order to do that, follow the steps below: and follow the instructions in ``--help`` to link or fetch the Lisa module sources into the source tree. +.. code-block:: sh + + ./fetch_lisa_module.py --module-kernel-path ./private/gs-google/drivers/soc/arm/vh/kernel/lisa --git-ref main + With all these steps complete, rebuild the kernel: .. code-block:: sh diff --git a/tools/kmodules/lisa-in-tree/fetch_lisa_module.py b/tools/kmodules/lisa-in-tree/fetch_lisa_module.py index 882e258b8d5424e3cfea43d03d6179c84056d773..8c20dca55cfc3be83d71d7ff3d892a7a77bcab88 100755 --- a/tools/kmodules/lisa-in-tree/fetch_lisa_module.py +++ b/tools/kmodules/lisa-in-tree/fetch_lisa_module.py @@ -30,7 +30,7 @@ def main(): parser.add_argument('--module-kernel-path', help='Path relative to the kernel tree root where the module will be stored') parser.add_argument('--git-remote', help='Git remote to pull the module from', - default='git@github.com:ARM-software/lisa.git') + default='https://github.com/ARM-software/lisa.git') args = parser.parse_args() module_kernel_path = Path(args.module_kernel_path).resolve() diff --git a/tools/kmodules/lisa-in-tree/linux/0001-arm-vh-Include-Lisa-module-stub.patch b/tools/kmodules/lisa-in-tree/linux/0001-arm-vh-Include-Lisa-module-stub.patch index d8e22a9bda85e265d65018093b24ac972fad45d9..9d3f96742c13b8671055c4d1cba7ecf61269db34 100644 --- a/tools/kmodules/lisa-in-tree/linux/0001-arm-vh-Include-Lisa-module-stub.patch +++ b/tools/kmodules/lisa-in-tree/linux/0001-arm-vh-Include-Lisa-module-stub.patch @@ -1,4 +1,4 @@ -From 4251bcc1e0641992e3a99f19c654245d2b6aff87 Mon Sep 17 00:00:00 2001 +From 7e0578ee83ca6a840f82303f5f58a7b7ced68320 Mon Sep 17 00:00:00 2001 From: Kajetan Puchalski Date: Tue, 27 Jun 2023 14:05:40 +0000 Subject: [PATCH] arm: vh: Include Lisa module stub @@ -37,11 +37,11 @@ index 000000000000..022ec9498e15 +obj-y += vh/kernel/ diff --git a/drivers/soc/arm/vh/kernel/.gitignore b/drivers/soc/arm/vh/kernel/.gitignore new file mode 100644 -index 000000000000..1a7fe6a32c57 +index 000000000000..824ab08cfc04 --- /dev/null +++ b/drivers/soc/arm/vh/kernel/.gitignore @@ -0,0 +1,2 @@ -+lisa-module-git/ ++lisa-git/ +lisa diff --git a/drivers/soc/arm/vh/kernel/Makefile b/drivers/soc/arm/vh/kernel/Makefile new file mode 100644