Files
BBeOS/scripts/flash-boot.sh
Eliott 73fb76098e
Some checks failed
CI / markdown-lint (push) Failing after 14s
Reorganize BBeOS project structure for better maintainability
- 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
2025-08-01 11:48:06 +02:00

31 lines
690 B
Bash
Executable File

#!/bin/bash
# Fastboot Flash Script for BBeOS
# Flashes the boot image to device via fastboot
echo "Flashing BBeOS boot image..."
# Check if fastboot is available
if ! command -v fastboot &> /dev/null; then
echo "Error: fastboot not found"
echo "Please install Android tools: sudo apt install android-tools-fastboot"
exit 1
fi
# Check if device is connected
if ! fastboot devices | grep -q .; then
echo "Error: No fastboot device found"
echo "Please connect device in fastboot mode"
exit 1
fi
# Flash boot image
echo "Flashing boot image..."
fastboot flash boot bbeos-boot.img
# Reboot device
echo "Rebooting device..."
fastboot reboot
echo "Flash complete!"