From a65d8712103cb143619d6c58afd5127e347b13c9 Mon Sep 17 00:00:00 2001
From: hc <hc@nodka.com>
Date: Tue, 14 Feb 2023 03:07:01 +0000
Subject: [PATCH] 修改 parameter

---
 device/rockchip/rk356x/parameter-buildroot-fit.txt          |    2 +-
 tools/linux/Linux_Pack_Firmware/rockdev/rk356x-package-file |   41 ++++++++++++++++++-----------------------
 2 files changed, 19 insertions(+), 24 deletions(-)

diff --git a/device/rockchip/rk356x/parameter-buildroot-fit.txt b/device/rockchip/rk356x/parameter-buildroot-fit.txt
index 4defd4d..4605439 100644
--- a/device/rockchip/rk356x/parameter-buildroot-fit.txt
+++ b/device/rockchip/rk356x/parameter-buildroot-fit.txt
@@ -8,5 +8,5 @@
 CHECK_MASK: 0x80
 PWR_HLD: 0,0,A,0,1
 TYPE: GPT
-CMDLINE: mtdparts=rk29xxnand:0x00002000@0x00004000(uboot),0x00002000@0x00006000(misc),0x00020000@0x00008000(boot),0x00020000@0x00028000(recovery),0x00010000@0x00048000(backup),0x00c00000@0x00058000(rootfs),0x00040000@0x00c58000(oem),-@0x00c98000(userdata:grow)
+CMDLINE: mtdparts=rk29xxnand:0x00002000@0x00004000(uboot),0x00002000@0x00006000(trust),0x00002000@0x00008000(misc),0x00010000@0x0000a000(boot),0x00020000@0x0001a000(recovery),0x00010000@0x0003a000(baseparameter),0x00DAC000@0x0004a000(userdata),-@0x00DF6000(rootfs:grow))
 uuid:rootfs=614e0000-0000-4b53-8000-1d28000054a9
diff --git a/tools/linux/Linux_Pack_Firmware/rockdev/rk356x-package-file b/tools/linux/Linux_Pack_Firmware/rockdev/rk356x-package-file
index 4cad31e..1fc1e0d 100644
--- a/tools/linux/Linux_Pack_Firmware/rockdev/rk356x-package-file
+++ b/tools/linux/Linux_Pack_Firmware/rockdev/rk356x-package-file
@@ -1,23 +1,18 @@
-# NAME		Relative path
-#
-#HWDEF		HWDEF
-package-file	package-file
-bootloader	Image/MiniLoaderAll.bin
-parameter	Image/parameter.txt
-#trust		Image/trust.img
-uboot		Image/uboot.img
-misc		Image/misc.img
-#resource	Image/resource.img
-#kernel		Image/kernel.img
-boot		Image/boot.img
-recovery	Image/recovery.img
-rootfs		Image/rootfs.img
-oem		Image/oem.img
-userdata	Image/userdata.img
-# Ҫд��backup�������ļ���������update.img��
-# SELF �ǹؼ��֣���ʾ�����ļ���update.img������
-# �����������ļ�ʱ��������SELF�ļ������ݣ�����ͷ����Ϣ���м�¼
-# �ڽ�������ļ�ʱ�������SELF�ļ������ݡ�
-backup		RESERVED
-#update-script	update-script
-#recover-script	recover-script
+# NAME        Relative path
+package-file    package-file
+bootloader    Image/MiniLoaderAll.bin
+parameter    Image/parameter.txt
+uboot        Image/uboot.img
+misc        Image/misc.img
+#resource    Image/resource.img
+#kernel        Image/kernel.img
+boot        Image/boot.img
+recovery    Image/recovery.img
+rootfs      Image/rootfs.ext4
+#oem        Image/oem.img
+userdata    Image/userdata.img
+#backup        RESERVED
+#update-script    update-script
+#recover-script    recover-script
+baseparameter   RESERVED
+

--
Gitblit v1.6.2