Skip to content

generate_flat_build: switch industrial-kit CDT to Mezzanine variant (subtype13) - #70

Open
xiuzhuo-shang wants to merge 1 commit into
qualcomm-linux:mainfrom
xiuzhuo-shang:industrial-kit-subtype13-bt
Open

generate_flat_build: switch industrial-kit CDT to Mezzanine variant (subtype13)#70
xiuzhuo-shang wants to merge 1 commit into
qualcomm-linux:mainfrom
xiuzhuo-shang:industrial-kit-subtype13-bt

Conversation

@xiuzhuo-shang

@xiuzhuo-shang xiuzhuo-shang commented Aug 28, 2026

Copy link
Copy Markdown

Summary

  • Switches the qcs6490-rb3gen2-industrial-kit board entry in scripts/generate_flat_build.sh from the standard CDT (rb3gen2-industrial-kit.zip, subtype=9) to the Mezzanine variant CDT (rb3gen2-industrial-mezz-kit.zip, subtype=13).
  • Enables the M.2 QCC2072 Bluetooth-over-UART hardware path on the RB3 Gen2 Industrial Mezzanine board.

Background

The RB3 Gen2 Industrial Mezzanine board underwent a hardware rework: the on-board M.2 QCC2072 Bluetooth module now routes over UART4 instead of USB, and boards with this rework no longer support the old USB-based BT path. CDT subtype=13 identifies this reworked hardware and selects the corresponding bt-uart.dtbo overlay (qcom,qcs6490-iot-subtype13 -> fdt-qcs6490-rb3gen2-industrial-mezzanine-bt-uart.dtbo).

This mapping is already present upstream in qcom-dtb-metadata (see qcom-next-fitimage.its conf-48, and kernel commit 165c3854 which introduced the bt-uart.dtso/.dtbo overlay). Since this repo's pinned QCOM_DTB_METADATA_COMMIT (f1596a6) already includes that mapping, no additional qcom-dtb-metadata changes are required — only the CDT source needs to change here.

Verification

Verified end-to-end on a reworked RB3 Gen2 Industrial Mezzanine board (M.2 QCC2072, BT-over-UART hardware):

  • dmesg confirms the kernel driver recognizes the QCC2072 chip and downloads firmware successfully (hci0: setting up qcc2072, QCA setup on UART is completed).
  • btftmdaemon (BlueZ HCI user-channel socket) completed a real handshake with the chip — version query and SoC reset commands both returned correctly, and the FTM initialization state machine progressed to Ready for Client(QDart) Connection!.
  • Confirmed via UEFI boot log that qcom,qcs6490-iot-subtype13 is correctly matched and the bt-uart.dtbo overlay is selected.

Use rb3gen2-industrial-mezz-kit.zip (CDT subtype=13) instead of the
standard rb3gen2-industrial-kit.zip (subtype=9).

The RB3 Gen2 Industrial Mezzanine board underwent a hardware rework:
the on-board M.2 QCC2072 Bluetooth module now routes over UART4
instead of USB, and the reworked board no longer supports the old
USB-based BT path. CDT subtype=13 identifies this reworked hardware
and selects the corresponding bt-uart.dtbo overlay; subtype=9 remains
the correct choice for boards that have not been reworked (still
using the USB-based BT path).

The corresponding FIT mapping (conf-48 -> bt-uart.dtbo) is already
present in the upstream qcom-dtb-metadata pin (f1596a6) used by this
repo, so no additional qcom-dtb-metadata changes are required.

Verified end-to-end on a reworked RB3 Gen2 Industrial Mezzanine board:
QCC2072 is recognized by the kernel, firmware downloads successfully,
and btftmdaemon completes a real handshake with the chip over the
BlueZ HCI user-channel socket.

Note: boards that have not undergone this hardware rework must keep
using subtype=9 (this change only affects users who explicitly build
for hardware with the BT-over-UART rework).

Signed-off-by: Xiuzhuo Shang <xiuzhuo.shang@oss.qualcomm.com>
@xiuzhuo-shang
xiuzhuo-shang force-pushed the industrial-kit-subtype13-bt branch from 6b4394d to e3b4e97 Compare August 28, 2026 03:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant