Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
build-system
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
certo
build-system
Commits
2d6eb13d
Commit
2d6eb13d
authored
Mar 13, 2026
by
Vladimir Bashkirtsev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added support for reComputer J4012
parent
8831c1cc
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
49 additions
and
6 deletions
+49
-6
common.xml
common.xml
+14
-0
machines/RECOMPUTER-J2012/definition.xml
machines/RECOMPUTER-J2012/definition.xml
+6
-6
machines/RECOMPUTER-J4012/definition.xml
machines/RECOMPUTER-J4012/definition.xml
+29
-0
No files found.
common.xml
View file @
2d6eb13d
...
@@ -239,6 +239,20 @@
...
@@ -239,6 +239,20 @@
</exec>
</exec>
</target>
</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 "console=${CONSOLE} root=/dev/${DISK}2 rootwait panic=1 rootfstype=ext4 rootflags=discard rw systemd.unit=rescue.target net.ifnames=0" -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 "console=${CONSOLE} root=/dev/${DISK}2 rootwait panic=1 rootfstype=ext4 rootflags=discard rw systemd.unit=rescue.target net.ifnames=0" -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"
>
<target
name=
"run-system-x86_64"
>
<exec
executable=
"qemu-system-x86_64"
>
<exec
executable=
"qemu-system-x86_64"
>
<env
key=
"QEMU_AUDIO_DRV"
value=
"none"
/>
<env
key=
"QEMU_AUDIO_DRV"
value=
"none"
/>
...
...
machines/RECOMPUTER-J2012/definition.xml
View file @
2d6eb13d
...
@@ -7,11 +7,11 @@
...
@@ -7,11 +7,11 @@
<property
name=
"GCC_CONFIG"
value=
"${GCC_CROSS_CONFIG}"
/>
<property
name=
"GCC_CONFIG"
value=
"${GCC_CROSS_CONFIG}"
/>
<property
name=
"CONSOLE"
value=
"ttyAMA0"
/>
<property
name=
"CONSOLE"
value=
"ttyAMA0"
/>
<property
name=
"DISK_LABEL"
value=
"gpt"
/>
<property
name=
"DISK_LABEL"
value=
"gpt"
/>
<property
name=
"ROOT_DEVICE"
value=
"
mmcblk0
"
/>
<property
name=
"ROOT_DEVICE"
value=
"
sda
"
/>
<property
name=
"DISK"
value=
"${ROOT_DEVICE}
p
"
/>
<property
name=
"DISK"
value=
"${ROOT_DEVICE}"
/>
<property
name=
"BOOT_DEVICE"
value=
"${ROOT_DEVICE}"
/>
<property
name=
"BOOT_DEVICE"
value=
"${ROOT_DEVICE}"
/>
<property
name=
"BOOT_DISK"
value=
"${BOOT_DEVICE}
p
"
/>
<property
name=
"BOOT_DISK"
value=
"${BOOT_DEVICE}"
/>
<property
name=
"SECONDARY"
value=
"
mmcblk1p
"
/>
<property
name=
"SECONDARY"
value=
"
sdb
"
/>
<property
name=
"BOARD"
value=
"recomputer-j2012"
/>
<property
name=
"BOARD"
value=
"recomputer-j2012"
/>
<property
name=
"DEVICE_TYPE"
value=
"reComputerJ2012"
/>
<property
name=
"DEVICE_TYPE"
value=
"reComputerJ2012"
/>
<property
name=
"GOARCH"
value=
"arm64"
/>
<property
name=
"GOARCH"
value=
"arm64"
/>
...
@@ -19,11 +19,11 @@
...
@@ -19,11 +19,11 @@
<property
name=
"RUNTIME_WATCHDOG"
value=
"15s"
/>
<property
name=
"RUNTIME_WATCHDOG"
value=
"15s"
/>
<target
name=
"run-system-recomputer-j2012"
>
<target
name=
"run-system-recomputer-j2012"
>
<antcall
target=
"run-system-armv8"
/>
<antcall
target=
"run-system-armv8
-with-scsi
"
/>
</target>
</target>
<target
name=
"run-system-with-secondary-recomputer-j2012"
>
<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>
</target>
</project>
</project>
machines/RECOMPUTER-J4012/definition.xml
0 → 100644
View file @
2d6eb13d
<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>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment