Initial dump
This commit is contained in:
@@ -0,0 +1,55 @@
|
||||
@ECHO OFF
|
||||
SET QEMU-OPTIONS=-M vexpress-a9 -cpu cortex-a9 -m 512 -nographic -kernel zImage -drive file=rootfs.ext2,index=0,media=disk,format=raw,if=sd -dtb vexpress-v2p-ca9.dtb -net nic -net user,hostfwd=tcp::2222-:22 -append "rw console=ttyAMA0 console=tty root=/dev/mmcblk0"
|
||||
SET EMULATOR-VERSION=07.09.2020
|
||||
IF EXIST "C:\Program Files\qemu\qemu-system-arm.exe" (
|
||||
SET QEMU-EXE=C:\Program Files\qemu\qemu-system-arm.exe
|
||||
SET QEMU-PLATFORM=64bit
|
||||
goto start
|
||||
)
|
||||
|
||||
IF EXIST "C:\Program Files (x86)\qemu\qemu-system-arm.exe" (
|
||||
SET QEMU-EXE=C:\Program Files (x86)\qemu\qemu-system-arm.exe
|
||||
SET QEMU-PLATFORM=32bit
|
||||
goto start
|
||||
)
|
||||
goto no.QEMU
|
||||
|
||||
:start
|
||||
CLS
|
||||
ECHO *************************************************
|
||||
ECHO * *
|
||||
ECHO * Zyxel software emulator based on QEMU *
|
||||
ECHO * *
|
||||
ECHO * by maximuz and bovirus - version : %EMULATOR-VERSION% *
|
||||
ECHO * *
|
||||
ECHO *************************************************
|
||||
ECHO.
|
||||
|
||||
if not exist "%QEMU-EXE%" goto no.QEMU
|
||||
|
||||
ECHO *** QEMU exe file = %QEMU-EXE%
|
||||
ECHO *** QEMU platform = %QEMU-PLATFORM%
|
||||
ECHO *** QEMU run options = %QEMU-OPTIONS%
|
||||
ECHO.
|
||||
|
||||
"%QEMU-EXE%" %QEMU-OPTIONS%
|
||||
|
||||
goto end
|
||||
|
||||
:no.QEMU
|
||||
ECHO File '%QEMU-EXE%' not available.
|
||||
ECHO.
|
||||
ECHO Please check that QEMU %QEMU-PLATFORM% is installed.
|
||||
ECHO.
|
||||
|
||||
:end
|
||||
ECHO.
|
||||
ECHO #### Presss any key to continue ####
|
||||
PAUSE >NUL
|
||||
|
||||
ECHO.
|
||||
ECHO.
|
||||
SET QEMU-EXE=
|
||||
SET QEMU-PLATFORM=
|
||||
SET QEMU-OPTIONS=
|
||||
SET EMULATOR-VERSION=
|
||||
Reference in New Issue
Block a user