SuperKali 31f8803b18
Some checks failed
Data: Sync board list / Send dispatch (push) Has been cancelled
Infrastructure: Dispatch to fork / 📢 Run repository dispatch on fork (push) Has been cancelled
Infrastructure: Mirror to Codeberg / codeberg (push) Has been cancelled
Maintenance: Announce merge / announcepush (push) Has been cancelled
Maintenance: Security scan / Scorecards analysis (push) Has been cancelled
Add support for Arduino UNO Q (Qualcomm QRB2210) (#9623)
* add support for arduino-uno-q

* arduino-uno-q: fix boot with boot.scr and correct memory addresses

ABL overwrites kernel_addr_r/fdt_addr_r/ramdisk_addr_r at runtime,
causing memory overlap that corrupts the kernel Image header.

Switch from extlinux to boot.scr which sets correct addresses in the
0xC0000000 RAM bank before loading kernel, initrd and dtb.
U-Boot env loads boot.scr from partition 0x43 (GPT 67 "efi") with
sysboot as fallback.

* arduino-uno-q: update board and family config

- Use boot.scr instead of extlinux (BOOTSCRIPT/BOOTENV_FILE in family)
- Add SERIALCON=ttyMSM0 for serial console
- BOOTSIZE=512 to fit kernel + initrd
- Remove BOARD_FIRMWARE_INSTALL="-full", copy only needed firmware
- Add WiFi ath10k firmware copy
- Add ADB daemon with Armbian branding
- Add first-boot rootfs resize service
- Update kernel to 6.19.0 from qcom-v6.19.0-unoq branch

* arduino-uno-q: fix image-output extension

Use dd with sector offsets instead of loop device partitions to extract
boot and rootfs images. The previous approach failed because the build
framework releases the loop device before the extension runs.

* arduino-uno-q: add first-boot rootfs resize for eMMC

Add systemd service that expands the rootfs partition to fill the entire
eMMC on first boot using sgdisk. Removes the empty userdata partition
and recreates rootfs with all remaining space.

* arduino-uno-q: update ath10k WiFi firmware to upstream

Update board-2.bin from linux-firmware (ath-20260204) with support for
additional board IDs.

* arduino-uno-q: update kernel config for 6.19

* arduino-uno-q: revert board-2.bin to original version

Restore the ath10k board-2.bin firmware to the version provided in the
original board bring-up, as the upstream version has not been validated
on this hardware.

* arduino-uno-q: move flash binaries to armbian/qcombin

Move EDL flash binaries (ABL, XBL, TrustZone, GPT tables, etc.) from
packages/blobs/arduino/flash/ to the external armbian/qcombin repository
under the Agatti folder, following the same pattern as rkbin for
Rockchip and mtkbin for MediaTek.

Add qcombin.sh extension to fetch binaries during build. Update
image-output-arduino.sh to source flash files from qcombin cache and
derive U-Boot package path from BRANCH/BOARD variables.

* arduino-uno-q: add BOARD_VENDOR

* arduino-uno-q: update qcombin path to Agatti/arduino-uno-q

* arduino-uno-q: move firmware to armbian/firmware, rename boot script

Move firmware blobs to armbian/firmware repository (armbian/firmware#123)
and remove manual firmware copies from post_family_tweaks. Firmware is
now installed via the armbian-firmware package.

Rename boot-qcom to boot-qrb2210 to be family-specific.

* arduino-uno-q: include prog_firehose_ddr.elf from Agatti root

* arduino-uno-q: add qbootctl to prevent fastboot fallback

---------

Co-authored-by: Hsun Lai <i@chainsx.cn>
2026-04-08 10:44:14 +02:00
..
2026-03-20 11:32:46 +01:00
2026-02-09 00:27:51 +01:00