Commit dd363cf7 authored by Vladimir Bashkirtsev's avatar Vladimir Bashkirtsev

Fixed up mender configs for rk3588

parent 575cc485
......@@ -1133,6 +1133,7 @@ friendlyelec-cm3588-plus-mender: friendlyelec-cm3588-plus-boot-cmd-mender friend
patch -Np1 -d u-boot-2021.04 < u-boot-2021.04-mender.patch
tar xf rk3588-firmware.tar.xz -C u-boot-2021.04
$(MAKE) -C u-boot-2021.04 cm3588-nas-rk3588_defconfig
@echo "CONFIG_ENV_SIZE=0x20000" >> u-boot-2021.04/.config
@echo "# CONFIG_ENV_IS_NOWHERE is not set" >> u-boot-2021.04/.config
@echo "# CONFIG_ENV_IS_IN_FAT is not set" >> u-boot-2021.04/.config
@echo "CONFIG_ENV_IS_IN_MMC=y" >> u-boot-2021.04/.config
......
......@@ -23816,12 +23816,10 @@ index 0000000..06633b8
+#include <configs/rk3588_common.h>
+
+#endif /* __NANOPCT6_RK3588_H */
diff --git a/include/configs/rk3588_common.h b/include/configs/rk3588_common.h
new file mode 100644
index 0000000..65eb3ff
--- /dev/null
+++ b/include/configs/rk3588_common.h
@@ -0,0 +1,64 @@
diff -uNr u-boot-2021.04/include/configs/rk3588_common.h u-boot-2021.04-cm3588-nas/include/configs/rk3588_common.h
--- u-boot-2021.04/include/configs/rk3588_common.h 1970-01-01 00:00:00.000000000 +0000
+++ u-boot-2021.04-cm3588-nas/include/configs/rk3588_common.h 2026-11-02 13:10:04.304376493 +0000
@@ -0,0 +1,67 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
+/*
+ * (C) Copyright 2021 Rockchip Electronics Co., Ltd
......@@ -23833,6 +23831,9 @@ index 0000000..65eb3ff
+
+#include "rockchip-common.h"
+
+#define CONFIG_BOOTCOUNT_LIMIT
+#define CONFIG_BOOTCOUNT_ENV
+
+#define CONFIG_SKIP_LOWLEVEL_INIT
+#define CONFIG_SYS_CBSIZE 1024
+#define COUNTER_FREQUENCY 24000000
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment