Qualcomm Boards¶
The Qualcomm tree collects the kernel, dracut, firmware, and image recipes that power Snapdragon handhelds. Each SoC directory exposes shared firmware/patch stacks plus per-board helpers (create-boot-script.sh, genimage.cfg, loader configs, DTBs) so the build scripts can stage the final reglinux.img.
Supported devices¶
sm8250: Retroid RP5, RP Flip 2, RP Minism8550: AYN Odin2, Odin2 Portal, AYANEO Pocket S- (directories such as
sd845/andsm6115/exist but currently lack dedicated README guides; inspect them directly when needed)
SM8250 – Retroid Pocket family¶
- Dracut/firmware:
dracut.confdisables systemd, limits modules, and includes Qualcomm/ath11k/RTL firmware fromkernel-firmware.txt.fsoverlay/adds fan/brcm helpers, deterministic Bluetooth MAC tooling, and Retroid-specific udev rules. - Kernel stack:
linux_sm8250-defconfig.configpluslinux_patches/keep the Adreno 650, DTBs, power/audio, and GPU tweaks aligned with the shipped kernel. - Packages:
patches/holds ALSA profile updates, GroovyMAME tweaks, PipeWire buffer bumps, Vita3K hash compat fixes, and any other board-specific adjustments. - Board layout: Each subdirectory (
rp5/,rpflip2/,rpmini/) copiesImage,initrd,reglinux.update, modules, firmware/rescue blobs, and the board DTB into${REGLINUX_BINARIES_DIR}/boot/boot, installs the EFI payload (grub.cfgwithfbcon=rotate:3,console=ttyMSM0,clk_ignore_unused,pd_ignore_unused), and relies ongenimage.cfgto spray a 2 GiBREGLINUXFAT32 boot partition plus a 512 MiBSHAREuserdata volume before concatenating them intoreglinux.img.
SM8550 – AYN Odin2 / Portal / AYANEO Pocket S¶
- Dracut/firmware: Mirrors the SM8250 layout—
dracut.conf,fsoverlay/, andkernel-firmware.txtsupply firmware blobs and runtime helpers (fan, Bluetooth, gamepad udev rules). - Kernel stack:
linux_sm8550-defconfig.configpluslinux_patches/tune SM8550 DTBs, power rail handling, GPU tweaks, and other vendor fixes. - Packages:
patches/carries fixes for ALSA, PipeWire, GroovyMAME, and Vita3K akin to the SM8250 tree. - Board layout: Each board directory (
odin2/,odin2portal/,pockets/) provides: create-boot-script.sh– stages kernel, initrd, DTB, firmware, modules, and rescue blobs intoREGLINUX_BINARIES_DIR/boot/bootfor LinuxLoader.genimage.cfg– builds a 2 GiBREGLINUXFAT boot partition and a 512 MiBuserdataext4 partition, then wraps them intoreglinux.img.LinuxLoader.cfg– points LinuxLoader at the staged images and supplies board-specific flags such asDisableDisplayHW, portrait rotation, debug toggles, and volume button handling.- Device notes:
- Odin2 boots with
qcs8550-ayn-odin2.dtband the standardlinux/initrdcombo. - Odin2 Portal reuses the Odin2 workflow but adds
fbcon=rotate:3,Debug=true, andqcs8550-ayn-odin2portal.dtb. - AYANEO Pocket S supplies scripts and
sm8550-ayaneo-ps.dtb, but it cannot boot because the Android bootloader/ABL is missing.
Build reminders¶
- Keep
dracut.conf,kernel-firmware.txt, andfsoverlay/entries synchronized whenever firmware blobs, helper scripts, or udev rules change. - Apply kernel fixes through the numbered
linux_patches/series so the REG Linux build respects module ordering. - Update
create-boot-script.sh,grub.cfg/LinuxLoader.cfg, orgenimage.cfgwhen kernel command lines, DTB names, or partition layouts evolve.