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 ...@@ -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 patch -Np1 -d u-boot-2021.04 < u-boot-2021.04-mender.patch
tar xf rk3588-firmware.tar.xz -C u-boot-2021.04 tar xf rk3588-firmware.tar.xz -C u-boot-2021.04
$(MAKE) -C u-boot-2021.04 cm3588-nas-rk3588_defconfig $(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_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_FAT is not set" >> u-boot-2021.04/.config
@echo "CONFIG_ENV_IS_IN_MMC=y" >> u-boot-2021.04/.config @echo "CONFIG_ENV_IS_IN_MMC=y" >> u-boot-2021.04/.config
......
...@@ -23816,12 +23816,10 @@ index 0000000..06633b8 ...@@ -23816,12 +23816,10 @@ index 0000000..06633b8
+#include <configs/rk3588_common.h> +#include <configs/rk3588_common.h>
+ +
+#endif /* __NANOPCT6_RK3588_H */ +#endif /* __NANOPCT6_RK3588_H */
diff --git a/include/configs/rk3588_common.h b/include/configs/rk3588_common.h diff -uNr u-boot-2021.04/include/configs/rk3588_common.h u-boot-2021.04-cm3588-nas/include/configs/rk3588_common.h
new file mode 100644 --- u-boot-2021.04/include/configs/rk3588_common.h 1970-01-01 00:00:00.000000000 +0000
index 0000000..65eb3ff +++ u-boot-2021.04-cm3588-nas/include/configs/rk3588_common.h 2026-11-02 13:10:04.304376493 +0000
--- /dev/null @@ -0,0 +1,67 @@
+++ b/include/configs/rk3588_common.h
@@ -0,0 +1,64 @@
+/* SPDX-License-Identifier: GPL-2.0+ */ +/* SPDX-License-Identifier: GPL-2.0+ */
+/* +/*
+ * (C) Copyright 2021 Rockchip Electronics Co., Ltd + * (C) Copyright 2021 Rockchip Electronics Co., Ltd
...@@ -23833,6 +23831,9 @@ index 0000000..65eb3ff ...@@ -23833,6 +23831,9 @@ index 0000000..65eb3ff
+ +
+#include "rockchip-common.h" +#include "rockchip-common.h"
+ +
+#define CONFIG_BOOTCOUNT_LIMIT
+#define CONFIG_BOOTCOUNT_ENV
+
+#define CONFIG_SKIP_LOWLEVEL_INIT +#define CONFIG_SKIP_LOWLEVEL_INIT
+#define CONFIG_SYS_CBSIZE 1024 +#define CONFIG_SYS_CBSIZE 1024
+#define COUNTER_FREQUENCY 24000000 +#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