Mediatek Boards¶
sbcs/mediatek/mt8395/ hosts the REG Linux artifacts for the Radxa NIO 12L (Mediatek MT8395). The directory supplies the firmware overlay, kernel config/patches, board scripts, and flash layout that make the board bootable.
Supported devices¶
radxa-nio-12l(Mediatek MT8395)
Layout highlights¶
- Firmware overlay:
fsoverlay/lib/firmware/mediatek/…installs the wireless/Bluetooth firmware (MT7961, MT7668, MT8183/88/95) into/lib/firmware. - Kernel configuration:
linux-defconfig.configcaptures the Linux 6.15.0-rc2 options needed for the Mediatek SoC. - Kernel patches:
linux_patches/000-REGLINUX-Radxa-NIO12L-Audio-Support-WIP.patchwires HDMI audio intomt8395-radxa-nio-12l.dts. - ALSA patches:
patches/alsa-ucm-conf/001-wip-mt8395-evk-sof.patchprovides the SOF UCM and HDMI jack definitions. - Radxa directory:
radxa-nio-12l/storesboot/grub/grub.cfg, the DTB, bootloader binaries (lk.bin,fip-*.img),create-boot-script.sh, andgenimage.cfg.create-boot-script.shstages the kernel, initrd, modules, firmware, rescue blobs, DTB, and bootloader artifacts into${REGLINUX_BINARIES_DIR}beforegenimageproduces a GPT image with a 2 GiB FAT32REGLINUXboot partition and a 256 MiBSHAREuserdata slice.
Integration notes¶
- The board script copies kernel/initrd, modules, firmware, rescue blobs, DTBs, and bootloader artifacts into the staging tree before
genimageruns. genimage.cfgexpects the staged tree atTARGET_DIRso it can copy files intoboot.vfatanduserdata.ext4.- Apply the
linux_patchesandpatches/alsa-ucm-confsequence when updating the MT8395 kernel/ALSA sources so downstream builds stay aligned.
Maintainer hints¶
- Refresh the firmware under
fsoverlay/lib/firmware/mediatek/only when Mediatek releases new blobs required by the drivers. - Replace bootloader binaries in
radxa-nio-12l/bootloader/and rerun the flashing scripts whenever they change. - Keep the patch metadata synchronized with upstream kernels, SOF, or ALSA stacks when rebasing.