Skip to content

rockchip: migrate xt-q8l-v10 uboot patches#9669

Merged
paolosabatino merged 1 commit intoarmbian:mainfrom
paolosabatino:rockchip-xt-q8l-v10-uboot
Apr 14, 2026
Merged

rockchip: migrate xt-q8l-v10 uboot patches#9669
paolosabatino merged 1 commit intoarmbian:mainfrom
paolosabatino:rockchip-xt-q8l-v10-uboot

Conversation

@paolosabatino
Copy link
Copy Markdown
Contributor

@paolosabatino paolosabatino commented Apr 14, 2026

Description

No fancy things, just minor tidy up. Following another PR, this PR removes u-boot patches for CSC board xt-q8l-v10 and uses defconfig and dt_uboot directories.

How Has This Been Tested?

  • Built a fresh image and tested boot from sdcard and emmc on a device

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • My changes generate no new warnings

Summary by CodeRabbit

Release Notes

  • Refactor
    • Reorganized bootloader support for the XT-Q8L-V10 board, consolidating configuration files into a standardized format for improved maintainability.

@paolosabatino paolosabatino requested review from a team and EvilOlaf April 14, 2026 11:02
@github-actions github-actions bot added size/large PR with 250 lines or more 05 Milestone: Second quarter release labels Apr 14, 2026
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai bot commented Apr 14, 2026

📝 Walkthrough

Walkthrough

The PR reorganizes the XT-Q8L-V10 Rockchip RK3288 board U-Boot configuration from patch files to standard defconfig and device tree source files, removing two board-specific patches and adding three configuration files in standard locations.

Changes

Cohort / File(s) Summary
Removed Board Patches
patch/u-boot/v2026.04/board_xt-q8l-v10/xt-q8l-v10-defconfig.patch, xt-q8l-v10-device-tree.patch
Removes patch-based board configuration (139 + 822 lines), transitioning from patch files to standard defconfig/device tree approach.
New Defconfig
patch/u-boot/v2026.04/defconfig/xt-q8l-v10-rk3288_defconfig
Adds U-Boot build configuration for RK3288 including ARM/Rockchip support, SPL/TPL settings, boot parameters, device manager features, command subsystems (GPIO, I2C, MMC, SPI, USB), and hardware drivers (GMAC, video/HDMI, PMIC).
New Device Tree Files
patch/u-boot/v2026.04/dt_uboot/rk3288-xt-q8l-v10-u-boot.dtsi, rk3288-xt-q8l-v10.dts
Adds U-Boot-specific device tree includes (bootph properties, DDR/UART/storage timing) and full board device tree defining CPU OPP table, power supply hierarchy, pinctrl/GPIO configuration, GMAC/USB/HDMI peripherals, regulators, and storage subsystems.

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~25 minutes

Suggested reviewers

  • amazingfate
  • catalinii
  • SuperKali
  • Tonymac32
  • HeyMeco
  • efectn
  • NicoD-SBC
  • ColorfulRhino

Poem

🐰 Hops excitedly 🌟

The board config now hops with grace,
From patches scattered all over the place,
To defconfig and device trees, neat and clean—
The finest RK3288 setup I've seen!
With GMAC and USB all properly fed,
This rabbit's so happy, off to bed! 🛏️✨

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly and concisely describes the main change: migrating U-Boot patches for the xt-q8l-v10 board to use defconfig and dt_uboot directories instead of patches.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ 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 and usage tips.

@github-actions github-actions bot added Needs review Seeking for review Hardware Hardware related like kernel, U-Boot, ... Patches Patches related to kernel, U-Boot, ... labels Apr 14, 2026
Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🧹 Nitpick comments (2)
patch/u-boot/v2026.04/dt_uboot/rk3288-xt-q8l-v10.dts (2)

172-181: Minor: Inconsistent indentation (mixed tabs/spaces).

Lines 178-179 have mixed tab and space indentation. While this doesn't affect functionality, consistent indentation improves maintainability.

