Some checks failed
CI / markdown-lint (push) Failing after 14s
- Reorganized directory structure following open source best practices - Created src/ directory for all source code components - Moved build artifacts to build/ subdirectories - Organized documentation into phases/, guides/, and api/ subdirectories - Moved third-party code to vendor/ directory - Moved downloads to downloads/ directory - Updated all build scripts to reference new directory structure - Created comprehensive PROJECT_STRUCTURE.md documentation - Added DEVELOPMENT_GUIDE.md as main entry point - Improved separation of concerns and maintainability - Follows standard open source project conventions
28 lines
730 B
Bash
Executable File
28 lines
730 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# QEMU Test Script for BBeOS
|
|
# Tests the kernel and initramfs in emulation
|
|
|
|
echo "Testing BBeOS in QEMU..."
|
|
|
|
# Check if QEMU is available
|
|
if ! command -v qemu-system-arm &> /dev/null; then
|
|
echo "Error: qemu-system-arm not found"
|
|
echo "Please install QEMU: sudo apt install qemu-system-arm"
|
|
exit 1
|
|
fi
|
|
|
|
# Run QEMU with our kernel and initramfs
|
|
qemu-system-arm \
|
|
-M vexpress-a9 \
|
|
-cpu cortex-a9 \
|
|
-m 512M \
|
|
-kernel kernel-source/arch/arm/boot/zImage \
|
|
-dtb kernel-source/arch/arm/boot/dts/qcom/qcom-msm8960-blackberry-q20.dtb \
|
|
-initrd initramfs.img \
|
|
-append "console=ttyAMA0,115200 root=/dev/ram0 rw rootwait" \
|
|
-nographic \
|
|
-serial mon:stdio
|
|
|
|
echo "QEMU test complete"
|