summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHelmut Grohne <helmut@subdivi.de>2022-12-21 12:45:22 +0100
committerHelmut Grohne <helmut@subdivi.de>2022-12-21 12:45:22 +0100
commitfd94b0ea4c79537db9d4d8e84a85c215ff67548f (patch)
treed0dd49a9017e280bf4b79cdacb38551445d13cfe
parent2ef02f3828e8aa807292dbada80142d9c44fea97 (diff)
downloaddebvm-fd94b0ea4c79537db9d4d8e84a85c215ff67548f.tar.gz
vague mipsen support
The resulting image doesn't boot and has no console output.
-rwxr-xr-xdebvm-create6
-rwxr-xr-xdebvm-run2
2 files changed, 7 insertions, 1 deletions
diff --git a/debvm-create b/debvm-create
index 8870e09..82a3547 100755
--- a/debvm-create
+++ b/debvm-create
@@ -95,6 +95,12 @@ case "$ARCHITECTURE" in
i386)
KERNEL_SUFFIX=-686-pae
;;
+ mips64el)
+ KERNEL_SUFFIX=-mips64r2el
+ ;;
+ mipsel)
+ KERNEL_SUFFIX=-mips32r2el
+ ;;
ppc64el)
KERNEL_SUFFIX=-powerpc64le
;;
diff --git a/debvm-run b/debvm-run
index 4b6d1a9..1fcefba 100755
--- a/debvm-run
+++ b/debvm-run
@@ -71,7 +71,7 @@ case "$VMARCH" in
;;
esac
case "$VMARCH" in
- ppc64el)
+ mips*|ppc64el)
KERNELLINK=vmlinux
;;
*)