Skip to content

add imb3588 board support #8267

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

JackHuang021
Copy link

@JackHuang021 JackHuang021 commented Jun 3, 2025

Description

Add support for IMB3588 board. This board based RK3588 SoC, with 4G/8G/16G/32GB LPDDR4 & 16G~128G emmc, 2x 1Gbps Ethernet, 1x HDMI 2.1 output, 1x eDP, 1x mipi display, 1x LVDS, AP6275P wifi 6 & buletooth 5.1 module.

IMB3588 board info: https://www.sunshine-tek.com/productinfo/1989232.html

Documentation summary for feature / change

  1. Only support vendor 6.1 kernel, build with mesa-vpu extensions will get mali GPU worked.
./compile.sh BOARD=imb3588 BRANCH=vendor BUILD_DESKTOP=yes BUILD_MINIMAL=no DESKTOP_APPGROUPS_SELECTED= DESKTOP_ENVIRONMENT=gnome DESKTOP_ENVIRONMENT_CONFIG_NAME=config_base ENABLE_EXTENSIONS=mesa-vpu EXPERT=yes KERNEL_CONFIGURE=no RELEASE=noble
  1. IMB3588 debug uart, uart2 3.3V ttl ( must remove sp3485 chip to let uart2 RX work )

remove sp3485
debug uart

How Has This Been Tested?

I have built an image for my board, it boots and worked fine except bluetooth.

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • My changes generate no new warnings
  • Any dependent changes have been merged and published in downstream modules

Copy link
Contributor

coderabbitai bot commented Jun 3, 2025

Walkthrough

A new board configuration file named imb3588.conf has been introduced to support the IMB3588 board based on the Rockchip RK3588 SoC. The configuration specifies hardware options such as RAM sizes (4GB, 8GB, 16GB), eMMC storage capacities, and various peripherals including USB, SATA, networking, WiFi, Bluetooth, and multiple display interfaces. The file sets up board-specific variables, assigns Jack Huang as the maintainer, and configures the boot process to use a vendor kernel, a desktop environment, and a specific device tree blob. SPI boot support and a GPT partition table format are enabled.

Suggested labels

ready to merge

Suggested reviewers

  • clee
  • rpardini
  • krachlatte
  • lanefu
  • ahoneybun
  • amazingfate

📜 Recent review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 845b659 and c341f39.

📒 Files selected for processing (1)
  • config/boards/imb3588.conf (1 hunks)
🚧 Files skipped from review as they are similar to previous changes (1)
  • config/boards/imb3588.conf

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
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Explain this complex logic.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai explain this code block.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and explain its main purpose.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Support

Need help? Create a ticket on our support page for assistance with any issues or questions.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR.
  • @coderabbitai generate sequence diagram to generate a sequence diagram of the changes in this PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@github-actions github-actions bot added size/large PR with 250 lines or more 08 Milestone: Third quarter release Needs review Seeking for review Hardware Hardware related like kernel, U-Boot, ... Patches Patches related to kernel, U-Boot, ... labels Jun 3, 2025
@coderabbitai coderabbitai bot added the Ready to merge Reviewed, tested and ready for merge label Jun 3, 2025
Copy link
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 (1)
config/boards/imb3588.conf (1)

1-2: Fix typo and update supported RAM sizes in header

The header comment has a typo ("16GBB") and omits mention of the 32GB RAM option. Please correct it to reflect the actual supported RAM sizes (4GB, 8GB, 16GB, and 32GB).

📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between e03b1b5 and 845b659.

⛔ Files ignored due to path filters (2)
  • patch/kernel/rk35xx-vendor-6.1/0001-arm64-dts-add-imb3588-dts.patch is excluded by !patch/**
  • patch/u-boot/legacy/u-boot-radxa-rk35xx/defconfig/imb3588_defconfig is excluded by !patch/**
📒 Files selected for processing (1)
  • config/boards/imb3588.conf (1 hunks)
🔇 Additional comments (2)
config/boards/imb3588.conf (2)

12-15: Configuration flags align with board requirements

The SPI support, SPL loader, and GPT partition settings correctly match the IMB3588 hardware design and build objectives. No further changes needed here.


6-11:

❓ Verification inconclusive

Verify referenced defconfig and device tree blob exist

Ensure that imb3588_defconfig and rockchip/rk3588-yx-imb3588.dtb are present at the expected paths in the repo. You can run:


🏁 Script executed:

#!/bin/bash
# Verify the defconfig file exists
fd 'imb3588_defconfig' -t f

# Verify the device tree blob exists
fd 'rk3588-yx-imb3588.dtb' -t f

Length of output: 59


Verify presence of defconfig and DTB files

It looks like neither imb3588_defconfig nor rockchip/rk3588-yx-imb3588.dtb were found in the repo. Please ensure that these files exist at the expected locations, for example:

  • config/defconfig/imb3588_defconfig
  • arch/arm/boot/dts/rockchip/rk3588-yx-imb3588.dtb

If they live in a different directory or use a different name, update the paths in config/boards/imb3588.conf accordingly or add the missing files.

@github-actions github-actions bot removed the Ready to merge Reviewed, tested and ready for merge label Jun 3, 2025
@coderabbitai coderabbitai bot added the Ready to merge Reviewed, tested and ready for merge label Jun 3, 2025
@@ -0,0 +1,15 @@
# Rockchip RK3588 SoC with 4/8/16GB RAM, 16GBB/32GB/64GB/128GB EMMC,
# m.2 SATA, USB3, USB2, 2xGbE, WIFI6, BT5.1, LCDS, MIPI, eDP, HDMI
Copy link
Member

@EvilOlaf EvilOlaf Jun 6, 2025

Choose a reason for hiding this comment

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

I think all board config files consist of a 1 liner of basic hw description. I suggest to adjust accordingly. I'm also not sure how the framework handles this situation.

@@ -0,0 +1,1337 @@
From 1de1d6241c18c9ae5dea66b0007d61163c7122f5 Mon Sep 17 00:00:00 2001
Copy link
Member

@EvilOlaf EvilOlaf Jun 6, 2025

Choose a reason for hiding this comment

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

Since dt has been added to linux-rockchip repo, this whole file can be removed?

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, ... Needs review Seeking for review 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.

4 participants