Browse Source

[Improve][CCS][DTS / main]

2022.06.17 / Folus Wen

Actions:
1. Linux kernel dts fix flash partition address
2. main.c disable load configuration from flash.

Files:
1. As follow commit history

Image version: D0.00.XX.XXXX.XX
Image checksum: XXXXXXXX

Hardware PWB P/N : XXXXXXX
Hardware Version : XXXXXXX
Folus Wen 2 years ago
parent
commit
cbf3d5d46e

+ 1 - 1
EVSE/Projects/CCS/Apps/main.c

@@ -356,7 +356,7 @@ void System_Init()
     CreateShareMemory_Init();
 
     //Init System Confinguration
-    Confinguration_Init();
+    //Confinguration_Init();
 
 
     SAVE_SYS_LOG_MSG_MAIN("--------------------------");

+ 6 - 6
board-support/linux-4.9.59+gitAUTOINC+a75d8e9305-ga75d8e9305/arch/arm/boot/dts/[CCS]am335x-evm.dts

@@ -522,27 +522,27 @@
 		};
 		partition@8 {
 			label = "Primary rootfs";
-			reg = <0x01800000 0x03000000>;
+			reg = <0x03000000 0x03000000>;
 		};
 		partition@9 {
 			label = "Secondary rootfs";
-			reg = <0x04800000 0x03000000>;
+			reg = <0x06000000 0x03000000>;
 		};
 		partition@10 {
 			label = "Primary user configuration";
-			reg = <0x07800000 0x00600000>;
+			reg = <0x09000000 0x00600000>;
 		};
 		partition@11 {
 			label = "Secondary user configuration";
-			reg = <0x07E00000 0x00600000>;
+			reg = <0x09600000 0x00600000>;
 		};
 		partition@12 {
 			label = "Factory default configuration";
-			reg = <0x08400000 0x00600000>;
+			reg = <0x09C00000 0x00600000>;
 		};
 		partition@13 {
 			label = "Storage";
-			reg = <0x08A00000 0x77600000>;
+			reg = <0x0A200000 0x75E00000>;
 		};
 	};
 };