Skip to content

Add board: EASY EAI Nano RV1126#10154

Open
hqnicolas wants to merge 1 commit into
armbian:mainfrom
hqnicolas:main
Open

Add board: EASY EAI Nano RV1126#10154
hqnicolas wants to merge 1 commit into
armbian:mainfrom
hqnicolas:main

Conversation

@hqnicolas

@hqnicolas hqnicolas commented Jul 10, 2026

Copy link
Copy Markdown
Contributor

Add initial Armbian support for the EASY-EAI Nano RV1126 board.

Forum topic:
https://forum.armbian.com/topic/60848-board-bring-up-easy-eai-nano-rv1126/

Build Logs: 
1: https://paste.armbian.eu/garowadifa
2: https://paste.armbian.eu/xepadufujo
3: https://paste.armbian.eu/ozadenipas
Latest: https://paste.armbian.eu/itarutexiy​​​​​​​

Board Log:  
1: https://paste.armbian.com/ijefusiqun
2: https://paste.armbian.com/zabeyaseno
3: https://paste.armbian.com/korafirizu
Latest: https://paste.armbian.com/nopudunije

Introducing a new CSC board target for Rockchip RV1126 using the vendor 6.1 Rockchip kernel branch and Mainline U-Boot 2026.07. The board is an RV1126-based module with 2 GB DDR3, onboard eMMC, SD-card boot support.

  • Add EASY-EAI Nano RV1126 board configuration.
  • Add RV1126 family support for Armbian build.
  • Add RV1126 U-Boot build path using Mainline U-Boot.

How Has This Been Tested?

  • Built U-Boot artifact for BOARD=easy-eai-nano BRANCH=vendor.
  • Booted from SD card on EASY-EAI Nano RV1126 hardware.
  • Confirmed boot reaches Armbian.
  • Full eMMC boot from raw image pass hardware validation.

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 in the tested U-Boot build path
  • Any dependent changes have been merged and published in downstream modules

Summary by CodeRabbit

Summary

  • New Features
    • Added support for the EASY-EAI Nano RV1126 platform, including new board configuration, U-Boot setup, and an RV1126 vendor kernel/device tree covering display, cameras, touchscreen, audio, NPU, and networking.
  • Improvements
    • Updated RV1126 boot environment and U-Boot boot-script defaults (kernel command-line, console/log behavior, boot-logo handling).
    • Added stronger build-time validation for required bootloader artifacts and expected bootloader contents.
    • Improved RV1126 NPU compatibility and fixed ARM32 build/runtime cache handling for the NPU driver.

@coderabbitai

coderabbitai Bot commented Jul 10, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

Note

Reviews paused

It looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the reviews.auto_review.auto_pause_after_reviewed_commits setting.

Use the following commands to manage reviews:

  • @coderabbitai resume to resume automatic reviews.
  • @coderabbitai review to trigger a single review.

Use the checkboxes below for quick actions:

  • ▶️ Resume reviews
  • 🔍 Trigger review
📝 Walkthrough

Walkthrough

Adds EASY-EAI Nano RV1126 board support across Armbian configuration, U-Boot, Linux device trees and defconfig, RV1126 family build logic, kernel patches, boot environment, and boot scripts.

Changes

EASY-EAI Nano RV1126

