mirror of
https://github.com/retroSoC/retroSoC.git
synced 2026-11-04 22:32:36 +00:00
- Added build_hp_rtthread.py for building the RT-Thread kernel with RV64 support. - Updated build_hp_smoke.py to target RV64 architecture and modified output filenames. - Modified generate_vexiiriscv.py to reflect RV64 configuration and memory management. - Created hp_tools.py for shared utilities related to RV64 builds. - Enhanced package_hp_boot.py to package RV64 workloads and updated versioning. - Implemented run_hp_sim.py for executing and validating HP workloads with specific markers. - Developed setup_hp_rtthread.py for installing RT-Thread source and environment setup. - Updated GenerateRetroSocHp.scala to generate RV64 application cores. - Enhanced tests for HP boot bundles, platform specifications, and tool utilities to accommodate RV64 changes. - Adjusted test cases to validate new workload types and ensure compatibility with RV64 architecture.
16 lines
662 B
Bash
16 lines
662 B
Bash
#!/bin/sh
|
|
# This bounded acceptance image deliberately has no service manager or getty.
|
|
export PATH=/bin
|
|
mount -t proc proc /proc || exec /bin/hp-ready 11
|
|
mount -t sysfs sysfs /sys || exec /bin/hp-ready 12
|
|
mount -t devtmpfs devtmpfs /dev || exec /bin/hp-ready 13
|
|
mount -t tmpfs tmpfs /tmp || exec /bin/hp-ready 14
|
|
test -c /dev/mem || exec /bin/hp-ready 15
|
|
test -r /proc/meminfo || exec /bin/hp-ready 16
|
|
test -d /sys/devices || exec /bin/hp-ready 17
|
|
echo rv64-initramfs > /tmp/probe || exec /bin/hp-ready 17
|
|
test "$(cat /tmp/probe)" = rv64-initramfs || exec /bin/hp-ready 17
|
|
/bin/busybox true || exec /bin/hp-ready 17
|
|
echo "HP_LINUX_INIT_PASS"
|
|
exec /bin/hp-ready
|