Skip to content

Add board: EASY EAI Nano RV1126#10147

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

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

Conversation

@hqnicolas

@hqnicolas hqnicolas commented Jul 8, 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/

Introducing a new CSC board target for Rockchip RV1126 using the vendor 6.1 Rockchip kernel branch and Radxa/Rockchip U-Boot 2017.09. 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 Radxa/Rockchip 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 still needs final 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

<!-- This is an auto-generated comment: release notes by coderabbit.ai -->

## Summary by CodeRabbit

* **New Features**
  * Added support for the EASY-EAI Nano RV1126 board, including a new boot flow and board-specific hardware configuration.
  * Introduced display, camera, touch, storage, and network support for the new platform.
  * Added RV1126-specific U-Boot and kernel boot assets for improved startup and device initialization.

* **Bug Fixes**
  * Improved boot reliability with fallback handling for boot scripts, device tree loading, and kernel initramfs.
  * Refined boot parameters for better device behavior and quieter startup output.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

@hqnicolas hqnicolas requested a review from vidplace7 as a code owner July 8, 2026 23:01
@github-actions github-actions Bot added 08 Milestone: Third quarter release size/large PR with 250 lines or more labels Jul 8, 2026
@coderabbitai

coderabbitai Bot commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

📝 Walkthrough

Walkthrough

This PR adds full board support for the Rockchip RV1126-based "EASY-EAI Nano" board: Armbian board/family configuration files, boot environment and U-Boot boot script, kernel device tree patches (including a display panel dtsi), and U-Boot legacy patches with a new defconfig, DTB registration, and boot command changes.

Changes

EASY-EAI Nano RV1126 Board Bring-up

Layer / File(s) Summary
Board metadata and kernel config hook
config/boards/easy-eai-nano.csc
Defines board identity/boot variables and a vendor-branch kernel config hook appending RV1126-specific options.
Boot environment and boot script
config/bootenv/rv1126.txt, config/bootscripts/boot-rv1126.cmd
Sets boot verbosity/extraargs/bootlogo defaults and adds a U-Boot script for env import, PARTUUID rewrite, bootargs construction, and kernel/initramfs/DTB loading with fallback.
Rockchip RV1126 family configuration
config/sources/families/rockchip-rv1126.conf
Adds SoC defaults, RKbin blob paths, GCC warning downgrade, IDB/FIT image generation via boot_merger, disk-offset writing, and filesystem tweaks (groups, udev rules, asound.conf).
Kernel patching config and RV1126 Nano device tree
patch/kernel/rv1126-vendor-6.1/0000.patching_config.yaml, patch/kernel/rv1126-vendor-6.1/dt/rv1126-nano.dts
Adds vendor kernel patching config and the board DTS enabling camera/CSI, touch, SPI, I2S, CAN, ethernet, SDMMC, and pinctrl peripherals.
LCD display panel device tree include
patch/kernel/rv1126-vendor-6.1/dt/lmo-display.dtsi
Adds DSI panel configuration, per-panel init/exit command sequences, and display timing definitions.
U-Boot DTB Makefile and device tree
patch/u-boot/legacy/u-boot-rockchip-buildroot/add-easy-eai-nano-rv1126-dtb.patch, patch/u-boot/legacy/u-boot-rockchip-buildroot/dt/rv1126-easy-eai-nano.dts
Registers the new DTB in the Makefile and adds a minimal U-Boot SPL device tree for eMMC/uart2 boot.
U-Boot defconfig and boot command patch
patch/u-boot/legacy/u-boot-rockchip-buildroot/defconfig/easy-eai-nano-rv1126_defconfig, patch/u-boot/legacy/u-boot-rockchip-buildroot/rv1126-bootscr.patch
Adds full U-Boot defconfig for SPL/FIT/storage/network/display and patches RKIMG_BOOTCOMMAND to load/source boot.scr from eMMC/SD.

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

Sequence Diagram(s)

sequenceDiagram
  participant UBoot as boot-rv1126.cmd
  participant MMC as MMC/SD Partition
  participant Kernel as zImage/uInitrd/DTB

  UBoot->>MMC: load and import armbianEnv.txt
  UBoot->>UBoot: compute PARTUUID, build bootargs
  UBoot->>MMC: load uInitrd
  UBoot->>MMC: load zImage
  UBoot->>MMC: load fdtfile (fallback on failure)
  UBoot->>Kernel: bootz kernel_addr_r ramdisk_arg fdt_addr_r
Loading
sequenceDiagram
  participant SPL as U-Boot SPL
  participant EMMC as mmc dev 0
  participant SD as mmc dev 1
  participant Script as boot.scr

  SPL->>EMMC: load boot.scr
  EMMC-->>SPL: success or failure
  SPL->>SD: load boot.scr (if EMMC failed)
  SD-->>SPL: success or failure
  SPL->>Script: source boot.scr
Loading

Suggested labels: BSP

Suggested reviewers: amazingfate, igorpecovnik, chainsx, joekhoobyar, ahoneybun, catalinii, brentr, paolosabatino

🚥 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 is concise and accurately summarizes the main change: adding EASY-EAI Nano RV1126 board support.
✨ 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 Needs review Seeking for review Hardware Hardware related like kernel, U-Boot, ... Patches Patches related to kernel, U-Boot, ... labels Jul 8, 2026
BOOTCONFIG="easy-eai-nano-rv1126_defconfig"
IMAGE_PARTITION_TABLE="gpt"

function custom_kernel_config__easy_eai_nano_rv1126_bringup() {

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

no. this will produce a non-standard rk35xx-vendor kernel image which collides with the standard ones, breaking apt repo.

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.

2 participants