Layer / File(s) Summary
Board metadata and U-Boot target
config/boards/easy-eai-nano.csc, patch/u-boot/v2026.07/...
Registers the board and adds its U-Boot target, defconfig, boot device tree, storage configuration, UART2, regulators, and watchdog support.
Linux hardware and display description
patch/kernel/rv1126-vendor-6.1/dt/*
Adds board definitions for cameras, display panels, touch, storage, networking, media pipelines, peripherals, regulators, pinctrl, and panel timings.
Kernel patching and vendor configuration
patch/kernel/rv1126-vendor-6.1/0000.patching_config.yaml, config/kernel/linux-rockchip-rv1126-vendor.config, patch/kernel/rv1126-vendor-6.1/000*.patch
Configures vendor kernel patching, adds the RV1126 Linux defconfig, and adds RV1126 NPU and ARM32 GEM build support.
RV1126 family build and image integration
config/sources/families/rockchip-rv1126.conf
Adds family build defaults, U-Boot artifact validation, fixed-offset image writes, chroot group setup, and BSP file installation.
Boot environment and runtime loading
config/bootenv/rv1126.txt, config/bootscripts/boot-rv1126.cmd
Sets RV1126 boot arguments and implements environment import, kernel/initramfs/DTB loading, fallback DTB handling, and bootz invocation.

Estimated code review effort: 4 (Complex) | ~60 minutes

Suggested labels: Framework, BSP

Suggested reviewers: igorpecovnik, EvilOlaf, SuperKali, prahal, paolosabatino, HeyMeco, NicoD-SBC, Tonymac32, JohnTheCoolingFan, chainsx, lanefu, rpardini, brentr, efectn

Sequence Diagram(s)

sequenceDiagram
  participant ArmbianBuild
  participant UBoot
  participant BootMedia
  participant LinuxKernel
  ArmbianBuild->>UBoot: build EASY-EAI Nano RV1126 artifacts
  UBoot->>BootMedia: write idbloader.img and u-boot.itb
  BootMedia->>UBoot: load boot.scr
  UBoot->>BootMedia: load uInitrd, zImage, and DTB
  UBoot->>LinuxKernel: bootz with bootargs and hardware DTB
Loading
🚥 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 identifies the new EASY-EAI Nano RV1126 board support and matches the main change set.
✨ 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.

@github-actions github-actions Bot added 08 Milestone: Third quarter release size/large PR with 250 lines or more Needs review Seeking for review Hardware Hardware related like kernel, U-Boot, ... Patches Patches related to kernel, U-Boot, ... labels Jul 10, 2026
@hqnicolas hqnicolas requested a review from adeepn July 10, 2026 23:57

@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: 1

🤖 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/bootscripts/boot-rv1126.cmd`:
- Around line 6-9: Move the ramdisk_addr_r definition in the boot environment
settings above the kernel region, changing it from the low-memory 0x01000000
address to a safe address above kernel_addr_r, consistent with the other boot
scripts.
🪄 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: d8774835-bbc4-48f8-8716-356ddcc9452f

📥 Commits

Reviewing files that changed from the base of the PR and between 2e29674 and 565ea6a.

📒 Files selected for processing (9)
  • config/boards/easy-eai-nano.csc
  • config/bootenv/rv1126.txt
  • config/bootscripts/boot-rv1126.cmd
  • config/kernel/linux-rockchip-rv1126-vendor.config
  • config/sources/families/rockchip-rv1126.conf
  • patch/kernel/rv1126-vendor-6.1/0000.patching_config.yaml
  • patch/kernel/rv1126-vendor-6.1/dt/lmo-display.dtsi
  • patch/kernel/rv1126-vendor-6.1/dt/rv1126-nano.dts
  • patch/u-boot/v2026.07/board_easy-eai-nano/add-board-easy-eai-nano-rv1126.patch
✅ Files skipped from review due to trivial changes (1)
  • config/bootenv/rv1126.txt
🚧 Files skipped from review as they are similar to previous changes (7)
  • patch/kernel/rv1126-vendor-6.1/0000.patching_config.yaml
  • config/boards/easy-eai-nano.csc
  • config/kernel/linux-rockchip-rv1126-vendor.config
  • config/sources/families/rockchip-rv1126.conf
  • patch/kernel/rv1126-vendor-6.1/dt/lmo-display.dtsi
  • patch/u-boot/v2026.07/board_easy-eai-nano/add-board-easy-eai-nano-rv1126.patch
  • patch/kernel/rv1126-vendor-6.1/dt/rv1126-nano.dts

Comment thread config/bootscripts/boot-rv1126.cmd Outdated

@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: 1

🤖 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 `@patch/kernel/rv1126-vendor-6.1/0002-rknpu-fix-arm32-gem-build.patch`:
- Around line 39-46: Replace dmac_flush_range in the CONFIG_ARM branch of the
DMA_FROM_DEVICE cache-maintenance path with an ARM invalidate-only helper
equivalent to dcache_inval_poc, preserving the existing address range; do not
clean CPU cache lines before invalidation unless the buffer’s CPU-dirty state is
explicitly guaranteed impossible.
🪄 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: 395bc66e-98be-4ff4-92f0-6b3aa9d573d3

📥 Commits

Reviewing files that changed from the base of the PR and between 565ea6a and 2efbfd2.

📒 Files selected for processing (11)
  • config/boards/easy-eai-nano.csc
  • config/bootenv/rv1126.txt
  • config/bootscripts/boot-rv1126.cmd
  • config/kernel/linux-rockchip-rv1126-vendor.config
  • config/sources/families/rockchip-rv1126.conf
  • patch/kernel/rv1126-vendor-6.1/0000.patching_config.yaml
  • patch/kernel/rv1126-vendor-6.1/0001-rknpu-add-rv1126-compatible.patch
  • patch/kernel/rv1126-vendor-6.1/0002-rknpu-fix-arm32-gem-build.patch
  • patch/kernel/rv1126-vendor-6.1/dt/lmo-display.dtsi
  • patch/kernel/rv1126-vendor-6.1/dt/rv1126-nano.dts
  • patch/u-boot/v2026.07/board_easy-eai-nano/add-board-easy-eai-nano-rv1126.patch
✅ Files skipped from review due to trivial changes (3)
  • patch/kernel/rv1126-vendor-6.1/0000.patching_config.yaml
  • config/bootenv/rv1126.txt
  • config/kernel/linux-rockchip-rv1126-vendor.config
🚧 Files skipped from review as they are similar to previous changes (4)
  • config/boards/easy-eai-nano.csc
  • patch/kernel/rv1126-vendor-6.1/dt/lmo-display.dtsi
  • config/sources/families/rockchip-rv1126.conf
  • patch/u-boot/v2026.07/board_easy-eai-nano/add-board-easy-eai-nano-rv1126.patch

Comment thread patch/kernel/rv1126-vendor-6.1/0002-rknpu-fix-arm32-gem-build.patch

@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: 1

🤖 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/bootscripts/boot-rv1126.cmd`:
- Line 30: The logo=disabled branch in the boot script sets the logo environment
variable but never propagates it to the kernel command line. Update the final
bootargs construction to include ${logo}, or remove the branch if logo
suppression is not supported; use the existing logo and bootargs definitions to
make the change.
🪄 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: 0fb9b193-0ee1-433a-aea7-851a5f1bcf5b

📥 Commits

Reviewing files that changed from the base of the PR and between 5483298 and c856056.

📒 Files selected for processing (11)
  • config/boards/easy-eai-nano.csc
  • config/bootenv/rv1126.txt
  • config/bootscripts/boot-rv1126.cmd
  • config/kernel/linux-rockchip-rv1126-vendor.config
  • config/sources/families/rockchip-rv1126.conf
  • patch/kernel/rv1126-vendor-6.1/0000.patching_config.yaml
  • patch/kernel/rv1126-vendor-6.1/0001-rknpu-add-rv1126-compatible.patch
  • patch/kernel/rv1126-vendor-6.1/0002-rknpu-fix-arm32-gem-build.patch
  • patch/kernel/rv1126-vendor-6.1/dt/lmo-display.dtsi
  • patch/kernel/rv1126-vendor-6.1/dt/rv1126-nano.dts
  • patch/u-boot/v2026.07/board_easy-eai-nano/add-board-easy-eai-nano-rv1126.patch
✅ Files skipped from review due to trivial changes (3)
  • patch/kernel/rv1126-vendor-6.1/0000.patching_config.yaml
  • config/boards/easy-eai-nano.csc
  • config/bootenv/rv1126.txt
🚧 Files skipped from review as they are similar to previous changes (7)
  • patch/kernel/rv1126-vendor-6.1/0001-rknpu-add-rv1126-compatible.patch
  • patch/kernel/rv1126-vendor-6.1/0002-rknpu-fix-arm32-gem-build.patch
  • config/kernel/linux-rockchip-rv1126-vendor.config
  • patch/kernel/rv1126-vendor-6.1/dt/lmo-display.dtsi
  • config/sources/families/rockchip-rv1126.conf
  • patch/u-boot/v2026.07/board_easy-eai-nano/add-board-easy-eai-nano-rv1126.patch
  • patch/kernel/rv1126-vendor-6.1/dt/rv1126-nano.dts

Comment thread config/bootscripts/boot-rv1126.cmd
@hqnicolas hqnicolas mentioned this pull request Jul 11, 2026
12 tasks
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, ... size/large PR with 250 lines or more

Development

Successfully merging this pull request may close these issues.

1 participant