Skip to content

Commit 008d0b7

Browse files
committed
Helios64: update uBoot to v2026-01-rc5
- Switched to the binman-atf-mainline scenario with the same rkbin DDR blob rk3399_ddr_933MHz_v1.25.bin (TPL blob, as in the old working loader). DRAM init is correct, full 4 GB visible, Linux boots. - U-Boot and DTS updated to v2026.01-rc5. Added MDIO/PHY node and phy-handle in rk3399-kobol- helios64.dts, fixing “mdio node is missing”. Disabled i2s2 in the U-Boot DT to avoid rockchip- i2s ... Could not register PCM. - boot_targets in U-Boot config shortened (mmc1, scsi0, usb0, pxe, dhcp) to avoid env_buf ... too small; however, the last built binary still shows the warning (needs rebuild with the shortened list or enlarging the buffer). - Boot flow: bootstd scans SD (mmc0) and eMMC (mmc1); SD boot works even without mmc0 in boot_targets. - Other changes: defconfig has CONFIG_ROCKCHIP_EXTERNAL_TPL=y to use the external DDR blob. Boots.
1 parent 60e869c commit 008d0b7

File tree

13 files changed

+2136
-2
lines changed

13 files changed

+2136
-2
lines changed

config/boards/helios64.conf

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,10 @@ BOARD_VENDOR="kobol"
44
BOARDFAMILY="rockchip64" # Used to be rk3399
55
BOARD_MAINTAINER="prahal"
66
BOOTCONFIG="helios64-rk3399_defconfig"
7-
BOOT_SCENARIO="tpl-blob-atf-mainline"
7+
BOOTBRANCH="tag:v2026.01-rc5"
8+
BOOTPATCHDIR="v2026.01/board_helios64"
9+
BOOT_SCENARIO="binman-atf-mainline"
10+
DDR_BLOB="rk33/rk3399_ddr_933MHz_v1.25.bin"
811
KERNEL_TARGET="current,edge"
912
KERNEL_TEST_TARGET="current"
1013
MODULES="lm75 ledtrig-netdev"
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
config:
2-
32
overlay-directories:
43
- { source: "defconfig", target: "configs" } # copies all files in defconfig dir to the configs/ dir in the u-boot source tree
54
- { source: "dt_upstream_rockchip", target: "dts/upstream/src/arm64/rockchip" } # copies all files in dt_upstream_rockchip dir to the dts/upstream/src/arm64/rockchip dir in the u-boot source tree
65
- { source: "dt_uboot", target: "arch/arm/dts" } # copies all files in dt_uboot dir to the arch/arm/dts dir in the u-boot source tree
6+
- { source: "board", target: "board" } # copies board-specific sources (legacy empty dir)
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
config:
2+
3+
# Board-specific overlays live inside this directory to keep Helios64
4+
# patches self contained.
5+
overlay-directories:
6+
- { source: "defconfig", target: "configs" }
7+
- { source: "dt_upstream_rockchip", target: "dts/upstream/src/arm64/rockchip" }
8+
- { source: "dt_uboot", target: "arch/arm/dts" }
9+
- { source: "board", target: "board/kobol/helios64" }
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
2+
From: Codex Bot <bot@example.com>
3+
Date: Thu, 6 Mar 2025 00:00:00 +0000
4+
Subject: [PATCH] rk3399: add Helios64 target
5+
6+
Wire Helios64 into the rk3399 board menu and source tree so its defconfig
7+
builds again on v2026.01-rc5.
8+
9+
---
10+
arch/arm/mach-rockchip/rk3399/Kconfig | 14 ++++++++++++++
11+
1 file changed, 14 insertions(+)
12+
13+
diff --git a/arch/arm/mach-rockchip/rk3399/Kconfig b/arch/arm/mach-rockchip/rk3399/Kconfig
14+
index 39e5b0548d..2b5e169acd 100644
15+
--- a/arch/arm/mach-rockchip/rk3399/Kconfig
16+
+++ b/arch/arm/mach-rockchip/rk3399/Kconfig
17+
@@ -130,6 +130,13 @@
18+
* wide voltage input(5V-15V), dual cell battery
19+
* Wifi/BT accessible via expansion board M.2
20+
21+
+config TARGET_HELIOS64
22+
+ bool "Kobol Helios64"
23+
+ help
24+
+ Helios64 is a RK3399-based NAS board with a JMB585 SATA HBA,
25+
+ USB-C (DP Alt), USB3 hub, dual Ethernet (1G + 2.5G), eMMC and
26+
+ LPDDR4 memory.
27+
+
28+
endchoice
29+
30+
config ROCKCHIP_BOOT_MODE_REG
31+
@@ -166,6 +173,7 @@
32+
source "board/pine64/pinephone-pro-rk3399/Kconfig"
33+
source "board/pine64/rockpro64_rk3399/Kconfig"
34+
source "board/radxa/rockpi4-rk3399/Kconfig"
35+
+source "board/kobol/helios64/Kconfig"
36+
source "board/rockchip/evb_rk3399/Kconfig"
37+
source "board/theobroma-systems/puma_rk3399/Kconfig"
38+
source "board/vamrs/rock960_rk3399/Kconfig"
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
if TARGET_HELIOS64
2+
3+
config SYS_BOARD
4+
default "helios64"
5+
6+
config SYS_VENDOR
7+
default "kobol"
8+
9+
config SYS_CONFIG_NAME
10+
default "helios64"
11+
12+
config BOARD_SPECIFIC_OPTIONS # dummy
13+
def_bool y
14+
15+
config ENV_SECT_SIZE
16+
default 0x1000 if ENV_IS_IN_SPI_FLASH
17+
18+
config ENV_SIZE
19+
default 0x8000
20+
21+
config ENV_OFFSET
22+
default 0x460000 if ENV_IS_IN_SPI_FLASH
23+
24+
endif
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
HELIOS64 BOARD
2+
M: Aditya Prayoga <aditya@kobol.io>
3+
S: Maintained
4+
F: board/kobol/helios64/
5+
F: include/configs/helios64.h
6+
F: configs/helios64_defconfig
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# SPDX-License-Identifier: GPL-2.0+
2+
#
3+
# Copyright (C) 2020 Aditya Prayoga <aditya@kobol.io>
4+
5+
obj-y := helios64.o sys_otp.o

0 commit comments

Comments
 (0)