Skip to content

recomputer-rk35xx-common: drop bluez juggle vs fcs960k-aic-bluez - #10358

Merged
rpardini merged 4 commits into
armbian:mainfrom
rpardini:pr/recomputer-rk35xx-common-drop-bluez-juggle-vs-fcs960k-aic-bluez
Aug 20, 2026
Merged

recomputer-rk35xx-common: drop bluez juggle vs fcs960k-aic-bluez#10358
rpardini merged 4 commits into
armbian:mainfrom
rpardini:pr/recomputer-rk35xx-common-drop-bluez-juggle-vs-fcs960k-aic-bluez

Conversation

@rpardini

@rpardini rpardini commented Aug 6, 2026

Copy link
Copy Markdown
Member

recomputer-rk35xx-common: drop bluez juggle vs fcs960k-aic-bluez

  • 🌴 recomputer-rk35xx-common: use specific runner helpers for apt update/install
    • so local cache is correctly used and doesn't leak into image
    • do chroot_sdcard_apt_get_install_download_only before actual install
  • 🌱 recomputer-rk35xx-common: drop bluez juggle vs fcs960k-aic-bluez
  • 🍀 recomputer-rk35xx-common: introduce vendor-feature-specific flags
    • SEEED_USB_GADGET_ENABLE
    • SEEED_MORSE_ENABLE
    • SEEED_AIC_BLUEZ_ENABLE
    • SEEED_MORSE_ENABLE
    • SEEED_AUTOMOUNT_ENABLE
    • those all default to SEEED_DEFAULT_ENABLE, which defaults to yes
  • 🐸 recomputer-rk3576-devkit: introduce vendor-feature-specific flags
    • SEEED_AIC8800_ENABLE
    • SEEED_AIC_BLUEZ_ENABLE (shared with common)
    • those all default to SEEED_DEFAULT_ENABLE, which defaults to yes

Summary by CodeRabbit

  • New Features

    • Added independent configuration controls for USB gadget, Morse, Bluetooth, wireless, and USB automount features.
    • Seeed platform features remain enabled by default but can now be selectively disabled.
    • Board support packages can be enabled or skipped based on configuration.
  • Bug Fixes

    • Improved Bluetooth package handling to avoid unnecessary package restoration and display manager changes.
    • Prevented optional firmware, services, and setup steps from being applied when their features are disabled.

@coderabbitai

coderabbitai Bot commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

Important

Review skipped

Auto reviews are limited based on label configuration.

🏷️ Required labels (at least one) (1)
  • Needs review

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: 90b96ad3-3e3a-4543-8230-acec4de0bdd2

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: def658f8-4791-4b74-9418-e1c8d116b8fc

📥 Commits

Reviewing files that changed from the base of the PR and between 4e9b04b and 76a8df8.

📒 Files selected for processing (2)
  • config/boards/recomputer-rk3576-devkit.conf
  • config/sources/vendors/seeed-studio/recomputer-rk35xx-common.inc
🚧 Files skipped from review as they are similar to previous changes (2)
  • config/boards/recomputer-rk3576-devkit.conf
  • config/sources/vendors/seeed-studio/recomputer-rk35xx-common.inc

Included review availability: Your plan provides up to 8 included reviews per hour; 7 remain after this review.


📝 Walkthrough

Walkthrough

Seeed RK35xx configuration now provides default-on feature flags with independent controls. Package installation uses shared apt helpers and conditional package lists. AIC8800, Morse, USB gadget, and USB automount setup can be skipped independently.

Changes

Seeed feature controls

Layer / File(s) Summary
Feature defaults and board wiring
config/boards/recomputer-rk3576-devkit.conf, config/sources/vendors/seeed-studio/recomputer-rk35xx-common.inc
Adds SEEED_DEFAULT_ENABLE and applies separate configuration gates for AIC8800 support and the board package list.
Conditional package installation
config/sources/vendors/seeed-studio/recomputer-rk35xx-common.inc
Uses shared apt helpers, builds package lists from feature flags, and conditionally installs fcs960k Bluetooth without the previous package snapshot and display-manager handling.
Conditional feature setup
config/sources/vendors/seeed-studio/recomputer-rk35xx-common.inc
Adds configuration gates for AIC8800 wireless and Bluetooth setup, Morse firmware, USB gadget defaults, and USB automount setup.

Estimated code review effort: 2 (Simple) | ~15 minutes

Merge Risk: ⚪ Minimal · up to 76a8d

The change updates vendor feature defaults and package handling without any identified merge-blocking risk at the current head.