✨ Suggested fix for consistent indentation
 	vcc_host_5v: usb-host-regulator {
 		compatible = "regulator-fixed";
 		gpio = <&gpio0 14 GPIO_ACTIVE_HIGH>;
 		regulator-name = "vcc_host_5v";
 		regulator-min-microvolt = <5000000>;
 		regulator-max-microvolt = <5000000>;
-	        regulator-boot-on;
-	        enable-active-high;
+		regulator-boot-on;
+		enable-active-high;
 		vin-supply = <&vcc_sys>;
 	};
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@patch/u-boot/v2026.04/dt_uboot/rk3288-xt-q8l-v10.dts` around lines 172 - 181,
The vcc_host_5v usb-host-regulator block contains mixed tabs and spaces (in the
gpio and regulator-name lines) causing inconsistent indentation; update the
indentation in the usb-host-regulator block (identify by label vcc_host_5v and
compatible = "regulator-fixed") to match the file's prevailing style (use either
all spaces or all tabs consistently), fixing the gpio = <&gpio0 14
GPIO_ACTIVE_HIGH>; and regulator-name = "vcc_host_5v"; lines to use the same
indentation as the surrounding property lines.

690-698: Minor: Inconsistent property formatting.

The status and bootph-all properties here lack spaces around =, while other nodes in the file use status = "okay" with spaces.

✨ Suggested fix for consistent formatting
 &i2c5 {
-	status="okay";
-	bootph-all;
+	status = "okay";
+	bootph-all;
 };
 
 &efuse {
-	status="okay";
-	bootph-all;
+	status = "okay";
+	bootph-all;
 };
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@patch/u-boot/v2026.04/dt_uboot/rk3288-xt-q8l-v10.dts` around lines 690 - 698,
Update the property formatting in the &i2c5 and &efuse device tree nodes to
match the file's style: change status="okay"; to status = "okay"; (keep
bootph-all; as-is but ensure spacing around any = operators matches other
nodes). Edit the lines in the &i2c5 and &efuse blocks so they read status =
"okay"; and preserve the bootph-all property formatting consistent with the rest
of the file.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@patch/u-boot/v2026.04/defconfig/xt-q8l-v10-rk3288_defconfig`:
- Line 79: Remove the Gateworks-specific Kconfig option from the RK3288 board
defconfig: delete or change CONFIG_GATEWORKS_SC=y in the
xt-q8l-v10-rk3288_defconfig to unset (remove the line or set to n) because this
enables the Gateworks System Controller driver which is irrelevant for Rockchip
RK3288; also scan for any other CONFIG_GATEWORKS_* entries and remove/unset them
to avoid accidentally enabling Gateworks drivers on this board.

---

Nitpick comments:
In `@patch/u-boot/v2026.04/dt_uboot/rk3288-xt-q8l-v10.dts`:
- Around line 172-181: The vcc_host_5v usb-host-regulator block contains mixed
tabs and spaces (in the gpio and regulator-name lines) causing inconsistent
indentation; update the indentation in the usb-host-regulator block (identify by
label vcc_host_5v and compatible = "regulator-fixed") to match the file's
prevailing style (use either all spaces or all tabs consistently), fixing the
gpio = <&gpio0 14 GPIO_ACTIVE_HIGH>; and regulator-name = "vcc_host_5v"; lines
to use the same indentation as the surrounding property lines.
- Around line 690-698: Update the property formatting in the &i2c5 and &efuse
device tree nodes to match the file's style: change status="okay"; to status =
"okay"; (keep bootph-all; as-is but ensure spacing around any = operators
matches other nodes). Edit the lines in the &i2c5 and &efuse blocks so they read
status = "okay"; and preserve the bootph-all property formatting consistent with
the rest of the file.
🪄 Autofix (Beta)

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

Run ID: 1c610be0-4b95-4ebd-b6b1-e1d83dc54846

📥 Commits

Reviewing files that changed from the base of the PR and between 3b4dfb8 and c294087.

📒 Files selected for processing (5)
  • patch/u-boot/v2026.04/board_xt-q8l-v10/xt-q8l-v10-defconfig.patch
  • patch/u-boot/v2026.04/board_xt-q8l-v10/xt-q8l-v10-device-tree.patch
  • patch/u-boot/v2026.04/defconfig/xt-q8l-v10-rk3288_defconfig
  • patch/u-boot/v2026.04/dt_uboot/rk3288-xt-q8l-v10-u-boot.dtsi
  • patch/u-boot/v2026.04/dt_uboot/rk3288-xt-q8l-v10.dts
💤 Files with no reviewable changes (2)
  • patch/u-boot/v2026.04/board_xt-q8l-v10/xt-q8l-v10-defconfig.patch
  • patch/u-boot/v2026.04/board_xt-q8l-v10/xt-q8l-v10-device-tree.patch

@github-actions github-actions bot added the Ready to merge Reviewed, tested and ready for merge label Apr 14, 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 Apr 14, 2026
@paolosabatino paolosabatino merged commit 8d69227 into armbian:main Apr 14, 2026
13 checks passed
@paolosabatino paolosabatino deleted the rockchip-xt-q8l-v10-uboot branch April 14, 2026 11:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

05 Milestone: Second quarter release Hardware Hardware related like kernel, U-Boot, ... Patches Patches related to kernel, U-Boot, ... Ready to merge Reviewed, tested and ready for merge size/large PR with 250 lines or more

Development

Successfully merging this pull request may close these issues.

2 participants