ソースを参照

[Tag][AW-Regular][Image]
2023-01-12 / EASON YANG
Action:
1. Tag: Remake AW-Regular whole project for release image.

File:
1. AW-Regular
Action 1

FIRMWARE VERSION : AW-SERIES P0.72.XX.XXXX.PX

8009 2 年 前
コミット
9741bdb9db

+ 1 - 1
EVSE/Projects/AW-Regular/Apps/main.c

@@ -2810,7 +2810,7 @@ void get_firmware_version(unsigned char gun_index)
 	strcpy((char*)ShmSysConfigAndInfo->SysInfo.CsuPrimFwRev, ShmCharger->gun_info[gun_index].ver.Version_FW);
 
 	// Get CSU root file system version
-	sprintf((char*)ShmSysConfigAndInfo->SysInfo.CsuRootFsFwRev, "V0.72.00.0000.00");
+	sprintf((char*)ShmSysConfigAndInfo->SysInfo.CsuRootFsFwRev, "P0.72.00.0000.00");
 
 	// Get AC connector type from model name
 	for(uint8_t idx=0;idx<3;idx++)

BIN
EVSE/Projects/AW-Regular/Images/FactoryDefaultConfig.bin


BIN
EVSE/Projects/AW-Regular/Images/MLO


BIN
EVSE/Projects/AW-Regular/Images/ramdisk.gz


BIN
EVSE/Projects/AW-Regular/Images/u-boot-spl.bin


BIN
EVSE/Projects/AW-Regular/Images/u-boot.img


BIN
EVSE/Projects/AW-Regular/Images/zImage


+ 1 - 1
board-support/linux-4.9.59+gitAUTOINC+a75d8e9305-ga75d8e9305/.version

@@ -1 +1 @@
-46
+47

+ 1 - 1
board-support/u-boot-2017.01+gitAUTOINC+340fb36f04-g340fb36f04/arch/arm/dts/.am335x-evm.dtb.cmd

@@ -8,8 +8,8 @@ deps_arch/arm/dts/am335x-evm.dtb := \
   arch/arm/dts/include/dt-bindings/pinctrl/omap.h \
   arch/arm/dts/skeleton.dtsi \
   arch/arm/dts/include/dt-bindings/interrupt-controller/irq.h \
-  arch/arm/dts/tps65910.dtsi \
   arch/arm/dts/am33xx-clocks.dtsi \
+  arch/arm/dts/tps65217.dtsi \
 
 arch/arm/dts/am335x-evm.dtb: $(deps_arch/arm/dts/am335x-evm.dtb)
 

+ 1 - 1
board-support/u-boot-2017.01+gitAUTOINC+340fb36f04-g340fb36f04/arch/arm/dts/.am335x-evm.dtb.d.dtc.tmp

@@ -1 +1 @@
-arch/arm/dts/am335x-evm.dtb: arch/arm/dts/.am335x-evm.dtb.dts.tmp arch/arm/dts/am33xx-clocks.dtsi
+arch/arm/dts/am335x-evm.dtb: arch/arm/dts/.am335x-evm.dtb.dts.tmp arch/arm/dts/am33xx-clocks.dtsi arch/arm/dts/tps65217.dtsi

+ 1 - 2
board-support/u-boot-2017.01+gitAUTOINC+340fb36f04-g340fb36f04/arch/arm/dts/.am335x-evm.dtb.d.pre.tmp

@@ -3,5 +3,4 @@
  arch/arm/dts/include/dt-bindings/pinctrl/am33xx.h \
  arch/arm/dts/include/dt-bindings/pinctrl/omap.h \
  arch/arm/dts/skeleton.dtsi \
- arch/arm/dts/include/dt-bindings/interrupt-controller/irq.h \
- arch/arm/dts/tps65910.dtsi
+ arch/arm/dts/include/dt-bindings/interrupt-controller/irq.h

+ 27 - 134
board-support/u-boot-2017.01+gitAUTOINC+340fb36f04-g340fb36f04/arch/arm/dts/.am335x-evm.dtb.dts.tmp

@@ -925,7 +925,7 @@
 
  cpus {
   cpu@0 {
-   cpu0-supply = <&vdd1_reg>;
+   cpu0-supply = <&dcdc2_reg>;
   };
  };
 
@@ -1291,8 +1291,8 @@
  status = "okay";
  clock-frequency = <400000>;
 