Suggested labels: BSP

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly and concisely describes the main change: removing the BlueZ juggling logic for fcs960k-aic-bluez.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@rpardini rpardini added the Needs review Seeking for review label Aug 6, 2026
@rpardini
rpardini marked this pull request as ready for review August 6, 2026 18:35

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 2

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@config/sources/vendors/seeed-studio/recomputer-rk35xx-common.inc`:
- Around line 299-303: Update the skip alert in the SEEED_AUTOMOUNT_ENABLE guard
to report that USB auto-mount is being skipped, replacing the incorrect “USB
gadget defaults” wording while preserving the existing condition and
display_alert behavior.
- Around line 62-64: Update the repository preparation sequence around
chroot_sdcard_apt_get_update and chroot_sdcard_apt_get_install_download_only to
retry transient failures before aborting. Reuse the existing retry helper or
pattern available in the surrounding build configuration, while preserving the
current ordering and final chroot_sdcard_apt_get_install "$@" invocation.
🪄 Autofix

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: f91b50b9-e422-45b3-9992-cd1273b7598b

📥 Commits

Reviewing files that changed from the base of the PR and between 87f21ea and 8acdf33.

📒 Files selected for processing (2)
  • config/boards/recomputer-rk3576-devkit.conf
  • config/sources/vendors/seeed-studio/recomputer-rk35xx-common.inc

Comment thread config/sources/vendors/seeed-studio/recomputer-rk35xx-common.inc
Comment thread config/sources/vendors/seeed-studio/recomputer-rk35xx-common.inc
@rpardini
rpardini force-pushed the pr/recomputer-rk35xx-common-drop-bluez-juggle-vs-fcs960k-aic-bluez branch from 8acdf33 to add4f20 Compare August 6, 2026 18:41
@coderabbitai

coderabbitai Bot commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

Note

GitHub couldn't provide a complete incremental comparison for this pull request, so CodeRabbit is performing a full review instead. This review may take a little longer.

@mingzhangqun

Copy link
Copy Markdown
Contributor

Hi @rpardini, Thanks a lot for the feedback!

As a side note, we've actually been working on our own patch for this and it's currently being tested — but we'd prefer to go with your approach here. We'll run our tests on it as soon as possible and get back to you with the results.

@Mkiring

Mkiring commented Aug 18, 2026

Copy link
Copy Markdown
Contributor

Hi @rpardini, We've tested this patch, and Bluetooth is working fine now.

@rpardini
rpardini force-pushed the pr/recomputer-rk35xx-common-drop-bluez-juggle-vs-fcs960k-aic-bluez branch from add4f20 to 76a8df8 Compare August 18, 2026 19:05
@coderabbitai

coderabbitai Bot commented Aug 18, 2026

Copy link
Copy Markdown
Contributor

Note

GitHub couldn't provide a complete incremental comparison for this pull request, so CodeRabbit is performing a full review instead. This review may take a little longer.

@github-actions github-actions Bot added size/medium PR with more then 50 and less then 250 lines Hardware Hardware related like kernel, U-Boot, ... 08 Milestone: Third quarter release labels Aug 18, 2026
@Mkiring

Mkiring commented Aug 20, 2026

Copy link
Copy Markdown
Contributor

@rpardini can you merge this patch?

@rpardini

Copy link
Copy Markdown
Member Author

@rpardini can you merge this patch?

Not until someone approves this PR -- I've no special merge powers...

…install

- so local cache is correctly used and doesn't leak into image
- do `chroot_sdcard_apt_get_install_download_only` before actual install
- `SEEED_USB_GADGET_ENABLE`
- `SEEED_MORSE_ENABLE`
- `SEEED_AIC_BLUEZ_ENABLE`
- `SEEED_MORSE_ENABLE`
- `SEEED_AUTOMOUNT_ENABLE`
- those all default to `SEEED_DEFAULT_ENABLE`, which defaults to `yes`
- `SEEED_AIC8800_ENABLE`
- `SEEED_AIC_BLUEZ_ENABLE` (shared with common)
- those all default to `SEEED_DEFAULT_ENABLE`, which defaults to `yes`
@rpardini
rpardini force-pushed the pr/recomputer-rk35xx-common-drop-bluez-juggle-vs-fcs960k-aic-bluez branch from 76a8df8 to 3d09600 Compare August 20, 2026 11:19
@github-actions github-actions Bot added the Ready to merge Reviewed, tested and ready for merge label Aug 20, 2026
@github-actions

Copy link
Copy Markdown
Contributor

✅ This PR has been reviewed and approved — all set for merge!

@github-actions github-actions Bot removed the Needs review Seeking for review label Aug 20, 2026
@rpardini
rpardini merged commit 19fd087 into armbian:main Aug 20, 2026
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

08 Milestone: Third quarter release Hardware Hardware related like kernel, U-Boot, ... Ready to merge Reviewed, tested and ready for merge size/medium PR with more then 50 and less then 250 lines

Development

Successfully merging this pull request may close these issues.

4 participants