Custom bootloader modifications for SD card-based ARM embedded systems (Amlogic S905x/S912 STB)
Automate the process of modifying OpenWrt firmware boot partitions for Amlogic-based set-top boxes. Supports manual installation and automated GitHub Actions workflow.
- π Automated boot partition modification via GitHub Actions
- π§ Manual installation support for advanced users
- π¦ Multi-source firmware support: MediaFire, Google Drive, Mega, direct links
- π― STB compatibility: Amlogic S905x, S912 chipsets
- β‘ Fast processing: 2-5 minutes via GitHub Actions
- OpenWrt firmware SD card
- AMLogic BootCardMaker tool
- Text editor
- Mount the boot partition of your OpenWrt SD card
- Copy repository contents to the boot partition
- Edit
extlinux/extlinux.conf:- Replace
UUIDwith the value fromuEnv.txt
- Replace
- Configure DTB (Device Tree Blob) for your STB model in:
extlinux.confboot.iniuEnv.txt
- Rename u-boot file:
mv u-boot-s905x-s912.bin u-boot.ext
- Create boot card using AMLogic BootCardMaker
- Done! Insert SD card and boot
- Fork this repository
- Go to Actions tab in your forked repo
- Select "Mod SDCard" workflow
- Click "Run workflow"
- Configure:
- Select your STB type (S905x/S912)
- Enter firmware download link
- Wait 2-5 minutes for processing
- Download modified firmware from Releases page
- Flash to SD card and boot!
- π MediaFire
- βοΈ Google Drive
- πΎ Mega.nz
- π Direct download links
mod-boot-sdcard/
βββ BootCardMaker/ # AMLogic boot card creation tool
βββ extlinux/ # ExtLinux boot configuration
β βββ extlinux.conf # Boot loader config
βββ files/ # Additional boot files
βββ aml_autoscript # Amlogic boot script
βββ boot.ini # Boot initialization
βββ uEnv.txt # U-Boot environment variables
βββ u-boot-s905x-s912.bin # U-Boot bootloader
- Amlogic S905x-based STBs
- Amlogic S912-based STBs
- OpenWrt-compatible ARM devices
Boot loader configuration with kernel parameters and DTB selection.
Legacy boot script for older bootloaders.
U-Boot environment variables (UUID, root partition, etc.).
Contributions are welcome! Feel free to:
- Report bugs
- Suggest features
- Submit pull requests
This project is open source. See LICENSE for details.
Modifying bootloaders can brick your device if done incorrectly. Proceed at your own risk. Always backup your original firmware before making modifications.
If this project helped you, consider giving it a β star!
Made with β€οΈ for the OpenWrt & ARM community