diff options
author | FreeArtMan <dos21h@gmail.com> | 2023-12-21 12:54:48 +0000 |
---|---|---|
committer | FreeArtMan <dos21h@gmail.com> | 2023-12-21 12:54:48 +0000 |
commit | 860350456aca9cbb5e8728fd71cbb7a4023578db (patch) | |
tree | ba8045273d4b19c4f584cfba7165484f45e70d3f /create_installroot/boot_qemu_arm64.sh | |
parent | 6db32478d5951f01fd055c61176db0fea84379a7 (diff) | |
download | os201-860350456aca9cbb5e8728fd71cbb7a4023578db.tar.gz os201-860350456aca9cbb5e8728fd71cbb7a4023578db.zip |
Added initrd script. Add bootable example with prebuilt images
Diffstat (limited to 'create_installroot/boot_qemu_arm64.sh')
-rwxr-xr-x | create_installroot/boot_qemu_arm64.sh | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/create_installroot/boot_qemu_arm64.sh b/create_installroot/boot_qemu_arm64.sh index 94c9975..fc4ec51 100755 --- a/create_installroot/boot_qemu_arm64.sh +++ b/create_installroot/boot_qemu_arm64.sh @@ -2,12 +2,10 @@ qemu-system-aarch64 \ - -machine virt -m 1024M -cpu cortex-a53 \ - -kernel xos_image_arm64.gz \ - -initrd initramfs.cpio.zst \ - -append "root=/dev/initrd init=init" \ - -netdev user,id=mynet \ - -device virtio-net-pci,netdev=mynet \ + -machine virt -m 1024M -cpu cortex-a53 \ + -kernel bootfs-arm64/Image.gz \ + -initrd initrd-out.gz \ + -append "root=/dev/ram0 console=ttyAMA0 debug " \ -nographic |