Skip to content

Commit 1619dd8

Browse files
committed
conf/evalsoc: copy prebuilt kvm tool and kernel image when build boot images
This kernel image is 6.6, which is not working for 6.12 + aia hypervisor, since this commit is cherry-picked, so just keep it, and required a later commit to make it work Signed-off-by: Huaqi Fang <[email protected]>
1 parent daed935 commit 1619dd8

File tree

4 files changed

+16
-0
lines changed

4 files changed

+16
-0
lines changed

Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -289,6 +289,8 @@ linux: $(linux_wrkdir)/.config
289289

290290
$(initramfs): $(buildroot_initramfs_sysroot) $(linux_image)
291291
$(INITRAMFS_PRECMD)
292+
@echo "Copy KVM prebuilt tool and Kernel Image to RootFS root folder"
293+
[ -d $(confdir)/kvm ] && cp -rf $(confdir)/kvm $(buildroot_initramfs_sysroot)/root || true
292294
# Copy files required for xec network startup
293295
[ -f $(confdir)/S03net ] && cp -af $(confdir)/S03net $(buildroot_initramfs_sysroot)/etc/init.d/ || true
294296
cd $(linux_wrkdir) && \

conf/evalsoc/kvm/Image

21 MB
Binary file not shown.

conf/evalsoc/kvm/kvm.sh

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
#!/bin/bash
2+
3+
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
4+
5+
export PATH=$PATH:${SCRIPT_DIR}
6+
7+
cd $SCRIPT_DIR
8+
echo "Execute KVM Testing Now"
9+
10+
set -x
11+
mkdir -p /tmp/myshared/
12+
mount /dev/mmcblk0p1 /tmp/myshared/
13+
chmod +x lkvm-static
14+
lkvm-static run --9p /tmp/myshared,myshare_tag -m 1536 -c2 -k Image

conf/evalsoc/kvm/lkvm-static

1.3 MB
Binary file not shown.

0 commit comments

Comments
 (0)