summaryrefslogtreecommitdiff
path: root/create_installroot
diff options
context:
space:
mode:
authorFreeArtMan <dos21h@gmail.com>2023-09-03 14:22:47 +0100
committerFreeArtMan <dos21h@gmail.com>2023-09-03 14:22:47 +0100
commitd06103b3d68eff371751c0ab21c478077718a937 (patch)
tree11b81f5494d4df68a35145fd4c0f45610a54e8d4 /create_installroot
parent95ea03431757a829f0018b2950519add508d2629 (diff)
downloados201-d06103b3d68eff371751c0ab21c478077718a937.tar.gz
os201-d06103b3d68eff371751c0ab21c478077718a937.zip
Add compilable and running arm64
Diffstat (limited to 'create_installroot')
-rwxr-xr-xcreate_installroot/boot_qemu_arm64.sh29
1 files changed, 29 insertions, 0 deletions
diff --git a/create_installroot/boot_qemu_arm64.sh b/create_installroot/boot_qemu_arm64.sh
new file mode 100755
index 0000000..08020e9
--- /dev/null
+++ b/create_installroot/boot_qemu_arm64.sh
@@ -0,0 +1,29 @@
+#!/bin/dash
+
+
+qemu-system-aarch64 \
+ -machine virt -m 256M \
+ -append "root=/dev/mtdblock0 rw console=ttyAMA0" \
+ -kernel bootfs-arm64/Image -nographic -smp 1 -cpu cortex-a53
+
+
+
+#qemu-system-x86_64 \
+# -kernel bootfs-arm64/vmlinuz-xos \
+# -hda xos_image.img \
+# -append "root=/dev/sda2 rw console=ttyS0 raid=noautodetect init=/Programs/Core/busybox_ASH ip=192.168.4.66" \
+# -serial stdio -display none \
+# -m 256 \
+# -netdev tap,id=mynet0,ifname=tap0,script=no,downscript=no -device e1000,netdev=mynet0,mac=52:55:00:d1:55:01
+
+#https://gist.github.com/extremecoders-re/e8fd8a67a515fee0c873dcafc81d811c
+#https://stackoverflow.com/questions/15626088/tap-interfaces-and-dev-net-tun-device-using-ip-tuntap-command
+
+#qemu-system-x86_64 -drive format=raw,file=xos_image.img -m 128
+#qemu-system-x86_64 \
+# -kernel bootfs/vmlinuz-xos \
+# -hda xos_image.img \
+# -append "root=/dev/sda2 rw console=ttyS0 raid=noautodetect init=/Programs/Core/busybox_ASH" \
+# -serial stdio -display none \
+# -m 256 \
+# -vga qxl