Commit 2d6eb13d authored by Vladimir Bashkirtsev's avatar Vladimir Bashkirtsev

Added support for reComputer J4012

parent 8831c1cc
......@@ -239,6 +239,20 @@
</exec>
</target>
<target name="run-system-armv8-with-scsi">
<exec executable="qemu-system-aarch64">
<env key="QEMU_AUDIO_DRV" value="none"/>
<arg line=" -kernel ${builddir}/boot/vmlinuz -cpu ${CPU_AARCH64} ${ENABLE_KVM_AARCH64} -m 1024 -M virt ${VIRTUALIZATION_AARCH64} -no-reboot -append &quot;console=${CONSOLE} root=/dev/${DISK}2 rootwait panic=1 rootfstype=ext4 rootflags=discard rw systemd.unit=rescue.target net.ifnames=0&quot; -device virtio-scsi-pci -drive format=raw,file=${builddir}/disk.img,if=none,id=disk,cache=writeback,discard=unmap -device scsi-hd,drive=disk -device virtio-rng-pci -nographic"/>
</exec>
</target>
<target name="run-system-with-secondary-armv8-with-scsi">
<exec executable="qemu-system-aarch64">
<env key="QEMU_AUDIO_DRV" value="none"/>
<arg line=" -kernel ${builddir}/boot/vmlinuz -cpu ${CPU_AARCH64} ${ENABLE_KVM_AARCH64} -m 1024 -M virt ${VIRTUALIZATION_AARCH64} -no-reboot -append &quot;console=${CONSOLE} root=/dev/${DISK}2 rootwait panic=1 rootfstype=ext4 rootflags=discard rw systemd.unit=rescue.target net.ifnames=0&quot; -device virtio-scsi-pci -drive format=raw,file=${builddir}/disk.img,if=none,id=disk,cache=writeback,discard=unmap -device scsi-hd,drive=disk -device virtio-scsi-pci -drive format=raw,file=${builddir}/secondary.img,if=none,id=secondary,cache=writeback,discard=unmap -device scsi-hd,drive=secondary -device virtio-rng-pci -nographic"/>
</exec>
</target>
<target name="run-system-x86_64">
<exec executable="qemu-system-x86_64">
<env key="QEMU_AUDIO_DRV" value="none"/>
......
......@@ -7,11 +7,11 @@
<property name="GCC_CONFIG" value="${GCC_CROSS_CONFIG}"/>
<property name="CONSOLE" value="ttyAMA0"/>
<property name="DISK_LABEL" value="gpt"/>
<property name="ROOT_DEVICE" value="mmcblk0"/>
<property name="DISK" value="${ROOT_DEVICE}p"/>
<property name="ROOT_DEVICE" value="sda"/>
<property name="DISK" value="${ROOT_DEVICE}"/>
<property name="BOOT_DEVICE" value="${ROOT_DEVICE}"/>
<property name="BOOT_DISK" value="${BOOT_DEVICE}p"/>
<property name="SECONDARY" value="mmcblk1p"/>
<property name="BOOT_DISK" value="${BOOT_DEVICE}"/>
<property name="SECONDARY" value="sdb"/>
<property name="BOARD" value="recomputer-j2012"/>
<property name="DEVICE_TYPE" value="reComputerJ2012"/>
<property name="GOARCH" value="arm64"/>
......@@ -19,11 +19,11 @@
<property name="RUNTIME_WATCHDOG" value="15s"/>
<target name="run-system-recomputer-j2012">
<antcall target="run-system-armv8"/>
<antcall target="run-system-armv8-with-scsi"/>
</target>
<target name="run-system-with-secondary-recomputer-j2012">
<antcall target="run-system-with-secondary-armv8"/>
<antcall target="run-system-with-secondary-armv8-with-scsi"/>
</target>
</project>
<project name="reComputer Industrial J4012 machine definition">
<property name="PRETTY_NAME" value="${ant.project.name} for reComputer Industrial J4012"/>
<property name="CLFS_TARGET" value="aarch64-nvidia-linux-gnueabi"/>
<property name="ARCH" value="arm64"/>
<property name="GCC_CROSS_CONFIG" value="--with-arch=armv8.2-a+fp16+crypto+dotprod+flagm+rcpc --with-cpu=cortex-a78ae"/>
<property name="GCC_CONFIG" value="${GCC_CROSS_CONFIG}"/>
<property name="CONSOLE" value="ttyAMA0"/>
<property name="DISK_LABEL" value="gpt"/>
<property name="ROOT_DEVICE" value="sda"/>
<property name="DISK" value="${ROOT_DEVICE}"/>
<property name="BOOT_DEVICE" value="${ROOT_DEVICE}"/>
<property name="BOOT_DISK" value="${BOOT_DEVICE}"/>
<property name="SECONDARY" value="sdb"/>
<property name="BOARD" value="recomputer-j4012"/>
<property name="DEVICE_TYPE" value="reComputerJ4012"/>
<property name="GOARCH" value="arm64"/>
<property name="SHUTDOWN_WATCHDOG" value="15s"/>
<property name="RUNTIME_WATCHDOG" value="15s"/>
<target name="run-system-recomputer-j4012">
<antcall target="run-system-armv8-with-scsi"/>
</target>
<target name="run-system-with-secondary-recomputer-j4012">
<antcall target="run-system-with-secondary-armv8-with-scsi"/>
</target>
</project>
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment