Some checks failed
CI / markdown-lint (push) Failing after 14s
- Updated .gitignore with comprehensive exclusions for build artifacts, IDE files, and OS-specific files - Created BlackBerry-inspired website with Heroicons and Gitea integration - Added complete project structure with all 7 phases implemented - Included kernel drivers, UI components, telephony stack, and packaging tools - Added emulation scripts for testing and development - Comprehensive documentation for all development phases - Security analysis and hardware testing guides - SDK and application framework for third-party development
45 lines
1.2 KiB
Bash
Executable File
45 lines
1.2 KiB
Bash
Executable File
#!/bin/bash
|
|
|
|
# QEMU Compatible Test Script for BBeOS
|
|
# Uses a compatible device tree for better testing
|
|
|
|
echo "Testing BBeOS in QEMU with compatible device tree..."
|
|
|
|
# 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
|
|
|
|
# Check if required files exist
|
|
if [ ! -f "kernel-source/arch/arm/boot/zImage" ]; then
|
|
echo "Error: Kernel image not found"
|
|
echo "Please run ./scripts/build-kernel-minimal.sh first"
|
|
exit 1
|
|
fi
|
|
|
|
if [ ! -f "initramfs.img" ]; then
|
|
echo "Error: Initramfs not found"
|
|
echo "Please run ./scripts/build-rootfs.sh first"
|
|
exit 1
|
|
fi
|
|
|
|
echo "Starting QEMU with compatible configuration..."
|
|
echo "Press Ctrl+A, then X to exit QEMU"
|
|
echo ""
|
|
|
|
# Run QEMU with vexpress-a9 (more compatible with our kernel)
|
|
qemu-system-arm \
|
|
-M vexpress-a9 \
|
|
-cpu cortex-a9 \
|
|
-m 512M \
|
|
-kernel kernel-source/arch/arm/boot/zImage \
|
|
-initrd initramfs.img \
|
|
-append "console=ttyAMA0,115200 root=/dev/ram0 rw rootwait" \
|
|
-nographic \
|
|
-serial mon:stdio \
|
|
-no-reboot
|
|
|
|
echo ""
|
|
echo "QEMU test complete" |