Skip to content

Commit 36bbd52

Browse files
retro98boyigorpecovnik
authored andcommitted
NORCO EMB-3531: Switch to rkbin ddr blob to support both DDR3 and LPDDR4X variants
1 parent 25d9418 commit 36bbd52

2 files changed

Lines changed: 13 additions & 7 deletions

File tree

config/boards/norco-emb-3531.csc

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Rockchip RK3399 2GB DDR3 16GB eMMC GBE USB3 RTL8188ETV WiFi PCIe x4 slot
1+
# Rockchip RK3399 DDR3/LPDDR4X eMMC GBE USB3 USB-WiFi PCIe x4 slot
22
BOARD_NAME="NORCO EMB-3531"
33
BOARD_VENDOR="norco"
44
BOARDFAMILY="rockchip64"
@@ -14,12 +14,18 @@ BOOT_LOGO="desktop"
1414
BOOT_FDT_FILE="rockchip/rk3399-emb-3531.dtb"
1515
BOOTBRANCH_BOARD="tag:v2026.01"
1616
BOOTPATCHDIR="v2026.01"
17-
BOOT_SCENARIO="binman"
1817
SRC_EXTLINUX="yes"
1918
SRC_CMDLINE="console=ttyS2,1500000 console=tty0 rk3399_pcie_ignore_serror"
2019

2120
PACKAGE_LIST_BOARD="alsa-ucm-conf" # Contain ALSA UCM top-level configuration file
2221

22+
function post_family_config__norco-emb-3531() {
23+
declare -g BOOT_SCENARIO="spl-blobs"
24+
declare -g DDR_BLOB="rk33/rk3399_ddr_800MHz_v1.27.bin"
25+
declare -g BL31_BLOB="rk33/rk3399_bl31_v1.36.elf"
26+
declare -g UBOOT_TARGET_MAP="BL31=${RKBIN_DIR}/${BL31_BLOB} ROCKCHIP_TPL=${RKBIN_DIR}/${DDR_BLOB};;u-boot-rockchip.bin"
27+
}
28+
2329
function post_family_tweaks_bsp__norco-emb-3531() {
2430
display_alert "${BOARD}" "Installing ALSA UCM configuration files" "info"
2531

patch/u-boot/v2026.01/board_norco-emb-3531/add-board-norco-emb-3531.patch

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,25 @@
11
diff --git a/arch/arm/dts/rk3399-emb-3531-u-boot.dtsi b/arch/arm/dts/rk3399-emb-3531-u-boot.dtsi
22
new file mode 100644
3-
index 00000000..1f5fda1d
3+
index 00000000..50b0ca0d
44
--- /dev/null
55
+++ b/arch/arm/dts/rk3399-emb-3531-u-boot.dtsi
6-
@@ -0,0 +1,11 @@
6+
@@ -0,0 +1,10 @@
77
+// SPDX-License-Identifier: GPL-2.0+
88
+/*
99
+ * Copyright (C) 2019 Jagan Teki <jagan@amarulasolutions.com>
1010
+ */
1111
+
1212
+#include "rk3399-u-boot.dtsi"
13-
+#include "rk3399-sdram-ddr3-1600.dtsi"
1413
+
1514
+&vdd_log {
1615
+ regulator-init-microvolt = <950000>;
1716
+};
1817
diff --git a/configs/emb-3531-rk3399_defconfig b/configs/emb-3531-rk3399_defconfig
1918
new file mode 100644
20-
index 00000000..ab892564
19+
index 00000000..6c6fe382
2120
--- /dev/null
2221
+++ b/configs/emb-3531-rk3399_defconfig
23-
@@ -0,0 +1,69 @@
22+
@@ -0,0 +1,70 @@
2423
+# Reference from firefly-rk3399_defconfig
2524
+CONFIG_ARM=y
2625
+CONFIG_SKIP_LOWLEVEL_INIT=y
@@ -32,6 +31,7 @@ index 00000000..ab892564
3231
+CONFIG_DEFAULT_DEVICE_TREE="rockchip/rk3399-emb-3531"
3332
+CONFIG_DM_RESET=y
3433
+CONFIG_ROCKCHIP_RK3399=y
34+
+CONFIG_ROCKCHIP_EXTERNAL_TPL=y
3535
+CONFIG_TARGET_EVB_RK3399=y
3636
+CONFIG_SYS_LOAD_ADDR=0x800800
3737
+CONFIG_DEBUG_UART_BASE=0xFF1A0000

0 commit comments

Comments
 (0)