- tps: tps@2d {
-  reg = <0x2d>;
+ tps: tps@24 {
+  reg = <0x24>;
  };
 };
 
@@ -1376,9 +1376,9 @@
   status = "okay";
 
 
-  AVDD-supply = <&vaux2_reg>;
-  IOVDD-supply = <&vaux2_reg>;
-  DRVDD-supply = <&vaux2_reg>;
+  AVDD-supply = <&ldo2_reg>;
+  IOVDD-supply = <&ldo2_reg>;
+  DRVDD-supply = <&ldo2_reg>;
   DVDD-supply = <&vbat>;
  };
 };
@@ -1406,7 +1406,7 @@
  pinctrl-names = "default";
  pinctrl-0 = <&nandflash_pins_s0>;
 
- ranges = <0 0 0x08000000 0x80000000>;
+ ranges = <0 0 0x08000000 0x40000000>;
  nand@0,0 {
   reg = <0 0 4>;
   ti,nand-ecc-opt = "bch16";
@@ -1495,165 +1495,58 @@
   };
   partition@13 {
    label = "Storage";
-   reg = <0x0A200000 0x75E00000>;
+   reg = <0x0A200000 0x35E00000>;
   };
  };
 };
 
-# 1 "./arch/arm/dts/tps65910.dtsi" 1
-# 14 "./arch/arm/dts/tps65910.dtsi"
-&tps {
- compatible = "ti,tps65910";
-
- regulators {
-  #address-cells = <1>;
-  #size-cells = <0>;
-
-  vrtc_reg: regulator@0 {
-   reg = <0>;
-   regulator-compatible = "vrtc";
-  };
-
-  vio_reg: regulator@1 {
-   reg = <1>;
-   regulator-compatible = "vio";
-  };
-
-  vdd1_reg: regulator@2 {
-   reg = <2>;
-   regulator-compatible = "vdd1";
-  };
-
-  vdd2_reg: regulator@3 {
-   reg = <3>;
-   regulator-compatible = "vdd2";
-  };
+/include/ "tps65217.dtsi"
 
-  vdd3_reg: regulator@4 {
-   reg = <4>;
-   regulator-compatible = "vdd3";
-  };
-
-  vdig1_reg: regulator@5 {
-   reg = <5>;
-   regulator-compatible = "vdig1";
-  };
-
-  vdig2_reg: regulator@6 {
-   reg = <6>;
-   regulator-compatible = "vdig2";
-  };
-
-  vpll_reg: regulator@7 {
-   reg = <7>;
-   regulator-compatible = "vpll";
-  };
-
-  vdac_reg: regulator@8 {
-   reg = <8>;
-   regulator-compatible = "vdac";
-  };
-
-  vaux1_reg: regulator@9 {
-   reg = <9>;
-   regulator-compatible = "vaux1";
-  };
-
-  vaux2_reg: regulator@10 {
-   reg = <10>;
-   regulator-compatible = "vaux2";
-  };
-
-  vaux33_reg: regulator@11 {
-   reg = <11>;
-   regulator-compatible = "vaux33";
-  };
-
-  vmmc_reg: regulator@12 {
-   reg = <12>;
-   regulator-compatible = "vmmc";
-  };
-
-  vbb_reg: regulator@13 {
-   reg = <13>;
-   regulator-compatible = "vbb";
-  };
- };
-};
-# 616 "<stdin>" 2
-# 633 "<stdin>"
 &tps {
- vcc1-supply = <&vbat>;
- vcc2-supply = <&vbat>;
- vcc3-supply = <&vbat>;
- vcc4-supply = <&vbat>;
- vcc5-supply = <&vbat>;
- vcc6-supply = <&vbat>;
- vcc7-supply = <&vbat>;
- vccio-supply = <&vbat>;
+# 635 "<stdin>"
+ ti,pmic-shutdown-controller;
 
  regulators {
-  vrtc_reg: regulator@0 {
-   regulator-always-on;
-  };
-
-  vio_reg: regulator@1 {
+  dcdc1_reg: regulator@0 {
+   regulator-name = "vdds_dpr";
    regulator-always-on;
   };
 
-  vdd1_reg: regulator@2 {
+  dcdc2_reg: regulator@1 {
 
    regulator-name = "vdd_mpu";
-   regulator-min-microvolt = <912500>;
-   regulator-max-microvolt = <1312500>;
+   regulator-min-microvolt = <1100000>;
+   regulator-max-microvolt = <1325000>;
    regulator-boot-on;
    regulator-always-on;
   };
 
-  vdd2_reg: regulator@3 {
+  dcdc3_reg: regulator@2 {
 
    regulator-name = "vdd_core";
-   regulator-min-microvolt = <912500>;
+   regulator-min-microvolt = <925000>;
    regulator-max-microvolt = <1150000>;
    regulator-boot-on;
    regulator-always-on;
   };
 
-  vdd3_reg: regulator@4 {
-   regulator-always-on;
-  };
-
-  vdig1_reg: regulator@5 {
-   regulator-always-on;
-  };
-
-  vdig2_reg: regulator@6 {
-   regulator-always-on;
-  };
-
-  vpll_reg: regulator@7 {
-   regulator-always-on;
-  };
-
-  vdac_reg: regulator@8 {
-   regulator-always-on;
-  };
-
-  vaux1_reg: regulator@9 {
+  ldo1_reg: regulator@3 {
+   regulator-name = "vio,vrtc,vdds";
    regulator-always-on;
   };
 
-  vaux2_reg: regulator@10 {
+  ldo2_reg: regulator@4 {
+   regulator-name = "vdd_3v3aux";
    regulator-always-on;
   };
 
-  vaux33_reg: regulator@11 {
+  ldo3_reg: regulator@5 {
+   regulator-name = "vdd_1v8";
    regulator-always-on;
   };
 
-  vmmc_reg: regulator@12 {
-   regulator-min-microvolt = <1800000>;
-   regulator-max-microvolt = <3300000>;
+  ldo4_reg: regulator@6 {
+   regulator-name = "vdd_3v3a";
    regulator-always-on;
   };
  };
@@ -1700,7 +1593,7 @@
 
 &mmc1 {
  status = "okay";
- vmmc-supply = <&vmmc_reg>;
+ vmmc-supply = <&ldo4_reg>;
  bus-width = <4>;
  pinctrl-names = "default";
  pinctrl-0 = <&mmc1_pins_default>;

+ 43 - 70
board-support/u-boot-2017.01+gitAUTOINC+340fb36f04-g340fb36f04/arch/arm/dts/am335x-evm.dts

@@ -21,7 +21,7 @@
 
 	cpus {
 		cpu@0 {
-			cpu0-supply = <&vdd1_reg>;
+			cpu0-supply = <&dcdc2_reg>;
 		};
 	};
 
@@ -403,8 +403,8 @@
 	status = "okay";
 	clock-frequency = <400000>;
 
-	tps: tps@2d {
-		reg = <0x2d>;
+	tps: tps@24 {
+		reg = <0x24>;
 	};
 };
 
@@ -488,9 +488,9 @@
 		status = "okay";
 
 		/* Regulators */
-		AVDD-supply = <&vaux2_reg>;
-		IOVDD-supply = <&vaux2_reg>;
-		DRVDD-supply = <&vaux2_reg>;
+		AVDD-supply = <&ldo2_reg>;
+		IOVDD-supply = <&ldo2_reg>;
+		DRVDD-supply = <&ldo2_reg>;
 		DVDD-supply = <&vbat>;
 	};
 };
@@ -518,7 +518,7 @@
 	pinctrl-names = "default";
 	pinctrl-0 = <&nandflash_pins_s0>;
 	/*ranges = <0 0 0x08000000 0x1000000>;*/	/* CS0: 16MB for NAND */
-	ranges = <0 0 0x08000000 0x80000000>;	/*+++ vern,NAND,20181030 ---*/
+	ranges = <0 0 0x08000000 0x40000000>;	/*+++ vern,NAND,20181030 ---*/
 	nand@0,0 {
 		reg = <0 0 4>; /* CS0, offset 0, IO size 4 */
 		ti,nand-ecc-opt = "bch16";
@@ -607,101 +607,74 @@
 		};
 		partition@13 {
 			label = "Storage";
-			reg = <0x0A200000 0x75E00000>;
+			reg = <0x0A200000 0x35E00000>;
 		};
 	};
 };
 
-#include "tps65910.dtsi"
-#if 0
-&mcasp1 {
-		pinctrl-names = "default";
-		pinctrl-0 = <&am335x_evm_audio_pins>;
-
-		status = "okay";
+/include/ "tps65217.dtsi"
 
-		op-mode = <0>;          /* MCASP_IIS_MODE */
-		tdm-slots = <2>;
-		/* 4 serializers */
-		serial-dir = <  /* 0: INACTIVE, 1: TX, 2: RX */
-			0 0 1 2
-		>;
-		tx-num-evt = <32>;
-		rx-num-evt = <32>;
-};
-#endif
 &tps {
-	vcc1-supply = <&vbat>;
-	vcc2-supply = <&vbat>;
-	vcc3-supply = <&vbat>;
-	vcc4-supply = <&vbat>;
-	vcc5-supply = <&vbat>;
-	vcc6-supply = <&vbat>;
-	vcc7-supply = <&vbat>;
-	vccio-supply = <&vbat>;
+	/*
+	 * Configure pmic to enter OFF-state instead of SLEEP-state ("RTC-only
+	 * mode") at poweroff.  Most BeagleBone versions do not support RTC-only
+	 * mode and risk hardware damage if this mode is entered.
+	 *
+	 * For details, see linux-omap mailing list May 2015 thread
+	 *	[PATCH] ARM: dts: am335x-bone* enable pmic-shutdown-controller
+	 * In particular, messages:
+	 *	http://www.spinics.net/lists/linux-omap/msg118585.html
+	 *	http://www.spinics.net/lists/linux-omap/msg118615.html
+	 *
+	 * You can override this later with
+	 *	&tps {  /delete-property/ ti,pmic-shutdown-controller;  }
+	 * if you want to use RTC-only mode and made sure you are not affected
+	 * by the hardware problems. (Tip: double-check by performing a current
+	 * measurement after shutdown: it should be less than 1 mA.)
+	 */
+	ti,pmic-shutdown-controller;
 
 	regulators {
-		vrtc_reg: regulator@0 {
+		dcdc1_reg: regulator@0 {
+			regulator-name = "vdds_dpr";
 			regulator-always-on;
 		};
 
-		vio_reg: regulator@1 {
-			regulator-always-on;
-		};
-
-		vdd1_reg: regulator@2 {
+		dcdc2_reg: regulator@1 {
 			/* VDD_MPU voltage limits 0.95V - 1.26V with +/-4% tolerance */
 			regulator-name = "vdd_mpu";
-			regulator-min-microvolt = <912500>;
-			regulator-max-microvolt = <1312500>;
+			regulator-min-microvolt = <1100000>;
+			regulator-max-microvolt = <1325000>;
 			regulator-boot-on;
 			regulator-always-on;
 		};
 
-		vdd2_reg: regulator@3 {
+		dcdc3_reg: regulator@2 {
 			/* VDD_CORE voltage limits 0.95V - 1.1V with +/-4% tolerance */
 			regulator-name = "vdd_core";
-			regulator-min-microvolt = <912500>;
+			regulator-min-microvolt = <925000>;
 			regulator-max-microvolt = <1150000>;
 			regulator-boot-on;
 			regulator-always-on;
 		};
 
-		vdd3_reg: regulator@4 {
-			regulator-always-on;
-		};
-
-		vdig1_reg: regulator@5 {
-			regulator-always-on;
-		};
-
-		vdig2_reg: regulator@6 {
-			regulator-always-on;
-		};
-
-		vpll_reg: regulator@7 {
-			regulator-always-on;
-		};
-
-		vdac_reg: regulator@8 {
-			regulator-always-on;
-		};
-
-		vaux1_reg: regulator@9 {
+		ldo1_reg: regulator@3 {
+			regulator-name = "vio,vrtc,vdds";
 			regulator-always-on;
 		};
 
-		vaux2_reg: regulator@10 {
+		ldo2_reg: regulator@4 {
+			regulator-name = "vdd_3v3aux";
 			regulator-always-on;
 		};
 
-		vaux33_reg: regulator@11 {
+		ldo3_reg: regulator@5 {
+			regulator-name = "vdd_1v8";
 			regulator-always-on;
 		};
 
-		vmmc_reg: regulator@12 {
-			regulator-min-microvolt = <1800000>;
-			regulator-max-microvolt = <3300000>;
+		ldo4_reg: regulator@6 {
+			regulator-name = "vdd_3v3a";
 			regulator-always-on;
 		};
 	};
@@ -748,7 +721,7 @@
 
 &mmc1 {
 	status = "okay";
-	vmmc-supply = <&vmmc_reg>;
+	vmmc-supply = <&ldo4_reg>;
 	bus-width = <4>;
 	pinctrl-names = "default";
 	pinctrl-0 = <&mmc1_pins_default>;