Эх сурвалжийг харах

Merge branch 'master' into DO360

Wendell 3 жил өмнө
parent
commit
a1ae06727f
57 өөрчлөгдсөн 2605 нэмэгдсэн , 4208 устгасан
  1. 7 0
      EVSE/Modularization/ocpp20/Module_OcppBackend20.c
  2. 8 1
      EVSE/Modularization/ocppfiles/Module_OcppBackend.c
  3. 7 0
      EVSE/Modularization/ocppph/Module_OcppBackend.c
  4. 284 307
      EVSE/Projects/AW-CCS/Apps/CCS/Module_CCS.c
  5. 1 12
      EVSE/Projects/AW-CCS/Apps/CCS/Module_CCS.h
  6. 1 4
      EVSE/Projects/AW-CCS/Apps/CCS/NidNmk.c
  7. 0 54
      EVSE/Projects/AW-CCS/Apps/CCS/NidNmk.h
  8. 6 0
      EVSE/Projects/AW-CCS/Apps/CCS/SystemLogMessage.c
  9. 21 33
      EVSE/Projects/AW-CCS/Apps/CCS/SystemLogMessage.h
  10. 23 18
      EVSE/Projects/AW-CCS/Apps/CCS/define_ccs.h
  11. 22 48
      EVSE/Projects/AW-CCS/Apps/CCS/v2g/api/api.c
  12. 27 25
      EVSE/Projects/DS60-120/Apps/CheckSystemTask.c
  13. 9 68
      EVSE/Projects/DS60-120/Apps/Config.h
  14. BIN
      EVSE/Projects/DS60-120/Apps/FactoryConfig
  15. 7 0
      EVSE/Projects/DS60-120/Apps/FactoryConfig.c
  16. BIN
      EVSE/Projects/DS60-120/Apps/Module_EvComm
  17. 414 415
      EVSE/Projects/DS60-120/Apps/Module_EvComm.c
  18. BIN
      EVSE/Projects/DS60-120/Apps/Module_EventLogging
  19. BIN
      EVSE/Projects/DS60-120/Apps/Module_InternalComm
  20. 52 14
      EVSE/Projects/DS60-120/Apps/Module_InternalComm.c
  21. BIN
      EVSE/Projects/DS60-120/Apps/Module_LcmControl
  22. 3 313
      EVSE/Projects/DS60-120/Apps/Module_LcmControl.c
  23. BIN
      EVSE/Projects/DS60-120/Apps/Module_PrimaryComm
  24. BIN
      EVSE/Projects/DS60-120/Apps/Module_PsuComm
  25. 76 138
      EVSE/Projects/DS60-120/Apps/Module_PsuComm.c
  26. 5 4
      EVSE/Projects/DS60-120/Apps/Module_PsuComm.h
  27. BIN
      EVSE/Projects/DS60-120/Apps/ReadCmdline
  28. 29 117
      EVSE/Projects/DS60-120/Apps/ReadCmdline.c
  29. BIN
      EVSE/Projects/DS60-120/Apps/UnsafetyOutputTask
  30. BIN
      EVSE/Projects/DS60-120/Apps/main
  31. 337 314
      EVSE/Projects/DS60-120/Apps/main.c
  32. BIN
      EVSE/Projects/DS60-120/Images/MLO
  33. BIN
      EVSE/Projects/DS60-120/Images/ramdisk.gz
  34. BIN
      EVSE/Projects/DS60-120/Images/u-boot.img
  35. BIN
      EVSE/Projects/DS60-120/Images/zImage
  36. 3 892
      EVSE/rootfs/root/cacert.pem
  37. 297 297
      board-support/linux-4.9.59+gitAUTOINC+a75d8e9305-ga75d8e9305/.tmp_System.map
  38. 289 289
      board-support/linux-4.9.59+gitAUTOINC+a75d8e9305-ga75d8e9305/.tmp_kallsyms1.S
  39. 289 289
      board-support/linux-4.9.59+gitAUTOINC+a75d8e9305-ga75d8e9305/.tmp_kallsyms2.S
  40. 1 1
      board-support/linux-4.9.59+gitAUTOINC+a75d8e9305-ga75d8e9305/.version
  41. 99 47
      board-support/linux-4.9.59+gitAUTOINC+a75d8e9305-ga75d8e9305/arch/arm/boot/dts/.am335x-evm.dtb.dts.tmp
  42. 84 75
      board-support/linux-4.9.59+gitAUTOINC+a75d8e9305-ga75d8e9305/arch/arm/boot/dts/am335x-evm.dts
  43. 13 31
      board-support/linux-4.9.59+gitAUTOINC+a75d8e9305-ga75d8e9305/scripts/.conmakehash.cmd
  44. 15 33
      board-support/linux-4.9.59+gitAUTOINC+a75d8e9305-ga75d8e9305/scripts/.kallsyms.cmd
  45. 13 36
      board-support/linux-4.9.59+gitAUTOINC+a75d8e9305-ga75d8e9305/scripts/.sortextable.cmd
  46. 5 10
      board-support/linux-4.9.59+gitAUTOINC+a75d8e9305-ga75d8e9305/scripts/basic/.bin2c.cmd
  47. 20 38
      board-support/linux-4.9.59+gitAUTOINC+a75d8e9305-ga75d8e9305/scripts/basic/.fixdep.cmd
  48. 14 33
      board-support/linux-4.9.59+gitAUTOINC+a75d8e9305-ga75d8e9305/scripts/mod/.mk_elfconfig.cmd
  49. 16 39
      board-support/linux-4.9.59+gitAUTOINC+a75d8e9305-ga75d8e9305/usr/.gen_init_cpio.cmd
  50. 3 3
      board-support/u-boot-2017.01+gitAUTOINC+340fb36f04-g340fb36f04/arch/arm/dts/.am335x-evm.dtb.dts.tmp
  51. 4 4
      board-support/u-boot-2017.01+gitAUTOINC+340fb36f04-g340fb36f04/arch/arm/dts/am335x-evm.dts
  52. 10 8
      board-support/u-boot-2017.01+gitAUTOINC+340fb36f04-g340fb36f04/arch/arm/lib/.asm-offsets.s.cmd
  53. 10 8
      board-support/u-boot-2017.01+gitAUTOINC+340fb36f04-g340fb36f04/lib/.asm-offsets.s.cmd
  54. 20 38
      board-support/u-boot-2017.01+gitAUTOINC+340fb36f04-g340fb36f04/scripts/basic/.fixdep.cmd
  55. 19 45
      board-support/u-boot-2017.01+gitAUTOINC+340fb36f04-g340fb36f04/tools/.gen_eth_addr.cmd
  56. 19 45
      board-support/u-boot-2017.01+gitAUTOINC+340fb36f04-g340fb36f04/tools/.img2srec.cmd
  57. 23 62
      board-support/u-boot-2017.01+gitAUTOINC+340fb36f04-g340fb36f04/tools/.proftool.cmd

+ 7 - 0
EVSE/Modularization/ocpp20/Module_OcppBackend20.c

@@ -317,6 +317,13 @@ static int OCPP20Callback(struct lws *wsi, enum lws_callback_reasons reason, voi
 		case LWS_CALLBACK_WS_PEER_INITIATED_CLOSE:
 			DEBUG_INFO("LWS_CALLBACK_WS_PEER_INITIATED_CLOSE\n");
 			break;
+		case LWS_CALLBACK_CLOSED_CLIENT_HTTP:
+			DEBUG_INFO("LWS_CALLBACK_CLOSED_CLIENT_HTTP\n");
+			if(GetInternetConn() == 1)
+			{
+				DEBUG_INFO("Download new CA certification.\n", system("wget --no-check-certificate -O /root/cacert.pem http://curl.haxx.se/ca/cacert.pem &"));
+			}
+			break;
 		default:
 			DEBUG_INFO("Reason = %d\n", reason);
 			break;

+ 8 - 1
EVSE/Modularization/ocppfiles/Module_OcppBackend.c

@@ -373,12 +373,19 @@ static int OCPP16Callback(struct lws *wsi, enum lws_callback_reasons reason, voi
 		case LWS_CALLBACK_WS_PEER_INITIATED_CLOSE:
 			DEBUG_INFO("LWS_CALLBACK_WS_PEER_INITIATED_CLOSE\n");
 			break;
+		case LWS_CALLBACK_CLOSED_CLIENT_HTTP:
+			DEBUG_INFO("LWS_CALLBACK_CLOSED_CLIENT_HTTP\n");
+			if(GetInternetConn() == 1)
+			{
+				DEBUG_INFO("Download new CA certification.\n", system("wget --no-check-certificate -O /root/cacert.pem http://curl.haxx.se/ca/cacert.pem &"));
+			}
+			break;
+			break;
 		default:
 			DEBUG_INFO("Reason = %d\n", reason);
 			break;
 	}
 
-
 	return 0;
 }
 

+ 7 - 0
EVSE/Modularization/ocppph/Module_OcppBackend.c

@@ -373,6 +373,13 @@ static int OCPP16Callback(struct lws *wsi, enum lws_callback_reasons reason, voi
 		case LWS_CALLBACK_WS_PEER_INITIATED_CLOSE:
 			DEBUG_INFO("LWS_CALLBACK_WS_PEER_INITIATED_CLOSE\n");
 			break;
+		case LWS_CALLBACK_CLOSED_CLIENT_HTTP:
+			DEBUG_INFO("LWS_CALLBACK_CLOSED_CLIENT_HTTP\n");
+			if(GetInternetConn() == 1)
+			{
+				DEBUG_INFO("Download new CA certification.\n", system("wget --no-check-certificate -O /root/cacert.pem http://curl.haxx.se/ca/cacert.pem &"));
+			}
+			break;
 		default:
 			DEBUG_INFO("Reason = %d\n", reason);
 			break;

Файлын зөрүү хэтэрхий том тул дарагдсан байна
+ 284 - 307
EVSE/Projects/AW-CCS/Apps/CCS/Module_CCS.c


+ 1 - 12
EVSE/Projects/AW-CCS/Apps/CCS/Module_CCS.h

@@ -40,21 +40,10 @@
 
 //#define TEST_WITH_ETH0
 
-#define SAVE_SYS_LOG_MSG_EVCOMM_SWITCH		ENABLE
-#define DEBUG_PRINTF_EVCOMM_SHOW			ENABLE
-#define DEBUG_PRINTF_EVCOMM_BRIEF_SHOW		ENABLE
-#define DEBUG_PRINTF_EVCOMM_DETAIL_SHOW		DISABLE
-#define	DEBUG_PRINTF_EVCOMM_SYSTEM_LOG_SHOW	ENABLE
-
-
-#define V2GT_MSG_PROTOCOL_DIN70121                  0
-#define V2GT_MSG_PROTOCOL_ISO15118_2014             1    //i.e. ISO15118-2 (ISO 1)
-#define V2GT_MSG_PROTOCOL_ISO15118_2018             2    //i.e. ISO15118-20 (ISO 2)
-
 #define	QcaInterface						"eth1"
 #define SupportBcbToggle
 #define	SdpUdpServerPort					15118
-#define	SdpTcpServerPort					59438		//49152-65535
+#define	SdpTcpServerPort					50438		//49152-65535
 #define	IPV6_LINK_LOCAL_PREFIX				0xFE80
 #define V2GTP_MSG_RX_BUFFER_SIZE            (64*1024)   //65,536 = 65.5KB
 #define V2GTP_MSG_TX_BUFFER_SIZE            (64*1024)   //65,536 = 65.5KB

+ 1 - 4
EVSE/Projects/AW-CCS/Apps/CCS/NidNmk.c

@@ -17,8 +17,6 @@ INPUT:
 OUTPUT:
 GLOBAL VARIABLES:
 =============================================================================*/
-
-
 void HPAVKeyNMK(uint8_t NMK [], const char *string)
 
 {
@@ -53,7 +51,6 @@ void HPAVKeyNMK(uint8_t NMK [], const char *string)
     return;
 }
 
-
 void HPAVKeyNID(uint8_t NID[], const uint8_t NMK[], uint8_t level)
 {
     struct sha256 sha256;
@@ -267,8 +264,8 @@ void SHA256Write(struct sha256 *sha256, void const *memory, uint16_t extent)
 
     return;
 }
-void SHAEncode(uint8_t memory[], uint32_t number)
 
+void SHAEncode(uint8_t memory[], uint32_t number)
 {
     *memory++ = (uint8_t)(number >> 24);
     *memory++ = (uint8_t)(number >> 16);

+ 0 - 54
EVSE/Projects/AW-CCS/Apps/CCS/NidNmk.h

@@ -11,26 +11,6 @@
 #include <stdlib.h>
 #include <string.h>
 
-#if FIRMWARE_VERSION_COMPILE_SETTING_RELEASE_MODE == ENABLE
-//Saving System Log
-#define SAVE_SYS_LOG_MSG_NIDNMK_SWITCH         DISABLE      //ENABLE, DISABLE
-
-//Configuration for Debug Print Messages
-#define DEBUG_PRINTF_NIDNMK_SHOW               DISABLE      //ENABLE, DISABLE
-#define DEBUG_PRINTF_NIDNMK_BRIEF_SHOW         DISABLE      //ENABLE, DISABLE
-#define DEBUG_PRINTF_NIDNMK_DETAIL_SHOW        DISABLE      //ENABLE, DISABLE
-#define DEBUG_PRINTF_NIDNMK_SYSTEM_LOG_SHOW    DISABLE      //ENABLE, DISABLE
-#else //debug mode
-//Saving System Log
-#define SAVE_SYS_LOG_MSG_NIDNMK_SWITCH         ENABLE      //ENABLE, DISABLE
-
-//Configuration for Debug Print Messages
-#define DEBUG_PRINTF_NIDNMK_SHOW               ENABLE      //ENABLE, DISABLE
-#define DEBUG_PRINTF_NIDNMK_BRIEF_SHOW         ENABLE      //ENABLE, DISABLE
-#define DEBUG_PRINTF_NIDNMK_DETAIL_SHOW        ENABLE      //ENABLE, DISABLE
-#define DEBUG_PRINTF_NIDNMK_SYSTEM_LOG_SHOW    ENABLE      //ENABLE, DISABLE
-#endif
-
 typedef struct sha256
 {
 
@@ -58,37 +38,3 @@ void SHA256Write(struct sha256 *sha256, void const *memory, uint16_t extent);
 void SHAEncode(uint8_t memory [], uint32_t number);
 void SHA256Fetch(struct sha256 *sha256, uint8_t digest []);
 
-//System Log
-#if SAVE_SYS_LOG_MSG_NIDNMK_SWITCH == ENABLE
-    #define SAVE_SYS_LOG_MSG_NIDNMK     StoreLogMsg
-#else
-    #define SAVE_SYS_LOG_MSG_NIDNMK(...)
-#endif
-
-//Debug Message
-#if DEBUG_PRINTF_NIDNMK_SHOW == ENABLE
-    //Brief Messages
-    #if DEBUG_PRINTF_NIDNMK_BRIEF_SHOW == ENABLE
-        #define DEBUG_PRINTF_NIDNMK_BRIEF      printf
-    #else
-        #define DEBUG_PRINTF_NIDNMK_BRIEF(...)
-    #endif
-
-    //Detail Messages
-    #if DEBUG_PRINTF_NIDNMK_DETAIL_SHOW == ENABLE
-        #define DEBUG_PRINTF_NIDNMK_DETAIL     printf
-    #else
-        #define DEBUG_PRINTF_NIDNMK_DETAIL(...)
-    #endif
-
-    //System Log Messages
-    #if DEBUG_PRINTF_NIDNMK_SYSTEM_LOG_SHOW == ENABLE
-        #define DEBUG_PRINTF_NIDNMK_SYSTEM_LOG    printf
-    #else
-        #define DEBUG_PRINTF_NIDNMK_SYSTEM_LOG(...)
-    #endif
-#else
-    #define DEBUG_PRINTF_NIDNMK_BRIEF(...)
-    #define DEBUG_PRINTF_NIDNMK_DETAIL(...)
-    #define DEBUG_PRINTF_NIDNMK_SYSTEM_LOG(...)
-#endif

+ 6 - 0
EVSE/Projects/AW-CCS/Apps/CCS/SystemLogMessage.c

@@ -1,3 +1,9 @@
+/*
+ * Module_CCS.c
+ *
+ *  Created on: 2020/03/16
+ *      Author: foluswen
+ */
 #include 	<sys/time.h>
 #include 	<sys/timeb.h>
 #include    <sys/types.h>

+ 21 - 33
EVSE/Projects/AW-CCS/Apps/CCS/SystemLogMessage.h

@@ -1,48 +1,36 @@
+/*
+ * Module_CCS.c
+ *
+ *  Created on: 2020/03/16
+ *      Author: foluswen
+ */
 #ifndef SystemLogMessage_H
 #define SystemLogMessage_H
 
-/*SystemLog message*/
 #define SystemLogMessage            //for engineer to do analysis
 //#define ConsloePrintLog
 
-//System Log
-#if SAVE_SYS_LOG_MSG_EVCOMM_SWITCH == ENABLE
-    #define SAVE_SYS_LOG_MSG_EVCOMM(format, args...) StoreLogMsg("[%s:%d][%s] "format, __FILE__, __LINE__, __FUNCTION__, ##args)
+#define SAVE_SYS_LOG_MSG_EVCOMM
+//#define DEBUG_PRINTF_EVCOMM_DETAIL_SHOW
+
+// Normal debug Message
+#ifdef SAVE_SYS_LOG_MSG_EVCOMM
+	#define DEBUG_INFO(format, args...) StoreLogMsg("[%s:%d][%s][Info] "format, (strrchr(__FILE__, '/') ? strrchr(__FILE__, '/') + 1 : __FILE__), __LINE__, __FUNCTION__, ##args)
+	#define DEBUG_WARN(format, args...) StoreLogMsg("[%s:%d][%s][Warn] "format, (strrchr(__FILE__, '/') ? strrchr(__FILE__, '/') + 1 : __FILE__), __LINE__, __FUNCTION__, ##args)
+	#define DEBUG_ERROR(format, args...) StoreLogMsg("[%s:%d][%s][Error] "format, (strrchr(__FILE__, '/') ? strrchr(__FILE__, '/') + 1 : __FILE__), __LINE__, __FUNCTION__, ##args)
 #else
-    #define SAVE_SYS_LOG_MSG_EVCOMM(...)
+    #define DEBUG_INFO(...)
+	#define DEBUG_WARN(...)
+	#define DEBUG_ERROR(...)
 #endif
 
-//Debug Message
-#if DEBUG_PRINTF_EVCOMM_SHOW == ENABLE
-    //Brief Messages
-    #if DEBUG_PRINTF_EVCOMM_BRIEF_SHOW == ENABLE
-        #define DEBUG_PRINTF_EVCOMM_BRIEF(format, args...) StoreLogMsg("[%s:%d][%s] "format, __FILE__, __LINE__, __FUNCTION__, ##args)
-    #else
-        #define DEBUG_PRINTF_EVCOMM_BRIEF(...)
-    #endif
-
-    //Detail Messages
-    #if DEBUG_PRINTF_EVCOMM_DETAIL_SHOW == ENABLE
-        #define DEBUG_PRINTF_EVCOMM_DETAIL(format, args...) StoreLogMsg("[%s:%d][%s] "format, __FILE__, __LINE__, __FUNCTION__, ##args)
-    #else
-        #define DEBUG_PRINTF_EVCOMM_DETAIL(...)
-    #endif
-
-    //System Log Messages
-    #if DEBUG_PRINTF_EVCOMM_SYSTEM_LOG_SHOW == ENABLE
-        #define DEBUG_PRINTF_EVCOMM_SYSTEM_LOG(format, args...) StoreLogMsg("[%s:%d][%s] "format, __FILE__, __LINE__, __FUNCTION__, ##args)
-    #else
-        #define DEBUG_PRINTF_EVCOMM_SYSTEM_LOG(...)
-    #endif
+// Detail debug Message, will effect SLAC if enable
+#ifdef DEBUG_PRINTF_EVCOMM_DETAIL_SHOW
+	#define DEBUG_PRINTF_EVCOMM_DETAIL(format, args...) StoreLogMsg("[%s:%d][%s][Detail] "format, (strrchr(__FILE__, '/') ? strrchr(__FILE__, '/') + 1 : __FILE__), __LINE__, __FUNCTION__, ##args)
 #else
-    #define DEBUG_PRINTF_EVCOMM_BRIEF(...)
-    #define DEBUG_PRINTF_EVCOMM_DETAIL(...)
-    #define DEBUG_PRINTF_EVCOMM_SYSTEM_LOG(...)
+	#define DEBUG_PRINTF_EVCOMM_DETAIL(...)
 #endif
 
-#define DEBUG_INFO(format, args...) StoreLogMsg("[%s:%d][%s][Info] "format, (strrchr(__FILE__, '/') ? strrchr(__FILE__, '/') + 1 : __FILE__), __LINE__, __FUNCTION__, ##args)
-#define DEBUG_WARN(format, args...) StoreLogMsg("[%s:%d][%s][Warn] "format, (strrchr(__FILE__, '/') ? strrchr(__FILE__, '/') + 1 : __FILE__), __LINE__, __FUNCTION__, ##args)
-#define DEBUG_ERROR(format, args...) StoreLogMsg("[%s:%d][%s][Error] "format, (strrchr(__FILE__, '/') ? strrchr(__FILE__, '/') + 1 : __FILE__), __LINE__, __FUNCTION__, ##args)
 
 int StoreLogMsg(const char *fmt, ...);
 

+ 23 - 18
EVSE/Projects/AW-CCS/Apps/CCS/define_ccs.h

@@ -73,13 +73,16 @@
 #define CCS_AC_SIG_METER_READING                "SIG_METER_READING_ABCDE-0123456789" //max = 64 bytes
 
 /*CCS Protocol ID*/
-#define V2GT_MSG_PROTOCOL_DIN70121                  0
-#define V2GT_MSG_PROTOCOL_ISO15118_2014             1    //i.e. ISO15118-2 (ISO 1)
-#define V2GT_MSG_PROTOCOL_ISO15118_2018             2    //i.e. ISO15118-20 (ISO 2)
-#define V2GT_MSG_PROTOCOL_HIGHEST_PRIORITY          255  //for auto detect highest priority protocol
+enum V2GT_MSG_PROTOCOL
+{
+	V2GT_MSG_PROTOCOL_DIN70121=0,
+	V2GT_MSG_PROTOCOL_ISO15118_2014,			//i.e. ISO15118-2 (ISO 1)
+	V2GT_MSG_PROTOCOL_ISO15118_2018,			//i.e. ISO15118-20 (ISO 2)
+	V2GT_MSG_PROTOCOL_HIGHEST_PRIORITY=255		//for auto detect highest priority protocol
+};
 
 #define V2GT_MSG_PROTOCOL_PREFERENCE                V2GT_MSG_PROTOCOL_ISO15118_2014
-#define CCS_ENERGY_TRANSFER_MODE                    MODE_AC_THREE_PHASE_CORE
+#define CCS_ENERGY_TRANSFER_MODE                    MODE_AC_SINGLE_PHASE_CORE
                                                     //DC: MODE_DC_EXTENDED (default)
                                                     //AC: MODE_AC_SINGLE_PHASE_CORE, MODE_AC_THREE_PHASE_CORE
 
@@ -87,26 +90,28 @@
 #define SET_5_PWM_ONCE_RX_CM_SLAC_PARM_REQ                  1
 #define SET_5_PWM_ONCE_GET_PERMISSION_IN_AUTHORIZATIONRES   2
 
-#define FIRMWARE_VERSION_COMPILE_SETTING_RELEASE_MODE       ENABLE  //default: ENABLE: release; DISABLE: debug
-#define NEW_SLAC_ARCHITECTURE_SWITCH                        ENABLE  //defualt: ENABLE
-#define CAN_RAMDOM_MATCHING_ID_MECHANISM                    ENABLE  //defualt: ENABLE
-#define CAN_RX_TIMEOUT_MECHANISM                            DISABLE  //defualt: ENABLE
+#define FIRMWARE_VERSION_COMPILE_SETTING_RELEASE_MODE       DISABLE	//default: ENABLE: release; DISABLE: debug
+#define CAN_RAMDOM_MATCHING_ID_MECHANISM                    ENABLE	//defualt: ENABLE
+#define CAN_RX_TIMEOUT_MECHANISM                            DISABLE	//defualt: ENABLE
 #define SLAC_FIRST_RESPONSE_METHOD                          SET_5_PWM_ONCE_GET_PERMISSION_IN_AUTHORIZATIONRES
 
-#define TCPDUMP_PACKETS_SNIFFER_SWITCH                      DISABLE //default: DISABLE
-#define CANDUMP_PACKETS_SNIFFER_SWITCH                      DISABLE //default: DISABLE
+#define TCPDUMP_PACKETS_SNIFFER_SWITCH                      DISABLE	//default: DISABLE
+#define CANDUMP_PACKETS_SNIFFER_SWITCH                      DISABLE	//default: DISABLE
 
-#define DYNAMIC_ETH0_IP_MECHANISM                           ENABLE //default: DISABLE
-#define CP_PROTECTION_MECHANISM                             ENABLE  //default: ENABLE
-#define PP_PROTECTION_MECHANISM                             DISABLE //default: DISABLE
-#define SUDO_PSD_PARAMETER_MECHANISM                        ENABLE  //default: ENABLE
+#define DYNAMIC_ETH0_IP_MECHANISM                           ENABLE	//default: DISABLE
+#define CP_PROTECTION_MECHANISM                             ENABLE	//default: ENABLE
+#define PP_PROTECTION_MECHANISM                             DISABLE	//default: DISABLE
+#define SUDO_PSD_PARAMETER_MECHANISM                        ENABLE	//default: ENABLE
 #define TESLA_SLOW_INCREASE_CURRENT_FUNCTION                DISABLE
 #define V2G_SECC_TIMEOUT_PROTECTION                         ENABLE
 #define PATCH_FOR_BMW_I3_BUG_EVSEMAXIMUMVOLTAGELIMIT_599V   ENABLE   //default: ENABLE; CE/UL: DISABLE
 
 //CSU CAN Message EV Stop Type
-#define EV_NORMAL_STOP      1
-#define EV_EMERGENCY_STOP   2
+enum EV_STOP_TYPE
+{
+	EV_NORMAL_STOP=1,
+	EV_EMERGENCY_STOP
+};
 
 //CSU CAN Message GFD Isolation Status Type
 #define GFD_Invalid       0     //ongoing
@@ -161,7 +166,7 @@
 #define CSUCOMMAC_SHM              (ShmCharger->gun_info[0].acCcsInfo)
 #define EVCOMM_SYS_INFO            (ShmSysConfigAndInfo->SysInfo.CcsChargingData[0])
 #define SLAC_INFO                  (ShmSysConfigAndInfo->SysInfo.CcsChargingData[0].evcc_slac_data)
-#define CCS_HANDSHAKE_PROTOCOLS    (ccs_handshake.supportedAppProtocolReq.AppProtocol)
+#define CCS_HANDSHAKE_PROTOCOLS    (v2gObject.appHandshake.supportedAppProtocolReq.AppProtocol)
 
 #define GPIO_SYS_DIR 		       "/sys/class/gpio"
 #define GPIO_2_23_AM_IO_1          87

+ 22 - 48
EVSE/Projects/AW-CCS/Apps/CCS/v2g/api/api.c

@@ -669,7 +669,6 @@ int Check_V2G_Rx_Msg_Name_iso2(struct iso2EXIDocument *exi_doc_ISO2)
 	return errn;
 }
 
-
 /*===========================================================================
 FUNCTION: SAVE_PhysicalValueType_DIN70121
 DESCRIPTION:
@@ -735,7 +734,6 @@ void SAVE_PhysicalValueType_ISO15118_2014(struct PhysicalValueType_ISO15118_2014
         case V_ISO15118_2014:
             out->Multiplier = -1;
             break;    //KW
-
         case W_ISO15118_2014:
         case Wh_ISO15118_2014:
 			out->Value = in_value * 10;
@@ -754,7 +752,6 @@ void SAVE_PhysicalValueType_ISO15118_2014(struct PhysicalValueType_ISO15118_2014
     //WH_DIN70121 = 9};
 }
 
-
 /*===========================================================================
 FUNCTION: DIN70121PhyValDecode
 DESCRIPTION:
@@ -855,7 +852,6 @@ float ISO151182014PhyValDecode(struct PhysicalValueType_ISO15118_2014 PhysicalDa
     return 0;
 }
 
-
 /*===========================================================================
 FUNCTION: SHM_Read_dinPhysicalValueType
 DESCRIPTION:
@@ -911,7 +907,6 @@ void SHM_Read_iso1PhysicalValueType(struct iso1PhysicalValueType *out, struct Ph
 	//iso1unitSymbolType_Wh = 6
 }
 
-
 /*===========================================================================
 FUNCTION: SHM_Read_dinDC_EVSEStatusType
 DESCRIPTION:
@@ -1040,7 +1035,7 @@ void SHM_Read_iso1MeterInfo(struct iso1MeterInfoType *out, struct MeterInfoType_
 	int i = 0;
 
 	//[1/5] MeterID
-	out->MeterID.charactersLen = 32;
+	out->MeterID.charactersLen = (strlen((char*)in->MeterID)<iso1MeterInfoType_MeterID_CHARACTERS_SIZE ? strlen((char*)in->MeterID) : iso1MeterInfoType_MeterID_CHARACTERS_SIZE);
 	for (i = 0; i < out->MeterID.charactersLen; i++)
 	{
 		out->MeterID.characters[i] = (unsigned char)in->MeterID[i];
@@ -1052,7 +1047,7 @@ void SHM_Read_iso1MeterInfo(struct iso1MeterInfoType *out, struct MeterInfoType_
 
 	//[3/5] SigMeterReading
 	out->SigMeterReading_isUsed = 1u;
-	out->SigMeterReading.bytesLen = 64;
+	out->SigMeterReading.bytesLen = (strlen((char*)in->SigMeterReading)<iso1MeterInfoType_SigMeterReading_BYTES_SIZE ? strlen((char*)in->SigMeterReading) : iso1MeterInfoType_SigMeterReading_BYTES_SIZE);
 	for (i = 0; i < out->SigMeterReading.bytesLen; i++)
 	{
 		out->SigMeterReading.bytes[i] = (unsigned char)in->SigMeterReading[i];
@@ -1360,7 +1355,6 @@ void SHM_Save_iso1_ServiceAndPaymentSelectionReq(struct CcsData *shm_ccs, struct
     }
 }
 
-
 /*===========================================================================
 FUNCTION: SHM_Save_din_ContractAuthenticationReq
 DESCRIPTION:
@@ -1605,7 +1599,6 @@ void SHM_Save_iso1_ChargeParameterDiscoveryReq(struct CcsData *shm_ccs, struct i
     shm_msg->DC_EVChargeParameter.BulkSOC = (unsigned char) exi->DC_EVChargeParameter.BulkSOC;
 }
 
-
 /*===========================================================================
 FUNCTION: SHM_Save_din_CableCheckReq
 DESCRIPTION:
@@ -1686,7 +1679,6 @@ void SHM_Save_iso1_CableCheckReq(struct CcsData *shm_ccs, struct iso1EXIDocument
 	//}
 }
 
-
 /*===========================================================================
 FUNCTION: SHM_Save_din_PreChargeReq
 DESCRIPTION:
@@ -1913,7 +1905,6 @@ void SHM_Save_iso1_PowerDeliveryReq(struct CcsData *shm_ccs, struct iso1EXIDocum
 	shm_msg->DC_EVPowerDeliveryParameter.ChargingComplete = (BOOL) exi->DC_EVPowerDeliveryParameter.ChargingComplete;
 }
 
-
 /*===========================================================================
 FUNCTION: SHM_Save_din_CurrentDemandReq
 DESCRIPTION:
@@ -2161,7 +2152,6 @@ void SHM_Save_iso1_CurrentDemandReq(struct CcsData *shm_ccs, struct iso1EXIDocum
 	#endif
 }
 
-
 /*===========================================================================
 FUNCTION: SHM_Save_iso1_ChargingStatusReq
 DESCRIPTION:
@@ -2245,7 +2235,6 @@ void SHM_Save_iso1_WeldingDetectionReq(struct CcsData *shm_ccs, struct iso1EXIDo
 	sys->EvBatterySoc = (int) shm_msg->DC_EVStatus.EVRESSSOC;
 }
 
-
 /*===========================================================================
 FUNCTION: SHM_Save_din_SessionStopReq
 DESCRIPTION:
@@ -2302,7 +2291,6 @@ void SHM_Save_iso1_SessionStopReq(struct CcsData *shm_ccs, struct iso1EXIDocumen
 	//null
 }
 
-
 /*===========================================================================
 FUNCTION: SHM_Read_din_SessionSetupRes
 DESCRIPTION:
@@ -2363,7 +2351,6 @@ void SHM_Read_din_ContractAuthenticationRes(struct dinEXIDocument *exi_doc_DIN,
 	out->EVSEProcessing = (BOOL)in->EVSEProcessing; //0(Finished) or 1(Ongoing)
 }
 
-
 /*===========================================================================
 FUNCTION: SHM_Read_din_ChargeParameterDiscoveryRes
 DESCRIPTION:
@@ -2586,7 +2573,6 @@ void SHM_Read_iso1_ChargeParameterDiscoveryRes(struct iso1EXIDocument *exi_doc_I
 	#endif
 }
 
-
 /*===========================================================================
 FUNCTION: SHM_Read_din_CableCheckRes
 DESCRIPTION:
@@ -2657,7 +2643,6 @@ void SHM_Read_iso1_CableCheckRes(struct iso1EXIDocument *exi_doc_ISO1, struct Cc
 	SHM_Read_iso1DC_EVSEStatusType(&out->DC_EVSEStatus, &in->DC_EVSEStatus);
 }
 
-
 /*===========================================================================
 FUNCTION: SHM_Read_din_PreChargeRes
 DESCRIPTION:
@@ -2745,7 +2730,6 @@ void SHM_Read_iso1_PreChargeRes(struct iso1EXIDocument *exi_doc_ISO1, struct Ccs
 	SHM_Read_iso1DC_EVSEStatusType(&out->DC_EVSEStatus, &in->DC_EVSEStatus);
 }
 
-
 /*===========================================================================
 FUNCTION: SHM_Read_din_PowerDeliveryRes
 DESCRIPTION:
@@ -2814,7 +2798,8 @@ void SHM_Read_iso1_PowerDeliveryRes(struct iso1EXIDocument *exi_doc_ISO1, struct
     //----- [BODY (2/3)] DC_EVSEStatus -----
 	#if ((CCS_ENERGY_TRANSFER_MODE == MODE_AC_SINGLE_PHASE_CORE) | (CCS_ENERGY_TRANSFER_MODE == MODE_AC_THREE_PHASE_CORE))
 	{
-		//out->DC_EVSEStatus_isUsed = 0u;
+    	out->AC_EVSEStatus_isUsed = 1u;
+    	SHM_Read_iso1AC_EVSEStatusType(&out->AC_EVSEStatus, &in->AC_EVSEStatus);
 	}
 	#else //CCS_ENERGY_TRANSFER_MODE == MODE_DC_EXTENDED
 	{
@@ -2824,7 +2809,6 @@ void SHM_Read_iso1_PowerDeliveryRes(struct iso1EXIDocument *exi_doc_ISO1, struct
 	#endif
 }
 
-
 /*===========================================================================
 FUNCTION: SHM_Read_din_CurrentDemandRes
 DESCRIPTION:
@@ -2968,7 +2952,6 @@ GLOBAL VARIABLES:
 =============================================================================*/
 void SHM_Read_iso1_ChargingStatusRes(struct iso1EXIDocument *exi_doc_ISO1, struct CcsData *shm_ccs)
 {
-	int i = 0;
 	struct iso1ChargingStatusResType *out;
 	struct ChargingStatusResponse_ISO15118_2014 *in;
 	init_iso1BodyType(&exi_doc_ISO1->V2G_Message.Body);
@@ -2978,7 +2961,6 @@ void SHM_Read_iso1_ChargingStatusRes(struct iso1EXIDocument *exi_doc_ISO1, struc
 	in = &shm_ccs->V2GMessage_ISO15118_2014.ChargingStatusResponse;
 	exi_doc_ISO1->V2G_Message.Body.ChargingStatusRes_isUsed = 1u;
 
-
 	//----- [BODY (1/10)] ResponseCode -----
     out->ResponseCode = (unsigned char)in->ResponseCode;
 
@@ -2993,8 +2975,8 @@ void SHM_Read_iso1_ChargingStatusRes(struct iso1EXIDocument *exi_doc_ISO1, struc
 	out->SAScheduleTupleID = (unsigned char)in->SAScheduleTupleID;	//[CAUTION] data type
 
     //----- [BODY (5/10)] EVSEID -----
-	out->EVSEID.charactersLen = 37;  //min length: 7, max length:37  bytes(ISO1, AC)
-	for (i = 0; i< out->EVSEID.charactersLen; i++)
+	out->EVSEID.charactersLen = (strlen((char*)in->EVSEID)<iso1ChargingStatusResType_EVSEID_CHARACTERS_SIZE) ? strlen((char*)in->EVSEID) : iso1ChargingStatusResType_EVSEID_CHARACTERS_SIZE;  //min length: 7, max length:37  bytes(ISO1, AC)
+	for (uint8_t i = 0; i< out->EVSEID.charactersLen; i++)
 	{
 		out->EVSEID.characters[i] = (unsigned char)in->EVSEID[i];
 	}
@@ -3080,7 +3062,6 @@ void SHM_Read_iso1_WeldingDetectionRes(struct iso1EXIDocument *exi_doc_ISO1, str
     SHM_Read_iso1DC_EVSEStatusType(&out->DC_EVSEStatus, &in->DC_EVSEStatus);
 }
 
-
 /*===========================================================================
 FUNCTION: SHM_Read_din_SessionStopRes
 DESCRIPTION:
@@ -3309,7 +3290,6 @@ void PRINT_XML_DOC_ISO2_SessionSetupReq(struct iso2EXIDocument *exi_doc_ISO2)
     DEBUG_PRINTF_EXI_ENGINE_DETAIL("[END] Parsing SessionSetupReq\n");
 }
 
-
 /*===========================================================================
 FUNCTION: PRINT_XML_DOC_DIN_ServiceDiscoveryReq
 DESCRIPTION:
@@ -3433,7 +3413,6 @@ void PRINT_XML_DOC_ISO1_ServiceDiscoveryReq(struct iso1EXIDocument *exi_doc_ISO1
     DEBUG_PRINTF_EXI_ENGINE_DETAIL("[END] Parsing ServiceDiscoveryReq\n");
 }
 
-
 /*===========================================================================
 FUNCTION: PRINT_XML_DOC_DIN_ServiceAndPaymentSelectionReq
 DESCRIPTION:
@@ -3543,7 +3522,6 @@ void PRINT_XML_DOC_ISO1_ServiceAndPaymentSelectionReq(struct iso1EXIDocument *ex
     DEBUG_PRINTF_EXI_ENGINE_DETAIL(" [END] Parsing PaymentServiceSelectionReq\n");
 }
 
-
 /*===========================================================================
 FUNCTION: PRINT_XML_DOC_DIN_ContractAuthenticationReq
 DESCRIPTION:
@@ -3785,7 +3763,7 @@ void PRINT_XML_DOC_ISO1_ChargeParameterDiscoveryReq(struct iso1EXIDocument *exi_
     //DC_EVStatus
     struct iso1DC_EVStatusType *status;
     status = &exi_doc_ISO1->V2G_Message.Body.ChargeParameterDiscoveryReq.DC_EVChargeParameter.DC_EVStatus;
-    PRINT_iso1DC_EVStatusType(status);
+    if(exi_doc_ISO1->V2G_Message.Body.ChargeParameterDiscoveryReq.DC_EVChargeParameter_isUsed)PRINT_iso1DC_EVStatusType(status);
 
     //EVMaximumCurrentLimit
     obj = &exi_doc_ISO1->V2G_Message.Body.ChargeParameterDiscoveryReq.DC_EVChargeParameter.EVMaximumCurrentLimit;
@@ -3821,7 +3799,6 @@ void PRINT_XML_DOC_ISO1_ChargeParameterDiscoveryReq(struct iso1EXIDocument *exi_
     DEBUG_PRINTF_EXI_ENGINE_DETAIL("[END] Parsing ChargeParameterDiscoveryReq (%d-th)\n", cnt);
 }
 
-
 /*===========================================================================
 FUNCTION: PRINT_XML_DOC_DIN_CableCheckReq
 DESCRIPTION:
@@ -3911,7 +3888,6 @@ void PRINT_XML_DOC_DIN_PreChargeReq(struct dinEXIDocument *exi_doc_DIN)
     DEBUG_PRINTF_EXI_ENGINE_DETAIL("[END] Parsing PreChargeReq (%d-th)\n", cnt);
 }
 
-
 /*===========================================================================
 FUNCTION: PRINT_XML_DOC_ISO1_PreChargeReq
 DESCRIPTION:
@@ -3949,7 +3925,6 @@ void PRINT_XML_DOC_ISO1_PreChargeReq(struct iso1EXIDocument *exi_doc_ISO1)
     DEBUG_PRINTF_EXI_ENGINE_DETAIL("[END] Parsing PreChargeReq (%d-th)\n", cnt);
 }
 
-
 /*===========================================================================
 FUNCTION: PRINT_XML_DOC_DIN_PowerDeliveryReq
 DESCRIPTION:
@@ -4023,7 +3998,7 @@ void PRINT_XML_DOC_ISO1_PowerDeliveryReq(struct iso1EXIDocument *exi_doc_ISO1)
 
 
     //===== [BODY (1/3)] ChargeProgress =====
-    DEBUG_PRINTF_EXI_ENGINE_DETAIL("ChargeProgress: %d (DEC, 0:start, 1:stop, 2:renegotiate)\n",
+    DEBUG_PRINTF_EXI_ENGINE_DETAIL("ChargeProgress: %d (DEC, 0:start, 1:stop, 2:re-negotiate)\n",
             exi_doc_ISO1->V2G_Message.Body.PowerDeliveryReq.ChargeProgress);
 	//iso1chargeProgressType_Start = 0,
 	//iso1chargeProgressType_Stop = 1,
@@ -4042,7 +4017,7 @@ void PRINT_XML_DOC_ISO1_PowerDeliveryReq(struct iso1EXIDocument *exi_doc_ISO1)
     //DC_EVStatus
     struct iso1DC_EVStatusType *status;
     status = &exi_doc_ISO1->V2G_Message.Body.PowerDeliveryReq.DC_EVPowerDeliveryParameter.DC_EVStatus;
-    PRINT_iso1DC_EVStatusType(status);
+    if(exi_doc_ISO1->V2G_Message.Body.PowerDeliveryReq.DC_EVPowerDeliveryParameter_isUsed)PRINT_iso1DC_EVStatusType(status);
 
     //BulkChargingComplete
     DEBUG_PRINTF_EXI_ENGINE_DETAIL("BulkChargingComplete = %d (DEC)\n",
@@ -4060,7 +4035,6 @@ void PRINT_XML_DOC_ISO1_PowerDeliveryReq(struct iso1EXIDocument *exi_doc_ISO1)
     DEBUG_PRINTF_EXI_ENGINE_DETAIL("[END] Parsing PowerDeliveryReq (%d-th)\n", cnt);
 }
 
-
 /*===========================================================================
 FUNCTION: PRINT_XML_DOC_DIN_CurrentDemandReq
 DESCRIPTION:
@@ -4942,67 +4916,67 @@ void PRINT_iso1DC_EVErrorCodeType(struct iso1DC_EVStatusType *status)
     {
         case iso1DC_EVErrorCodeType_NO_ERROR:                           // = 0,
         {
-            DEBUG_PRINTF_EXI_ENGINE_DETAIL("(NO_ERROR)");
+            DEBUG_PRINTF_EXI_ENGINE_DETAIL("(NO_ERROR)\n");
             break;
         }
     	case iso1DC_EVErrorCodeType_FAILED_RESSTemperatureInhibit:      // = 1,
         {
-            DEBUG_PRINTF_EXI_ENGINE_DETAIL("(FAILED_RESSTemperatureInhibit)");
+            DEBUG_PRINTF_EXI_ENGINE_DETAIL("(FAILED_RESSTemperatureInhibit)\n");
             break;
         }
     	case iso1DC_EVErrorCodeType_FAILED_EVShiftPosition:             // = 2,
         {
-            DEBUG_PRINTF_EXI_ENGINE_DETAIL("(FAILED_EVShiftPosition)");
+            DEBUG_PRINTF_EXI_ENGINE_DETAIL("(FAILED_EVShiftPosition)\n");
             break;
         }
     	case iso1DC_EVErrorCodeType_FAILED_ChargerConnectorLockFault:   // = 3,
         {
-            DEBUG_PRINTF_EXI_ENGINE_DETAIL("(ChargerConnectorLockFault)");
+            DEBUG_PRINTF_EXI_ENGINE_DETAIL("(ChargerConnectorLockFault)\n");
             break;
         }
     	case iso1DC_EVErrorCodeType_FAILED_EVRESSMalfunction:           // = 4,
         {
-            DEBUG_PRINTF_EXI_ENGINE_DETAIL("(FAILED_EVRESSMalfunction)");
+            DEBUG_PRINTF_EXI_ENGINE_DETAIL("(FAILED_EVRESSMalfunction)\n");
             break;
         }
     	case iso1DC_EVErrorCodeType_FAILED_ChargingCurrentdifferential: // = 5,
         {
-            DEBUG_PRINTF_EXI_ENGINE_DETAIL("(FAILED_ChargingCurrentdifferential)");
+            DEBUG_PRINTF_EXI_ENGINE_DETAIL("(FAILED_ChargingCurrentdifferential)\n");
             break;
         }
     	case iso1DC_EVErrorCodeType_FAILED_ChargingVoltageOutOfRange:   // = 6,
         {
-            DEBUG_PRINTF_EXI_ENGINE_DETAIL("(FAILED_ChargingVoltageOutOfRange)");
+            DEBUG_PRINTF_EXI_ENGINE_DETAIL("(FAILED_ChargingVoltageOutOfRange)\n");
             break;
         }
     	case iso1DC_EVErrorCodeType_Reserved_A:                         // = 7,
         {
-            DEBUG_PRINTF_EXI_ENGINE_DETAIL("(Reserved_A)");
+            DEBUG_PRINTF_EXI_ENGINE_DETAIL("(Reserved_A)\n");
             break;
         }
     	case iso1DC_EVErrorCodeType_Reserved_B:                         // = 8,
         {
-            DEBUG_PRINTF_EXI_ENGINE_DETAIL("(Reserved_B)");
+            DEBUG_PRINTF_EXI_ENGINE_DETAIL("(Reserved_B)\n");
             break;
         }
     	case iso1DC_EVErrorCodeType_Reserved_C:                         // = 9,
         {
-            DEBUG_PRINTF_EXI_ENGINE_DETAIL("(Reserved_C)");
+            DEBUG_PRINTF_EXI_ENGINE_DETAIL("(Reserved_C)\n");
             break;
         }
     	case iso1DC_EVErrorCodeType_FAILED_ChargingSystemIncompatibility:// = 10,
         {
-            DEBUG_PRINTF_EXI_ENGINE_DETAIL("(FAILED_ChargingSystemIncompatibility)");
+            DEBUG_PRINTF_EXI_ENGINE_DETAIL("(FAILED_ChargingSystemIncompatibility)\n");
             break;
         }
     	case iso1DC_EVErrorCodeType_NoData:                             // = 11
         {
-            DEBUG_PRINTF_EXI_ENGINE_DETAIL("(NoData)");
+            DEBUG_PRINTF_EXI_ENGINE_DETAIL("(NoData)\n");
             break;
         }
         default:
         {
-            DEBUG_PRINTF_EXI_ENGINE_DETAIL("([WARNING] Unexpected iso1 EVErrorCode)");
+            DEBUG_PRINTF_EXI_ENGINE_DETAIL("([WARNING] Unexpected iso1 EVErrorCode)\n");
             break;
         }
     }

+ 27 - 25
EVSE/Projects/DS60-120/Apps/CheckSystemTask.c

@@ -9,52 +9,54 @@
 
 bool Taskconutstring(char *src, char *taskname)
 {
-		bool result = false;
+	bool result = false;
 
-		if (src == NULL || strlen(src) == 0)
-			return result;
+	if (src == NULL || strlen(src) == 0)
+		return result;
 
-		if (strstr(src, taskname) != NULL &&
-			strstr(src, "grep") == NULL &&
-			strstr(src, "[") == NULL)
-		{
-			result = true;
-		}
+	if (strstr(src, taskname) != NULL &&
+		strstr(src, "grep") == NULL &&
+		strstr(src, "[") == NULL)
+	{
+		result = true;
+	}
 
-		return result;
+	return result;
 }
 
 int GetProcessCount(char *procName)
 {
 	int result = 0;
-		FILE *fp;
-		char cmd[256];
-		char buf[256];
+	FILE *fp;
+	char cmd[256];
+	char buf[256];
 
-		sprintf(cmd, "ps -ef |grep %s", procName);
-		fp = popen(cmd, "r");
-		if(fp != NULL)
+	sprintf(cmd, "ps -ef |grep %s", procName);
+	fp = popen(cmd, "r");
+	if(fp != NULL)
+	{
+		while(fgets(buf, sizeof(buf), fp) != NULL)
 		{
-			while(fgets(buf, sizeof(buf), fp) != NULL)
-			{
-				if (Taskconutstring(buf, procName))
-					result++;
-			}
+			if (Taskconutstring(buf, procName))
+				result++;
 		}
+	}
 
-		pclose(fp);
+	pclose(fp);
 
-		return result;
+	return result;
 }
 
 unsigned char CheckSystemTask(unsigned char systemPage)
 {
 	unsigned char result = 0;
-	unsigned char count_main 		= GetProcessCount("main");
-	//unsigned char count_main 		= GetProcessCount("Module_CSU");
+	unsigned char count_main 		= GetProcessCount("Module_CSU");
 	unsigned char count_evComm 		= GetProcessCount("Module_EvComm");
 	unsigned char count_psuComm 	= GetProcessCount("Module_PsuComm");
 
+	if (count_main == 0)
+		count_main = GetProcessCount("main");
+
 //	printf("*************************** \n");
 //	printf("count_main = %d \n", count_main);
 //	printf("count_eventLog = %d \n", count_eventLog);

+ 9 - 68
EVSE/Projects/DS60-120/Apps/Config.h

@@ -29,35 +29,6 @@ typedef unsigned char			byte;
 #define BOOTTING			0
 #define BOOT_COMPLETE		1
 
-//LWN_Zanobe
-#define  LW_DEBUG_INFO   0
-
-
-enum _SYSTEM_STATUS
-{
-	/*S_BOOTING = 						0,
-    S_IDLE,
-	S_AUTHORIZING,
-	S_REASSIGN_CHECK,
-	S_REASSIGN,
-	S_PREPARNING,
-	S_PREPARING_FOR_EV,
-	S_PREPARING_FOR_EVSE,
-    S_CHARGING,
-	S_TERMINATING,
-	S_COMPLETE,
-	S_ALARM,
-	S_FAULT,
-	S_RESERVATION,
-	S_BOOKING,
-	S_MAINTAIN,
-	S_DEBUG,
-	S_CCS_PRECHARGE_ST0,
-	S_CCS_PRECHARGE_ST1,
-	S_UPDATE,*/
-	S_NONE = 20
-};
-
 enum _AC_SYSTEM_STATUS
 {
 	AC_SYS_NONE = 	0,
@@ -342,33 +313,6 @@ typedef union
     }GunBits;
 }GunErr;
 
-//LWN_Debug
-#ifdef LW_DEBUG_INFO
-typedef union
-{
-    unsigned short infoFlag;
-    struct
-    {
-        unsigned char Index_0:1;
-        unsigned char Index_1:1;
-        unsigned char Index_2:1;
-        unsigned char Index_3:1;
-        unsigned char Index_4:1;
-        unsigned char Index_5:1;
-        unsigned char Index_6:1;
-        unsigned char Index_7:1;
-        unsigned char:8;
-    }Msg;
-
-	struct timespec	Timer_0;
-	struct timespec	Timer_1;
-	struct timespec	Timer_2;
-	struct timespec	Timer_3;
-	struct timespec	Timer_4;
-
-}DebugInfoMsg;
-#endif
-
 struct DcCommonInformation
 {
 	byte rebootCount;
@@ -415,26 +359,23 @@ struct DcCommonInformation
 	// chademo try to communicaton flag (for tesla adapter)
 	struct ChademoTryCommunicationKey _cha_try_communication[2];
 
-	// for max charging profile
-	float ocppMaxChargingProfilePow;
-
 	// if the psu communication timedout, reset the AC contact for 30s
 	struct timespec _psuComm_time;
 
 	// for reset ev board (GBT or Chademo)
 	byte evBoardResetFlag;
 
-	// balance information
-	struct BalanceInfo balanceInfo;
+	// Psu module split by connector
+	int connector[2][12];
+	byte conn_1_count;
+	byte conn_2_count;
 
-	// LWN_Zanobe
-	// the autorization state for plug and charge
-	byte PlugAndCharge_AuthStatus;
+	// Use ccid to obtain authorization
+	byte enObtainAuthorizbyCCID;
+	byte isSendStartTransation[2];
 
-#ifdef LW_DEBUG_INFO
-	//LWN_Debug
-	DebugInfoMsg DbgInfo;
-#endif
+	// balance information - for tariff
+	struct BalanceInfo balanceInfo;
 };
 
 #endif /* CONFIG_H_ */

BIN
EVSE/Projects/DS60-120/Apps/FactoryConfig


+ 7 - 0
EVSE/Projects/DS60-120/Apps/FactoryConfig.c

@@ -102,9 +102,16 @@ void CustomChange(char *custom)
 {
 	if (strcmp(custom, "C0") == EQUAL)
 	{
+		// Bosch
 		SysConfig.AuthorisationMode = AUTH_MODE_DISABLE;
 		SysConfig.isRFID = 0;
 	}
+	else if (strcmp(custom, "N0") == EQUAL ||
+		strcmp(custom, "N1") == EQUAL)
+	{
+		// Noodoe (Shell)
+		SysConfig.isAPP = 0;
+	}
 }
 
 /**************************************************************************************/

BIN
EVSE/Projects/DS60-120/Apps/Module_EvComm


Файлын зөрүү хэтэрхий том тул дарагдсан байна
+ 414 - 415
EVSE/Projects/DS60-120/Apps/Module_EvComm.c


BIN
EVSE/Projects/DS60-120/Apps/Module_EventLogging


BIN
EVSE/Projects/DS60-120/Apps/Module_InternalComm


+ 52 - 14
EVSE/Projects/DS60-120/Apps/Module_InternalComm.c

@@ -62,6 +62,7 @@ struct StatusCodeData 			*ShmStatusCodeData;
 struct FanModuleData			*ShmFanModuleData;
 struct RelayModuleData			*ShmRelayModuleData;
 struct LedModuleData			*ShmLedModuleData;
+struct CcsData					*ShmCcsData;
 struct PsuData 					*ShmPsuData;
 struct OCPP16Data				*ShmOCPP16Data;
 struct OCPP20Data				*ShmOCPP20Data;
@@ -113,6 +114,9 @@ struct DcCommonInformation		*ShmDcCommonData;
 #define SEFETY_SWITCH_RELAY_CUR				50
 // ½T»{ Relay Welding ¹qÀ£
 #define RELAY_WELDING_DET					300
+// CCS minimum precharge voltage
+#define CCS_PRECHARGE_VOL					2000
+#define CCS_PRECHARGE_STARTU				40
 
 byte gunCount;
 byte acgunCount;
@@ -1587,6 +1591,24 @@ int InitShareMemory()
 		result = FAIL;
 	}
 
+	if(CCS_QUANTITY > 0)
+	{
+		if ((MeterSMId = shmget(ShmCcsCommKey, sizeof(struct CcsData),	IPC_CREAT | 0777)) < 0)
+	   	{
+	   		#ifdef SystemLogMessage
+	   		DEBUG_ERROR("shmget ShmCcsData NG \n");
+	   		#endif
+	   		return FAIL;
+	   	}
+	   	else if ((ShmCcsData = shmat(MeterSMId, NULL, 0)) == (void *) -1)
+	    {
+	   		#ifdef SystemLogMessage
+	   		  	DEBUG_ERROR("shmat ShmCcsData NG \n");
+	   		#endif
+	   		return FAIL;
+	   	}
+	}
+
 	if ((MeterSMId = shmget(ShmFanBdKey, sizeof(struct FanModuleData),  0777)) < 0)
 	{
 		#ifdef SystemLogMessage
@@ -2009,6 +2031,21 @@ void SetGfdConfig(byte index, byte resister)
 	}
 }
 
+//===============================================
+// Common Detect Chk - CCS
+//===============================================
+byte isPrechargeStatus_ccs(byte gunIndex)
+{
+	byte result = 0x00;
+
+	if (ShmCcsData->CommProtocol == _CCS_COMM_V2GMessage_DIN70121)
+	{
+		result = ShmCcsData->V2GMessage_DIN70121[_chargingData[gunIndex]->type_index].PresentMsgFlowStatus;
+	}
+
+	return result;
+}
+
 void CableCheckDetected(byte index)
 {
 	// Cable Check
@@ -2030,7 +2067,9 @@ void CableCheckDetected(byte index)
 				SetGfdConfig(index, GFD_CABLECHK);
 			}
 			else if (_chargingData[index]->SystemStatus >= SYS_MODE_CCS_PRECHARGE_STEP0 &&
-					_chargingData[index]->SystemStatus <= SYS_MODE_CCS_PRECHARGE_STEP1)
+					_chargingData[index]->SystemStatus <= SYS_MODE_CCS_PRECHARGE_STEP1 &&
+					_chargingData[index]->PresentChargingVoltage >= CCS_PRECHARGE_VOL &&
+					isPrechargeStatus_ccs(index) >= CCS_PRECHARGE_STARTU)
 			{
 				SetGfdConfig(index, GFD_PRECHARGE);
 			}
@@ -2122,8 +2161,7 @@ void CheckOutputVolNoneMatchFire(byte index)
 	if (((_chargingData[index]->EvBatterytargetVoltage * 10) > 1500 ||
 			_chargingData[index]->RelayK1K2Status == NO) &&
 			(_chargingData[index]->Type == _Type_Chademo ||
-					_chargingData[index]->Type == _Type_CCS ||
-					_chargingData[index]->Type == _Type_GB))
+					_chargingData[index]->Type == _Type_CCS))
 	{
 		if (((_chargingData[index]->PresentChargingVoltage * 10) < _chargingData[index]->FireChargingVoltage - 300) ||
 				((_chargingData[index]->PresentChargingVoltage * 10) > _chargingData[index]->FireChargingVoltage + 300))
@@ -2641,7 +2679,7 @@ void AcChargeTypeProcess()
 			GetAcStatus();
 			GetAcAlarmCode();
 
-			byte _status = S_NONE;
+			byte _status = SYS_MODE_BOOTING;
 
 			if (ac_chargingInfo[0]->IsAvailable == NO)
 			{
@@ -2722,7 +2760,7 @@ void AcChargeTypeProcess()
 				}
 			}
 
-			if (_status != S_NONE && ac_chargingInfo[0]->SystemStatus != _status)
+			if (_status != SYS_MODE_BOOTING && ac_chargingInfo[0]->SystemStatus != _status)
 			{
 				ac_chargingInfo[0]->SystemStatus = _status;
 			}
@@ -2750,11 +2788,11 @@ void AcChargeTypeProcess()
 					if (isModeChange())
 					{
 						if (ac_chargingInfo[0]->SystemStatus == SYS_MODE_IDLE)
-							PRINTF_FUNC("================== S_IDLE (AC Gun) ================ \n");
+							PRINTF_FUNC("================== SYS_MODE_IDLE (AC Gun) ================ \n");
 						else if (ac_chargingInfo[0]->SystemStatus == SYS_MODE_MAINTAIN)
-							PRINTF_FUNC("================== S_MAINTAIN (AC Gun) ================ \n");
+							PRINTF_FUNC("================== SYS_MODE_MAINTAIN (AC Gun) ================ \n");
 						else if (ac_chargingInfo[0]->SystemStatus == SYS_MODE_FAULT)
-							PRINTF_FUNC("================== S_FAULT (AC Gun) ================ \n");
+							PRINTF_FUNC("================== SYS_MODE_FAULT (AC Gun) ================ \n");
 
 						SetCpDuty(100);
 						ac_chargingInfo[0]->PresentChargedEnergy = 0.0;
@@ -2777,7 +2815,7 @@ void AcChargeTypeProcess()
 				{
 					if (isModeChange())
 					{
-						PRINTF_FUNC("================== S_PREPARNING (AC Gun) ================ \n");
+						PRINTF_FUNC("================== SYS_MODE_PREPARING (AC Gun) ================ \n");
 
 						SetLegacyReq(YES);
 						ShmSysConfigAndInfo->SysInfo.SystemPage = _LCM_NONE;
@@ -2836,7 +2874,7 @@ void AcChargeTypeProcess()
 				{
 					if (isModeChange())
 					{
-						PRINTF_FUNC("================== S_CHARGING (AC Gun) ================ \n");
+						PRINTF_FUNC("================== SYS_MODE_CHARGING (AC Gun) ================ \n");
 						ftime(&_ac_startChargingTime);
 						ocpp_ac_startTransation_cmd();
 						ChangeStartOrStopDateTime(YES);
@@ -2914,9 +2952,9 @@ void AcChargeTypeProcess()
 					if (isModeChange())
 					{
 						if (ac_chargingInfo[0]->SystemStatus == SYS_MODE_TERMINATING)
-							PRINTF_FUNC("================== S_TERMINATING (AC Gun) ================ \n");
+							PRINTF_FUNC("================== SYS_MODE_TERMINATING (AC Gun) ================ \n");
 						else if (ac_chargingInfo[0]->SystemStatus == SYS_MODE_ALARM)
-							PRINTF_FUNC("================== S_ALARM (AC Gun) ================ \n");
+							PRINTF_FUNC("================== SYS_MODE_ALARM (AC Gun) ================ \n");
 
 						ChangeStartOrStopDateTime(NO);
 						GetTimespecFunc(&_ac_charging_comp);
@@ -2924,7 +2962,7 @@ void AcChargeTypeProcess()
 						SetCpDuty(100);
 
 						if (ac_chargingInfo[0]->SystemStatus == SYS_MODE_TERMINATING)
-							PRINTF_FUNC("================== S_TERMINATING (AC Gun) ================ \n");
+							PRINTF_FUNC("================== SYS_MODE_TERMINATING (AC Gun) ================ \n");
 						else if (ac_chargingInfo[0]->SystemStatus == SYS_MODE_ALARM)
 						{
 							ftime(&_ac_endChargingTime);
@@ -2960,7 +2998,7 @@ void AcChargeTypeProcess()
 				{
 					if (isModeChange())
 					{
-						PRINTF_FUNC("================== S_COMPLETE (AC Gun) ================ \n");
+						PRINTF_FUNC("================== SYS_MODE_COMPLETE (AC Gun) ================ \n");
 
 						GetTimespecFunc(&_ac_charging_comp);
 						ftime(&_ac_endChargingTime);

BIN
EVSE/Projects/DS60-120/Apps/Module_LcmControl


+ 3 - 313
EVSE/Projects/DS60-120/Apps/Module_LcmControl.c

@@ -1,20 +1,4 @@
 #include "Module_LcmContro.h"
-#include "cbmp.h"
-
-#define CMD_HEADER_1						0x5A
-#define CMD_HEADER_2						0xA5
-#define CMD_REG_WRITE						0x80
-#define CMD_REG_READ						0x81
-#define CMD_REG_WRITE_DATA					0x82
-#define CMD_REG_READ_DATA					0x83
-
-#define REG_ADDRESS_READ_VERSION			0x0F
-#define REG_ADDRESS_READ_RTC				0x10
-#define REG_ADDRESS_READ_PAGE_ID			0x14
-#define REG_ADDRESS_READ_BRIGHTNESS       	0x31
-#define REG_ADDRESS_WRITE_BRIGHTNESS		0X82
-#define REG_ADDRESS_SET_PAGE_ID				0x84
-#define REG_ADDRESS_SET_RTC					0x9C
 
 bool needReloadQr = true;
 
@@ -1922,283 +1906,6 @@ void DefaultIconStatus()
 	}
 }
 
-//=======================================
-// Download image
-//=======================================
-//char lcdRegisterWrite(byte command, short address, byte *data, byte len)
-//{
-//	byte cmd[256];
-//	memset(cmd, 0x00, sizeof(cmd));
-//	char result = FAIL;
-//
-//	cmd[0] = CMD_TITLE_1;
-//	cmd[1] = CMD_TITLE_2;
-//	cmd[2] = 0x03 + len;
-//	cmd[3] = command;
-//	cmd[4] = address >> 8;
-//	cmd[5] = address & 0x00FF;
-//
-//	for(byte count = 0; count < len; count++)
-//	{
-//		cmd[6 + count] = *(data + count);
-//	}
-//
-//	//WriteCmdToLcm(cmd, cmd[2] + 3);
-//	int slen = write(Uart1Fd, cmd, cmd[2] + 3);
-//	printf("%d \n", slen);
-//	if(slen >= cmd[2] + 3)
-//	{
-//		printf("Pass. \n");
-//		result = PASS;
-//	}
-//	else
-//	{
-//		result = FAIL;
-//		printf("Fail. \n");
-//	}
-//
-//	return result;
-//}
-
-void displayMessageDgus(uint8_t *data, uint16_t len, uint8_t isRX)
-{
-	uint8_t output[8192];
-
-	memset(output, 0x00, ARRAY_SIZE(output));
-	sprintf((char*)output, "%s", (isRX?"RX: ":"TX: "));
-	for(uint16_t idx = 0;idx<len;idx++)
-	{
-		sprintf((char*)output, "%s%02x ", output, data[idx]);
-	}
-
-	#ifdef isDebugPrint
-	DEBUG_INFO("%s\n", output);
-	#endif
-}
-
-int transceiverDgus(int32_t fd, uint8_t *tx, uint16_t tx_len, uint8_t *rx, uint16_t rx_len)
-{
-	int result = FAIL;
-	int len;
-
-	tcflush(fd,TCIOFLUSH);
-
-	#ifdef isDebugPrint
-	displayMessageDgus(tx, tx_len, NO);
-	#endif
-
-	usleep(10000);
-
-	if(write(fd, tx, tx_len) >= ARRAY_SIZE(tx))
-	{
-		if(tx[3] == CMD_REG_WRITE_DATA)
-		{
-			len = read(fd, rx, rx_len);
-			if(len > 0)
-			{
-				if((rx[0] == CMD_HEADER_1) && (rx[1] == CMD_HEADER_2))
-				{
-					if((rx[3] == CMD_REG_WRITE_DATA) && (rx[4] == 0x4f) && (rx[5] == 0x4b))
-					{
-						displayMessageDgus(rx, len, YES);
-						result = PASS;
-					}
-				}
-			}
-		}
-		else if(tx[3] == CMD_REG_READ_DATA)
-		{
-			len = read(fd, rx, rx_len);
-			if(len > 0)
-			{
-				if((rx[0] == CMD_HEADER_1) && (rx[1] == CMD_HEADER_2))
-				{
-					if(rx[3] == CMD_REG_READ_DATA)
-					{
-
-						displayMessageDgus(rx, len, YES);
-
-						result = PASS;
-					}
-					else
-					{}
-				}
-				else
-				{}
-			}
-			else
-			{}
-		}
-		else
-		{}
-	}
-	else
-	{}
-
-	return result;
-}
-
-int8_t lcdRegisterWrite(int32_t fd, uint8_t regType, uint16_t address, uint8_t *data, uint16_t dataLen)
-{
-	int8_t result = FAIL;
-	uint8_t tx[(regType == REG_TYPE_CONTROL? 8 : 6) + dataLen];
-	uint8_t rx[6];
-
-	memset(tx, 0x00, sizeof(tx));
-	memset(rx, 0x00, sizeof(rx));
-
-	tx[0] = CMD_HEADER_1;
-	tx[1] = CMD_HEADER_2;
-	tx[2] = (regType == REG_TYPE_CONTROL? 7 : (3 + dataLen));
-	tx[3] = CMD_REG_WRITE_DATA;
-	tx[4] = (address >> 8) & 0xff;
-	tx[5] = (address >> 0) & 0xff;
-
-	if(regType == REG_TYPE_CONTROL)
-	{
-		if(address == REG_ADDRESS_SET_PAGE_ID)
-		{
-			tx[6] = 0x5A;
-			tx[7] = 0x01;
-
-			memcpy(&tx[8], data, dataLen);
-		}
-	}
-	else
-	{
-		memcpy(&tx[6], data, dataLen);
-	}
-
-	if(fd > 0)
-	{
-		if(transceiverDgus(fd, tx, ARRAY_SIZE(tx), rx, ARRAY_SIZE(rx)) == PASS)
-		{
-			result = PASS;
-		}
-		else
-		{}
-	}
-	else
-	{}
-
-	return result;
-}
-
-//int downloadBMP(uint8_t picIdx, char *filename)
-//{
-//    int result = PASS;
-//    BMP *bmp;
-//    struct stat fileSt;
-//    uint32_t pageSize = 0xf0;
-//    uint32_t pixelSize;
-//    uint32_t transferedByte=0;
-//    uint16_t bufferRamAddr = 0x8000;
-//
-//    // Reset LCD
-//    uint8_t cmd_reset[] = {0x55, 0xaa, 0x5a, 0xa5};
-//    if(lcdRegisterWrite(Uart1Fd, REG_TYPE_RAM, 0x04, cmd_reset, ARRAY_SIZE(cmd_reset)) == FAIL)
-//    {
-//        printf("LCD reset fail.\n");
-//        return -1;
-//    }
-//
-//
-//
-//    // Get image file size
-//    stat(filename, &fileSt);
-//    bmp = bopen(filename);
-//    uint8_t buf[bmp->width*bmp->height*2];
-//
-//
-//
-//    printf("Image filename: %s\n", filename);
-//    printf("Image width: %d height: %d\n", bmp->width, bmp->height);
-//    printf("Image data size: %d\n", ARRAY_SIZE(buf));
-//
-//
-//
-//    // Get bmp pixel data and convert to 16 bit color
-//    for(uint16_t idxY=0 ; idxY<bmp->height ; idxY++)
-//    {
-//        for(uint16_t idxX=0 ; idxX<bmp->width ; idxX++)
-//        {
-//            uint8_t r, g, b;
-//            get_pixel_rgb(bmp, idxX, (bmp->height-idxY-1), &r, &g, &b);
-//            buf[(2*((idxY*bmp->width) + idxX)) + 0] = ((((r>>3)<<11) | ((g>>2)<<5) | (b>>3)) >> 8) & 0xff;
-//            buf[(2*((idxY*bmp->width) + idxX)) + 1] = ((((r>>3)<<11) | ((g>>2)<<5) | (b>>3)) >> 0) & 0xff;
-//        }
-//    }
-//    bclose(bmp);
-//
-//
-//
-//    // Transfer pixel to screen page
-//    pixelSize = ARRAY_SIZE(buf);
-//    for(uint16_t idxSrcData=0;idxSrcData<(((pixelSize%pageSize)==0)?(pixelSize/pageSize):(pixelSize/pageSize)+1);idxSrcData++)
-//    {
-//        //DEBUG_INFO("Buffer start data address: 0x%08X\n", (idxSrcData*pageSize));
-//        //DEBUG_INFO("  Image start ram address: 0x%08X\n", ((idxSrcData*pageSize) >> 1));
-//        uint8_t display_cmd[] ={0x5a, (bufferRamAddr>>8)&0xff, (bufferRamAddr>>0)&0xff, 0x00, 0x00, 0x00, 0x00, 0x00};
-//
-//
-//
-//        if((idxSrcData+1) != (((pixelSize%pageSize)==0)?(pixelSize/pageSize):(pixelSize/pageSize)+1))
-//        {
-//            // Data transfer
-//            if(lcdRegisterWrite(Uart1Fd, REG_TYPE_RAM, bufferRamAddr, &buf[(idxSrcData*pageSize)], pageSize))
-//                transferedByte += pageSize;
-//
-//
-//
-//            display_cmd[3] = ((pageSize>>1) >> 8) & 0xff;                            // Data length high byte
-//            display_cmd[4] = ((pageSize>>1) >> 0) & 0xff;                            // Data length low byte
-//            display_cmd[5] = (((idxSrcData*pageSize)>>1) >> 16) & 0xff;                // Screen on ram address 1st byte
-//            display_cmd[6] = (((idxSrcData*pageSize)>>1) >> 8) & 0xff;                // Screen on ram address 2nd byte
-//            display_cmd[7] = (((idxSrcData*pageSize)>>1) >> 0) & 0xff;                // Screen on ram address 3th byte
-//        }
-//        else
-//        {
-//            // Last data transfer
-//            if(lcdRegisterWrite(Uart1Fd, REG_TYPE_RAM, bufferRamAddr, &buf[(idxSrcData*pageSize)], (pixelSize-(idxSrcData*pageSize))))
-//                transferedByte += (pixelSize-(idxSrcData*pageSize));
-//
-//
-//
-//
-//            display_cmd[3] = (((pixelSize-(idxSrcData*pageSize))>>1) >> 8) & 0xff;    // Data length high byte
-//            display_cmd[4] = (((pixelSize-(idxSrcData*pageSize))>>1) >> 0) & 0xff;    // Data length low byte
-//            display_cmd[5] = (((idxSrcData*pageSize)>>1) >> 16) & 0xff;                // Screen on ram address 1st byte
-//            display_cmd[6] = (((idxSrcData*pageSize)>>1) >> 8) & 0xff;                // Screen on ram address 2nd byte
-//            display_cmd[7] = (((idxSrcData*pageSize)>>1) >> 0) & 0xff;                // Screen on ram address 3th byte
-//        }
-//        usleep(60000); // Very important, wait protocol data move to ram
-//
-//
-//
-//        // Move data from ram to flash
-//        if(lcdRegisterWrite(Uart1Fd, REG_TYPE_RAM, 0xa2, display_cmd, ARRAY_SIZE(display_cmd)) == FAIL)
-//        {
-//        	printf("Transfered %d bytes fail.\n", transferedByte);
-//        }
-//    }
-//
-//
-//
-//    // Save image to target address
-//    uint8_t save_cmd[] ={0x5a, 0x02, ((picIdx>>8)&0xff), (picIdx&0xff)};
-//    if(lcdRegisterWrite(Uart1Fd, REG_TYPE_RAM, 0x84, save_cmd, ARRAY_SIZE(save_cmd)))
-//    {
-//        usleep(20000); // Very important, wait display buffer save to target image address
-//        printf("Save image success.\n");
-//    }
-//    else
-//    	printf("Save image fail.\n");
-//
-//
-//
-//    return result;
-//}
-
 int main(void)
 {
 	if(InitShareMemory() == FAIL)
@@ -2223,26 +1930,12 @@ int main(void)
 
 	Initialization();
 
-	//ChangeToOtherPage(_LCM_IDLE);
-//	return -1;
+	//	ChangeToOtherPage(_LCM_INIT);
+	//	ChangeDisplay2Value(__phihong_string, _disappear);
+	//	return -1;
 
 	DefaultIconStatus();
 
-//	int xxx = 3;
-//	while(xxx > 0 && Uart1Fd != -1)
-//	{
-//		if (xxx == 1)
-//		{
-//			printf("---------------------------- \n");
-//			downloadBMP(1, "/tmp/1_idle.bmp");
-//			printf("---------------------------- end \n");
-//			return -1;
-//		}
-//		sleep(1);
-//		xxx--;
-//	}
-//	return -1;
-
 	byte _verShowCount = 3;
 
 	while(Uart1Fd != -1)
@@ -2316,9 +2009,6 @@ int main(void)
 				InformationShow();
 			}
 
-			// ±½«ö¶s
-			//GetDeviceInfoStatus(0x0600, 1);
-
 			changeWarningPriority >= 15 ? (_battery_display_ani = true) : (_battery_display_ani = false);
 			changeWarningPriority >= 30 ? changeWarningPriority = 0 : changeWarningPriority++;
 			usleep(100000);

BIN
EVSE/Projects/DS60-120/Apps/Module_PrimaryComm


BIN
EVSE/Projects/DS60-120/Apps/Module_PsuComm


+ 76 - 138
EVSE/Projects/DS60-120/Apps/Module_PsuComm.c

@@ -139,10 +139,10 @@ byte FindTargetGroup(byte address)
 		_group = 0;
 	else
 	{
-		_group = FindIndex(connector_1, ShmPsuData->PsuGroup[0].GroupPresentPsuQuantity, address, 0);
+		_group = FindIndex(ShmDcCommonData->connector[0], ShmPsuData->PsuGroup[0].GroupPresentPsuQuantity, address, 0);
 
 		if (_group == ELEMENT_NOT_FIND)
-			_group = FindIndex(connector_2, ShmPsuData->PsuGroup[1].GroupPresentPsuQuantity, address, 1);
+			_group = FindIndex(ShmDcCommonData->connector[1], ShmPsuData->PsuGroup[1].GroupPresentPsuQuantity, address, 1);
 	}
 
 	return _group;
@@ -340,13 +340,13 @@ void GetStatusCallback(byte group, byte SN, byte temp, int alarm)
 {
 	bool isFind = false;
 
-	if ((conn_1_count + conn_2_count) != ShmPsuData->SystemPresentPsuQuantity)
+	if ((ShmDcCommonData->conn_1_count + ShmDcCommonData->conn_2_count) != ShmPsuData->SystemPresentPsuQuantity)
 	{
 		if (group == 0)
 		{
-			for(byte psuIndex = 0; psuIndex < conn_1_count; psuIndex++)
+			for(byte psuIndex = 0; psuIndex < ShmDcCommonData->conn_1_count; psuIndex++)
 			{
-				if (connector_1[psuIndex] == SN)
+				if (ShmDcCommonData->connector[0][psuIndex] == SN)
 				{
 					isFind = true;
 					break;
@@ -355,15 +355,15 @@ void GetStatusCallback(byte group, byte SN, byte temp, int alarm)
 
 			if(!isFind)
 			{
-				connector_1[conn_1_count] = SN;
-				conn_1_count++;
+				ShmDcCommonData->connector[0][ShmDcCommonData->conn_1_count] = SN;
+				ShmDcCommonData->conn_1_count++;
 			}
 		}
 		else if (group == 1)
 		{
-			for(byte psuIndex = 0; psuIndex < conn_2_count; psuIndex++)
+			for(byte psuIndex = 0; psuIndex < ShmDcCommonData->conn_2_count; psuIndex++)
 			{
-				if (connector_2[psuIndex] == SN)
+				if (ShmDcCommonData->connector[1][psuIndex] == SN)
 				{
 					isFind = true;
 					break;
@@ -372,30 +372,30 @@ void GetStatusCallback(byte group, byte SN, byte temp, int alarm)
 
 			if(!isFind)
 			{
-				connector_2[conn_2_count] = SN;
-				conn_2_count++;
+				ShmDcCommonData->connector[1][ShmDcCommonData->conn_2_count] = SN;
+				ShmDcCommonData->conn_2_count++;
 			}
 		}
 	}
 
-	if ((conn_1_count + conn_2_count) == ShmPsuData->SystemPresentPsuQuantity)
+	if ((ShmDcCommonData->conn_1_count + ShmDcCommonData->conn_2_count) == ShmPsuData->SystemPresentPsuQuantity)
 	{
 		// Arrangment
-		for(byte psuIndex = 0; psuIndex < conn_1_count; psuIndex++)
+		for(byte psuIndex = 0; psuIndex < ShmDcCommonData->conn_1_count; psuIndex++)
 		{
-			connector_1[psuIndex] = psuIndex;
+			ShmDcCommonData->connector[0][psuIndex] = psuIndex;
 		}
 
-		for(byte psuIndex = 0; psuIndex < conn_2_count; psuIndex++)
+		for(byte psuIndex = 0; psuIndex < ShmDcCommonData->conn_2_count; psuIndex++)
 		{
-			connector_2[psuIndex] = conn_1_count + psuIndex;
+			ShmDcCommonData->connector[1][psuIndex] = ShmDcCommonData->conn_1_count + psuIndex;
 		}
 
-		for(byte psuIndex = 0; psuIndex < conn_1_count; psuIndex++)
-			PRINTF_FUNC("DC Left Gun - PSU Number = %d \n", connector_1[psuIndex]);
+		for(byte psuIndex = 0; psuIndex < ShmDcCommonData->conn_1_count; psuIndex++)
+			PRINTF_FUNC("DC Left Gun - PSU Number = %d \n", ShmDcCommonData->connector[0][psuIndex]);
 
-		for(byte psuIndex = 0; psuIndex < conn_2_count; psuIndex++)
-			PRINTF_FUNC("DC Right Gun - PSU Number = %d \n", connector_2[psuIndex]);
+		for(byte psuIndex = 0; psuIndex < ShmDcCommonData->conn_2_count; psuIndex++)
+			PRINTF_FUNC("DC Right Gun - PSU Number = %d \n", ShmDcCommonData->connector[1][psuIndex]);
 
 		if (ShmSysConfigAndInfo->SysConfig.TotalConnectorCount > 1 &&
 				ShmDcCommonData->chargerType == CHARGER_TYPE_STANDARD)
@@ -418,8 +418,8 @@ void GetStatusCallback(byte group, byte SN, byte temp, int alarm)
 
 			maxCount = ((power / 30) + 1) / 2;
 
-			if (conn_1_count > maxCount ||
-					conn_2_count > maxCount)
+			if (ShmDcCommonData->conn_1_count > maxCount ||
+					ShmDcCommonData->conn_2_count > maxCount)
 			{
 				ShmStatusCodeData->AlarmCode.AlarmEvents.bits.PsuDipSwitchStestFail = YES;
 			}
@@ -465,9 +465,9 @@ void GetMaxPowerAndCur(unsigned char mode, int ratingCur, int *pow, int *cur)
 		maxPower /= 2;
 	}
 
-	if (ShmDcCommonData->ocppMaxChargingProfilePow >= 0 &&
-			maxPower > ShmDcCommonData->ocppMaxChargingProfilePow)
-		maxPower = ShmDcCommonData->ocppMaxChargingProfilePow;
+	if (ShmSysConfigAndInfo->SysInfo.MaxChargingProfilePower >= 0 &&
+			maxPower > ShmSysConfigAndInfo->SysInfo.MaxChargingProfilePower)
+		maxPower = ShmSysConfigAndInfo->SysInfo.MaxChargingProfilePower;
 
 	if (maxPower != 0 && maxPower <= *pow)
 		*pow = maxPower;
@@ -781,7 +781,7 @@ void GetPresentOutputCallback(byte group, unsigned short outVol, unsigned short
 //			}
 //		}
 //
-//		if ((chargingInfo[group]->SystemStatus >= SYS_MODE_PREPARE_FOR_EVSE && chargingInfo[group]->SystemStatus <= S_COMPLETE) ||
+//		if ((chargingInfo[group]->SystemStatus >= SYS_MODE_PREPARE_FOR_EVSE && chargingInfo[group]->SystemStatus <= SYS_MODE_COMPLETE) ||
 //			(chargingInfo[group]->SystemStatus >= SYS_MODE_CCS_PRECHARGE_STEP0 && chargingInfo[group]->SystemStatus <= SYS_MODE_CCS_PRECHARGE_STEP1))
 //		{
 //			float _vol_buf = outputVol;
@@ -1025,9 +1025,6 @@ void GetOutputAndTempCallback(byte address, unsigned short outputVol_s,
 	if (ShmPsuData->Work_Step < GET_SYS_CAP)
 		return;
 
-	//unsigned short outVol = outputVol_s;
-	//unsigned short outCur = outputCur_s;
-
 	if (IsOverModuleCount(address))
 		return;
 
@@ -1036,98 +1033,6 @@ void GetOutputAndTempCallback(byte address, unsigned short outputVol_s,
 	if (group == 1)
 		address -= ShmPsuData->PsuGroup[group - 1].GroupPresentPsuQuantity;
 
-//	// PSU Group - 電壓
-//	ShmPsuData->PsuGroup[group].GroupPresentOutputVoltage = outVol;
-//	// PSU Group - 電流
-//	ShmPsuData->PsuGroup[group].GroupPresentOutputCurrent = outCur;
-//	// PSU Group - 能量
-//	ShmPsuData->PsuGroup[group].GroupPresentOutputPower = outVol * outCur;
-//
-//	if (ShmSysConfigAndInfo->SysInfo.MainChargingMode == _MAIN_CHARGING_MODE_MAX ||
-//				(ShmSysConfigAndInfo->SysInfo.MainChargingMode == _MAIN_CHARGING_MODE_AVER &&
-//				(ShmSysConfigAndInfo->SysInfo.ReAssignedFlag >= _REASSIGNED_WAITING &&
-//				ShmSysConfigAndInfo->SysInfo.ReAssignedFlag <= _REASSIGNED_COMP))
-//			)
-//	{
-//		unsigned short outputVol = 0;
-//		unsigned short outputCur = 0;
-//		unsigned char _maxTOaver = 0;
-//
-//		for (byte index = 0; index < ShmPsuData->GroupCount; index++)
-//		{
-//			bool needtoAdd = true;
-//
-//			if (ShmPsuData->PsuGroup[index].GroupPresentOutputVoltage > outputVol)
-//				outputVol = ShmPsuData->PsuGroup[index].GroupPresentOutputVoltage;
-//
-////			if (ShmSysConfigAndInfo->SysInfo.ReAssignedFlag >= _REASSIGNED_ADJUST_M_TO_A &&
-////					ShmSysConfigAndInfo->SysInfo.ReAssignedFlag <= _REASSIGNED_RELAY_M_TO_A)
-////			{
-////				if (chargingInfo[index]->DividChargingCurrent == 0)
-////					needtoAdd = false;
-////				else
-////					_maxTOaver = index;
-////			}
-//
-//			if (needtoAdd)
-//				outputCur += ShmPsuData->PsuGroup[index].GroupPresentOutputCurrent;
-//		}
-//
-//		if (ShmSysConfigAndInfo->SysInfo.ReAssignedFlag >= _REASSIGNED_ADJUST_M_TO_A &&
-//				ShmSysConfigAndInfo->SysInfo.ReAssignedFlag <= _REASSIGNED_RELAY_M_TO_A)
-//		{
-//			if (chargingInfo[_maxTOaver]->DividChargingCurrent != 0)
-//			{
-//				float _cur_buf = outputCur;
-//				_cur_buf /= 10;
-//				chargingInfo[_maxTOaver]->PresentChargingCurrent = _cur_buf;
-//			}
-//		}
-//
-//		// 黑白機
-//		if (ShmSysConfigAndInfo->SysInfo.IsAlternatvieConf == YES)
-//		{
-//			for (byte count = 0; count < ShmSysConfigAndInfo->SysConfig.TotalConnectorCount; count++)
-//			{
-//				float _vol_buf = outputVol;
-//				float _cur_buf = outputCur;
-//
-//				// EVSE - 電壓
-//				_vol_buf /= 10;
-//				chargingInfo[count]->PresentChargingVoltage = _vol_buf;
-//
-//				_cur_buf /= 10;
-//				chargingInfo[count]->PresentChargingCurrent = _cur_buf;
-//			}
-//		}
-//
-//		if ((chargingInfo[group]->SystemStatus >= SYS_MODE_PREPARE_FOR_EVSE && chargingInfo[group]->SystemStatus <= S_COMPLETE) ||
-//			(chargingInfo[group]->SystemStatus >= SYS_MODE_CCS_PRECHARGE_STEP0 && chargingInfo[group]->SystemStatus <= SYS_MODE_CCS_PRECHARGE_STEP1))
-//		{
-//			float _vol_buf = outputVol;
-//			float _cur_buf = outputCur;
-//
-//			// EVSE - 電壓
-//			_vol_buf /= 10;
-//			chargingInfo[group]->PresentChargingVoltage = _vol_buf;
-//
-//			_cur_buf /= 10;
-//			chargingInfo[group]->PresentChargingCurrent = _cur_buf;
-//		}
-//	}
-//	else
-//	{
-//		float _vol_buf = ShmPsuData->PsuGroup[group].GroupPresentOutputVoltage;
-//		float _cur_buf = ShmPsuData->PsuGroup[group].GroupPresentOutputCurrent;
-//
-//		// EVSE - 電壓
-//		_vol_buf /= 10;
-//		chargingInfo[group]->PresentChargingVoltage = _vol_buf;
-//
-//		_cur_buf /= 10;
-//		chargingInfo[group]->PresentChargingCurrent = _cur_buf;
-//	}
-
 	ShmPsuData->PsuGroup[group].PsuModule[address].CriticalTemp1 = Temperature;
 	ShmPsuData->PsuGroup[group].PsuModule[address].CriticalTemp2 = Temperature;
 	ShmPsuData->PsuGroup[group].PsuModule[address].CriticalTemp3 = Temperature;
@@ -2195,20 +2100,41 @@ int main(void)
 								}
 								else
 								{
-									bool isNeedToOpenPower = false;
-									for (byte index = 0; index < ShmPsuData->GroupCount; index++)
+									if (chargingInfo[groupIndex]->SystemStatus == SYS_MODE_PREPARE_FOR_EVSE)
 									{
-										if (!isStartOutputSwitch[index])
+										if (startModuleFlag)
 										{
-											isNeedToOpenPower = true;
+											if (ShmSysConfigAndInfo->SysInfo.IsAlternatvieConf == YES)
+											{
+												isStartOutputSwitch[0] = true;
+												SwitchSinglePower(ShmDcCommonData->connector[0][0], PSU_POWER_ON);
+												FlashSingleLed(ShmDcCommonData->connector[0][0], PSU_FLASH_ON);
+											}
+											else
+											{
+												isStartOutputSwitch[groupIndex] = true;
+												SwitchSinglePower(ShmDcCommonData->connector[groupIndex][0], PSU_POWER_ON);
+												FlashSingleLed(ShmDcCommonData->connector[groupIndex][0], PSU_FLASH_ON);
+											}
 										}
-										isStartOutputSwitch[index] = true;
 									}
-
-									if (isNeedToOpenPower || startModuleFlag)
+									else
 									{
-										SwitchPower(SYSTEM_CMD, PSU_POWER_ON);
-										FlashLed(SYSTEM_CMD, PSU_FLASH_ON);
+										bool isNeedToOpenPower = false;
+										for (byte index = 0; index < ShmPsuData->GroupCount; index++)
+										{
+											if (!isStartOutputSwitch[index])
+											{
+												isNeedToOpenPower = true;
+											}
+											isStartOutputSwitch[index] = true;
+										}
+
+										if (isNeedToOpenPower || startModuleFlag)
+										{
+											SwitchPower(SYSTEM_CMD, PSU_POWER_ON);
+											FlashLed(SYSTEM_CMD, PSU_FLASH_ON);
+										}
 									}
 								}
 							}
@@ -2238,11 +2164,23 @@ int main(void)
 									}
 									else
 									{
-										if (!isStartOutputSwitch[groupIndex] || startModuleFlag)
+										if (chargingInfo[groupIndex]->SystemStatus == SYS_MODE_PREPARE_FOR_EVSE)
+										{
+											if (startModuleFlag)
+											{
+												isStartOutputSwitch[groupIndex] = true;
+												SwitchSinglePower(ShmDcCommonData->connector[groupIndex][0], PSU_POWER_ON);
+												FlashSingleLed(ShmDcCommonData->connector[groupIndex][0], PSU_FLASH_ON);
+											}
+										}
+										else
 										{
-											isStartOutputSwitch[groupIndex] = true;
-											SwitchPower(groupIndex, PSU_POWER_ON); Await();
-											FlashLed(groupIndex, PSU_FLASH_ON); Await();
+											if (!isStartOutputSwitch[groupIndex] || startModuleFlag)
+											{
+												isStartOutputSwitch[groupIndex] = true;
+												SwitchPower(groupIndex, PSU_POWER_ON); Await();
+												FlashLed(groupIndex, PSU_FLASH_ON); Await();
+											}
 										}
 									}
 								}
@@ -2372,17 +2310,17 @@ int main(void)
 				if ((chargingInfo[0]->EvBatterytargetVoltage * 10) > 0 && (chargingInfo[0]->EvBatterytargetCurrent * 10) > 0)
 					_switch = 0x01;
 
-				for (byte _groupCount_1 = 0; _groupCount_1 < conn_1_count; _groupCount_1++)
+				for (byte _groupCount_1 = 0; _groupCount_1 < ShmDcCommonData->conn_1_count; _groupCount_1++)
 				{
-					SetDirModulePresentOutput(connector_1[_groupCount_1],
+					SetDirModulePresentOutput(ShmDcCommonData->connector[0][_groupCount_1],
 						(chargingInfo[0]->EvBatterytargetVoltage * 10),
 						(chargingInfo[0]->EvBatterytargetCurrent * 10),
 						_switch, _switch); Await();
 				}
 
-				for (byte _groupCount_2 = 0; _groupCount_2 < conn_2_count; _groupCount_2++)
+				for (byte _groupCount_2 = 0; _groupCount_2 < ShmDcCommonData->conn_2_count; _groupCount_2++)
 				{
-					SetDirModulePresentOutput(connector_2[_groupCount_2],
+					SetDirModulePresentOutput(ShmDcCommonData->connector[1][_groupCount_2],
 						(chargingInfo[0]->EvBatterytargetVoltage * 10),
 						(chargingInfo[0]->EvBatterytargetCurrent * 10),
 						_switch, _switch); Await();

+ 5 - 4
EVSE/Projects/DS60-120/Apps/Module_PsuComm.h

@@ -51,10 +51,11 @@ int preChargingCur;
 float toAverVolPoint;
 byte toAverVolCount;
 
-int connector_1[12];
-int connector_2[12];
-byte conn_1_count = 0;
-byte conn_2_count = 0;
+//int connector_1[12];
+//int connector_2[12];
+//int connector[2][12];
+//byte conn_1_count = 0;
+//byte conn_2_count = 0;
 
 enum _CHARGING_GUN_STATUS
 {

BIN
EVSE/Projects/DS60-120/Apps/ReadCmdline


+ 29 - 117
EVSE/Projects/DS60-120/Apps/ReadCmdline.c

@@ -37,7 +37,6 @@
 #include 	<math.h>
 #include 	<stdbool.h>
 #include 	"../../define.h"
-//#include    "../Module_CSU/Config.h"
 
 typedef unsigned char			byte;
 #define PASS				1
@@ -525,6 +524,8 @@ void CheckAcStatus(char *v1)
 	{
 		printf("AC Status = %d \n", ShmSysConfigAndInfo->SysInfo.AcContactorStatus);
 	}
+	else
+		ShmSysConfigAndInfo->SysInfo.AcContactorStatus = atoi(v1);
 }
 
 void SetCableChkStatus(char *v1, char *v2)
@@ -548,8 +549,8 @@ void SetChargingInfoCCID(char *v1, char* v2)
 		return;
 	}
 
-	memcpy(_chargingData[_index]->EVCCID, v2, 8);
-	_chargingData[_index]->EVCCID[8] = '\0';
+	memcpy(_chargingData[_index]->EVCCID, v2, strlen(v2));
+	_chargingData[_index]->EVCCID[strlen(v2)] = '\0';
 }
 
 void GetGunTemp(char *v1)
@@ -945,7 +946,7 @@ void AverageCharging(char *g1_vol, char *g1_cur, char *g2_vol, char *g2_cur)
 					if(PreviousSystemStatus[gun_index] != _chargingData[gun_index]->SystemStatus)
 					{
 						PreviousSystemStatus[gun_index] = _chargingData[gun_index]->SystemStatus;
-					    printf ("[AverageCharging (%d) - S_IDLE] \n", gun_index);
+					    printf ("[AverageCharging (%d) - SYS_MODE_IDLE] \n", gun_index);
 					}
 
 					_chargingData[gun_index]->SystemStatus = SYS_MODE_PREPARING;
@@ -972,7 +973,7 @@ void AverageCharging(char *g1_vol, char *g1_cur, char *g2_vol, char *g2_cur)
 					if(PreviousSystemStatus[gun_index] != _chargingData[gun_index]->SystemStatus)
 				    {
 				    	PreviousSystemStatus[gun_index] = _chargingData[gun_index]->SystemStatus;
-				        printf ("[AverageCharging (%d) - S_PREPARING_FOR_EV] \n", gun_index);
+				        printf ("[AverageCharging (%d) - SYS_MODE_PREPARE_FOR_EV] \n", gun_index);
 				        printf ("ReqVoltage = %f, ReqCurrent = %f \n", _Voltage[gun_index] * 10, _Current[gun_index] * 10);
 				    }
 				    //清除 main timeout 機制
@@ -993,7 +994,7 @@ void AverageCharging(char *g1_vol, char *g1_cur, char *g2_vol, char *g2_cur)
 				    {
 				    	printf ("Preparing Done = %f \n", _chargingData[gun_index]->PresentChargingVoltage);
 				    	//EV done
-						_chargingData[gun_index]->SystemStatus = SYS_MODE_PREPARE_FOR_EVSE;
+				    	_chargingData[gun_index]->SystemStatus = SYS_MODE_PREPARE_FOR_EVSE;
 				    }
 				}
 					break;
@@ -1002,7 +1003,7 @@ void AverageCharging(char *g1_vol, char *g1_cur, char *g2_vol, char *g2_cur)
 					if(PreviousSystemStatus[gun_index] != _chargingData[gun_index]->SystemStatus)
 					{
 						PreviousSystemStatus[gun_index] = _chargingData[gun_index]->SystemStatus;
-						printf("[AverageCharging (%d) - SYS_MODE_PREPARE_FOR_EVSE]\n", gun_index);
+						printf ("[AverageCharging (%d) - SYS_MODE_PREPARE_FOR_EVSE]\n", gun_index);
 					}
 
 					//printf ("tar vol = %d \n", _Voltage);
@@ -1052,7 +1053,7 @@ void AverageCharging(char *g1_vol, char *g1_cur, char *g2_vol, char *g2_cur)
 				        _chargingData[gun_index]->EvBatterySoc = 50;
 				        _chargingData[gun_index]->AvailableChargingCurrent = 1000;
 
-				        printf ("[AverageCharging (%d) - S_CHARGING]\n", gun_index);
+				        printf ("[AverageCharging (%d) - SYS_MODE_CHARGING]\n", gun_index);
 				    }
 
 				    //ev task do this
@@ -1071,7 +1072,7 @@ void AverageCharging(char *g1_vol, char *g1_cur, char *g2_vol, char *g2_cur)
 					if(PreviousSystemStatus[gun_index] != _chargingData[gun_index]->SystemStatus)
 				    {
 						PreviousSystemStatus[gun_index] = _chargingData[gun_index]->SystemStatus;
-				        printf ("[AverageCharging (%d) - S_TERMINATING] \n", gun_index);
+				        printf ("[AverageCharging (%d) - SYS_MODE_TERMINATING] \n", gun_index);
 				        //無阻塞偵測 keybaord 結束
 				        system(STTY_DEF TTY_PATH);
 				    }
@@ -1085,7 +1086,7 @@ void AverageCharging(char *g1_vol, char *g1_cur, char *g2_vol, char *g2_cur)
 				    if(PreviousSystemStatus[gun_index] != _chargingData[gun_index]->SystemStatus)
 				    {
 				    	PreviousSystemStatus[gun_index] = _chargingData[gun_index]->SystemStatus;
-				    	printf ("[AverageCharging (%d) - S_COMPLETE] \n", gun_index);
+				    	printf ("[AverageCharging (%d) - SYS_MODE_COMPLETE] \n", gun_index);
 				    }
 
 				    _chargingData[gun_index]->PresentChargingPower = 0;
@@ -1202,13 +1203,13 @@ void RunUnconditionalChargeIndex1(char *v1, char *v2, char *v3)
         //fix gun 1
     	switch(_chargingData[_GunIndex]->SystemStatus)
     	{
-			case SYS_MODE_IDLE:
+            case SYS_MODE_IDLE:
     		{
         	    if(PreviousSystemStatus != _chargingData[_GunIndex]->SystemStatus)
         	    {
         	        PreviousSystemStatus = _chargingData[_GunIndex]->SystemStatus;
 
-        	        printf ("[UnconditionalCharge - S_IDLE]\n");
+        	        printf ("[UnconditionalCharge - SYS_MODE_IDLE]\n");
         	    }
 
         	    ShmDcCommonData->StartToChargingFlag[_GunIndex] = 0x01;
@@ -1216,7 +1217,7 @@ void RunUnconditionalChargeIndex1(char *v1, char *v2, char *v3)
     		}
     		break;
 
-			case SYS_MODE_PREPARING:
+    		case SYS_MODE_PREPARING:
     		{
         	    if(PreviousSystemStatus != _chargingData[_GunIndex]->SystemStatus)
         	    {
@@ -1246,13 +1247,13 @@ void RunUnconditionalChargeIndex1(char *v1, char *v2, char *v3)
     		}
     		break;
 
-			case SYS_MODE_PREPARE_FOR_EV:
+    		case SYS_MODE_PREPARE_FOR_EV:
     		{
         	    if(PreviousSystemStatus != _chargingData[_GunIndex]->SystemStatus)
         	    {
         	        PreviousSystemStatus = _chargingData[_GunIndex]->SystemStatus;
 
-        	        printf ("[UnconditionalCharge - S_PREPARING_FOR_EV]\n");
+        	        printf ("[UnconditionalCharge - SYS_MODE_PREPARE_FOR_EV]\n");
         	        printf ("ReqVoltage = %f, ReqCurrent = %f \n", _Voltage * 10,_Current * 10);
 
         	    }
@@ -1279,13 +1280,13 @@ void RunUnconditionalChargeIndex1(char *v1, char *v2, char *v3)
     		}
     		break;
 
-			case SYS_MODE_PREPARE_FOR_EVSE:
+    		case SYS_MODE_PREPARE_FOR_EVSE:
     		{
         	    if(PreviousSystemStatus != _chargingData[_GunIndex]->SystemStatus)
         	    {
         	        PreviousSystemStatus = _chargingData[_GunIndex]->SystemStatus;
 
-        	        printf ("[UnconditionalCharge - S_PREPARING_FOR_EVSE]\n");
+        	        printf ("[UnconditionalCharge - SYS_MODE_PREPARE_FOR_EVSE]\n");
 
         	    }
         	    //printf ("tar vol = %d \n", _Voltage);
@@ -1325,7 +1326,7 @@ void RunUnconditionalChargeIndex1(char *v1, char *v2, char *v3)
     		}
     		break;
 
-			case SYS_MODE_CHARGING:
+    		case SYS_MODE_CHARGING:
     		{
         	    if(PreviousSystemStatus != _chargingData[_GunIndex]->SystemStatus)
         	    {
@@ -1346,7 +1347,7 @@ void RunUnconditionalChargeIndex1(char *v1, char *v2, char *v3)
         	        _chargingData[_GunIndex]->EvBatterySoc = 50;
         	        _chargingData[_GunIndex]->AvailableChargingCurrent = 1000;
 
-        	        printf ("[UnconditionalCharge - S_CHARGING]\n");
+        	        printf ("[UnconditionalCharge - SYS_MODE_CHARGING]\n");
         	    }
 
         	    if (_usingAutoRun == 0x01)
@@ -1361,7 +1362,7 @@ void RunUnconditionalChargeIndex1(char *v1, char *v2, char *v3)
         	    	{
         	    		_curAutoRunCount++;
         	    		if (_curAutoRunCount >= AUTORUN_CYCLE_COUNT)
-							_chargingData[ShmSysConfigAndInfo->SysInfo.CurGunSelected]->SystemStatus = SYS_MODE_TERMINATING;
+        	    			_chargingData[_GunIndex]->SystemStatus = SYS_MODE_TERMINATING;
         	    		else
         	    			gettimeofday(&_autoTime, NULL);
         	    	}
@@ -1381,7 +1382,7 @@ void RunUnconditionalChargeIndex1(char *v1, char *v2, char *v3)
 
     		    if (_chargingData[_GunIndex]->GroundFaultStatus == 0x02){
     		         printf ("Charging Ground Fault check Fail (%d)\n",_chargingData[_GunIndex]->GroundFaultStatus);
-					_chargingData[ShmSysConfigAndInfo->SysInfo.CurGunSelected]->SystemStatus = SYS_MODE_TERMINATING;
+    		        _chargingData[_GunIndex]->SystemStatus = SYS_MODE_TERMINATING;
     		    }
     		}
     		break;
@@ -1393,7 +1394,7 @@ void RunUnconditionalChargeIndex1(char *v1, char *v2, char *v3)
         	        PreviousSystemStatus = _chargingData[_GunIndex]->SystemStatus;
         	        system("/root/Module_EvComm &");
 
-        	        printf ("[UnconditionalCharge - S_TERMINATING]\n");
+        	        printf ("[UnconditionalCharge - SYS_MODE_TERMINATING]\n");
         	        //無阻塞偵測 keybaord 結束
         	        system(STTY_DEF TTY_PATH);
         	    }
@@ -1404,13 +1405,13 @@ void RunUnconditionalChargeIndex1(char *v1, char *v2, char *v3)
     		}
     		break;
 
-			case SYS_MODE_COMPLETE:
+    		case SYS_MODE_COMPLETE:
     		{
         	    if(PreviousSystemStatus != _chargingData[_GunIndex]->SystemStatus)
         	    {
         	        PreviousSystemStatus = _chargingData[_GunIndex]->SystemStatus;
 
-        	        printf ("[UnconditionalCharge - S_COMPLETE]\n");
+        	        printf ("[UnconditionalCharge - SYS_MODE_COMPLETE]\n");
         	    }
 
         	    _chargingData[_GunIndex]->PresentChargingPower = 0;
@@ -1476,93 +1477,6 @@ void RunUnconditionalChargeIndex1(char *v1, char *v2, char *v3)
     }
 }
 
-//LWN_Debug
-#ifdef LW_DEBUG_INFO
-void PrintDebugInfo(char *v1)
-{
-	int Index = 0;
-	bool PrintAll = false;
-
-	if (strcmp(v1, "-1") == 0 || strcmp(v1, "") == 0)
-	{
-		PrintAll = true;
-		Index = 8;
-	}
-	else
-		Index = atoi(v1);
-
-	for (int i = 0; i < Index + 1; i++)
-	{
-		//command後面有帶value, print該state的info; 未帶值, print all of info.
-		if (PrintAll == false)
-			if (i != Index)
-				continue;
-
-		switch (i)
-		{
-			case 0:
-			{
-				if (ShmDcCommonData->DbgInfo.Msg.Index_0 == TRUE)
-					printf("[LWTEST]test debyg info print - 0\n");
-			}
-				break;
-
-			case 1:
-			{
-				if (ShmDcCommonData->DbgInfo.Msg.Index_1 == TRUE)
-					printf("[LWTEST]test debyg info print - 1\n");
-			}
-				break;
-
-			case 2:
-			{
-				if (ShmDcCommonData->DbgInfo.Msg.Index_2 == TRUE)
-					printf("[LWTEST]test debyg info print - 2\n");
-			}
-				break;
-
-			case 3:
-			{
-				if (ShmDcCommonData->DbgInfo.Msg.Index_3 == TRUE)
-					printf("[LWTEST]test debyg info print - 3\n");
-			}
-				break;
-
-			case 4:
-			{
-				if (ShmDcCommonData->DbgInfo.Msg.Index_4 == TRUE)
-					printf("[LWTEST]test debyg info print - 4\n");
-			}
-				break;
-
-			case 5:
-			{
-				if (ShmDcCommonData->DbgInfo.Msg.Index_5 == TRUE)
-					printf("[LWTEST]test debyg info print - 5\n");
-			}
-				break;
-
-			case 6:
-			{
-				if (ShmDcCommonData->DbgInfo.Msg.Index_6 == TRUE)
-					printf("[LWTEST]test debyg info print - 6\n");
-			}
-				break;
-
-			case 7:
-			{
-				if (ShmDcCommonData->DbgInfo.Msg.Index_7 == TRUE)
-					printf("[LWTEST]test debyg info print - 7\n");
-			}
-				break;
-
-			default:
-				break;
-		}
-	}
-}
-#endif
-
 int main(void)
 {
 	if(InitShareMemory() == FAIL)
@@ -1810,6 +1724,10 @@ int main(void)
 		}
 		else if (strcmp(newString[0], "test") == 0)
 		{
+			// Test Command
+			printf ("mode = %d \n", ShmSysConfigAndInfo->SysInfo.MainChargingMode);
+			ShmSysConfigAndInfo->SysInfo.MainChargingMode = _MAIN_CHARGING_MODE_AVER;
+			printf ("mode = %d \n", ShmSysConfigAndInfo->SysInfo.MainChargingMode);
 		}
 		else if(strcmp(newString[0], "strchg") == 0)
 		{
@@ -1848,12 +1766,6 @@ int main(void)
 
 			AverageCharging(newString[1], newString[2], newString[3], newString[4]);
 		}
-#ifdef LW_DEBUG_INFO
-		else if (strcmp(newString[0], "lwdebug") == 0)
-		{
-			PrintDebugInfo(newString[1]);
-		}
-#endif
 		else
 			printf ("%s\n", msg);
 		usleep(100000);

BIN
EVSE/Projects/DS60-120/Apps/UnsafetyOutputTask


BIN
EVSE/Projects/DS60-120/Apps/main


Файлын зөрүү хэтэрхий том тул дарагдсан байна
+ 337 - 314
EVSE/Projects/DS60-120/Apps/main.c


BIN
EVSE/Projects/DS60-120/Images/MLO


BIN
EVSE/Projects/DS60-120/Images/ramdisk.gz


BIN
EVSE/Projects/DS60-120/Images/u-boot.img


BIN
EVSE/Projects/DS60-120/Images/zImage


Файлын зөрүү хэтэрхий том тул дарагдсан байна
+ 3 - 892
EVSE/rootfs/root/cacert.pem


+ 297 - 297
board-support/linux-4.9.59+gitAUTOINC+a75d8e9305-ga75d8e9305/.tmp_System.map

@@ -35268,302 +35268,302 @@ c0a00000 R __start_rodata
 c0a00000 A __start_rodata_section_aligned
 c0a00000 R _etext
 c0a00010 R linux_proc_banner
-c0a0006c R linux_banner
-c0a00100 r __func__.5825
-c0a00110 r sqrt_oddadjust
-c0a00130 r sqrt_evenadjust
-c0a00150 r __func__.5807
-c0a00160 r cc_map
-c0a00180 r isa_modes
-c0a00190 r processor_modes
-c0a00210 r sigpage_mapping
-c0a00220 r regoffset_table
-c0a002b8 r user_arm_view
-c0a002cc r arm_regsets
-c0a00338 r hwcap_str
-c0a00394 r hwcap2_str
-c0a003ac r proc_arch
-c0a003f0 R cpuinfo_op
-c0a00400 R sigreturn_codes
-c0a0041c r handler
-c0a00430 r atags_fops
-c0a004a8 r pmresrn_table.31150
-c0a004b8 r pmresrn_table.31002
-c0a004c4 r scorpion_perf_cache_map
-c0a0056c r scorpion_perf_map
-c0a00594 r krait_perf_cache_map
-c0a0063c r krait_perf_map
-c0a00664 r krait_perf_map_no_branch
-c0a0068c r armv7_a5_perf_cache_map
-c0a00734 r armv7_a5_perf_map
-c0a0075c r armv7_a7_perf_cache_map
-c0a00804 r armv7_a7_perf_map
-c0a0082c r armv7_a8_perf_cache_map
-c0a008d4 r armv7_a8_perf_map
-c0a008fc r armv7_a9_perf_cache_map
-c0a009a4 r armv7_a9_perf_map
-c0a009cc r armv7_a12_perf_cache_map
-c0a00a74 r armv7_a12_perf_map
-c0a00a9c r armv7_a15_perf_cache_map
-c0a00b44 r armv7_a15_perf_map
-c0a00b6c r armv7_pmu_probe_table
-c0a00b90 r armv7_pmu_of_device_ids
-c0a013fc r usermode_action
-c0a01414 r alignment_proc_fops
-c0a0148c r subset.21772
-c0a014ac r subset.21782
-c0a014bc r __param_str_alignment
-c0a014c8 r cpu_arch_name
-c0a014ce r cpu_elf_name
-c0a014d4 r l2c220_data
-c0a0151c r omap_types
-c0a01530 r __func__.28508
-c0a01548 r __func__.29284
-c0a01568 r __func__.29289
-c0a01588 r am33xx_control_reg_offsets
-c0a01648 r am43xx_control_reg_offsets
-c0a01724 r omap_scrm_dt_match_table
-c0a01ecc r omap2_ctrl_data
-c0a01ed4 r omap_mux_dbg_signal_fops
-c0a01f4c r omap_mux_dbg_board_fops
-c0a01fc4 r __func__.28699
-c0a01fd8 r __func__.28741
-c0a01ff0 r __func__.28758
-c0a02008 r __func__.28788
-c0a0201c r __func__.29075
-c0a02030 r __func__.29089
-c0a02044 r __func__.29126
-c0a02054 r __func__.29002
-c0a0206c r __func__.29015
-c0a02088 r __func__.29102
-c0a0209c r __func__.30036
-c0a020bc r __func__.30084
-c0a020d0 r __func__.30078
-c0a020e0 r __func__.36712
-c0a020f4 r omap_pm_ops
-c0a0211c r reg_map
-c0a021f0 r __func__.31257
-c0a0220c r __func__.27253
-c0a02224 r __func__.27271
-c0a0223c r __func__.28011
-c0a0224c r name
-c0a02258 r __func__.27252
-c0a0226c r __func__.36709
-c0a0227c r modck.36708
-c0a02284 r __func__.37246
-c0a022a0 r __func__.28074
-c0a022b8 r __func__.28070
-c0a022d4 r __func__.28103
-c0a022e8 r __func__.28109
-c0a022fc r __func__.28161
-c0a02314 r __func__.28135
-c0a02334 r __func__.25577
-c0a02348 r __func__.23975
-c0a02368 r __func__.23985
-c0a02384 r __func__.30938
-c0a02394 r debug_fops
-c0a0240c r pm_dbg_option_fops
-c0a02484 r pwrdm_suspend_fops
-c0a024fc r pwrdm_state_names
-c0a0250c r __func__.30154
-c0a02524 r __func__.30166
-c0a02544 r __func__.30177
-c0a02568 r __func__.30189
-c0a02584 r __func__.30203
-c0a025a0 r __func__.30215
-c0a025c0 r __func__.30227
-c0a025d8 r __func__.30239
-c0a025f0 r __func__.30248
-c0a0260c r __func__.30257
-c0a02628 r __func__.19941
-c0a0263c r __func__.19953
-c0a02658 r __func__.19965
-c0a02674 r __func__.19977
-c0a0268c r __func__.19988
-c0a026a4 r __func__.28041
-c0a026b8 r __func__.28049
-c0a026c8 r __func__.28057
-c0a026d8 r __func__.28062
-c0a026f4 r __func__.28068
-c0a02710 r __func__.28076
-c0a0272c r __func__.28081
-c0a02744 r __func__.14518
-c0a02758 r __func__.14345
-c0a0276c r __func__.14379
-c0a02784 r __func__.14532
-c0a0279c r __func__.14512
-c0a027b0 r __func__.27364
-c0a027c0 r __func__.27389
-c0a027dc r __func__.27402
-c0a027ec r __func__.27409
-c0a027fc r __func__.34357
-c0a02814 r __func__.34364
-c0a02834 r __func__.27872
-c0a02848 r __func__.29301
-c0a02858 r __func__.36945
-c0a0286c r __func__.36957
-c0a0287c r __func__.36813
-c0a02890 r __func__.26969
-c0a028a8 r __func__.26938
-c0a028c0 r __func__.26928
-c0a028d4 r omap_timer_match
-c0a02ef4 r __func__.27014
-c0a02f08 r __func__.26797
-c0a02f20 r __func__.26943
-c0a02f3c r __func__.26966
-c0a02f58 r __func__.26977
-c0a02f74 r CSWTCH.92
-c0a02f80 r __func__.26836
-c0a02f9c r __func__.26648
-c0a02fb8 r __func__.26712
-c0a02fd8 r omap3plus_pdata
-c0a02fe8 r execdomains_proc_fops
-c0a03060 r tnts
-c0a03090 r __param_str_crash_kexec_post_notifiers
-c0a030ac r __param_str_panic_on_warn
-c0a030bc r __param_str_pause_on_oops
-c0a030cc r __param_str_panic
-c0a030d4 R cpu_all_bits
-c0a030d8 R cpu_bit_bitmap
-c0a0315c R softirq_to_name
-c0a03184 r resource_op
-c0a03194 r proc_ioports_operations
-c0a0320c r proc_iomem_operations
-c0a03284 r proc_wspace_sep
-c0a03290 r cap_last_cap
-c0a03294 r __func__.47243
-c0a032b0 R __cap_empty_set
-c0a032b8 r __func__.40763
-c0a032d0 r offsets.39360
-c0a032dc r wq_sysfs_group
-c0a032f0 r __param_str_debug_force_rr_cpu
-c0a03310 r __param_str_power_efficient
-c0a0332c r __param_str_disable_numa
-c0a03344 r module_uevent_ops
-c0a03350 r module_sysfs_ops
-c0a03358 R param_ops_string
-c0a03368 R param_array_ops
-c0a03378 R param_ops_bint
-c0a03388 R param_ops_invbool
-c0a03398 R param_ops_bool_enable_only
-c0a033a8 R param_ops_bool
-c0a033b8 R param_ops_charp
-c0a033c8 R param_ops_ullong
-c0a033d8 R param_ops_ulong
-c0a033e8 R param_ops_long
-c0a033f8 R param_ops_uint
-c0a03408 R param_ops_int
-c0a03418 R param_ops_ushort
-c0a03428 R param_ops_short
-c0a03438 R param_ops_byte
-c0a03448 r param.26429
-c0a0344c r reboot_cmd
-c0a0345c r __func__.5705
-c0a03470 R sched_prio_to_weight
-c0a03510 R sched_prio_to_wmult
-c0a035b0 r stat_nam
-c0a035c0 R min_cfs_quota_period
-c0a035c8 R max_cfs_quota_period
-c0a035d0 R idle_sched_class
-c0a03618 R fair_sched_class
-c0a03660 R rt_sched_class
-c0a036a8 R dl_sched_class
-c0a036f0 R stop_sched_class
-c0a03738 r schedstat_sops
-c0a03748 r proc_schedstat_operations
-c0a037c0 r sched_feat_fops
-c0a03838 r sched_feat_names
-c0a03878 r sched_debug_sops
-c0a03888 r sched_debug_fops
-c0a03900 r sched_tunable_scaling_names
-c0a0390c r pm_qos_array
-c0a03920 r pm_qos_power_fops
-c0a03998 r pm_qos_debug_fops
-c0a03a10 r CSWTCH.162
-c0a03a1c r __func__.31252
-c0a03a38 r __func__.31395
-c0a03a58 r suspend_stats_operations
-c0a03ad0 r CSWTCH.48
-c0a03af0 r pm_tests
-c0a03b08 r __param_str_pm_test_delay
-c0a03b20 r trunc_msg
-c0a03b2c r recursion_msg.36570
-c0a03b4c r __param_str_always_kmsg_dump
-c0a03b64 r __param_str_console_suspend
-c0a03b7c r __param_str_time
-c0a03b88 r __param_str_ignore_loglevel
-c0a03ba0 R kmsg_fops
-c0a03c18 r __param_str_irqfixup
-c0a03c2c r __param_str_noirqdebug
-c0a03c40 r __func__.26206
-c0a03c54 R irq_domain_simple_ops
-c0a03c7c r irq_spurious_proc_fops
-c0a03cf4 r msi_domain_ops
-c0a03d1c r __param_str_rcu_cpu_stall_timeout
-c0a03d3c r __param_str_rcu_cpu_stall_suppress
-c0a03d5c r __param_str_rcu_normal_after_boot
-c0a03d7c r __param_str_rcu_normal
-c0a03d90 r __param_str_rcu_expedited
-c0a03da8 r gp_ops
-c0a03dcc r CSWTCH.367
-c0a03dd8 r gp_state_names
-c0a03df4 r __param_str_jiffies_till_sched_qs
-c0a03e14 r __param_str_rcu_kick_kthreads
-c0a03e30 r __param_str_jiffies_till_next_fqs
-c0a03e50 r __param_str_jiffies_till_first_fqs
-c0a03e70 r __param_str_qlowmark
-c0a03e84 r __param_str_qhimark
-c0a03e94 r __param_str_blimit
-c0a03ea4 r __param_str_kthread_prio
-c0a03ebc r __param_str_rcu_fanout_leaf
-c0a03ed4 r __param_str_rcu_fanout_exact
-c0a03ef0 r __param_str_dump_tree
-c0a03f04 r hrtimer_clock_to_base_table
-c0a03f6c r offsets
-c0a03f78 r timer_list_sops
-c0a03f88 r timer_list_fops
-c0a04000 r __mon_yday
-c0a04034 r posix_clock_file_operations
-c0a040ac r alarmtimer_pm_ops
-c0a04108 r __param_str_irqtime
-c0a04110 r tk_debug_sleep_time_fops
-c0a04188 r modules_op
-c0a04198 r proc_modules_operations
-c0a04210 r arr.33985
-c0a0424c r __func__.35164
-c0a0425c r vermagic
-c0a0429c r masks.34837
-c0a042c4 r modinfo_attrs
-c0a042e8 r __param_str_module_blacklist
-c0a042fc r __param_str_nomodule
-c0a04308 r __param_str_sig_enforce
-c0a0431c r kallsyms_op
-c0a0432c r kallsyms_operations
-c0a043a4 r __func__.53739
-c0a043b8 r cgroup_subsys
-c0a043d8 r cgroup_subsys_enabled_key
-c0a043f8 r cgroup_subsys_on_dfl_key
-c0a04418 r cgroup_subsys_name
-c0a04438 r proc_cgroupstats_operations
-c0a044b0 R cgroupns_operations
-c0a044cc R utsns_operations
-c0a044e8 R pidns_operations
-c0a04504 r kernel_config_data
-c0a0bcdc r ikconfig_file_ops
-c0a0bd54 r mode1_syscalls
-c0a0bd68 r jumptable.45708
-c0a0c168 r __func__.45888
-c0a0c178 R bpf_tail_call_proto
-c0a0c198 r __func__.50908
-c0a0c1ac r perf_mmap_vmops
-c0a0c1d8 r perf_fops
-c0a0c250 r if_tokens
-c0a0c290 r pmu_dev_group
-c0a0c2a4 r __func__.24217
-c0a0c2c0 r __func__.24230
-c0a0c2d8 r __func__.24138
-c0a0c2ec r __func__.24193
-c0a0c300 r __func__.24205
+c0a00068 R linux_banner
+c0a000f8 r __func__.5825
+c0a00108 r sqrt_oddadjust
+c0a00128 r sqrt_evenadjust
+c0a00148 r __func__.5807
+c0a00158 r cc_map
+c0a00178 r isa_modes
+c0a00188 r processor_modes
+c0a00208 r sigpage_mapping
+c0a00218 r regoffset_table
+c0a002b0 r user_arm_view
+c0a002c4 r arm_regsets
+c0a00330 r hwcap_str
+c0a0038c r hwcap2_str
+c0a003a4 r proc_arch
+c0a003e8 R cpuinfo_op
+c0a003f8 R sigreturn_codes
+c0a00414 r handler
+c0a00428 r atags_fops
+c0a004a0 r pmresrn_table.31150
+c0a004b0 r pmresrn_table.31002
+c0a004bc r scorpion_perf_cache_map
+c0a00564 r scorpion_perf_map
+c0a0058c r krait_perf_cache_map
+c0a00634 r krait_perf_map
+c0a0065c r krait_perf_map_no_branch
+c0a00684 r armv7_a5_perf_cache_map
+c0a0072c r armv7_a5_perf_map
+c0a00754 r armv7_a7_perf_cache_map
+c0a007fc r armv7_a7_perf_map
+c0a00824 r armv7_a8_perf_cache_map
+c0a008cc r armv7_a8_perf_map
+c0a008f4 r armv7_a9_perf_cache_map
+c0a0099c r armv7_a9_perf_map
+c0a009c4 r armv7_a12_perf_cache_map
+c0a00a6c r armv7_a12_perf_map
+c0a00a94 r armv7_a15_perf_cache_map
+c0a00b3c r armv7_a15_perf_map
+c0a00b64 r armv7_pmu_probe_table
+c0a00b88 r armv7_pmu_of_device_ids
+c0a013f4 r usermode_action
+c0a0140c r alignment_proc_fops
+c0a01484 r subset.21772
+c0a014a4 r subset.21782
+c0a014b4 r __param_str_alignment
+c0a014c0 r cpu_arch_name
+c0a014c6 r cpu_elf_name
+c0a014cc r l2c220_data
+c0a01514 r omap_types
+c0a01528 r __func__.28508
+c0a01540 r __func__.29284
+c0a01560 r __func__.29289
+c0a01580 r am33xx_control_reg_offsets
+c0a01640 r am43xx_control_reg_offsets
+c0a0171c r omap_scrm_dt_match_table
+c0a01ec4 r omap2_ctrl_data
+c0a01ecc r omap_mux_dbg_signal_fops
+c0a01f44 r omap_mux_dbg_board_fops
+c0a01fbc r __func__.28699
+c0a01fd0 r __func__.28741
+c0a01fe8 r __func__.28758
+c0a02000 r __func__.28788
+c0a02014 r __func__.29075
+c0a02028 r __func__.29089
+c0a0203c r __func__.29126
+c0a0204c r __func__.29002
+c0a02064 r __func__.29015
+c0a02080 r __func__.29102
+c0a02094 r __func__.30036
+c0a020b4 r __func__.30084
+c0a020c8 r __func__.30078
+c0a020d8 r __func__.36712
+c0a020ec r omap_pm_ops
+c0a02114 r reg_map
+c0a021e8 r __func__.31257
+c0a02204 r __func__.27253
+c0a0221c r __func__.27271
+c0a02234 r __func__.28011
+c0a02244 r name
+c0a02250 r __func__.27252
+c0a02264 r __func__.36709
+c0a02274 r modck.36708
+c0a0227c r __func__.37246
+c0a02298 r __func__.28074
+c0a022b0 r __func__.28070
+c0a022cc r __func__.28103
+c0a022e0 r __func__.28109
+c0a022f4 r __func__.28161
+c0a0230c r __func__.28135
+c0a0232c r __func__.25577
+c0a02340 r __func__.23975
+c0a02360 r __func__.23985
+c0a0237c r __func__.30938
+c0a0238c r debug_fops
+c0a02404 r pm_dbg_option_fops
+c0a0247c r pwrdm_suspend_fops
+c0a024f4 r pwrdm_state_names
+c0a02504 r __func__.30154
+c0a0251c r __func__.30166
+c0a0253c r __func__.30177
+c0a02560 r __func__.30189
+c0a0257c r __func__.30203
+c0a02598 r __func__.30215
+c0a025b8 r __func__.30227
+c0a025d0 r __func__.30239
+c0a025e8 r __func__.30248
+c0a02604 r __func__.30257
+c0a02620 r __func__.19941
+c0a02634 r __func__.19953
+c0a02650 r __func__.19965
+c0a0266c r __func__.19977
+c0a02684 r __func__.19988
+c0a0269c r __func__.28041
+c0a026b0 r __func__.28049
+c0a026c0 r __func__.28057
+c0a026d0 r __func__.28062
+c0a026ec r __func__.28068
+c0a02708 r __func__.28076
+c0a02724 r __func__.28081
+c0a0273c r __func__.14518
+c0a02750 r __func__.14345
+c0a02764 r __func__.14379
+c0a0277c r __func__.14532
+c0a02794 r __func__.14512
+c0a027a8 r __func__.27364
+c0a027b8 r __func__.27389
+c0a027d4 r __func__.27402
+c0a027e4 r __func__.27409
+c0a027f4 r __func__.34357
+c0a0280c r __func__.34364
+c0a0282c r __func__.27872
+c0a02840 r __func__.29301
+c0a02850 r __func__.36945
+c0a02864 r __func__.36957
+c0a02874 r __func__.36813
+c0a02888 r __func__.26969
+c0a028a0 r __func__.26938
+c0a028b8 r __func__.26928
+c0a028cc r omap_timer_match
+c0a02eec r __func__.27014
+c0a02f00 r __func__.26797
+c0a02f18 r __func__.26943
+c0a02f34 r __func__.26966
+c0a02f50 r __func__.26977
+c0a02f6c r CSWTCH.92
+c0a02f78 r __func__.26836
+c0a02f94 r __func__.26648
+c0a02fb0 r __func__.26712
+c0a02fd0 r omap3plus_pdata
+c0a02fe0 r execdomains_proc_fops
+c0a03058 r tnts
+c0a03088 r __param_str_crash_kexec_post_notifiers
+c0a030a4 r __param_str_panic_on_warn
+c0a030b4 r __param_str_pause_on_oops
+c0a030c4 r __param_str_panic
+c0a030cc R cpu_all_bits
+c0a030d0 R cpu_bit_bitmap
+c0a03154 R softirq_to_name
+c0a0317c r resource_op
+c0a0318c r proc_ioports_operations
+c0a03204 r proc_iomem_operations
+c0a0327c r proc_wspace_sep
+c0a03288 r cap_last_cap
+c0a0328c r __func__.47243
+c0a032a8 R __cap_empty_set
+c0a032b0 r __func__.40763
+c0a032c8 r offsets.39360
+c0a032d4 r wq_sysfs_group
+c0a032e8 r __param_str_debug_force_rr_cpu
+c0a03308 r __param_str_power_efficient
+c0a03324 r __param_str_disable_numa
+c0a0333c r module_uevent_ops
+c0a03348 r module_sysfs_ops
+c0a03350 R param_ops_string
+c0a03360 R param_array_ops
+c0a03370 R param_ops_bint
+c0a03380 R param_ops_invbool
+c0a03390 R param_ops_bool_enable_only
+c0a033a0 R param_ops_bool
+c0a033b0 R param_ops_charp
+c0a033c0 R param_ops_ullong
+c0a033d0 R param_ops_ulong
+c0a033e0 R param_ops_long
+c0a033f0 R param_ops_uint
+c0a03400 R param_ops_int
+c0a03410 R param_ops_ushort
+c0a03420 R param_ops_short
+c0a03430 R param_ops_byte
+c0a03440 r param.26429
+c0a03444 r reboot_cmd
+c0a03454 r __func__.5705
+c0a03468 R sched_prio_to_weight
+c0a03508 R sched_prio_to_wmult
+c0a035a8 r stat_nam
+c0a035b8 R min_cfs_quota_period
+c0a035c0 R max_cfs_quota_period
+c0a035c8 R idle_sched_class
+c0a03610 R fair_sched_class
+c0a03658 R rt_sched_class
+c0a036a0 R dl_sched_class
+c0a036e8 R stop_sched_class
+c0a03730 r schedstat_sops
+c0a03740 r proc_schedstat_operations
+c0a037b8 r sched_feat_fops
+c0a03830 r sched_feat_names
+c0a03870 r sched_debug_sops
+c0a03880 r sched_debug_fops
+c0a038f8 r sched_tunable_scaling_names
+c0a03904 r pm_qos_array
+c0a03918 r pm_qos_power_fops
+c0a03990 r pm_qos_debug_fops
+c0a03a08 r CSWTCH.162
+c0a03a14 r __func__.31252
+c0a03a30 r __func__.31395
+c0a03a50 r suspend_stats_operations
+c0a03ac8 r CSWTCH.48
+c0a03ae8 r pm_tests
+c0a03b00 r __param_str_pm_test_delay
+c0a03b18 r trunc_msg
+c0a03b24 r recursion_msg.36570
+c0a03b44 r __param_str_always_kmsg_dump
+c0a03b5c r __param_str_console_suspend
+c0a03b74 r __param_str_time
+c0a03b80 r __param_str_ignore_loglevel
+c0a03b98 R kmsg_fops
+c0a03c10 r __param_str_irqfixup
+c0a03c24 r __param_str_noirqdebug
+c0a03c38 r __func__.26206
+c0a03c4c R irq_domain_simple_ops
+c0a03c74 r irq_spurious_proc_fops
+c0a03cec r msi_domain_ops
+c0a03d14 r __param_str_rcu_cpu_stall_timeout
+c0a03d34 r __param_str_rcu_cpu_stall_suppress
+c0a03d54 r __param_str_rcu_normal_after_boot
+c0a03d74 r __param_str_rcu_normal
+c0a03d88 r __param_str_rcu_expedited
+c0a03da0 r gp_ops
+c0a03dc4 r CSWTCH.367
+c0a03dd0 r gp_state_names
+c0a03dec r __param_str_jiffies_till_sched_qs
+c0a03e0c r __param_str_rcu_kick_kthreads
+c0a03e28 r __param_str_jiffies_till_next_fqs
+c0a03e48 r __param_str_jiffies_till_first_fqs
+c0a03e68 r __param_str_qlowmark
+c0a03e7c r __param_str_qhimark
+c0a03e8c r __param_str_blimit
+c0a03e9c r __param_str_kthread_prio
+c0a03eb4 r __param_str_rcu_fanout_leaf
+c0a03ecc r __param_str_rcu_fanout_exact
+c0a03ee8 r __param_str_dump_tree
+c0a03efc r hrtimer_clock_to_base_table
+c0a03f64 r offsets
+c0a03f70 r timer_list_sops
+c0a03f80 r timer_list_fops
+c0a03ff8 r __mon_yday
+c0a0402c r posix_clock_file_operations
+c0a040a4 r alarmtimer_pm_ops
+c0a04100 r __param_str_irqtime
+c0a04108 r tk_debug_sleep_time_fops
+c0a04180 r modules_op
+c0a04190 r proc_modules_operations
+c0a04208 r arr.33985
+c0a04244 r __func__.35164
+c0a04254 r vermagic
+c0a04294 r masks.34837
+c0a042bc r modinfo_attrs
+c0a042e0 r __param_str_module_blacklist
+c0a042f4 r __param_str_nomodule
+c0a04300 r __param_str_sig_enforce
+c0a04314 r kallsyms_op
+c0a04324 r kallsyms_operations
+c0a0439c r __func__.53739
+c0a043b0 r cgroup_subsys
+c0a043d0 r cgroup_subsys_enabled_key
+c0a043f0 r cgroup_subsys_on_dfl_key
+c0a04410 r cgroup_subsys_name
+c0a04430 r proc_cgroupstats_operations
+c0a044a8 R cgroupns_operations
+c0a044c4 R utsns_operations
+c0a044e0 R pidns_operations
+c0a044fc r kernel_config_data
+c0a0bcd4 r ikconfig_file_ops
+c0a0bd4c r mode1_syscalls
+c0a0bd60 r jumptable.45708
+c0a0c160 r __func__.45888
+c0a0c170 R bpf_tail_call_proto
+c0a0c190 r __func__.50908
+c0a0c1a4 r perf_mmap_vmops
+c0a0c1d0 r perf_fops
+c0a0c248 r if_tokens
+c0a0c288 r pmu_dev_group
+c0a0c29c r __func__.24217
+c0a0c2b8 r __func__.24230
+c0a0c2d0 r __func__.24138
+c0a0c2e4 r __func__.24193
+c0a0c2f8 r __func__.24205
 c0a0c340 R generic_file_vm_ops
 c0a0c36c r __func__.32733
 c0a0c380 r fallbacks
@@ -72062,7 +72062,7 @@ c0d4d918 T __initramfs_start
 c0d4d918 t __irf_start
 c0d4d918 T __security_initcall_end
 c0d4d918 T __security_initcall_start
-c0d4d99d t __irf_end
+c0d4d99e t __irf_end
 c0d4d9a0 T __initramfs_size
 c0e00000 D __data_loc
 c0e00000 D __init_end

+ 289 - 289
board-support/linux-4.9.59+gitAUTOINC+a75d8e9305-ga75d8e9305/.tmp_kallsyms1.S

@@ -35276,302 +35276,302 @@ kallsyms_offsets:
 	.long	0x9f8000
 	.long	0x9f8000
 	.long	0x9f8010
-	.long	0x9f806c
-	.long	0x9f8100
-	.long	0x9f8110
-	.long	0x9f8130
-	.long	0x9f8150
-	.long	0x9f8160
-	.long	0x9f8180
-	.long	0x9f8190
-	.long	0x9f8210
-	.long	0x9f8220
-	.long	0x9f82b8
-	.long	0x9f82cc
-	.long	0x9f8338
-	.long	0x9f8394
-	.long	0x9f83ac
-	.long	0x9f83f0
-	.long	0x9f8400
-	.long	0x9f841c
-	.long	0x9f8430
-	.long	0x9f84a8
-	.long	0x9f84b8
-	.long	0x9f84c4
-	.long	0x9f856c
-	.long	0x9f8594
-	.long	0x9f863c
-	.long	0x9f8664
-	.long	0x9f868c
-	.long	0x9f8734
-	.long	0x9f875c
-	.long	0x9f8804
-	.long	0x9f882c
-	.long	0x9f88d4
-	.long	0x9f88fc
-	.long	0x9f89a4
-	.long	0x9f89cc
-	.long	0x9f8a74
-	.long	0x9f8a9c
-	.long	0x9f8b44
-	.long	0x9f8b6c
-	.long	0x9f8b90
-	.long	0x9f93fc
-	.long	0x9f9414
-	.long	0x9f948c
-	.long	0x9f94ac
-	.long	0x9f94bc
-	.long	0x9f94c8
-	.long	0x9f94ce
-	.long	0x9f94d4
-	.long	0x9f951c
-	.long	0x9f9530
-	.long	0x9f9548
-	.long	0x9f9568
-	.long	0x9f9588
-	.long	0x9f9648
-	.long	0x9f9724
+	.long	0x9f8068
+	.long	0x9f80f8
+	.long	0x9f8108
+	.long	0x9f8128
+	.long	0x9f8148
+	.long	0x9f8158
+	.long	0x9f8178
+	.long	0x9f8188
+	.long	0x9f8208
+	.long	0x9f8218
+	.long	0x9f82b0
+	.long	0x9f82c4
+	.long	0x9f8330
+	.long	0x9f838c
+	.long	0x9f83a4
+	.long	0x9f83e8
+	.long	0x9f83f8
+	.long	0x9f8414
+	.long	0x9f8428
+	.long	0x9f84a0
+	.long	0x9f84b0
+	.long	0x9f84bc
+	.long	0x9f8564
+	.long	0x9f858c
+	.long	0x9f8634
+	.long	0x9f865c
+	.long	0x9f8684
+	.long	0x9f872c
+	.long	0x9f8754
+	.long	0x9f87fc
+	.long	0x9f8824
+	.long	0x9f88cc
+	.long	0x9f88f4
+	.long	0x9f899c
+	.long	0x9f89c4
+	.long	0x9f8a6c
+	.long	0x9f8a94
+	.long	0x9f8b3c
+	.long	0x9f8b64
+	.long	0x9f8b88
+	.long	0x9f93f4
+	.long	0x9f940c
+	.long	0x9f9484
+	.long	0x9f94a4
+	.long	0x9f94b4
+	.long	0x9f94c0
+	.long	0x9f94c6
+	.long	0x9f94cc
+	.long	0x9f9514
+	.long	0x9f9528
+	.long	0x9f9540
+	.long	0x9f9560
+	.long	0x9f9580
+	.long	0x9f9640
+	.long	0x9f971c
+	.long	0x9f9ec4
 	.long	0x9f9ecc
-	.long	0x9f9ed4
-	.long	0x9f9f4c
-	.long	0x9f9fc4
-	.long	0x9f9fd8
-	.long	0x9f9ff0
-	.long	0x9fa008
-	.long	0x9fa01c
-	.long	0x9fa030
-	.long	0x9fa044
-	.long	0x9fa054
-	.long	0x9fa06c
-	.long	0x9fa088
-	.long	0x9fa09c
-	.long	0x9fa0bc
-	.long	0x9fa0d0
-	.long	0x9fa0e0
-	.long	0x9fa0f4
-	.long	0x9fa11c
-	.long	0x9fa1f0
-	.long	0x9fa20c
-	.long	0x9fa224
-	.long	0x9fa23c
-	.long	0x9fa24c
-	.long	0x9fa258
-	.long	0x9fa26c
+	.long	0x9f9f44
+	.long	0x9f9fbc
+	.long	0x9f9fd0
+	.long	0x9f9fe8
+	.long	0x9fa000
+	.long	0x9fa014
+	.long	0x9fa028
+	.long	0x9fa03c
+	.long	0x9fa04c
+	.long	0x9fa064
+	.long	0x9fa080
+	.long	0x9fa094
+	.long	0x9fa0b4
+	.long	0x9fa0c8
+	.long	0x9fa0d8
+	.long	0x9fa0ec
+	.long	0x9fa114
+	.long	0x9fa1e8
+	.long	0x9fa204
+	.long	0x9fa21c
+	.long	0x9fa234
+	.long	0x9fa244
+	.long	0x9fa250
+	.long	0x9fa264
+	.long	0x9fa274
 	.long	0x9fa27c
-	.long	0x9fa284
-	.long	0x9fa2a0
-	.long	0x9fa2b8
-	.long	0x9fa2d4
-	.long	0x9fa2e8
-	.long	0x9fa2fc
-	.long	0x9fa314
-	.long	0x9fa334
-	.long	0x9fa348
-	.long	0x9fa368
-	.long	0x9fa384
-	.long	0x9fa394
-	.long	0x9fa40c
-	.long	0x9fa484
-	.long	0x9fa4fc
-	.long	0x9fa50c
-	.long	0x9fa524
-	.long	0x9fa544
-	.long	0x9fa568
-	.long	0x9fa584
-	.long	0x9fa5a0
-	.long	0x9fa5c0
-	.long	0x9fa5d8
-	.long	0x9fa5f0
-	.long	0x9fa60c
-	.long	0x9fa628
-	.long	0x9fa63c
-	.long	0x9fa658
-	.long	0x9fa674
-	.long	0x9fa68c
-	.long	0x9fa6a4
-	.long	0x9fa6b8
-	.long	0x9fa6c8
-	.long	0x9fa6d8
-	.long	0x9fa6f4
-	.long	0x9fa710
-	.long	0x9fa72c
-	.long	0x9fa744
-	.long	0x9fa758
-	.long	0x9fa76c
-	.long	0x9fa784
-	.long	0x9fa79c
-	.long	0x9fa7b0
-	.long	0x9fa7c0
-	.long	0x9fa7dc
-	.long	0x9fa7ec
-	.long	0x9fa7fc
-	.long	0x9fa814
-	.long	0x9fa834
-	.long	0x9fa848
-	.long	0x9fa858
-	.long	0x9fa86c
-	.long	0x9fa87c
-	.long	0x9fa890
-	.long	0x9fa8a8
-	.long	0x9fa8c0
-	.long	0x9fa8d4
-	.long	0x9faef4
-	.long	0x9faf08
-	.long	0x9faf20
-	.long	0x9faf3c
-	.long	0x9faf58
-	.long	0x9faf74
-	.long	0x9faf80
-	.long	0x9faf9c
-	.long	0x9fafb8
-	.long	0x9fafd8
-	.long	0x9fafe8
-	.long	0x9fb060
-	.long	0x9fb090
-	.long	0x9fb0ac
-	.long	0x9fb0bc
+	.long	0x9fa298
+	.long	0x9fa2b0
+	.long	0x9fa2cc
+	.long	0x9fa2e0
+	.long	0x9fa2f4
+	.long	0x9fa30c
+	.long	0x9fa32c
+	.long	0x9fa340
+	.long	0x9fa360
+	.long	0x9fa37c
+	.long	0x9fa38c
+	.long	0x9fa404
+	.long	0x9fa47c
+	.long	0x9fa4f4
+	.long	0x9fa504
+	.long	0x9fa51c
+	.long	0x9fa53c
+	.long	0x9fa560
+	.long	0x9fa57c
+	.long	0x9fa598
+	.long	0x9fa5b8
+	.long	0x9fa5d0
+	.long	0x9fa5e8
+	.long	0x9fa604
+	.long	0x9fa620
+	.long	0x9fa634
+	.long	0x9fa650
+	.long	0x9fa66c
+	.long	0x9fa684
+	.long	0x9fa69c
+	.long	0x9fa6b0
+	.long	0x9fa6c0
+	.long	0x9fa6d0
+	.long	0x9fa6ec
+	.long	0x9fa708
+	.long	0x9fa724
+	.long	0x9fa73c
+	.long	0x9fa750
+	.long	0x9fa764
+	.long	0x9fa77c
+	.long	0x9fa794
+	.long	0x9fa7a8
+	.long	0x9fa7b8
+	.long	0x9fa7d4
+	.long	0x9fa7e4
+	.long	0x9fa7f4
+	.long	0x9fa80c
+	.long	0x9fa82c
+	.long	0x9fa840
+	.long	0x9fa850
+	.long	0x9fa864
+	.long	0x9fa874
+	.long	0x9fa888
+	.long	0x9fa8a0
+	.long	0x9fa8b8
+	.long	0x9fa8cc
+	.long	0x9faeec
+	.long	0x9faf00
+	.long	0x9faf18
+	.long	0x9faf34
+	.long	0x9faf50
+	.long	0x9faf6c
+	.long	0x9faf78
+	.long	0x9faf94
+	.long	0x9fafb0
+	.long	0x9fafd0
+	.long	0x9fafe0
+	.long	0x9fb058
+	.long	0x9fb088
+	.long	0x9fb0a4
+	.long	0x9fb0b4
+	.long	0x9fb0c4
 	.long	0x9fb0cc
-	.long	0x9fb0d4
-	.long	0x9fb0d8
-	.long	0x9fb15c
-	.long	0x9fb184
-	.long	0x9fb194
-	.long	0x9fb20c
-	.long	0x9fb284
-	.long	0x9fb290
-	.long	0x9fb294
+	.long	0x9fb0d0
+	.long	0x9fb154
+	.long	0x9fb17c
+	.long	0x9fb18c
+	.long	0x9fb204
+	.long	0x9fb27c
+	.long	0x9fb288
+	.long	0x9fb28c
+	.long	0x9fb2a8
 	.long	0x9fb2b0
-	.long	0x9fb2b8
-	.long	0x9fb2d0
-	.long	0x9fb2dc
-	.long	0x9fb2f0
-	.long	0x9fb310
-	.long	0x9fb32c
-	.long	0x9fb344
+	.long	0x9fb2c8
+	.long	0x9fb2d4
+	.long	0x9fb2e8
+	.long	0x9fb308
+	.long	0x9fb324
+	.long	0x9fb33c
+	.long	0x9fb348
 	.long	0x9fb350
-	.long	0x9fb358
-	.long	0x9fb368
-	.long	0x9fb378
-	.long	0x9fb388
-	.long	0x9fb398
-	.long	0x9fb3a8
-	.long	0x9fb3b8
-	.long	0x9fb3c8
-	.long	0x9fb3d8
-	.long	0x9fb3e8
-	.long	0x9fb3f8
-	.long	0x9fb408
-	.long	0x9fb418
-	.long	0x9fb428
-	.long	0x9fb438
-	.long	0x9fb448
-	.long	0x9fb44c
-	.long	0x9fb45c
-	.long	0x9fb470
-	.long	0x9fb510
-	.long	0x9fb5b0
+	.long	0x9fb360
+	.long	0x9fb370
+	.long	0x9fb380
+	.long	0x9fb390
+	.long	0x9fb3a0
+	.long	0x9fb3b0
+	.long	0x9fb3c0
+	.long	0x9fb3d0
+	.long	0x9fb3e0
+	.long	0x9fb3f0
+	.long	0x9fb400
+	.long	0x9fb410
+	.long	0x9fb420
+	.long	0x9fb430
+	.long	0x9fb440
+	.long	0x9fb444
+	.long	0x9fb454
+	.long	0x9fb468
+	.long	0x9fb508
+	.long	0x9fb5a8
+	.long	0x9fb5b8
 	.long	0x9fb5c0
 	.long	0x9fb5c8
-	.long	0x9fb5d0
-	.long	0x9fb618
-	.long	0x9fb660
-	.long	0x9fb6a8
-	.long	0x9fb6f0
-	.long	0x9fb738
-	.long	0x9fb748
-	.long	0x9fb7c0
-	.long	0x9fb838
-	.long	0x9fb878
-	.long	0x9fb888
-	.long	0x9fb900
-	.long	0x9fb90c
-	.long	0x9fb920
-	.long	0x9fb998
-	.long	0x9fba10
-	.long	0x9fba1c
-	.long	0x9fba38
-	.long	0x9fba58
-	.long	0x9fbad0
-	.long	0x9fbaf0
-	.long	0x9fbb08
-	.long	0x9fbb20
-	.long	0x9fbb2c
-	.long	0x9fbb4c
-	.long	0x9fbb64
-	.long	0x9fbb7c
-	.long	0x9fbb88
-	.long	0x9fbba0
-	.long	0x9fbc18
-	.long	0x9fbc2c
-	.long	0x9fbc40
-	.long	0x9fbc54
-	.long	0x9fbc7c
-	.long	0x9fbcf4
-	.long	0x9fbd1c
-	.long	0x9fbd3c
-	.long	0x9fbd5c
-	.long	0x9fbd7c
-	.long	0x9fbd90
-	.long	0x9fbda8
-	.long	0x9fbdcc
-	.long	0x9fbdd8
-	.long	0x9fbdf4
-	.long	0x9fbe14
-	.long	0x9fbe30
-	.long	0x9fbe50
-	.long	0x9fbe70
-	.long	0x9fbe84
-	.long	0x9fbe94
-	.long	0x9fbea4
-	.long	0x9fbebc
-	.long	0x9fbed4
-	.long	0x9fbef0
-	.long	0x9fbf04
-	.long	0x9fbf6c
-	.long	0x9fbf78
-	.long	0x9fbf88
-	.long	0x9fc000
-	.long	0x9fc034
-	.long	0x9fc0ac
+	.long	0x9fb610
+	.long	0x9fb658
+	.long	0x9fb6a0
+	.long	0x9fb6e8
+	.long	0x9fb730
+	.long	0x9fb740
+	.long	0x9fb7b8
+	.long	0x9fb830
+	.long	0x9fb870
+	.long	0x9fb880
+	.long	0x9fb8f8
+	.long	0x9fb904
+	.long	0x9fb918
+	.long	0x9fb990
+	.long	0x9fba08
+	.long	0x9fba14
+	.long	0x9fba30
+	.long	0x9fba50
+	.long	0x9fbac8
+	.long	0x9fbae8
+	.long	0x9fbb00
+	.long	0x9fbb18
+	.long	0x9fbb24
+	.long	0x9fbb44
+	.long	0x9fbb5c
+	.long	0x9fbb74
+	.long	0x9fbb80
+	.long	0x9fbb98
+	.long	0x9fbc10
+	.long	0x9fbc24
+	.long	0x9fbc38
+	.long	0x9fbc4c
+	.long	0x9fbc74
+	.long	0x9fbcec
+	.long	0x9fbd14
+	.long	0x9fbd34
+	.long	0x9fbd54
+	.long	0x9fbd74
+	.long	0x9fbd88
+	.long	0x9fbda0
+	.long	0x9fbdc4
+	.long	0x9fbdd0
+	.long	0x9fbdec
+	.long	0x9fbe0c
+	.long	0x9fbe28
+	.long	0x9fbe48
+	.long	0x9fbe68
+	.long	0x9fbe7c
+	.long	0x9fbe8c
+	.long	0x9fbe9c
+	.long	0x9fbeb4
+	.long	0x9fbecc
+	.long	0x9fbee8
+	.long	0x9fbefc
+	.long	0x9fbf64
+	.long	0x9fbf70
+	.long	0x9fbf80
+	.long	0x9fbff8
+	.long	0x9fc02c
+	.long	0x9fc0a4
+	.long	0x9fc100
 	.long	0x9fc108
-	.long	0x9fc110
-	.long	0x9fc188
-	.long	0x9fc198
-	.long	0x9fc210
-	.long	0x9fc24c
-	.long	0x9fc25c
-	.long	0x9fc29c
-	.long	0x9fc2c4
-	.long	0x9fc2e8
-	.long	0x9fc2fc
-	.long	0x9fc308
-	.long	0x9fc31c
-	.long	0x9fc32c
-	.long	0x9fc3a4
-	.long	0x9fc3b8
-	.long	0x9fc3d8
-	.long	0x9fc3f8
-	.long	0x9fc418
-	.long	0x9fc438
-	.long	0x9fc4b0
-	.long	0x9fc4cc
-	.long	0x9fc4e8
-	.long	0x9fc504
-	.long	0xa03cdc
-	.long	0xa03d54
-	.long	0xa03d68
-	.long	0xa04168
-	.long	0xa04178
-	.long	0xa04198
-	.long	0xa041ac
-	.long	0xa041d8
-	.long	0xa04250
-	.long	0xa04290
-	.long	0xa042a4
-	.long	0xa042c0
-	.long	0xa042d8
-	.long	0xa042ec
-	.long	0xa04300
+	.long	0x9fc180
+	.long	0x9fc190
+	.long	0x9fc208
+	.long	0x9fc244
+	.long	0x9fc254
+	.long	0x9fc294
+	.long	0x9fc2bc
+	.long	0x9fc2e0
+	.long	0x9fc2f4
+	.long	0x9fc300
+	.long	0x9fc314
+	.long	0x9fc324
+	.long	0x9fc39c
+	.long	0x9fc3b0
+	.long	0x9fc3d0
+	.long	0x9fc3f0
+	.long	0x9fc410
+	.long	0x9fc430
+	.long	0x9fc4a8
+	.long	0x9fc4c4
+	.long	0x9fc4e0
+	.long	0x9fc4fc
+	.long	0xa03cd4
+	.long	0xa03d4c
+	.long	0xa03d60
+	.long	0xa04160
+	.long	0xa04170
+	.long	0xa04190
+	.long	0xa041a4
+	.long	0xa041d0
+	.long	0xa04248
+	.long	0xa04288
+	.long	0xa0429c
+	.long	0xa042b8
+	.long	0xa042d0
+	.long	0xa042e4
+	.long	0xa042f8
 	.long	0xa04340
 	.long	0xa0436c
 	.long	0xa04380
@@ -72066,7 +72066,7 @@ kallsyms_offsets:
 	.long	0xc45918
 	.long	0xc45918
 	.long	0xc45918
-	.long	0xc4599d
+	.long	0xc4599e
 	.long	0xc459a0
 	.long	0xcf8000
 	.long	0xcf8000

+ 289 - 289
board-support/linux-4.9.59+gitAUTOINC+a75d8e9305-ga75d8e9305/.tmp_kallsyms2.S

@@ -35276,302 +35276,302 @@ kallsyms_offsets:
 	.long	0x9f8000
 	.long	0x9f8000
 	.long	0x9f8010
-	.long	0x9f806c
-	.long	0x9f8100
-	.long	0x9f8110
-	.long	0x9f8130
-	.long	0x9f8150
-	.long	0x9f8160
-	.long	0x9f8180
-	.long	0x9f8190
-	.long	0x9f8210
-	.long	0x9f8220
-	.long	0x9f82b8
-	.long	0x9f82cc
-	.long	0x9f8338
-	.long	0x9f8394
-	.long	0x9f83ac
-	.long	0x9f83f0
-	.long	0x9f8400
-	.long	0x9f841c
-	.long	0x9f8430
-	.long	0x9f84a8
-	.long	0x9f84b8
-	.long	0x9f84c4
-	.long	0x9f856c
-	.long	0x9f8594
-	.long	0x9f863c
-	.long	0x9f8664
-	.long	0x9f868c
-	.long	0x9f8734
-	.long	0x9f875c
-	.long	0x9f8804
-	.long	0x9f882c
-	.long	0x9f88d4
-	.long	0x9f88fc
-	.long	0x9f89a4
-	.long	0x9f89cc
-	.long	0x9f8a74
-	.long	0x9f8a9c
-	.long	0x9f8b44
-	.long	0x9f8b6c
-	.long	0x9f8b90
-	.long	0x9f93fc
-	.long	0x9f9414
-	.long	0x9f948c
-	.long	0x9f94ac
-	.long	0x9f94bc
-	.long	0x9f94c8
-	.long	0x9f94ce
-	.long	0x9f94d4
-	.long	0x9f951c
-	.long	0x9f9530
-	.long	0x9f9548
-	.long	0x9f9568
-	.long	0x9f9588
-	.long	0x9f9648
-	.long	0x9f9724
+	.long	0x9f8068
+	.long	0x9f80f8
+	.long	0x9f8108
+	.long	0x9f8128
+	.long	0x9f8148
+	.long	0x9f8158
+	.long	0x9f8178
+	.long	0x9f8188
+	.long	0x9f8208
+	.long	0x9f8218
+	.long	0x9f82b0
+	.long	0x9f82c4
+	.long	0x9f8330
+	.long	0x9f838c
+	.long	0x9f83a4
+	.long	0x9f83e8
+	.long	0x9f83f8
+	.long	0x9f8414
+	.long	0x9f8428
+	.long	0x9f84a0
+	.long	0x9f84b0
+	.long	0x9f84bc
+	.long	0x9f8564
+	.long	0x9f858c
+	.long	0x9f8634
+	.long	0x9f865c
+	.long	0x9f8684
+	.long	0x9f872c
+	.long	0x9f8754
+	.long	0x9f87fc
+	.long	0x9f8824
+	.long	0x9f88cc
+	.long	0x9f88f4
+	.long	0x9f899c
+	.long	0x9f89c4
+	.long	0x9f8a6c
+	.long	0x9f8a94
+	.long	0x9f8b3c
+	.long	0x9f8b64
+	.long	0x9f8b88
+	.long	0x9f93f4
+	.long	0x9f940c
+	.long	0x9f9484
+	.long	0x9f94a4
+	.long	0x9f94b4
+	.long	0x9f94c0
+	.long	0x9f94c6
+	.long	0x9f94cc
+	.long	0x9f9514
+	.long	0x9f9528
+	.long	0x9f9540
+	.long	0x9f9560
+	.long	0x9f9580
+	.long	0x9f9640
+	.long	0x9f971c
+	.long	0x9f9ec4
 	.long	0x9f9ecc
-	.long	0x9f9ed4
-	.long	0x9f9f4c
-	.long	0x9f9fc4
-	.long	0x9f9fd8
-	.long	0x9f9ff0
-	.long	0x9fa008
-	.long	0x9fa01c
-	.long	0x9fa030
-	.long	0x9fa044
-	.long	0x9fa054
-	.long	0x9fa06c
-	.long	0x9fa088
-	.long	0x9fa09c
-	.long	0x9fa0bc
-	.long	0x9fa0d0
-	.long	0x9fa0e0
-	.long	0x9fa0f4
-	.long	0x9fa11c
-	.long	0x9fa1f0
-	.long	0x9fa20c
-	.long	0x9fa224
-	.long	0x9fa23c
-	.long	0x9fa24c
-	.long	0x9fa258
-	.long	0x9fa26c
+	.long	0x9f9f44
+	.long	0x9f9fbc
+	.long	0x9f9fd0
+	.long	0x9f9fe8
+	.long	0x9fa000
+	.long	0x9fa014
+	.long	0x9fa028
+	.long	0x9fa03c
+	.long	0x9fa04c
+	.long	0x9fa064
+	.long	0x9fa080
+	.long	0x9fa094
+	.long	0x9fa0b4
+	.long	0x9fa0c8
+	.long	0x9fa0d8
+	.long	0x9fa0ec
+	.long	0x9fa114
+	.long	0x9fa1e8
+	.long	0x9fa204
+	.long	0x9fa21c
+	.long	0x9fa234
+	.long	0x9fa244
+	.long	0x9fa250
+	.long	0x9fa264
+	.long	0x9fa274
 	.long	0x9fa27c
-	.long	0x9fa284
-	.long	0x9fa2a0
-	.long	0x9fa2b8
-	.long	0x9fa2d4
-	.long	0x9fa2e8
-	.long	0x9fa2fc
-	.long	0x9fa314
-	.long	0x9fa334
-	.long	0x9fa348
-	.long	0x9fa368
-	.long	0x9fa384
-	.long	0x9fa394
-	.long	0x9fa40c
-	.long	0x9fa484
-	.long	0x9fa4fc
-	.long	0x9fa50c
-	.long	0x9fa524
-	.long	0x9fa544
-	.long	0x9fa568
-	.long	0x9fa584
-	.long	0x9fa5a0
-	.long	0x9fa5c0
-	.long	0x9fa5d8
-	.long	0x9fa5f0
-	.long	0x9fa60c
-	.long	0x9fa628
-	.long	0x9fa63c
-	.long	0x9fa658
-	.long	0x9fa674
-	.long	0x9fa68c
-	.long	0x9fa6a4
-	.long	0x9fa6b8
-	.long	0x9fa6c8
-	.long	0x9fa6d8
-	.long	0x9fa6f4
-	.long	0x9fa710
-	.long	0x9fa72c
-	.long	0x9fa744
-	.long	0x9fa758
-	.long	0x9fa76c
-	.long	0x9fa784
-	.long	0x9fa79c
-	.long	0x9fa7b0
-	.long	0x9fa7c0
-	.long	0x9fa7dc
-	.long	0x9fa7ec
-	.long	0x9fa7fc
-	.long	0x9fa814
-	.long	0x9fa834
-	.long	0x9fa848
-	.long	0x9fa858
-	.long	0x9fa86c
-	.long	0x9fa87c
-	.long	0x9fa890
-	.long	0x9fa8a8
-	.long	0x9fa8c0
-	.long	0x9fa8d4
-	.long	0x9faef4
-	.long	0x9faf08
-	.long	0x9faf20
-	.long	0x9faf3c
-	.long	0x9faf58
-	.long	0x9faf74
-	.long	0x9faf80
-	.long	0x9faf9c
-	.long	0x9fafb8
-	.long	0x9fafd8
-	.long	0x9fafe8
-	.long	0x9fb060
-	.long	0x9fb090
-	.long	0x9fb0ac
-	.long	0x9fb0bc
+	.long	0x9fa298
+	.long	0x9fa2b0
+	.long	0x9fa2cc
+	.long	0x9fa2e0
+	.long	0x9fa2f4
+	.long	0x9fa30c
+	.long	0x9fa32c
+	.long	0x9fa340
+	.long	0x9fa360
+	.long	0x9fa37c
+	.long	0x9fa38c
+	.long	0x9fa404
+	.long	0x9fa47c
+	.long	0x9fa4f4
+	.long	0x9fa504
+	.long	0x9fa51c
+	.long	0x9fa53c
+	.long	0x9fa560
+	.long	0x9fa57c
+	.long	0x9fa598
+	.long	0x9fa5b8
+	.long	0x9fa5d0
+	.long	0x9fa5e8
+	.long	0x9fa604
+	.long	0x9fa620
+	.long	0x9fa634
+	.long	0x9fa650
+	.long	0x9fa66c
+	.long	0x9fa684
+	.long	0x9fa69c
+	.long	0x9fa6b0
+	.long	0x9fa6c0
+	.long	0x9fa6d0
+	.long	0x9fa6ec
+	.long	0x9fa708
+	.long	0x9fa724
+	.long	0x9fa73c
+	.long	0x9fa750
+	.long	0x9fa764
+	.long	0x9fa77c
+	.long	0x9fa794
+	.long	0x9fa7a8
+	.long	0x9fa7b8
+	.long	0x9fa7d4
+	.long	0x9fa7e4
+	.long	0x9fa7f4
+	.long	0x9fa80c
+	.long	0x9fa82c
+	.long	0x9fa840
+	.long	0x9fa850
+	.long	0x9fa864
+	.long	0x9fa874
+	.long	0x9fa888
+	.long	0x9fa8a0
+	.long	0x9fa8b8
+	.long	0x9fa8cc
+	.long	0x9faeec
+	.long	0x9faf00
+	.long	0x9faf18
+	.long	0x9faf34
+	.long	0x9faf50
+	.long	0x9faf6c
+	.long	0x9faf78
+	.long	0x9faf94
+	.long	0x9fafb0
+	.long	0x9fafd0
+	.long	0x9fafe0
+	.long	0x9fb058
+	.long	0x9fb088
+	.long	0x9fb0a4
+	.long	0x9fb0b4
+	.long	0x9fb0c4
 	.long	0x9fb0cc
-	.long	0x9fb0d4
-	.long	0x9fb0d8
-	.long	0x9fb15c
-	.long	0x9fb184
-	.long	0x9fb194
-	.long	0x9fb20c
-	.long	0x9fb284
-	.long	0x9fb290
-	.long	0x9fb294
+	.long	0x9fb0d0
+	.long	0x9fb154
+	.long	0x9fb17c
+	.long	0x9fb18c
+	.long	0x9fb204
+	.long	0x9fb27c
+	.long	0x9fb288
+	.long	0x9fb28c
+	.long	0x9fb2a8
 	.long	0x9fb2b0
-	.long	0x9fb2b8
-	.long	0x9fb2d0
-	.long	0x9fb2dc
-	.long	0x9fb2f0
-	.long	0x9fb310
-	.long	0x9fb32c
-	.long	0x9fb344
+	.long	0x9fb2c8
+	.long	0x9fb2d4
+	.long	0x9fb2e8
+	.long	0x9fb308
+	.long	0x9fb324
+	.long	0x9fb33c
+	.long	0x9fb348
 	.long	0x9fb350
-	.long	0x9fb358
-	.long	0x9fb368
-	.long	0x9fb378
-	.long	0x9fb388
-	.long	0x9fb398
-	.long	0x9fb3a8
-	.long	0x9fb3b8
-	.long	0x9fb3c8
-	.long	0x9fb3d8
-	.long	0x9fb3e8
-	.long	0x9fb3f8
-	.long	0x9fb408
-	.long	0x9fb418
-	.long	0x9fb428
-	.long	0x9fb438
-	.long	0x9fb448
-	.long	0x9fb44c
-	.long	0x9fb45c
-	.long	0x9fb470
-	.long	0x9fb510
-	.long	0x9fb5b0
+	.long	0x9fb360
+	.long	0x9fb370
+	.long	0x9fb380
+	.long	0x9fb390
+	.long	0x9fb3a0
+	.long	0x9fb3b0
+	.long	0x9fb3c0
+	.long	0x9fb3d0
+	.long	0x9fb3e0
+	.long	0x9fb3f0
+	.long	0x9fb400
+	.long	0x9fb410
+	.long	0x9fb420
+	.long	0x9fb430
+	.long	0x9fb440
+	.long	0x9fb444
+	.long	0x9fb454
+	.long	0x9fb468
+	.long	0x9fb508
+	.long	0x9fb5a8
+	.long	0x9fb5b8
 	.long	0x9fb5c0
 	.long	0x9fb5c8
-	.long	0x9fb5d0
-	.long	0x9fb618
-	.long	0x9fb660
-	.long	0x9fb6a8
-	.long	0x9fb6f0
-	.long	0x9fb738
-	.long	0x9fb748
-	.long	0x9fb7c0
-	.long	0x9fb838
-	.long	0x9fb878
-	.long	0x9fb888
-	.long	0x9fb900
-	.long	0x9fb90c
-	.long	0x9fb920
-	.long	0x9fb998
-	.long	0x9fba10
-	.long	0x9fba1c
-	.long	0x9fba38
-	.long	0x9fba58
-	.long	0x9fbad0
-	.long	0x9fbaf0
-	.long	0x9fbb08
-	.long	0x9fbb20
-	.long	0x9fbb2c
-	.long	0x9fbb4c
-	.long	0x9fbb64
-	.long	0x9fbb7c
-	.long	0x9fbb88
-	.long	0x9fbba0
-	.long	0x9fbc18
-	.long	0x9fbc2c
-	.long	0x9fbc40
-	.long	0x9fbc54
-	.long	0x9fbc7c
-	.long	0x9fbcf4
-	.long	0x9fbd1c
-	.long	0x9fbd3c
-	.long	0x9fbd5c
-	.long	0x9fbd7c
-	.long	0x9fbd90
-	.long	0x9fbda8
-	.long	0x9fbdcc
-	.long	0x9fbdd8
-	.long	0x9fbdf4
-	.long	0x9fbe14
-	.long	0x9fbe30
-	.long	0x9fbe50
-	.long	0x9fbe70
-	.long	0x9fbe84
-	.long	0x9fbe94
-	.long	0x9fbea4
-	.long	0x9fbebc
-	.long	0x9fbed4
-	.long	0x9fbef0
-	.long	0x9fbf04
-	.long	0x9fbf6c
-	.long	0x9fbf78
-	.long	0x9fbf88
-	.long	0x9fc000
-	.long	0x9fc034
-	.long	0x9fc0ac
+	.long	0x9fb610
+	.long	0x9fb658
+	.long	0x9fb6a0
+	.long	0x9fb6e8
+	.long	0x9fb730
+	.long	0x9fb740
+	.long	0x9fb7b8
+	.long	0x9fb830
+	.long	0x9fb870
+	.long	0x9fb880
+	.long	0x9fb8f8
+	.long	0x9fb904
+	.long	0x9fb918
+	.long	0x9fb990
+	.long	0x9fba08
+	.long	0x9fba14
+	.long	0x9fba30
+	.long	0x9fba50
+	.long	0x9fbac8
+	.long	0x9fbae8
+	.long	0x9fbb00
+	.long	0x9fbb18
+	.long	0x9fbb24
+	.long	0x9fbb44
+	.long	0x9fbb5c
+	.long	0x9fbb74
+	.long	0x9fbb80
+	.long	0x9fbb98
+	.long	0x9fbc10
+	.long	0x9fbc24
+	.long	0x9fbc38
+	.long	0x9fbc4c
+	.long	0x9fbc74
+	.long	0x9fbcec
+	.long	0x9fbd14
+	.long	0x9fbd34
+	.long	0x9fbd54
+	.long	0x9fbd74
+	.long	0x9fbd88
+	.long	0x9fbda0
+	.long	0x9fbdc4
+	.long	0x9fbdd0
+	.long	0x9fbdec
+	.long	0x9fbe0c
+	.long	0x9fbe28
+	.long	0x9fbe48
+	.long	0x9fbe68
+	.long	0x9fbe7c
+	.long	0x9fbe8c
+	.long	0x9fbe9c
+	.long	0x9fbeb4
+	.long	0x9fbecc
+	.long	0x9fbee8
+	.long	0x9fbefc
+	.long	0x9fbf64
+	.long	0x9fbf70
+	.long	0x9fbf80
+	.long	0x9fbff8
+	.long	0x9fc02c
+	.long	0x9fc0a4
+	.long	0x9fc100
 	.long	0x9fc108
-	.long	0x9fc110
-	.long	0x9fc188
-	.long	0x9fc198
-	.long	0x9fc210
-	.long	0x9fc24c
-	.long	0x9fc25c
-	.long	0x9fc29c
-	.long	0x9fc2c4
-	.long	0x9fc2e8
-	.long	0x9fc2fc
-	.long	0x9fc308
-	.long	0x9fc31c
-	.long	0x9fc32c
-	.long	0x9fc3a4
-	.long	0x9fc3b8
-	.long	0x9fc3d8
-	.long	0x9fc3f8
-	.long	0x9fc418
-	.long	0x9fc438
-	.long	0x9fc4b0
-	.long	0x9fc4cc
-	.long	0x9fc4e8
-	.long	0x9fc504
-	.long	0xa03cdc
-	.long	0xa03d54
-	.long	0xa03d68
-	.long	0xa04168
-	.long	0xa04178
-	.long	0xa04198
-	.long	0xa041ac
-	.long	0xa041d8
-	.long	0xa04250
-	.long	0xa04290
-	.long	0xa042a4
-	.long	0xa042c0
-	.long	0xa042d8
-	.long	0xa042ec
-	.long	0xa04300
+	.long	0x9fc180
+	.long	0x9fc190
+	.long	0x9fc208
+	.long	0x9fc244
+	.long	0x9fc254
+	.long	0x9fc294
+	.long	0x9fc2bc
+	.long	0x9fc2e0
+	.long	0x9fc2f4
+	.long	0x9fc300
+	.long	0x9fc314
+	.long	0x9fc324
+	.long	0x9fc39c
+	.long	0x9fc3b0
+	.long	0x9fc3d0
+	.long	0x9fc3f0
+	.long	0x9fc410
+	.long	0x9fc430
+	.long	0x9fc4a8
+	.long	0x9fc4c4
+	.long	0x9fc4e0
+	.long	0x9fc4fc
+	.long	0xa03cd4
+	.long	0xa03d4c
+	.long	0xa03d60
+	.long	0xa04160
+	.long	0xa04170
+	.long	0xa04190
+	.long	0xa041a4
+	.long	0xa041d0
+	.long	0xa04248
+	.long	0xa04288
+	.long	0xa0429c
+	.long	0xa042b8
+	.long	0xa042d0
+	.long	0xa042e4
+	.long	0xa042f8
 	.long	0xa04340
 	.long	0xa0436c
 	.long	0xa04380
@@ -72066,7 +72066,7 @@ kallsyms_offsets:
 	.long	0xd45918
 	.long	0xd45918
 	.long	0xd45918
-	.long	0xd4599d
+	.long	0xd4599e
 	.long	0xd459a0
 	.long	0xdf8000
 	.long	0xdf8000

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

@@ -1 +1 @@
-32
+33

+ 99 - 47
board-support/linux-4.9.59+gitAUTOINC+a75d8e9305-ga75d8e9305/arch/arm/boot/dts/.am335x-evm.dtb.dts.tmp

@@ -1199,27 +1199,37 @@
 
 
 
+   0x020 (((1 << 5) | (1 << 3)) | 7)
+   0x024 (((1 << 5) | (1 << 3)) | 7)
+   0x028 (((1 << 5) | (1 << 3)) | 7)
+   0x02C (((1 << 5) | (1 << 3)) | 7)
    0x144 (((1 << 5) | (1 << 3)) | 7)
    0x1B0 (((1 << 3)) | 7)
    0x1B4 (((1 << 5) | (1 << 3)) | 7)
 
 
-   0x088 (((1 << 5) | (1 << 3)) | 7)
-   0x08C (((1 << 3)) | 7)
-   0x0A0 (((1 << 3)) | 7)
-   0x0A4 (((1 << 3)) | 7)
-   0x0A8 (((1 << 3)) | 7)
-   0x0AC (((1 << 3)) | 7)
-   0x0B0 (((1 << 3)) | 7)
-   0x0B4 (((1 << 3)) | 7)
-   0x0E8 (((1 << 5) | (1 << 3)) | 7)
-   0x0E0 (((1 << 3)) | 7)
+   0x030 (((1 << 5) | (1 << 3)) | 7)
+   0x034 (((1 << 5) | (1 << 3)) | 7)
+   0x038 (((1 << 5) | (1 << 3)) | 7)
+   0x03C (((1 << 5) | (1 << 3)) | 7)
+
+
    0x0EC (((1 << 3)) | 7)
+   0x0E4 (((1 << 3)) | 7)
+   0x0E8 (((1 << 5) | (1 << 3)) | 7)
+   0x0E0 (((1 << 5) | (1 << 3)) | 7)
 
 
-   0x1A0 (((1 << 3)) | 7)
+    ((((0x9e4)) & 0xffff) - (0x0800)) (0 | 7)
+              ((((0x9e8)) & 0xffff) - (0x0800)) (((1 << 4)) | 7)
+   0x194 (((1 << 5) | (1 << 3)) | 7)
+   0x1A0 (((1 << 5) | (1 << 3)) | 7)
+   0x19C (((1 << 5) | (1 << 3)) | 7)
+   0x190 (((1 << 3)) | 7)
    0x1A4 (((1 << 3)) | 7)
+   0x198 (((1 << 3)) | 7)
    0x1A8 (((1 << 3)) | 7)
+
   >;
  };
 
@@ -1264,7 +1274,14 @@
    0x164 (0 | 1)
   >;
  };
-# 141 "arch/arm/boot/dts/am335x-evm.dts"
+
+ uart5_pins: pinmux_uart5_pins {
+  pinctrl-single,pins = <
+   0x0C0 (0 | 4)
+   0x0C4 (((1 << 5) | (1 << 4)) | 4)
+  >;
+ };
+
  clkout2_pin: pinmux_clkout2_pin {
   pinctrl-single,pins = <
    0x1b4 (0 | 3)
@@ -1315,12 +1332,12 @@
   pinctrl-single,pins = <
 
 
-
-
+   0x108 (((1 << 5) | (1 << 4)) | 0)
+   0x10C(((1 << 5) | (1 << 4)) | 0)
    0x110 (((1 << 5) | (1 << 4)) | 0)
-   0x118 (((1 << 5) | (1 << 4)) | 0)
    0x12c (((1 << 5) | (1 << 4)) | 0)
    0x130 (((1 << 5) | (1 << 4)) | 0)
+   0x118 (((1 << 5) | (1 << 4)) | 0)
    0x134 (((1 << 5) | (1 << 4)) | 0)
    0x138 (((1 << 5) | (1 << 4)) | 0)
    0x13c (((1 << 5) | (1 << 4)) | 0)
@@ -1331,6 +1348,23 @@
    0x124 (0 | 0)
    0x128 (0 | 0)
 
+
+   ((((0x878)) & 0xffff) - (0x0800)) (((1 << 5) | (1 << 4)) | 1)
+   ((((0x888)) & 0xffff) - (0x0800)) (((1 << 5) | (1 << 4)) | 2)
+
+   ((((0x858)) & 0xffff) - (0x0800)) (((1 << 5) | (1 << 4)) | 1)
+   ((((0x85c)) & 0xffff) - (0x0800)) (((1 << 5) | (1 << 4)) | 1)
+   ((((0x844)) & 0xffff) - (0x0800)) (((1 << 5) | (1 << 4)) | 1)
+   ((((0x860)) & 0xffff) - (0x0800)) (((1 << 5) | (1 << 4)) | 1)
+   ((((0x864)) & 0xffff) - (0x0800)) (((1 << 5) | (1 << 4)) | 1)
+   ((((0x868)) & 0xffff) - (0x0800)) (((1 << 5) | (1 << 4)) | 1)
+   ((((0x86c)) & 0xffff) - (0x0800)) (((1 << 5) | (1 << 4)) | 1)
+   ((((0x840)) & 0xffff) - (0x0800)) (0 | 1)
+   ((((0x848)) & 0xffff) - (0x0800)) (0 | 1)
+   ((((0x84c)) & 0xffff) - (0x0800)) (0 | 1)
+   ((((0x850)) & 0xffff) - (0x0800)) (0 | 1)
+   ((((0x854)) & 0xffff) - (0x0800)) (0 | 1)
+
   >;
  };
 
@@ -1350,6 +1384,23 @@
    0x13c (((1 << 5)) | 7)
    0x140 (((1 << 5)) | 7)
 
+
+   ((((0x888)) & 0xffff) - (0x0800)) (((1 << 5)) | 7)
+   ((((0x840)) & 0xffff) - (0x0800)) (((1 << 5)) | 7)
+   ((((0x844)) & 0xffff) - (0x0800)) (((1 << 5)) | 7)
+   ((((0x848)) & 0xffff) - (0x0800)) (((1 << 5)) | 7)
+   ((((0x84c)) & 0xffff) - (0x0800)) (((1 << 5)) | 7)
+   ((((0x850)) & 0xffff) - (0x0800)) (((1 << 5)) | 7)
+   ((((0x854)) & 0xffff) - (0x0800)) (((1 << 5)) | 7)
+   ((((0x858)) & 0xffff) - (0x0800)) (((1 << 5)) | 7)
+   ((((0x85c)) & 0xffff) - (0x0800)) (((1 << 5)) | 7)
+   ((((0x860)) & 0xffff) - (0x0800)) (((1 << 5)) | 7)
+   ((((0x864)) & 0xffff) - (0x0800)) (((1 << 5)) | 7)
+   ((((0x868)) & 0xffff) - (0x0800)) (((1 << 5)) | 7)
+   ((((0x86c)) & 0xffff) - (0x0800)) (((1 << 5)) | 7)
+
+   ((((0x878)) & 0xffff) - (0x0800)) (((1 << 5)) | 7)
+
   >;
  };
 
@@ -1388,15 +1439,14 @@
    0x17C (((1 << 5)) | 2)
   >;
  };
-# 284 "arch/arm/boot/dts/am335x-evm.dts"
- spi1_pins: spi1_pins {
-                pinctrl-single,pins = <
-                        ((((0x990)) & 0xffff) - (0x0800)) (((1 << 5) | (1 << 4)) | 3)
-                        ((((0x994)) & 0xffff) - (0x0800)) (((1 << 5) | (1 << 4)) | 3)
-                        ((((0x998)) & 0xffff) - (0x0800)) (((1 << 4)) | 3)
-                        ((((0x99C)) & 0xffff) - (0x0800)) (((1 << 4)) | 3)
-                >;
-        };
+
+ dcan1_pins_default: dcan1_pins_default {
+  pinctrl-single,pins = <
+   0x168 (((1 << 4)) | 2)
+   0x16C (((1 << 5)) | 2)
+  >;
+ };
+# 329 "arch/arm/boot/dts/am335x-evm.dts"
 };
 
 
@@ -1428,7 +1478,14 @@
 
  status = "okay";
 };
-# 331 "arch/arm/boot/dts/am335x-evm.dts"
+
+&uart5 {
+ pinctrl-names = "default";
+ pinctrl-0 = <&uart5_pins>;
+
+ status = "okay";
+};
+
 &i2c0 {
  pinctrl-names = "default";
  pinctrl-0 = <&i2c0_pins>;
@@ -1457,7 +1514,6 @@
                 compatible = "nxp,pcf85063";
                 reg = <0x51>;
         };
-
 };
 
 &usb {
@@ -1492,14 +1548,14 @@
 &elm {
  status = "okay";
 };
-# 415 "arch/arm/boot/dts/am335x-evm.dts"
+# 451 "arch/arm/boot/dts/am335x-evm.dts"
 &gpmc {
  status = "okay";
  pinctrl-names = "default", "sleep";
  pinctrl-0 = <&nandflash_pins_default>;
  pinctrl-1 = <&nandflash_pins_sleep>;
 
- ranges = <0 0 0x08000000 0x40000000>;
+ ranges = <0 0 0x08000000 0x80000000>;
  nand@0,0 {
   compatible = "ti,omap2-nand";
   reg = <0 0 4>;
@@ -1593,7 +1649,7 @@
   };
   partition@13 {
    label = "Storage";
-   reg = <0x0A200000 0x35E00000>;
+   reg = <0x0A200000 0x75E00000>;
   };
  };
 };
@@ -1678,7 +1734,7 @@
   };
  };
 };
-# 521 "arch/arm/boot/dts/am335x-evm.dts" 2
+# 557 "arch/arm/boot/dts/am335x-evm.dts" 2
 
 &tps {
  vcc1-supply = <&vbat>;
@@ -1761,6 +1817,7 @@
  pinctrl-names = "default", "sleep";
  pinctrl-0 = <&cpsw_default>;
  pinctrl-1 = <&cpsw_sleep>;
+ dual_emac = <1>;
  status = "okay";
 };
 
@@ -1769,15 +1826,20 @@
  pinctrl-0 = <&davinci_mdio_default>;
  pinctrl-1 = <&davinci_mdio_sleep>;
  status = "okay";
-
 };
 
 &cpsw_emac0 {
  phy_id = <&davinci_mdio>, <1>;
   phy-mode = "mii";
+  dual_emac_res_vlan = <1>;
+};
 
+&cpsw_emac1 {
+ phy_id = <&davinci_mdio>, <2>;
+  phy-mode = "mii";
+  dual_emac_res_vlan = <2>;
 };
-# 628 "arch/arm/boot/dts/am335x-evm.dts"
+
 &tscadc {
  status = "okay";
 
@@ -1824,19 +1886,9 @@
  pinctrl-names = "default";
  pinctrl-0 = <&dcan0_pins_default>;
 };
-# 689 "arch/arm/boot/dts/am335x-evm.dts"
-&spi1 {
-        status = "okay";
-        pinctrl-names = "default";
-        pinctrl-0 = <&spi1_pins>;
-        qca7000@0 {
-                compatible = "qca,qca7000";
-                reg = <0>;
-                interrupt-parent = <&gpio2>;
-                interrupts = <0 1>;
-                spi-cpha;
-                spi-cpol;
-                spi-max-frequency = <10000000>;
-                qca,legacy-mode = <0>;
-        };
+
+&dcan1 {
+ status = "okay";
+ pinctrl-names = "default";
+ pinctrl-0 = <&dcan1_pins_default>;
 };

+ 84 - 75
board-support/linux-4.9.59+gitAUTOINC+a75d8e9305-ga75d8e9305/arch/arm/boot/dts/am335x-evm.dts

@@ -64,28 +64,38 @@
 		pinctrl-single,pins = <
 		
 			/** Offset: 0x800 */
-			/** GPIO 0 */ 
+			/** GPIO 0 */   
+			0x020 (PIN_INPUT | MUX_MODE7)			/* GPMC_AD8			=> 	GPIO0_22 */	/*ID BD1_1*/
+			0x024 (PIN_INPUT | MUX_MODE7)    			/* GPMC_AD9			=>	GPIO0_23 */	/*ID BD1_2*/
+			0x028 (PIN_INPUT | MUX_MODE7)    			/* GPMC_AD10		=>	GPIO0_26 */	/*IO BD1_1*/
+			0x02C (PIN_INPUT | MUX_MODE7)    		/* GPMC_AD11		=>	GPIO0_27 */	/*IO BD1_2*/
 			0x144 (PIN_INPUT | MUX_MODE7)    			/* RMII1_REF_CLK		=>	GPIO0_29 */	/*USB 0 OCP detection*/
 			0x1B0 (PIN_OUTPUT | MUX_MODE7)			/*XDMA_EVENT_INTR0	=>	GPIO0_19 */	/*AM_RFID_RST*/
 			0x1B4 (PIN_INPUT | MUX_MODE7)			/*XDMA_EVENT_INTR1	=>	GPIO0_20 */	/*AM_RFID_ICC*/
-			/** GPIO 1 */			
+			
+			/** GPIO 1 */
+			0x030 (PIN_INPUT | MUX_MODE7)			/* GPMC_AD12	=> 	GPIO1_12 */	/*ID BD2_1*/
+			0x034 (PIN_INPUT | MUX_MODE7)    			/* GPMC_AD13	=>	GPIO1_13 */	/*ID BD2_2*/
+			0x038 (PIN_INPUT | MUX_MODE7)    			/* GPMC_AD14	=>	GPIO1_14 */	/*IO BD2_1*/
+			0x03C (PIN_INPUT | MUX_MODE7)    		/* GPMC_AD15	=>	GPIO1_15 */	/*IO BD2_2*/
+			
 			/** GPIO 2 */
-			0x088 (PIN_INPUT | MUX_MODE7)   		/* CCS=>GPMC_CSn3.GPIO2_0*/
-			0x08C (PIN_OUTPUT | MUX_MODE7)			/*GPMC_CLK	=>	GPIO2_1*/	/*Speaker*/
-			0x0A0 (PIN_OUTPUT | MUX_MODE7)			/*LCD_DATA0	=>	GPIO2_6*/	/*Panel LED control-BB_LEDR1*/
-			0x0A4 (PIN_OUTPUT | MUX_MODE7)			/*LCD_DATA1	=>	GPIO2_7*/	/*Panel LED control-BB_LEDG1*/
-			0x0A8 (PIN_OUTPUT | MUX_MODE7)			/*LCD_DATA2	=>	GPIO2_8*/	/*Panel LED control-BB_LEDB1*/
-			0x0AC (PIN_OUTPUT | MUX_MODE7)			/*LCD_DATA3	=>	GPIO2_9*/	/*Panel LED control-BB_LEDR2*/
-			0x0B0 (PIN_OUTPUT | MUX_MODE7)			/*LCD_DATA4	=>	GPIO2_10*/	/*Panel LED control-BB_LEDG2*/
-			0x0B4 (PIN_OUTPUT | MUX_MODE7)			/*LCD_DATA5	=>	GPIO2_11*/	/*Panel LED control-BB_LEDB2*/
-			0x0E8 (PIN_INPUT | MUX_MODE7)			/*LCD_PCLK	=>	GPIO2_24*/	/*communication board proximity*/
-			0x0E0 (PIN_OUTPUT | MUX_MODE7)			/*LCD_VSYNC	=>	GPIO2_22*/	/*Breath LED*/
-			0x0EC (PIN_OUTPUT | MUX_MODE7)			/* CCSEthernet-Reset=>LCD_AC_BIAS_EN.GPIO2_25*/
+			0x0EC (PIN_OUTPUT | MUX_MODE7)			/*LCD_AC_BIAS_EN	=>	GPIO2_25*/	/*RS-485 for module DE control*/
+			0x0E4 (PIN_OUTPUT | MUX_MODE7)			/*LCD_HSYNC		=>	GPIO2_23*/	/*RS-485 for module RE control*/
+			0x0E8 (PIN_INPUT | MUX_MODE7)			/*LCD_PCLK		=>	GPIO2_24*/	/*CCS communication board 1 proximity*/
+			0x0E0 (PIN_INPUT | MUX_MODE7)			/*LCD_VSYNC		=>	GPIO2_22*/	/*CCS communication board 2 proximity*/
 			
 			/** GPIO 3 */
-			0x1A0 (PIN_OUTPUT | MUX_MODE7)                  /* MCASP0_AXR1  =>      GPIO3_18 */     /*control 4G reset pin*/
-			0x1A4 (PIN_OUTPUT | MUX_MODE7)			/* MCASP0_FSR.GPIO3_19 */
-			0x1A8 (PIN_OUTPUT | MUX_MODE7)			/* MCASP0_AXR1	=>	GPIO3_20 */	/*control MCU to output CP PWM*/
+ 			AM33XX_IOPAD(0x9e4, PIN_OUTPUT_PULLDOWN | MUX_MODE7) /* (C14) EMU0.gpio3[7] */  /*CP open/short feature enable/disable, pull low for default enable*/
+           			AM33XX_IOPAD(0x9e8, PIN_OUTPUT_PULLUP | MUX_MODE7)   /* (B14) EMU1.gpio3[8] */  /*4G module reset, pull high to reset when entry kernel, after Application start, it should be pull low.*/
+			0x194 (PIN_INPUT | MUX_MODE7)			/*MCASP0_FSX		=>	GPIO3_15*/	/*Emergency Stop button detect*/
+			0x1A0 (PIN_INPUT | MUX_MODE7)			/*MCASP0_ACLKR	=>	GPIO3_18*/	/*USB1 OCP detect*/
+			0x19C (PIN_INPUT | MUX_MODE7)			/*MCASP0_AHCLKR	=>	GPIO3_17*/	/*Emergency IO for AM3352 and STM32F407*/
+			0x190 (PIN_OUTPUT | MUX_MODE7)			/*MCASP0_ACLKX	=>	GPIO3_14*/	/*Ethernet PHY reset*/
+			0x1A4 (PIN_OUTPUT | MUX_MODE7)			/* MCASP0_FSR		=>	GPIO3_19 */	/*SMR Enable control_1*/
+			0x198 (PIN_OUTPUT | MUX_MODE7)			/* MCASP0_AXR0	=>	GPIO3_16 */	/*CSU board function OK indicator.*/
+			0x1A8 (PIN_OUTPUT | MUX_MODE7)			/* MCASP0_AXR1	=>	GPIO3_20 */	/*SMR Enable control_2*/
+			
 		>;
 	};
 	
@@ -130,14 +140,14 @@
 			0x164 (PIN_OUTPUT_PULLDOWN | MUX_MODE1)	/* ECAP0_IN_PWM0_OUT		=>	uart3_txd */
 		>;
 	};
-#if 0
+
 	uart5_pins: pinmux_uart5_pins {
 		pinctrl-single,pins = <
-			0x0C0 (PIN_INPUT_PULLUP | MUX_MODE4)		/* LCD_DATA8	=>	UART5_RXD*/
-			0x0C4 (PIN_OUTPUT_PULLDOWN | MUX_MODE4)	/* LCD_DATA9	=>	UART5_TXD*/
+			0x0C0 (PIN_OUTPUT_PULLDOWN | MUX_MODE4)		/* LCD_DATA8	=>	DUART5_TX*/
+			0x0C4 (PIN_INPUT_PULLUP | MUX_MODE4)			/* LCD_DATA9	=>	UART5_RX*/
 		>;
 	};
-#endif	
+	
 	clkout2_pin: pinmux_clkout2_pin {
 		pinctrl-single,pins = <
 			0x1b4 (PIN_OUTPUT_PULLDOWN | MUX_MODE3)	/* xdma_event_intr1.clkout2 */
@@ -188,12 +198,12 @@
 		pinctrl-single,pins = <					
 		
 			/* Slave 1 */
-			//0x108 (PIN_INPUT_PULLDOWN | MUX_MODE0)		/* MII1_COL.gmii1_col */
-			//0x10C(PIN_INPUT_PULLDOWN | MUX_MODE0)		/* MII1_CRS.MII1_CRS */
+			0x108 (PIN_INPUT_PULLUP | MUX_MODE0)		/* MII1_COL.gmii1_col */
+			0x10C(PIN_INPUT_PULLUP | MUX_MODE0)		/* MII1_CRS.MII1_CRS */
 			0x110 (PIN_INPUT_PULLUP | MUX_MODE0)		/* MII1_RX_ER.gmii1_rxerr */
-			0x118 (PIN_INPUT_PULLUP | MUX_MODE0)		/* mii1_rxdv.mii1_rxdv */
 			0x12c (PIN_INPUT_PULLUP | MUX_MODE0)		/* mii1_txclk.mii1_txclk */
 			0x130 (PIN_INPUT_PULLUP | MUX_MODE0)		/* mii1_rxclk.mii1_rxclk */
+			0x118 (PIN_INPUT_PULLUP | MUX_MODE0)		/* mii1_rxdv.mii1_rxdv */
 			0x134 (PIN_INPUT_PULLUP | MUX_MODE0)		/* mii1_rxd3.rgmii1_rd3 */
 			0x138 (PIN_INPUT_PULLUP | MUX_MODE0)		/* mii1_rxd2.rgmii1_rd2 */
 			0x13c (PIN_INPUT_PULLUP | MUX_MODE0)		/* mii1_rxd1.rgmii1_rd1 */
@@ -202,7 +212,24 @@
 			0x11c (PIN_OUTPUT_PULLDOWN | MUX_MODE0)		/* mii1_txd3.rgmii1_td3 */
 			0x120 (PIN_OUTPUT_PULLDOWN | MUX_MODE0)		/* mii1_txd2.rgmii1_td2 */
 			0x124 (PIN_OUTPUT_PULLDOWN | MUX_MODE0)		/* mii1_txd1.rgmii1_td1 */
-			0x128 (PIN_OUTPUT_PULLDOWN | MUX_MODE0)		/* mii1_txd0.rgmii1_td0 */      
+			0x128 (PIN_OUTPUT_PULLDOWN | MUX_MODE0)		/* mii1_txd0.rgmii1_td0 */      	
+			
+			/* Slave 2 */
+			AM33XX_IOPAD(0x878, PIN_INPUT_PULLUP | MUX_MODE1)					/* gpmc_ben1.mii2_col */
+			AM33XX_IOPAD(0x888, PIN_INPUT_PULLUP | MUX_MODE2)					/* GPMC_CSn3.rmii2_crs_dv*/								
+			/*AM33XX_IOPAD(0x874, PIN_INPUT_PULLUP | MUX_MODE1)*/					/* gpmc_wpn.mii2_rxerr */
+			AM33XX_IOPAD(0x858, PIN_INPUT_PULLUP | MUX_MODE1)					/* gpmc_a6.mii2_txclk */
+			AM33XX_IOPAD(0x85c, PIN_INPUT_PULLUP | MUX_MODE1)					/* gpmc_a7.mii2_rxclk */
+			AM33XX_IOPAD(0x844, PIN_INPUT_PULLUP | MUX_MODE1)					/* gpmc_a1.mii2_rxdv */
+			AM33XX_IOPAD(0x860, PIN_INPUT_PULLUP | MUX_MODE1)					/* gpmc_a8.mii2_rxd3 */
+			AM33XX_IOPAD(0x864, PIN_INPUT_PULLUP | MUX_MODE1)					/* gpmc_a9.mii2_rxd2 */
+			AM33XX_IOPAD(0x868, PIN_INPUT_PULLUP | MUX_MODE1)					/* gpmc_a10.mii2_rxd1 */
+			AM33XX_IOPAD(0x86c, PIN_INPUT_PULLUP | MUX_MODE1)					/* gpmc_a11.mii2_rxd0 */
+			AM33XX_IOPAD(0x840, PIN_OUTPUT_PULLDOWN | MUX_MODE1)				/* gpmc_a0.mii2_txen */
+			AM33XX_IOPAD(0x848, PIN_OUTPUT_PULLDOWN | MUX_MODE1)				/* gpmc_a2.mii2_txd3 */
+			AM33XX_IOPAD(0x84c, PIN_OUTPUT_PULLDOWN | MUX_MODE1)				/* gpmc_a3.mii2_txd2 */
+			AM33XX_IOPAD(0x850, PIN_OUTPUT_PULLDOWN | MUX_MODE1)				/* gpmc_a4.mii2_txd1 */
+			AM33XX_IOPAD(0x854, PIN_OUTPUT_PULLDOWN | MUX_MODE1)				/* gpmc_a5.mii2_txd0 */
 
 		>;
 	};
@@ -223,6 +250,23 @@
 			0x13c (PIN_INPUT_PULLDOWN | MUX_MODE7)
 			0x140 (PIN_INPUT_PULLDOWN | MUX_MODE7)		
 			
+			/* Slave 2 */
+			AM33XX_IOPAD(0x888, PIN_INPUT_PULLDOWN | MUX_MODE7)					/* GPMC_CSn3.rmii2_crs_dv*/	
+			AM33XX_IOPAD(0x840, PIN_INPUT_PULLDOWN | MUX_MODE7)				/* gpmc_a0.mii2_txen */
+			AM33XX_IOPAD(0x844, PIN_INPUT_PULLDOWN | MUX_MODE7)	/* gpmc_a1.mii2_rxdv */
+			AM33XX_IOPAD(0x848, PIN_INPUT_PULLDOWN | MUX_MODE7)				/* gpmc_a2.mii2_txd3 */
+			AM33XX_IOPAD(0x84c, PIN_INPUT_PULLDOWN | MUX_MODE7)			/* gpmc_a3.mii2_txd2 */
+			AM33XX_IOPAD(0x850, PIN_INPUT_PULLDOWN | MUX_MODE7)				/* gpmc_a4.mii2_txd1 */
+			AM33XX_IOPAD(0x854, PIN_INPUT_PULLDOWN | MUX_MODE7)				/* gpmc_a5.mii2_txd0 */
+			AM33XX_IOPAD(0x858, PIN_INPUT_PULLDOWN | MUX_MODE7)	/* gpmc_a6.mii2_txclk */
+			AM33XX_IOPAD(0x85c, PIN_INPUT_PULLDOWN | MUX_MODE7)	/* gpmc_a7.mii2_rxclk */
+			AM33XX_IOPAD(0x860, PIN_INPUT_PULLDOWN | MUX_MODE7)	/* gpmc_a8.mii2_rxd3 */
+			AM33XX_IOPAD(0x864, PIN_INPUT_PULLDOWN | MUX_MODE7)	/* gpmc_a9.mii2_rxd2 */
+			AM33XX_IOPAD(0x868, PIN_INPUT_PULLDOWN | MUX_MODE7)	/* gpmc_a10.mii2_rxd1 */
+			AM33XX_IOPAD(0x86c, PIN_INPUT_PULLDOWN | MUX_MODE7)	/* gpmc_a11.mii2_rxd0 */
+			/*AM33XX_IOPAD(0x874, PIN_INPUT_PULLDOWN | MUX_MODE7)*/	/* gpmc_wpn.mii2_rxerr */
+			AM33XX_IOPAD(0x878, PIN_INPUT_PULLDOWN | MUX_MODE7)	/* gpmc_ben1.mii2_col */
+			
 		>;
 	};
 
@@ -261,14 +305,14 @@
 			0x17C (PIN_INPUT_PULLDOWN | MUX_MODE2)		/* uart1_rtsn	=>	d_can0_rx */
 		>;
 	};
-#if 0	
+	
 	dcan1_pins_default: dcan1_pins_default {
 		pinctrl-single,pins = <
 			0x168 (PIN_OUTPUT_PULLUP | MUX_MODE2)		/* UART0_CTSn		=>	d_can1_tx */
 			0x16C (PIN_INPUT_PULLDOWN | MUX_MODE2)	/* UART0_RTSn		=>	d_can1_rx */
 		>;
 	};
-
+#if 0
 	ehrpwm1_pins: ehrpwm1_pins {
 		pinctrl-single,pins = <			
 			0x0C8 (PIN_OUTPUT | MUX_MODE2) /* LCD_DATA10.eHRPWM1A */
@@ -279,16 +323,9 @@
 		pinctrl-single,pins =< 
 			0x0A4 (PIN_OUTPUT | MUX_MODE3)	/* LCD_DATA1.eHRPWM2B */
 		>;                
-    	};	 
+    };	
+	 
 #endif  
-	spi1_pins: spi1_pins {
-                pinctrl-single,pins = <
-                        AM33XX_IOPAD(0x990, PIN_INPUT_PULLUP | MUX_MODE3) /* MCASP0_ACLKX.AM_SPI1_SCLK */
-                        AM33XX_IOPAD(0x994, PIN_INPUT_PULLUP | MUX_MODE3) /* MCASP0_FSX.AM_SPI1_D0 */
-                        AM33XX_IOPAD(0x998, PIN_OUTPUT_PULLUP | MUX_MODE3) /* MCASP0_AXR0.AM_SPI1_D1 */
-                        AM33XX_IOPAD(0x99C, PIN_OUTPUT_PULLUP | MUX_MODE3) /* MCASP0_AHCLKR.AM_SPI1_CS0 */
-                >;
-        };
 };
 
 
@@ -320,14 +357,14 @@
 
 	status = "okay";
 };
-#if 0
+
 &uart5 {
 	pinctrl-names = "default";
 	pinctrl-0 = <&uart5_pins>;
 
 	status = "okay";
 };
-#endif
+
 &i2c0 {
 	pinctrl-names = "default";
 	pinctrl-0 = <&i2c0_pins>;
@@ -338,11 +375,11 @@
 	tps: tps@2d {
 		reg = <0x2d>;
 	};
-
+	
 /*	rtc0: rtc@51 {
-		compatible = "nxp,pcf85063";
-		reg = <0x51>;
-	};*/
+                compatible = "nxp,pcf85063";
+                reg = <0x51>;
+        };*/	
 };
 #if 1
 &i2c1 {
@@ -356,7 +393,6 @@
                 compatible = "nxp,pcf85063";
                 reg = <0x51>;
         };
-
 };
 #endif
 &usb {
@@ -418,7 +454,7 @@
 	pinctrl-0 = <&nandflash_pins_default>;
 	pinctrl-1 = <&nandflash_pins_sleep>;
 	/*ranges = <0 0 0x08000000 0x10000000>;*/	/* CS0: NAND */
-	ranges = <0 0 0x08000000 0x40000000>;	/*+++ vern,NAND,20181030 ---*/
+	ranges = <0 0 0x08000000 0x80000000>;	/*+++ vern,NAND,20181030 ---*/
 	nand@0,0 {
 		compatible = "ti,omap2-nand";
 		reg = <0 0 4>; /* CS0, offset 0, IO size 4 */
@@ -512,7 +548,7 @@
 		};
 		partition@13 {
 			label = "Storage";
-			reg = <0x0A200000 0x35E00000>;
+			reg = <0x0A200000 0x75E00000>;
 		};
 	};
 };
@@ -600,6 +636,7 @@
 	pinctrl-names = "default", "sleep";
 	pinctrl-0 = <&cpsw_default>;
 	pinctrl-1 = <&cpsw_sleep>;
+	dual_emac = <1>;
 	status = "okay";
 };
 
@@ -608,22 +645,19 @@
 	pinctrl-0 = <&davinci_mdio_default>;
 	pinctrl-1 = <&davinci_mdio_sleep>;
 	status = "okay";
-	//reset-gpios = <&gpio3 14 GPIO_ACTIVE_LOW>;
 };
 
 &cpsw_emac0 {
 	phy_id = <&davinci_mdio>, <1>;
  	phy-mode = "mii";
-
+ 	dual_emac_res_vlan = <1>;
 };
 
-#if 0
 &cpsw_emac1 {
 	phy_id = <&davinci_mdio>, <2>;
  	phy-mode = "mii";
-
+ 	dual_emac_res_vlan = <2>;
 };
-#endif
 
 &tscadc {
 	status = "okay";
@@ -671,34 +705,9 @@
 	pinctrl-names = "default";
 	pinctrl-0 = <&dcan0_pins_default>;
 };
-#if 0
+
 &dcan1 {
 	status = "okay";	
 	pinctrl-names = "default";
 	pinctrl-0 = <&dcan1_pins_default>;
 };
-#endif
-
-/*
-The QCA7000 acts as a SPI slave and uses Mode 3: CPOL=1, CPHA=1.
-SPI data width is 8 bit. The SPI CLK period should not be less than 83.3 ns
-The SPI should be used in burst mode, meaning that the chip select is held low during a complete SPI message.
- Note: The SPI lines between Host CPU and QCA7000 should be kept as short as possible.
-
-*/
-&spi1 {
-        status = "okay";
-        pinctrl-names = "default";
-        pinctrl-0 = <&spi1_pins>;
-        qca7000@0 {
-                compatible = "qca,qca7000";
-                reg = <0>;
-                interrupt-parent = <&gpio2>; /* GPIO2_0 */
-                interrupts = <0 1>;                     /* GPIO2_0 */
-                spi-cpha;                                        /* SPI mode: CPHA=1 */
-                spi-cpol;                                        /* SPI mode: CPOL=1 */
-                spi-max-frequency = <10000000>;  /* freq: 10MHz */
-                qca,legacy-mode = <0>;            /* Burst mode */
-        };
-};
-

+ 13 - 31
board-support/linux-4.9.59+gitAUTOINC+a75d8e9305-ga75d8e9305/scripts/.conmakehash.cmd

@@ -5,23 +5,18 @@ source_scripts/conmakehash := scripts/conmakehash.c
 deps_scripts/conmakehash := \
   /usr/include/stdc-predef.h \
   /usr/include/stdio.h \
-  /usr/include/x86_64-linux-gnu/bits/libc-header-start.h \
   /usr/include/features.h \
   /usr/include/x86_64-linux-gnu/sys/cdefs.h \
   /usr/include/x86_64-linux-gnu/bits/wordsize.h \
-  /usr/include/x86_64-linux-gnu/bits/long-double.h \
   /usr/include/x86_64-linux-gnu/gnu/stubs.h \
   /usr/include/x86_64-linux-gnu/gnu/stubs-64.h \
-  /usr/lib/gcc/x86_64-linux-gnu/7/include/stddef.h \
+  /usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h \
   /usr/include/x86_64-linux-gnu/bits/types.h \
   /usr/include/x86_64-linux-gnu/bits/typesizes.h \
-  /usr/include/x86_64-linux-gnu/bits/types/__FILE.h \
-  /usr/include/x86_64-linux-gnu/bits/types/FILE.h \
-  /usr/include/x86_64-linux-gnu/bits/libio.h \
-  /usr/include/x86_64-linux-gnu/bits/_G_config.h \
-    $(wildcard include/config/h.h) \
-  /usr/include/x86_64-linux-gnu/bits/types/__mbstate_t.h \
-  /usr/lib/gcc/x86_64-linux-gnu/7/include/stdarg.h \
+  /usr/include/libio.h \
+  /usr/include/_G_config.h \
+  /usr/include/wchar.h \
+  /usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h \
   /usr/include/x86_64-linux-gnu/bits/stdio_lim.h \
   /usr/include/x86_64-linux-gnu/bits/sys_errlist.h \
   /usr/include/x86_64-linux-gnu/bits/stdio.h \
@@ -29,42 +24,29 @@ deps_scripts/conmakehash := \
   /usr/include/stdlib.h \
   /usr/include/x86_64-linux-gnu/bits/waitflags.h \
   /usr/include/x86_64-linux-gnu/bits/waitstatus.h \
-  /usr/include/x86_64-linux-gnu/bits/floatn.h \
-  /usr/include/x86_64-linux-gnu/bits/floatn-common.h \
-  /usr/include/x86_64-linux-gnu/sys/types.h \
-  /usr/include/x86_64-linux-gnu/bits/types/clock_t.h \
-  /usr/include/x86_64-linux-gnu/bits/types/clockid_t.h \
-  /usr/include/x86_64-linux-gnu/bits/types/time_t.h \
-  /usr/include/x86_64-linux-gnu/bits/types/timer_t.h \
-  /usr/include/x86_64-linux-gnu/bits/stdint-intn.h \
   /usr/include/endian.h \
   /usr/include/x86_64-linux-gnu/bits/endian.h \
   /usr/include/x86_64-linux-gnu/bits/byteswap.h \
   /usr/include/x86_64-linux-gnu/bits/byteswap-16.h \
-  /usr/include/x86_64-linux-gnu/bits/uintn-identity.h \
+  /usr/include/x86_64-linux-gnu/sys/types.h \
+  /usr/include/time.h \
   /usr/include/x86_64-linux-gnu/sys/select.h \
   /usr/include/x86_64-linux-gnu/bits/select.h \
-  /usr/include/x86_64-linux-gnu/bits/types/sigset_t.h \
-  /usr/include/x86_64-linux-gnu/bits/types/__sigset_t.h \
-  /usr/include/x86_64-linux-gnu/bits/types/struct_timeval.h \
-  /usr/include/x86_64-linux-gnu/bits/types/struct_timespec.h \
+  /usr/include/x86_64-linux-gnu/bits/sigset.h \
+  /usr/include/x86_64-linux-gnu/bits/time.h \
   /usr/include/x86_64-linux-gnu/bits/select2.h \
   /usr/include/x86_64-linux-gnu/sys/sysmacros.h \
-  /usr/include/x86_64-linux-gnu/bits/sysmacros.h \
   /usr/include/x86_64-linux-gnu/bits/pthreadtypes.h \
-  /usr/include/x86_64-linux-gnu/bits/thread-shared-types.h \
-  /usr/include/x86_64-linux-gnu/bits/pthreadtypes-arch.h \
   /usr/include/alloca.h \
   /usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h \
   /usr/include/x86_64-linux-gnu/bits/stdlib-float.h \
   /usr/include/x86_64-linux-gnu/bits/stdlib.h \
   /usr/include/sysexits.h \
   /usr/include/string.h \
-  /usr/include/x86_64-linux-gnu/bits/types/locale_t.h \
-  /usr/include/x86_64-linux-gnu/bits/types/__locale_t.h \
-  /usr/include/strings.h \
-  /usr/include/x86_64-linux-gnu/bits/strings_fortified.h \
-  /usr/include/x86_64-linux-gnu/bits/string_fortified.h \
+  /usr/include/xlocale.h \
+  /usr/include/x86_64-linux-gnu/bits/string.h \
+  /usr/include/x86_64-linux-gnu/bits/string2.h \
+  /usr/include/x86_64-linux-gnu/bits/string3.h \
   /usr/include/ctype.h \
 
 scripts/conmakehash: $(deps_scripts/conmakehash)

+ 15 - 33
board-support/linux-4.9.59+gitAUTOINC+a75d8e9305-ga75d8e9305/scripts/.kallsyms.cmd

@@ -6,23 +6,18 @@ deps_scripts/kallsyms := \
     $(wildcard include/config/page/offset.h) \
   /usr/include/stdc-predef.h \
   /usr/include/stdio.h \
-  /usr/include/x86_64-linux-gnu/bits/libc-header-start.h \
   /usr/include/features.h \
   /usr/include/x86_64-linux-gnu/sys/cdefs.h \
   /usr/include/x86_64-linux-gnu/bits/wordsize.h \
-  /usr/include/x86_64-linux-gnu/bits/long-double.h \
   /usr/include/x86_64-linux-gnu/gnu/stubs.h \
   /usr/include/x86_64-linux-gnu/gnu/stubs-64.h \
-  /usr/lib/gcc/x86_64-linux-gnu/7/include/stddef.h \
+  /usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h \
   /usr/include/x86_64-linux-gnu/bits/types.h \
   /usr/include/x86_64-linux-gnu/bits/typesizes.h \
-  /usr/include/x86_64-linux-gnu/bits/types/__FILE.h \
-  /usr/include/x86_64-linux-gnu/bits/types/FILE.h \
-  /usr/include/x86_64-linux-gnu/bits/libio.h \
-  /usr/include/x86_64-linux-gnu/bits/_G_config.h \
-    $(wildcard include/config/h.h) \
-  /usr/include/x86_64-linux-gnu/bits/types/__mbstate_t.h \
-  /usr/lib/gcc/x86_64-linux-gnu/7/include/stdarg.h \
+  /usr/include/libio.h \
+  /usr/include/_G_config.h \
+  /usr/include/wchar.h \
+  /usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h \
   /usr/include/x86_64-linux-gnu/bits/stdio_lim.h \
   /usr/include/x86_64-linux-gnu/bits/sys_errlist.h \
   /usr/include/x86_64-linux-gnu/bits/stdio.h \
@@ -30,44 +25,31 @@ deps_scripts/kallsyms := \
   /usr/include/stdlib.h \
   /usr/include/x86_64-linux-gnu/bits/waitflags.h \
   /usr/include/x86_64-linux-gnu/bits/waitstatus.h \
-  /usr/include/x86_64-linux-gnu/bits/floatn.h \
-  /usr/include/x86_64-linux-gnu/bits/floatn-common.h \
-  /usr/include/x86_64-linux-gnu/sys/types.h \
-  /usr/include/x86_64-linux-gnu/bits/types/clock_t.h \
-  /usr/include/x86_64-linux-gnu/bits/types/clockid_t.h \
-  /usr/include/x86_64-linux-gnu/bits/types/time_t.h \
-  /usr/include/x86_64-linux-gnu/bits/types/timer_t.h \
-  /usr/include/x86_64-linux-gnu/bits/stdint-intn.h \
   /usr/include/endian.h \
   /usr/include/x86_64-linux-gnu/bits/endian.h \
   /usr/include/x86_64-linux-gnu/bits/byteswap.h \
   /usr/include/x86_64-linux-gnu/bits/byteswap-16.h \
-  /usr/include/x86_64-linux-gnu/bits/uintn-identity.h \
+  /usr/include/x86_64-linux-gnu/sys/types.h \
+  /usr/include/time.h \
   /usr/include/x86_64-linux-gnu/sys/select.h \
   /usr/include/x86_64-linux-gnu/bits/select.h \
-  /usr/include/x86_64-linux-gnu/bits/types/sigset_t.h \
-  /usr/include/x86_64-linux-gnu/bits/types/__sigset_t.h \
-  /usr/include/x86_64-linux-gnu/bits/types/struct_timeval.h \
-  /usr/include/x86_64-linux-gnu/bits/types/struct_timespec.h \
+  /usr/include/x86_64-linux-gnu/bits/sigset.h \
+  /usr/include/x86_64-linux-gnu/bits/time.h \
   /usr/include/x86_64-linux-gnu/bits/select2.h \
   /usr/include/x86_64-linux-gnu/sys/sysmacros.h \
-  /usr/include/x86_64-linux-gnu/bits/sysmacros.h \
   /usr/include/x86_64-linux-gnu/bits/pthreadtypes.h \
-  /usr/include/x86_64-linux-gnu/bits/thread-shared-types.h \
-  /usr/include/x86_64-linux-gnu/bits/pthreadtypes-arch.h \
   /usr/include/alloca.h \
   /usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h \
   /usr/include/x86_64-linux-gnu/bits/stdlib-float.h \
   /usr/include/x86_64-linux-gnu/bits/stdlib.h \
   /usr/include/string.h \
-  /usr/include/x86_64-linux-gnu/bits/types/locale_t.h \
-  /usr/include/x86_64-linux-gnu/bits/types/__locale_t.h \
-  /usr/include/strings.h \
-  /usr/include/x86_64-linux-gnu/bits/strings_fortified.h \
-  /usr/include/x86_64-linux-gnu/bits/string_fortified.h \
+  /usr/include/xlocale.h \
+  /usr/include/x86_64-linux-gnu/bits/string.h \
+  /usr/include/x86_64-linux-gnu/bits/string2.h \
+  /usr/include/x86_64-linux-gnu/bits/string3.h \
   /usr/include/ctype.h \
-  /usr/lib/gcc/x86_64-linux-gnu/7/include-fixed/limits.h \
-  /usr/lib/gcc/x86_64-linux-gnu/7/include-fixed/syslimits.h \
+  /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/limits.h \
+  /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/syslimits.h \
   /usr/include/limits.h \
   /usr/include/x86_64-linux-gnu/bits/posix1_lim.h \
   /usr/include/x86_64-linux-gnu/bits/local_lim.h \

+ 13 - 36
board-support/linux-4.9.59+gitAUTOINC+a75d8e9305-ga75d8e9305/scripts/.sortextable.cmd

@@ -8,49 +8,33 @@ deps_scripts/sortextable := \
   /usr/include/features.h \
   /usr/include/x86_64-linux-gnu/sys/cdefs.h \
   /usr/include/x86_64-linux-gnu/bits/wordsize.h \
-  /usr/include/x86_64-linux-gnu/bits/long-double.h \
   /usr/include/x86_64-linux-gnu/gnu/stubs.h \
   /usr/include/x86_64-linux-gnu/gnu/stubs-64.h \
   /usr/include/x86_64-linux-gnu/bits/types.h \
   /usr/include/x86_64-linux-gnu/bits/typesizes.h \
-  /usr/include/x86_64-linux-gnu/bits/types/clock_t.h \
-  /usr/include/x86_64-linux-gnu/bits/types/clockid_t.h \
-  /usr/include/x86_64-linux-gnu/bits/types/time_t.h \
-  /usr/include/x86_64-linux-gnu/bits/types/timer_t.h \
-  /usr/lib/gcc/x86_64-linux-gnu/7/include/stddef.h \
-  /usr/include/x86_64-linux-gnu/bits/stdint-intn.h \
+  /usr/include/time.h \
+  /usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h \
   /usr/include/endian.h \
   /usr/include/x86_64-linux-gnu/bits/endian.h \
   /usr/include/x86_64-linux-gnu/bits/byteswap.h \
   /usr/include/x86_64-linux-gnu/bits/byteswap-16.h \
-  /usr/include/x86_64-linux-gnu/bits/uintn-identity.h \
   /usr/include/x86_64-linux-gnu/sys/select.h \
   /usr/include/x86_64-linux-gnu/bits/select.h \
-  /usr/include/x86_64-linux-gnu/bits/types/sigset_t.h \
-  /usr/include/x86_64-linux-gnu/bits/types/__sigset_t.h \
-  /usr/include/x86_64-linux-gnu/bits/types/struct_timeval.h \
-  /usr/include/x86_64-linux-gnu/bits/types/struct_timespec.h \
+  /usr/include/x86_64-linux-gnu/bits/sigset.h \
+  /usr/include/x86_64-linux-gnu/bits/time.h \
   /usr/include/x86_64-linux-gnu/bits/select2.h \
   /usr/include/x86_64-linux-gnu/sys/sysmacros.h \
-  /usr/include/x86_64-linux-gnu/bits/sysmacros.h \
   /usr/include/x86_64-linux-gnu/bits/pthreadtypes.h \
-  /usr/include/x86_64-linux-gnu/bits/thread-shared-types.h \
-  /usr/include/x86_64-linux-gnu/bits/pthreadtypes-arch.h \
   /usr/include/x86_64-linux-gnu/sys/mman.h \
   /usr/include/x86_64-linux-gnu/bits/mman.h \
   /usr/include/x86_64-linux-gnu/bits/mman-linux.h \
-  /usr/include/x86_64-linux-gnu/bits/mman-shared.h \
   /usr/include/x86_64-linux-gnu/sys/stat.h \
   /usr/include/x86_64-linux-gnu/bits/stat.h \
   /usr/include/getopt.h \
-  /usr/include/x86_64-linux-gnu/bits/getopt_core.h \
-  /usr/include/x86_64-linux-gnu/bits/getopt_ext.h \
   /usr/include/elf.h \
-  /usr/lib/gcc/x86_64-linux-gnu/7/include/stdint.h \
+  /usr/lib/gcc/x86_64-linux-gnu/5/include/stdint.h \
   /usr/include/stdint.h \
-  /usr/include/x86_64-linux-gnu/bits/libc-header-start.h \
   /usr/include/x86_64-linux-gnu/bits/wchar.h \
-  /usr/include/x86_64-linux-gnu/bits/stdint-uintn.h \
   /usr/include/x86_64-linux-gnu/bits/auxv.h \
   /usr/include/fcntl.h \
   /usr/include/x86_64-linux-gnu/bits/fcntl.h \
@@ -60,13 +44,10 @@ deps_scripts/sortextable := \
   /usr/include/x86_64-linux-gnu/bits/setjmp.h \
   /usr/include/x86_64-linux-gnu/bits/setjmp2.h \
   /usr/include/stdio.h \
-  /usr/include/x86_64-linux-gnu/bits/types/__FILE.h \
-  /usr/include/x86_64-linux-gnu/bits/types/FILE.h \
-  /usr/include/x86_64-linux-gnu/bits/libio.h \
-  /usr/include/x86_64-linux-gnu/bits/_G_config.h \
-    $(wildcard include/config/h.h) \
-  /usr/include/x86_64-linux-gnu/bits/types/__mbstate_t.h \
-  /usr/lib/gcc/x86_64-linux-gnu/7/include/stdarg.h \
+  /usr/include/libio.h \
+  /usr/include/_G_config.h \
+  /usr/include/wchar.h \
+  /usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h \
   /usr/include/x86_64-linux-gnu/bits/stdio_lim.h \
   /usr/include/x86_64-linux-gnu/bits/sys_errlist.h \
   /usr/include/x86_64-linux-gnu/bits/stdio.h \
@@ -74,23 +55,19 @@ deps_scripts/sortextable := \
   /usr/include/stdlib.h \
   /usr/include/x86_64-linux-gnu/bits/waitflags.h \
   /usr/include/x86_64-linux-gnu/bits/waitstatus.h \
-  /usr/include/x86_64-linux-gnu/bits/floatn.h \
-  /usr/include/x86_64-linux-gnu/bits/floatn-common.h \
   /usr/include/alloca.h \
   /usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h \
   /usr/include/x86_64-linux-gnu/bits/stdlib-float.h \
   /usr/include/x86_64-linux-gnu/bits/stdlib.h \
   /usr/include/string.h \
-  /usr/include/x86_64-linux-gnu/bits/types/locale_t.h \
-  /usr/include/x86_64-linux-gnu/bits/types/__locale_t.h \
-  /usr/include/strings.h \
-  /usr/include/x86_64-linux-gnu/bits/strings_fortified.h \
-  /usr/include/x86_64-linux-gnu/bits/string_fortified.h \
+  /usr/include/xlocale.h \
+  /usr/include/x86_64-linux-gnu/bits/string.h \
+  /usr/include/x86_64-linux-gnu/bits/string2.h \
+  /usr/include/x86_64-linux-gnu/bits/string3.h \
   /usr/include/unistd.h \
   /usr/include/x86_64-linux-gnu/bits/posix_opt.h \
   /usr/include/x86_64-linux-gnu/bits/environments.h \
   /usr/include/x86_64-linux-gnu/bits/confname.h \
-  /usr/include/x86_64-linux-gnu/bits/getopt_posix.h \
   /usr/include/x86_64-linux-gnu/bits/unistd.h \
   tools/include/tools/be_byteshift.h \
   tools/include/tools/le_byteshift.h \

+ 5 - 10
board-support/linux-4.9.59+gitAUTOINC+a75d8e9305-ga75d8e9305/scripts/basic/.bin2c.cmd

@@ -5,23 +5,18 @@ source_scripts/basic/bin2c := scripts/basic/bin2c.c
 deps_scripts/basic/bin2c := \
   /usr/include/stdc-predef.h \
   /usr/include/stdio.h \
-  /usr/include/x86_64-linux-gnu/bits/libc-header-start.h \
   /usr/include/features.h \
   /usr/include/x86_64-linux-gnu/sys/cdefs.h \
   /usr/include/x86_64-linux-gnu/bits/wordsize.h \
-  /usr/include/x86_64-linux-gnu/bits/long-double.h \
   /usr/include/x86_64-linux-gnu/gnu/stubs.h \
   /usr/include/x86_64-linux-gnu/gnu/stubs-64.h \
-  /usr/lib/gcc/x86_64-linux-gnu/7/include/stddef.h \
+  /usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h \
   /usr/include/x86_64-linux-gnu/bits/types.h \
   /usr/include/x86_64-linux-gnu/bits/typesizes.h \
-  /usr/include/x86_64-linux-gnu/bits/types/__FILE.h \
-  /usr/include/x86_64-linux-gnu/bits/types/FILE.h \
-  /usr/include/x86_64-linux-gnu/bits/libio.h \
-  /usr/include/x86_64-linux-gnu/bits/_G_config.h \
-    $(wildcard include/config/h.h) \
-  /usr/include/x86_64-linux-gnu/bits/types/__mbstate_t.h \
-  /usr/lib/gcc/x86_64-linux-gnu/7/include/stdarg.h \
+  /usr/include/libio.h \
+  /usr/include/_G_config.h \
+  /usr/include/wchar.h \
+  /usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h \
   /usr/include/x86_64-linux-gnu/bits/stdio_lim.h \
   /usr/include/x86_64-linux-gnu/bits/sys_errlist.h \
   /usr/include/x86_64-linux-gnu/bits/stdio.h \

+ 20 - 38
board-support/linux-4.9.59+gitAUTOINC+a75d8e9305-ga75d8e9305/scripts/basic/.fixdep.cmd

@@ -12,81 +12,61 @@ deps_scripts/basic/fixdep := \
   /usr/include/features.h \
   /usr/include/x86_64-linux-gnu/sys/cdefs.h \
   /usr/include/x86_64-linux-gnu/bits/wordsize.h \
-  /usr/include/x86_64-linux-gnu/bits/long-double.h \
   /usr/include/x86_64-linux-gnu/gnu/stubs.h \
   /usr/include/x86_64-linux-gnu/gnu/stubs-64.h \
   /usr/include/x86_64-linux-gnu/bits/types.h \
   /usr/include/x86_64-linux-gnu/bits/typesizes.h \
-  /usr/include/x86_64-linux-gnu/bits/types/clock_t.h \
-  /usr/include/x86_64-linux-gnu/bits/types/clockid_t.h \
-  /usr/include/x86_64-linux-gnu/bits/types/time_t.h \
-  /usr/include/x86_64-linux-gnu/bits/types/timer_t.h \
-  /usr/lib/gcc/x86_64-linux-gnu/7/include/stddef.h \
-  /usr/include/x86_64-linux-gnu/bits/stdint-intn.h \
+  /usr/include/time.h \
+  /usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h \
   /usr/include/endian.h \
   /usr/include/x86_64-linux-gnu/bits/endian.h \
   /usr/include/x86_64-linux-gnu/bits/byteswap.h \
   /usr/include/x86_64-linux-gnu/bits/byteswap-16.h \
-  /usr/include/x86_64-linux-gnu/bits/uintn-identity.h \
   /usr/include/x86_64-linux-gnu/sys/select.h \
   /usr/include/x86_64-linux-gnu/bits/select.h \
-  /usr/include/x86_64-linux-gnu/bits/types/sigset_t.h \
-  /usr/include/x86_64-linux-gnu/bits/types/__sigset_t.h \
-  /usr/include/x86_64-linux-gnu/bits/types/struct_timeval.h \
-  /usr/include/x86_64-linux-gnu/bits/types/struct_timespec.h \
+  /usr/include/x86_64-linux-gnu/bits/sigset.h \
+  /usr/include/x86_64-linux-gnu/bits/time.h \
   /usr/include/x86_64-linux-gnu/bits/select2.h \
   /usr/include/x86_64-linux-gnu/sys/sysmacros.h \
-  /usr/include/x86_64-linux-gnu/bits/sysmacros.h \
   /usr/include/x86_64-linux-gnu/bits/pthreadtypes.h \
-  /usr/include/x86_64-linux-gnu/bits/thread-shared-types.h \
-  /usr/include/x86_64-linux-gnu/bits/pthreadtypes-arch.h \
   /usr/include/x86_64-linux-gnu/sys/stat.h \
   /usr/include/x86_64-linux-gnu/bits/stat.h \
   /usr/include/x86_64-linux-gnu/sys/mman.h \
   /usr/include/x86_64-linux-gnu/bits/mman.h \
   /usr/include/x86_64-linux-gnu/bits/mman-linux.h \
-  /usr/include/x86_64-linux-gnu/bits/mman-shared.h \
   /usr/include/unistd.h \
   /usr/include/x86_64-linux-gnu/bits/posix_opt.h \
   /usr/include/x86_64-linux-gnu/bits/environments.h \
   /usr/include/x86_64-linux-gnu/bits/confname.h \
-  /usr/include/x86_64-linux-gnu/bits/getopt_posix.h \
-  /usr/include/x86_64-linux-gnu/bits/getopt_core.h \
+  /usr/include/getopt.h \
   /usr/include/x86_64-linux-gnu/bits/unistd.h \
   /usr/include/fcntl.h \
   /usr/include/x86_64-linux-gnu/bits/fcntl.h \
   /usr/include/x86_64-linux-gnu/bits/fcntl-linux.h \
   /usr/include/x86_64-linux-gnu/bits/fcntl2.h \
   /usr/include/string.h \
-  /usr/include/x86_64-linux-gnu/bits/libc-header-start.h \
-  /usr/include/x86_64-linux-gnu/bits/types/locale_t.h \
-  /usr/include/x86_64-linux-gnu/bits/types/__locale_t.h \
-  /usr/include/strings.h \
-  /usr/include/x86_64-linux-gnu/bits/strings_fortified.h \
-  /usr/include/x86_64-linux-gnu/bits/string_fortified.h \
+  /usr/include/xlocale.h \
+  /usr/include/x86_64-linux-gnu/bits/string.h \
+  /usr/include/x86_64-linux-gnu/bits/string2.h \
   /usr/include/stdlib.h \
+  /usr/include/x86_64-linux-gnu/bits/string3.h \
   /usr/include/x86_64-linux-gnu/bits/waitflags.h \
   /usr/include/x86_64-linux-gnu/bits/waitstatus.h \
-  /usr/include/x86_64-linux-gnu/bits/floatn.h \
-  /usr/include/x86_64-linux-gnu/bits/floatn-common.h \
   /usr/include/alloca.h \
   /usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h \
   /usr/include/x86_64-linux-gnu/bits/stdlib-float.h \
   /usr/include/x86_64-linux-gnu/bits/stdlib.h \
   /usr/include/stdio.h \
-  /usr/include/x86_64-linux-gnu/bits/types/__FILE.h \
-  /usr/include/x86_64-linux-gnu/bits/types/FILE.h \
-  /usr/include/x86_64-linux-gnu/bits/libio.h \
-  /usr/include/x86_64-linux-gnu/bits/_G_config.h \
-    $(wildcard include/config/h.h) \
-  /usr/include/x86_64-linux-gnu/bits/types/__mbstate_t.h \
-  /usr/lib/gcc/x86_64-linux-gnu/7/include/stdarg.h \
+  /usr/include/libio.h \
+  /usr/include/_G_config.h \
+  /usr/include/wchar.h \
+  /usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h \
   /usr/include/x86_64-linux-gnu/bits/stdio_lim.h \
   /usr/include/x86_64-linux-gnu/bits/sys_errlist.h \
   /usr/include/x86_64-linux-gnu/bits/stdio.h \
   /usr/include/x86_64-linux-gnu/bits/stdio2.h \
-  /usr/lib/gcc/x86_64-linux-gnu/7/include-fixed/limits.h \
-  /usr/lib/gcc/x86_64-linux-gnu/7/include-fixed/syslimits.h \
+  /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/limits.h \
+  /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/syslimits.h \
   /usr/include/limits.h \
   /usr/include/x86_64-linux-gnu/bits/posix1_lim.h \
   /usr/include/x86_64-linux-gnu/bits/local_lim.h \
@@ -95,9 +75,12 @@ deps_scripts/basic/fixdep := \
   /usr/include/ctype.h \
   /usr/include/arpa/inet.h \
   /usr/include/netinet/in.h \
-  /usr/include/x86_64-linux-gnu/bits/stdint-uintn.h \
+  /usr/lib/gcc/x86_64-linux-gnu/5/include/stdint.h \
+  /usr/include/stdint.h \
+  /usr/include/x86_64-linux-gnu/bits/wchar.h \
   /usr/include/x86_64-linux-gnu/sys/socket.h \
-  /usr/include/x86_64-linux-gnu/bits/types/struct_iovec.h \
+  /usr/include/x86_64-linux-gnu/sys/uio.h \
+  /usr/include/x86_64-linux-gnu/bits/uio.h \
   /usr/include/x86_64-linux-gnu/bits/socket.h \
   /usr/include/x86_64-linux-gnu/bits/socket_type.h \
   /usr/include/x86_64-linux-gnu/bits/sockaddr.h \
@@ -105,7 +88,6 @@ deps_scripts/basic/fixdep := \
   /usr/include/asm-generic/socket.h \
   /usr/include/x86_64-linux-gnu/asm/sockios.h \
   /usr/include/asm-generic/sockios.h \
-  /usr/include/x86_64-linux-gnu/bits/types/struct_osockaddr.h \
   /usr/include/x86_64-linux-gnu/bits/socket2.h \
   /usr/include/x86_64-linux-gnu/bits/in.h \
 

+ 14 - 33
board-support/linux-4.9.59+gitAUTOINC+a75d8e9305-ga75d8e9305/scripts/mod/.mk_elfconfig.cmd

@@ -5,23 +5,18 @@ source_scripts/mod/mk_elfconfig := scripts/mod/mk_elfconfig.c
 deps_scripts/mod/mk_elfconfig := \
   /usr/include/stdc-predef.h \
   /usr/include/stdio.h \
-  /usr/include/x86_64-linux-gnu/bits/libc-header-start.h \
   /usr/include/features.h \
   /usr/include/x86_64-linux-gnu/sys/cdefs.h \
   /usr/include/x86_64-linux-gnu/bits/wordsize.h \
-  /usr/include/x86_64-linux-gnu/bits/long-double.h \
   /usr/include/x86_64-linux-gnu/gnu/stubs.h \
   /usr/include/x86_64-linux-gnu/gnu/stubs-64.h \
-  /usr/lib/gcc/x86_64-linux-gnu/7/include/stddef.h \
+  /usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h \
   /usr/include/x86_64-linux-gnu/bits/types.h \
   /usr/include/x86_64-linux-gnu/bits/typesizes.h \
-  /usr/include/x86_64-linux-gnu/bits/types/__FILE.h \
-  /usr/include/x86_64-linux-gnu/bits/types/FILE.h \
-  /usr/include/x86_64-linux-gnu/bits/libio.h \
-  /usr/include/x86_64-linux-gnu/bits/_G_config.h \
-    $(wildcard include/config/h.h) \
-  /usr/include/x86_64-linux-gnu/bits/types/__mbstate_t.h \
-  /usr/lib/gcc/x86_64-linux-gnu/7/include/stdarg.h \
+  /usr/include/libio.h \
+  /usr/include/_G_config.h \
+  /usr/include/wchar.h \
+  /usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h \
   /usr/include/x86_64-linux-gnu/bits/stdio_lim.h \
   /usr/include/x86_64-linux-gnu/bits/sys_errlist.h \
   /usr/include/x86_64-linux-gnu/bits/stdio.h \
@@ -29,46 +24,32 @@ deps_scripts/mod/mk_elfconfig := \
   /usr/include/stdlib.h \
   /usr/include/x86_64-linux-gnu/bits/waitflags.h \
   /usr/include/x86_64-linux-gnu/bits/waitstatus.h \
-  /usr/include/x86_64-linux-gnu/bits/floatn.h \
-  /usr/include/x86_64-linux-gnu/bits/floatn-common.h \
-  /usr/include/x86_64-linux-gnu/sys/types.h \
-  /usr/include/x86_64-linux-gnu/bits/types/clock_t.h \
-  /usr/include/x86_64-linux-gnu/bits/types/clockid_t.h \
-  /usr/include/x86_64-linux-gnu/bits/types/time_t.h \
-  /usr/include/x86_64-linux-gnu/bits/types/timer_t.h \
-  /usr/include/x86_64-linux-gnu/bits/stdint-intn.h \
   /usr/include/endian.h \
   /usr/include/x86_64-linux-gnu/bits/endian.h \
   /usr/include/x86_64-linux-gnu/bits/byteswap.h \
   /usr/include/x86_64-linux-gnu/bits/byteswap-16.h \
-  /usr/include/x86_64-linux-gnu/bits/uintn-identity.h \
+  /usr/include/x86_64-linux-gnu/sys/types.h \
+  /usr/include/time.h \
   /usr/include/x86_64-linux-gnu/sys/select.h \
   /usr/include/x86_64-linux-gnu/bits/select.h \
-  /usr/include/x86_64-linux-gnu/bits/types/sigset_t.h \
-  /usr/include/x86_64-linux-gnu/bits/types/__sigset_t.h \
-  /usr/include/x86_64-linux-gnu/bits/types/struct_timeval.h \
-  /usr/include/x86_64-linux-gnu/bits/types/struct_timespec.h \
+  /usr/include/x86_64-linux-gnu/bits/sigset.h \
+  /usr/include/x86_64-linux-gnu/bits/time.h \
   /usr/include/x86_64-linux-gnu/bits/select2.h \
   /usr/include/x86_64-linux-gnu/sys/sysmacros.h \
-  /usr/include/x86_64-linux-gnu/bits/sysmacros.h \
   /usr/include/x86_64-linux-gnu/bits/pthreadtypes.h \
-  /usr/include/x86_64-linux-gnu/bits/thread-shared-types.h \
-  /usr/include/x86_64-linux-gnu/bits/pthreadtypes-arch.h \
   /usr/include/alloca.h \
   /usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h \
   /usr/include/x86_64-linux-gnu/bits/stdlib-float.h \
   /usr/include/x86_64-linux-gnu/bits/stdlib.h \
   /usr/include/string.h \
-  /usr/include/x86_64-linux-gnu/bits/types/locale_t.h \
-  /usr/include/x86_64-linux-gnu/bits/types/__locale_t.h \
-  /usr/include/strings.h \
-  /usr/include/x86_64-linux-gnu/bits/strings_fortified.h \
-  /usr/include/x86_64-linux-gnu/bits/string_fortified.h \
+  /usr/include/xlocale.h \
+  /usr/include/x86_64-linux-gnu/bits/string.h \
+  /usr/include/x86_64-linux-gnu/bits/string2.h \
+  /usr/include/x86_64-linux-gnu/bits/string3.h \
   /usr/include/elf.h \
-  /usr/lib/gcc/x86_64-linux-gnu/7/include/stdint.h \
+  /usr/lib/gcc/x86_64-linux-gnu/5/include/stdint.h \
   /usr/include/stdint.h \
   /usr/include/x86_64-linux-gnu/bits/wchar.h \
-  /usr/include/x86_64-linux-gnu/bits/stdint-uintn.h \
   /usr/include/x86_64-linux-gnu/bits/auxv.h \
 
 scripts/mod/mk_elfconfig: $(deps_scripts/mod/mk_elfconfig)

+ 16 - 39
board-support/linux-4.9.59+gitAUTOINC+a75d8e9305-ga75d8e9305/usr/.gen_init_cpio.cmd

@@ -5,23 +5,18 @@ source_usr/gen_init_cpio := usr/gen_init_cpio.c
 deps_usr/gen_init_cpio := \
   /usr/include/stdc-predef.h \
   /usr/include/stdio.h \
-  /usr/include/x86_64-linux-gnu/bits/libc-header-start.h \
   /usr/include/features.h \
   /usr/include/x86_64-linux-gnu/sys/cdefs.h \
   /usr/include/x86_64-linux-gnu/bits/wordsize.h \
-  /usr/include/x86_64-linux-gnu/bits/long-double.h \
   /usr/include/x86_64-linux-gnu/gnu/stubs.h \
   /usr/include/x86_64-linux-gnu/gnu/stubs-64.h \
-  /usr/lib/gcc/x86_64-linux-gnu/7/include/stddef.h \
+  /usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h \
   /usr/include/x86_64-linux-gnu/bits/types.h \
   /usr/include/x86_64-linux-gnu/bits/typesizes.h \
-  /usr/include/x86_64-linux-gnu/bits/types/__FILE.h \
-  /usr/include/x86_64-linux-gnu/bits/types/FILE.h \
-  /usr/include/x86_64-linux-gnu/bits/libio.h \
-  /usr/include/x86_64-linux-gnu/bits/_G_config.h \
-    $(wildcard include/config/h.h) \
-  /usr/include/x86_64-linux-gnu/bits/types/__mbstate_t.h \
-  /usr/lib/gcc/x86_64-linux-gnu/7/include/stdarg.h \
+  /usr/include/libio.h \
+  /usr/include/_G_config.h \
+  /usr/include/wchar.h \
+  /usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h \
   /usr/include/x86_64-linux-gnu/bits/stdio_lim.h \
   /usr/include/x86_64-linux-gnu/bits/sys_errlist.h \
   /usr/include/x86_64-linux-gnu/bits/stdio.h \
@@ -29,31 +24,19 @@ deps_usr/gen_init_cpio := \
   /usr/include/stdlib.h \
   /usr/include/x86_64-linux-gnu/bits/waitflags.h \
   /usr/include/x86_64-linux-gnu/bits/waitstatus.h \
-  /usr/include/x86_64-linux-gnu/bits/floatn.h \
-  /usr/include/x86_64-linux-gnu/bits/floatn-common.h \
-  /usr/include/x86_64-linux-gnu/sys/types.h \
-  /usr/include/x86_64-linux-gnu/bits/types/clock_t.h \
-  /usr/include/x86_64-linux-gnu/bits/types/clockid_t.h \
-  /usr/include/x86_64-linux-gnu/bits/types/time_t.h \
-  /usr/include/x86_64-linux-gnu/bits/types/timer_t.h \
-  /usr/include/x86_64-linux-gnu/bits/stdint-intn.h \
   /usr/include/endian.h \
   /usr/include/x86_64-linux-gnu/bits/endian.h \
   /usr/include/x86_64-linux-gnu/bits/byteswap.h \
   /usr/include/x86_64-linux-gnu/bits/byteswap-16.h \
-  /usr/include/x86_64-linux-gnu/bits/uintn-identity.h \
+  /usr/include/x86_64-linux-gnu/sys/types.h \
+  /usr/include/time.h \
   /usr/include/x86_64-linux-gnu/sys/select.h \
   /usr/include/x86_64-linux-gnu/bits/select.h \
-  /usr/include/x86_64-linux-gnu/bits/types/sigset_t.h \
-  /usr/include/x86_64-linux-gnu/bits/types/__sigset_t.h \
-  /usr/include/x86_64-linux-gnu/bits/types/struct_timeval.h \
-  /usr/include/x86_64-linux-gnu/bits/types/struct_timespec.h \
+  /usr/include/x86_64-linux-gnu/bits/sigset.h \
+  /usr/include/x86_64-linux-gnu/bits/time.h \
   /usr/include/x86_64-linux-gnu/bits/select2.h \
   /usr/include/x86_64-linux-gnu/sys/sysmacros.h \
-  /usr/include/x86_64-linux-gnu/bits/sysmacros.h \
   /usr/include/x86_64-linux-gnu/bits/pthreadtypes.h \
-  /usr/include/x86_64-linux-gnu/bits/thread-shared-types.h \
-  /usr/include/x86_64-linux-gnu/bits/pthreadtypes-arch.h \
   /usr/include/alloca.h \
   /usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h \
   /usr/include/x86_64-linux-gnu/bits/stdlib-float.h \
@@ -61,22 +44,16 @@ deps_usr/gen_init_cpio := \
   /usr/include/x86_64-linux-gnu/sys/stat.h \
   /usr/include/x86_64-linux-gnu/bits/stat.h \
   /usr/include/string.h \
-  /usr/include/x86_64-linux-gnu/bits/types/locale_t.h \
-  /usr/include/x86_64-linux-gnu/bits/types/__locale_t.h \
-  /usr/include/strings.h \
-  /usr/include/x86_64-linux-gnu/bits/strings_fortified.h \
-  /usr/include/x86_64-linux-gnu/bits/string_fortified.h \
+  /usr/include/xlocale.h \
+  /usr/include/x86_64-linux-gnu/bits/string.h \
+  /usr/include/x86_64-linux-gnu/bits/string2.h \
+  /usr/include/x86_64-linux-gnu/bits/string3.h \
   /usr/include/unistd.h \
   /usr/include/x86_64-linux-gnu/bits/posix_opt.h \
   /usr/include/x86_64-linux-gnu/bits/environments.h \
   /usr/include/x86_64-linux-gnu/bits/confname.h \
-  /usr/include/x86_64-linux-gnu/bits/getopt_posix.h \
-  /usr/include/x86_64-linux-gnu/bits/getopt_core.h \
+  /usr/include/getopt.h \
   /usr/include/x86_64-linux-gnu/bits/unistd.h \
-  /usr/include/time.h \
-  /usr/include/x86_64-linux-gnu/bits/time.h \
-  /usr/include/x86_64-linux-gnu/bits/types/struct_tm.h \
-  /usr/include/x86_64-linux-gnu/bits/types/struct_itimerspec.h \
   /usr/include/fcntl.h \
   /usr/include/x86_64-linux-gnu/bits/fcntl.h \
   /usr/include/x86_64-linux-gnu/bits/fcntl-linux.h \
@@ -88,8 +65,8 @@ deps_usr/gen_init_cpio := \
   /usr/include/asm-generic/errno.h \
   /usr/include/asm-generic/errno-base.h \
   /usr/include/ctype.h \
-  /usr/lib/gcc/x86_64-linux-gnu/7/include-fixed/limits.h \
-  /usr/lib/gcc/x86_64-linux-gnu/7/include-fixed/syslimits.h \
+  /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/limits.h \
+  /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/syslimits.h \
   /usr/include/limits.h \
   /usr/include/x86_64-linux-gnu/bits/posix1_lim.h \
   /usr/include/x86_64-linux-gnu/bits/local_lim.h \

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

@@ -931,7 +931,7 @@
 
  memory {
   device_type = "memory";
-  reg = <0x80000000 0x10000000>;
+
   reg = <0x80000000 0x20000000>;
  };
 
@@ -1406,7 +1406,7 @@
  pinctrl-names = "default";
  pinctrl-0 = <&nandflash_pins_s0>;
 
- ranges = <0 0 0x08000000 0x40000000>;
+ ranges = <0 0 0x08000000 0x80000000>;
  nand@0,0 {
   reg = <0 0 4>;
   ti,nand-ecc-opt = "bch8";
@@ -1495,7 +1495,7 @@
   };
   partition@13 {
    label = "Storage";
-   reg = <0x0A200000 0x35E00000>;
+   reg = <0x0A200000 0x75E00000>;
   };
  };
 };

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

@@ -27,7 +27,7 @@
 
 	memory {
 		device_type = "memory";
-		reg = <0x80000000 0x10000000>; /* 256 MB */
+		//reg = <0x80000000 0x10000000>; /* 256 MB */
 		reg = <0x80000000 0x20000000>; /* 512 MB */ /* +++ vern,512MB DDR ,20181030 ---*/
 	};
 
@@ -518,10 +518,10 @@
 	pinctrl-names = "default";
 	pinctrl-0 = <&nandflash_pins_s0>;
 	/*ranges = <0 0 0x08000000 0x1000000>;*/	/* CS0: 16MB for NAND */
-	ranges = <0 0 0x08000000 0x40000000>;	/*+++ vern,NAND,20181030 ---*/
+	ranges = <0 0 0x08000000 0x80000000>;	/*+++ vern,NAND,20181030 ---*/
 	nand@0,0 {
 		reg = <0 0 4>; /* CS0, offset 0, IO size 4 */
-		ti,nand-ecc-opt = "bch16";
+		ti,nand-ecc-opt = "bch8";
 		ti,elm-id = <&elm>;
 		nand-bus-width = <8>;
 		gpmc,device-width = <1>;
@@ -607,7 +607,7 @@
 		};
 		partition@13 {
 			label = "Storage";
-			reg = <0x0A200000 0x35E00000>;
+			reg = <0x0A200000 0x75E00000>;
 		};
 	};
 };

+ 10 - 8
board-support/u-boot-2017.01+gitAUTOINC+340fb36f04-g340fb36f04/arch/arm/lib/.asm-offsets.s.cmd

@@ -1,4 +1,4 @@
-cmd_arch/arm/lib/asm-offsets.s := /opt/ti-processor-sdk-linux-am335x-evm-04.02.00.09/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/arm-linux-gnueabihf-gcc -Wp,-MD,arch/arm/lib/.asm-offsets.s.d  -nostdinc -isystem /opt/ti-processor-sdk-linux-am335x-evm-04.02.00.09/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/../lib/gcc/arm-linux-gnueabihf/6.2.1/include -Iinclude    -I./arch/arm/include -include ./include/linux/kconfig.h -D__KERNEL__ -D__UBOOT__ -Wall -Wstrict-prototypes -Wno-format-security -fno-builtin -ffreestanding -Os -fno-stack-protector -fno-delete-null-pointer-checks -g -fstack-usage -Wno-format-nonliteral -Werror=date-time -D__ARM__ -Wa,-mimplicit-it=always -mthumb -mthumb-interwork -mabi=aapcs-linux -mword-relocations -fno-pic -mno-unaligned-access -ffunction-sections -fdata-sections -fno-common -ffixed-r9 -msoft-float -pipe -march=armv7-a -D__LINUX_ARM_ARCH__=7 -I./arch/arm/mach-omap2/include -DDO_DEPS_ONLY    -D"KBUILD_STR(s)=\#s" -D"KBUILD_BASENAME=KBUILD_STR(asm_offsets)"  -D"KBUILD_MODNAME=KBUILD_STR(asm_offsets)"  -fverbose-asm -S -o arch/arm/lib/asm-offsets.s arch/arm/lib/asm-offsets.c
+cmd_arch/arm/lib/asm-offsets.s := /opt/ti-processor-sdk-linux-am335x-evm-04.02.00.09/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/arm-linux-gnueabihf-gcc -Wp,-MD,arch/arm/lib/.asm-offsets.s.d  -nostdinc -isystem /opt/ti-processor-sdk-linux-am335x-evm-04.02.00.09/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/../lib/gcc/arm-linux-gnueabihf/6.2.1/include -Iinclude    -I./arch/arm/include -include ./include/linux/kconfig.h -D__KERNEL__ -D__UBOOT__ -Wall -Wstrict-prototypes -Wno-format-security -fno-builtin -ffreestanding -D MT29F16G08 -Os -fno-stack-protector -fno-delete-null-pointer-checks -g -fstack-usage -Wno-format-nonliteral -Werror=date-time -D__ARM__ -Wa,-mimplicit-it=always -mthumb -mthumb-interwork -mabi=aapcs-linux -mword-relocations -fno-pic -mno-unaligned-access -ffunction-sections -fdata-sections -fno-common -ffixed-r9 -msoft-float -pipe -march=armv7-a -D__LINUX_ARM_ARCH__=7 -I./arch/arm/mach-omap2/include -DDO_DEPS_ONLY    -D"KBUILD_STR(s)=\#s" -D"KBUILD_BASENAME=KBUILD_STR(asm_offsets)"  -D"KBUILD_MODNAME=KBUILD_STR(asm_offsets)"  -fverbose-asm -S -o arch/arm/lib/asm-offsets.s arch/arm/lib/asm-offsets.c
 
 source_arch/arm/lib/asm-offsets.s := arch/arm/lib/asm-offsets.c
 
@@ -128,6 +128,8 @@ deps_arch/arm/lib/asm-offsets.s := \
     $(wildcard include/config/dm/stdio.h) \
   include/configs/am335x_evm.h \
     $(wildcard include/config/am335x/evm/h.h) \
+    $(wildcard include/config/sys/memtest/start.h) \
+    $(wildcard include/config/sys/memtest/end.h) \
     $(wildcard include/config/timestamp.h) \
     $(wildcard include/config/lzo.h) \
     $(wildcard include/config/sys/bootm/len.h) \
@@ -155,20 +157,20 @@ deps_arch/arm/lib/asm-offsets.s := \
     $(wildcard include/config/bootcount/am33xx.h) \
     $(wildcard include/config/sys/bootcount/be.h) \
     $(wildcard include/config/spl/ldscript.h) \
+    $(wildcard include/config/sys/nand/eccpos.h) \
+    $(wildcard include/config/sys/nand/eccbytes.h) \
+    $(wildcard include/config/nand/omap/eccscheme.h) \
+    $(wildcard include/config/sys/nand/oobsize.h) \
+    $(wildcard include/config/sys/nand/page/size.h) \
+    $(wildcard include/config/sys/nand/block/size.h) \
     $(wildcard include/config/sys/nand/5/addr/cycle.h) \
     $(wildcard include/config/sys/nand/page/count.h) \
-    $(wildcard include/config/sys/nand/block/size.h) \
-    $(wildcard include/config/sys/nand/page/size.h) \
-    $(wildcard include/config/sys/nand/oobsize.h) \
+    $(wildcard include/config/sys/nand/eccsize.h) \
     $(wildcard include/config/nand/omap/gpmc.h) \
     $(wildcard include/config/nand/omap/gpmc/prefetch.h) \
     $(wildcard include/config/nand/omap/elm.h) \
     $(wildcard include/config/sys/nand/bad/block/pos.h) \
-    $(wildcard include/config/sys/nand/eccpos.h) \
-    $(wildcard include/config/sys/nand/eccsize.h) \
-    $(wildcard include/config/sys/nand/eccbytes.h) \
     $(wildcard include/config/sys/nand/onfi/detection.h) \
-    $(wildcard include/config/nand/omap/eccscheme.h) \
     $(wildcard include/config/sys/nand/u/boot/offs.h) \
     $(wildcard include/config/spl/nand/support.h) \
     $(wildcard include/config/spl/nand/am33xx/bch.h) \

+ 10 - 8
board-support/u-boot-2017.01+gitAUTOINC+340fb36f04-g340fb36f04/lib/.asm-offsets.s.cmd

@@ -1,4 +1,4 @@
-cmd_lib/asm-offsets.s := /opt/ti-processor-sdk-linux-am335x-evm-04.02.00.09/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/arm-linux-gnueabihf-gcc -Wp,-MD,lib/.asm-offsets.s.d  -nostdinc -isystem /opt/ti-processor-sdk-linux-am335x-evm-04.02.00.09/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/../lib/gcc/arm-linux-gnueabihf/6.2.1/include -Iinclude    -I./arch/arm/include -include ./include/linux/kconfig.h -D__KERNEL__ -D__UBOOT__ -Wall -Wstrict-prototypes -Wno-format-security -fno-builtin -ffreestanding -Os -fno-stack-protector -fno-delete-null-pointer-checks -g -fstack-usage -Wno-format-nonliteral -Werror=date-time -D__ARM__ -Wa,-mimplicit-it=always -mthumb -mthumb-interwork -mabi=aapcs-linux -mword-relocations -fno-pic -mno-unaligned-access -ffunction-sections -fdata-sections -fno-common -ffixed-r9 -msoft-float -pipe -march=armv7-a -D__LINUX_ARM_ARCH__=7 -I./arch/arm/mach-omap2/include -DDO_DEPS_ONLY    -D"KBUILD_STR(s)=\#s" -D"KBUILD_BASENAME=KBUILD_STR(asm_offsets)"  -D"KBUILD_MODNAME=KBUILD_STR(asm_offsets)"  -fverbose-asm -S -o lib/asm-offsets.s lib/asm-offsets.c
+cmd_lib/asm-offsets.s := /opt/ti-processor-sdk-linux-am335x-evm-04.02.00.09/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/arm-linux-gnueabihf-gcc -Wp,-MD,lib/.asm-offsets.s.d  -nostdinc -isystem /opt/ti-processor-sdk-linux-am335x-evm-04.02.00.09/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/../lib/gcc/arm-linux-gnueabihf/6.2.1/include -Iinclude    -I./arch/arm/include -include ./include/linux/kconfig.h -D__KERNEL__ -D__UBOOT__ -Wall -Wstrict-prototypes -Wno-format-security -fno-builtin -ffreestanding -D MT29F16G08 -Os -fno-stack-protector -fno-delete-null-pointer-checks -g -fstack-usage -Wno-format-nonliteral -Werror=date-time -D__ARM__ -Wa,-mimplicit-it=always -mthumb -mthumb-interwork -mabi=aapcs-linux -mword-relocations -fno-pic -mno-unaligned-access -ffunction-sections -fdata-sections -fno-common -ffixed-r9 -msoft-float -pipe -march=armv7-a -D__LINUX_ARM_ARCH__=7 -I./arch/arm/mach-omap2/include -DDO_DEPS_ONLY    -D"KBUILD_STR(s)=\#s" -D"KBUILD_BASENAME=KBUILD_STR(asm_offsets)"  -D"KBUILD_MODNAME=KBUILD_STR(asm_offsets)"  -fverbose-asm -S -o lib/asm-offsets.s lib/asm-offsets.c
 
 source_lib/asm-offsets.s := lib/asm-offsets.c
 
@@ -124,6 +124,8 @@ deps_lib/asm-offsets.s := \
     $(wildcard include/config/dm/stdio.h) \
   include/configs/am335x_evm.h \
     $(wildcard include/config/am335x/evm/h.h) \
+    $(wildcard include/config/sys/memtest/start.h) \
+    $(wildcard include/config/sys/memtest/end.h) \
     $(wildcard include/config/timestamp.h) \
     $(wildcard include/config/lzo.h) \
     $(wildcard include/config/sys/bootm/len.h) \
@@ -151,20 +153,20 @@ deps_lib/asm-offsets.s := \
     $(wildcard include/config/bootcount/am33xx.h) \
     $(wildcard include/config/sys/bootcount/be.h) \
     $(wildcard include/config/spl/ldscript.h) \
+    $(wildcard include/config/sys/nand/eccpos.h) \
+    $(wildcard include/config/sys/nand/eccbytes.h) \
+    $(wildcard include/config/nand/omap/eccscheme.h) \
+    $(wildcard include/config/sys/nand/oobsize.h) \
+    $(wildcard include/config/sys/nand/page/size.h) \
+    $(wildcard include/config/sys/nand/block/size.h) \
     $(wildcard include/config/sys/nand/5/addr/cycle.h) \
     $(wildcard include/config/sys/nand/page/count.h) \
-    $(wildcard include/config/sys/nand/block/size.h) \
-    $(wildcard include/config/sys/nand/page/size.h) \
-    $(wildcard include/config/sys/nand/oobsize.h) \
+    $(wildcard include/config/sys/nand/eccsize.h) \
     $(wildcard include/config/nand/omap/gpmc.h) \
     $(wildcard include/config/nand/omap/gpmc/prefetch.h) \
     $(wildcard include/config/nand/omap/elm.h) \
     $(wildcard include/config/sys/nand/bad/block/pos.h) \
-    $(wildcard include/config/sys/nand/eccpos.h) \
-    $(wildcard include/config/sys/nand/eccsize.h) \
-    $(wildcard include/config/sys/nand/eccbytes.h) \
     $(wildcard include/config/sys/nand/onfi/detection.h) \
-    $(wildcard include/config/nand/omap/eccscheme.h) \
     $(wildcard include/config/sys/nand/u/boot/offs.h) \
     $(wildcard include/config/spl/nand/support.h) \
     $(wildcard include/config/spl/nand/am33xx/bch.h) \

+ 20 - 38
board-support/u-boot-2017.01+gitAUTOINC+340fb36f04-g340fb36f04/scripts/basic/.fixdep.cmd

@@ -14,81 +14,61 @@ deps_scripts/basic/fixdep := \
   /usr/include/features.h \
   /usr/include/x86_64-linux-gnu/sys/cdefs.h \
   /usr/include/x86_64-linux-gnu/bits/wordsize.h \
-  /usr/include/x86_64-linux-gnu/bits/long-double.h \
   /usr/include/x86_64-linux-gnu/gnu/stubs.h \
   /usr/include/x86_64-linux-gnu/gnu/stubs-64.h \
   /usr/include/x86_64-linux-gnu/bits/types.h \
   /usr/include/x86_64-linux-gnu/bits/typesizes.h \
-  /usr/include/x86_64-linux-gnu/bits/types/clock_t.h \
-  /usr/include/x86_64-linux-gnu/bits/types/clockid_t.h \
-  /usr/include/x86_64-linux-gnu/bits/types/time_t.h \
-  /usr/include/x86_64-linux-gnu/bits/types/timer_t.h \
-  /usr/lib/gcc/x86_64-linux-gnu/7/include/stddef.h \
-  /usr/include/x86_64-linux-gnu/bits/stdint-intn.h \
+  /usr/include/time.h \
+  /usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h \
   /usr/include/endian.h \
   /usr/include/x86_64-linux-gnu/bits/endian.h \
   /usr/include/x86_64-linux-gnu/bits/byteswap.h \
   /usr/include/x86_64-linux-gnu/bits/byteswap-16.h \
-  /usr/include/x86_64-linux-gnu/bits/uintn-identity.h \
   /usr/include/x86_64-linux-gnu/sys/select.h \
   /usr/include/x86_64-linux-gnu/bits/select.h \
-  /usr/include/x86_64-linux-gnu/bits/types/sigset_t.h \
-  /usr/include/x86_64-linux-gnu/bits/types/__sigset_t.h \
-  /usr/include/x86_64-linux-gnu/bits/types/struct_timeval.h \
-  /usr/include/x86_64-linux-gnu/bits/types/struct_timespec.h \
+  /usr/include/x86_64-linux-gnu/bits/sigset.h \
+  /usr/include/x86_64-linux-gnu/bits/time.h \
   /usr/include/x86_64-linux-gnu/bits/select2.h \
   /usr/include/x86_64-linux-gnu/sys/sysmacros.h \
-  /usr/include/x86_64-linux-gnu/bits/sysmacros.h \
   /usr/include/x86_64-linux-gnu/bits/pthreadtypes.h \
-  /usr/include/x86_64-linux-gnu/bits/thread-shared-types.h \
-  /usr/include/x86_64-linux-gnu/bits/pthreadtypes-arch.h \
   /usr/include/x86_64-linux-gnu/sys/stat.h \
   /usr/include/x86_64-linux-gnu/bits/stat.h \
   /usr/include/x86_64-linux-gnu/sys/mman.h \
   /usr/include/x86_64-linux-gnu/bits/mman.h \
   /usr/include/x86_64-linux-gnu/bits/mman-linux.h \
-  /usr/include/x86_64-linux-gnu/bits/mman-shared.h \
   /usr/include/unistd.h \
   /usr/include/x86_64-linux-gnu/bits/posix_opt.h \
   /usr/include/x86_64-linux-gnu/bits/environments.h \
   /usr/include/x86_64-linux-gnu/bits/confname.h \
-  /usr/include/x86_64-linux-gnu/bits/getopt_posix.h \
-  /usr/include/x86_64-linux-gnu/bits/getopt_core.h \
+  /usr/include/getopt.h \
   /usr/include/x86_64-linux-gnu/bits/unistd.h \
   /usr/include/fcntl.h \
   /usr/include/x86_64-linux-gnu/bits/fcntl.h \
   /usr/include/x86_64-linux-gnu/bits/fcntl-linux.h \
   /usr/include/x86_64-linux-gnu/bits/fcntl2.h \
   /usr/include/string.h \
-  /usr/include/x86_64-linux-gnu/bits/libc-header-start.h \
-  /usr/include/x86_64-linux-gnu/bits/types/locale_t.h \
-  /usr/include/x86_64-linux-gnu/bits/types/__locale_t.h \
-  /usr/include/strings.h \
-  /usr/include/x86_64-linux-gnu/bits/strings_fortified.h \
-  /usr/include/x86_64-linux-gnu/bits/string_fortified.h \
+  /usr/include/xlocale.h \
+  /usr/include/x86_64-linux-gnu/bits/string.h \
+  /usr/include/x86_64-linux-gnu/bits/string2.h \
   /usr/include/stdlib.h \
+  /usr/include/x86_64-linux-gnu/bits/string3.h \
   /usr/include/x86_64-linux-gnu/bits/waitflags.h \
   /usr/include/x86_64-linux-gnu/bits/waitstatus.h \
-  /usr/include/x86_64-linux-gnu/bits/floatn.h \
-  /usr/include/x86_64-linux-gnu/bits/floatn-common.h \
   /usr/include/alloca.h \
   /usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h \
   /usr/include/x86_64-linux-gnu/bits/stdlib-float.h \
   /usr/include/x86_64-linux-gnu/bits/stdlib.h \
   /usr/include/stdio.h \
-  /usr/include/x86_64-linux-gnu/bits/types/__FILE.h \
-  /usr/include/x86_64-linux-gnu/bits/types/FILE.h \
-  /usr/include/x86_64-linux-gnu/bits/libio.h \
-  /usr/include/x86_64-linux-gnu/bits/_G_config.h \
-    $(wildcard include/config/h.h) \
-  /usr/include/x86_64-linux-gnu/bits/types/__mbstate_t.h \
-  /usr/lib/gcc/x86_64-linux-gnu/7/include/stdarg.h \
+  /usr/include/libio.h \
+  /usr/include/_G_config.h \
+  /usr/include/wchar.h \
+  /usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h \
   /usr/include/x86_64-linux-gnu/bits/stdio_lim.h \
   /usr/include/x86_64-linux-gnu/bits/sys_errlist.h \
   /usr/include/x86_64-linux-gnu/bits/stdio.h \
   /usr/include/x86_64-linux-gnu/bits/stdio2.h \
-  /usr/lib/gcc/x86_64-linux-gnu/7/include-fixed/limits.h \
-  /usr/lib/gcc/x86_64-linux-gnu/7/include-fixed/syslimits.h \
+  /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/limits.h \
+  /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/syslimits.h \
   /usr/include/limits.h \
   /usr/include/x86_64-linux-gnu/bits/posix1_lim.h \
   /usr/include/x86_64-linux-gnu/bits/local_lim.h \
@@ -97,9 +77,12 @@ deps_scripts/basic/fixdep := \
   /usr/include/ctype.h \
   /usr/include/arpa/inet.h \
   /usr/include/netinet/in.h \
-  /usr/include/x86_64-linux-gnu/bits/stdint-uintn.h \
+  /usr/lib/gcc/x86_64-linux-gnu/5/include/stdint.h \
+  /usr/include/stdint.h \
+  /usr/include/x86_64-linux-gnu/bits/wchar.h \
   /usr/include/x86_64-linux-gnu/sys/socket.h \
-  /usr/include/x86_64-linux-gnu/bits/types/struct_iovec.h \
+  /usr/include/x86_64-linux-gnu/sys/uio.h \
+  /usr/include/x86_64-linux-gnu/bits/uio.h \
   /usr/include/x86_64-linux-gnu/bits/socket.h \
   /usr/include/x86_64-linux-gnu/bits/socket_type.h \
   /usr/include/x86_64-linux-gnu/bits/sockaddr.h \
@@ -107,7 +90,6 @@ deps_scripts/basic/fixdep := \
   /usr/include/asm-generic/socket.h \
   /usr/include/x86_64-linux-gnu/asm/sockios.h \
   /usr/include/asm-generic/sockios.h \
-  /usr/include/x86_64-linux-gnu/bits/types/struct_osockaddr.h \
   /usr/include/x86_64-linux-gnu/bits/socket2.h \
   /usr/include/x86_64-linux-gnu/bits/in.h \
 

+ 19 - 45
board-support/u-boot-2017.01+gitAUTOINC+340fb36f04-g340fb36f04/tools/.gen_eth_addr.cmd

@@ -7,21 +7,15 @@ deps_tools/gen_eth_addr := \
   include/libfdt_env.h \
   include/compiler.h \
     $(wildcard include/config/use/stdint.h) \
-  /usr/lib/gcc/x86_64-linux-gnu/7/include/stddef.h \
-  /usr/lib/gcc/x86_64-linux-gnu/7/include/stdint.h \
+  /usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h \
+  /usr/lib/gcc/x86_64-linux-gnu/5/include/stdint.h \
   /usr/include/stdint.h \
-  /usr/include/x86_64-linux-gnu/bits/libc-header-start.h \
   /usr/include/features.h \
   /usr/include/x86_64-linux-gnu/sys/cdefs.h \
   /usr/include/x86_64-linux-gnu/bits/wordsize.h \
-  /usr/include/x86_64-linux-gnu/bits/long-double.h \
   /usr/include/x86_64-linux-gnu/gnu/stubs.h \
   /usr/include/x86_64-linux-gnu/gnu/stubs-64.h \
-  /usr/include/x86_64-linux-gnu/bits/types.h \
-  /usr/include/x86_64-linux-gnu/bits/typesizes.h \
   /usr/include/x86_64-linux-gnu/bits/wchar.h \
-  /usr/include/x86_64-linux-gnu/bits/stdint-intn.h \
-  /usr/include/x86_64-linux-gnu/bits/stdint-uintn.h \
   /usr/include/errno.h \
   /usr/include/x86_64-linux-gnu/bits/errno.h \
   /usr/include/linux/errno.h \
@@ -31,69 +25,50 @@ deps_tools/gen_eth_addr := \
   /usr/include/stdlib.h \
   /usr/include/x86_64-linux-gnu/bits/waitflags.h \
   /usr/include/x86_64-linux-gnu/bits/waitstatus.h \
-  /usr/include/x86_64-linux-gnu/bits/floatn.h \
-  /usr/include/x86_64-linux-gnu/bits/floatn-common.h \
-  /usr/include/x86_64-linux-gnu/bits/types/locale_t.h \
-  /usr/include/x86_64-linux-gnu/bits/types/__locale_t.h \
-  /usr/include/x86_64-linux-gnu/sys/types.h \
-  /usr/include/x86_64-linux-gnu/bits/types/clock_t.h \
-  /usr/include/x86_64-linux-gnu/bits/types/clockid_t.h \
-  /usr/include/x86_64-linux-gnu/bits/types/time_t.h \
-  /usr/include/x86_64-linux-gnu/bits/types/timer_t.h \
   /usr/include/endian.h \
   /usr/include/x86_64-linux-gnu/bits/endian.h \
   /usr/include/x86_64-linux-gnu/bits/byteswap.h \
+  /usr/include/x86_64-linux-gnu/bits/types.h \
+  /usr/include/x86_64-linux-gnu/bits/typesizes.h \
   /usr/include/x86_64-linux-gnu/bits/byteswap-16.h \
-  /usr/include/x86_64-linux-gnu/bits/uintn-identity.h \
+  /usr/include/xlocale.h \
+  /usr/include/x86_64-linux-gnu/sys/types.h \
+  /usr/include/time.h \
   /usr/include/x86_64-linux-gnu/sys/select.h \
   /usr/include/x86_64-linux-gnu/bits/select.h \
-  /usr/include/x86_64-linux-gnu/bits/types/sigset_t.h \
-  /usr/include/x86_64-linux-gnu/bits/types/__sigset_t.h \
-  /usr/include/x86_64-linux-gnu/bits/types/struct_timeval.h \
-  /usr/include/x86_64-linux-gnu/bits/types/struct_timespec.h \
+  /usr/include/x86_64-linux-gnu/bits/sigset.h \
+  /usr/include/x86_64-linux-gnu/bits/time.h \
   /usr/include/x86_64-linux-gnu/bits/select2.h \
   /usr/include/x86_64-linux-gnu/sys/sysmacros.h \
-  /usr/include/x86_64-linux-gnu/bits/sysmacros.h \
   /usr/include/x86_64-linux-gnu/bits/pthreadtypes.h \
-  /usr/include/x86_64-linux-gnu/bits/thread-shared-types.h \
-  /usr/include/x86_64-linux-gnu/bits/pthreadtypes-arch.h \
   /usr/include/alloca.h \
   /usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h \
   /usr/include/x86_64-linux-gnu/bits/stdlib-float.h \
   /usr/include/x86_64-linux-gnu/bits/stdlib.h \
   /usr/include/stdio.h \
-  /usr/include/x86_64-linux-gnu/bits/types/__FILE.h \
-  /usr/include/x86_64-linux-gnu/bits/types/FILE.h \
-  /usr/include/x86_64-linux-gnu/bits/libio.h \
-  /usr/include/x86_64-linux-gnu/bits/_G_config.h \
-    $(wildcard include/config/h.h) \
-  /usr/include/x86_64-linux-gnu/bits/types/__mbstate_t.h \
-  /usr/lib/gcc/x86_64-linux-gnu/7/include/stdarg.h \
+  /usr/include/libio.h \
+  /usr/include/_G_config.h \
+  /usr/include/wchar.h \
+  /usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h \
   /usr/include/x86_64-linux-gnu/bits/stdio_lim.h \
   /usr/include/x86_64-linux-gnu/bits/sys_errlist.h \
   /usr/include/x86_64-linux-gnu/bits/stdio.h \
   /usr/include/x86_64-linux-gnu/bits/stdio2.h \
   /usr/include/string.h \
-  /usr/include/strings.h \
-  /usr/include/x86_64-linux-gnu/bits/strings_fortified.h \
-  /usr/include/x86_64-linux-gnu/bits/string_fortified.h \
+  /usr/include/x86_64-linux-gnu/bits/string.h \
+  /usr/include/x86_64-linux-gnu/bits/string2.h \
+  /usr/include/x86_64-linux-gnu/bits/string3.h \
   /usr/include/x86_64-linux-gnu/sys/mman.h \
   /usr/include/x86_64-linux-gnu/bits/mman.h \
   /usr/include/x86_64-linux-gnu/bits/mman-linux.h \
-  /usr/include/x86_64-linux-gnu/bits/mman-shared.h \
   /usr/include/fcntl.h \
   /usr/include/x86_64-linux-gnu/bits/fcntl.h \
   /usr/include/x86_64-linux-gnu/bits/fcntl-linux.h \
-  /usr/include/x86_64-linux-gnu/bits/types/struct_iovec.h \
-  /usr/include/linux/falloc.h \
+  /usr/include/x86_64-linux-gnu/bits/uio.h \
   /usr/include/x86_64-linux-gnu/bits/stat.h \
   /usr/include/x86_64-linux-gnu/bits/fcntl2.h \
   /usr/include/byteswap.h \
-  /usr/include/time.h \
-  /usr/include/x86_64-linux-gnu/bits/time.h \
   /usr/include/x86_64-linux-gnu/bits/timex.h \
-  /usr/include/x86_64-linux-gnu/bits/types/struct_tm.h \
-  /usr/include/x86_64-linux-gnu/bits/types/struct_itimerspec.h \
   include/linux/types.h \
     $(wildcard include/config/uid16.h) \
   /usr/include/linux/posix_types.h \
@@ -107,13 +82,12 @@ deps_tools/gen_eth_addr := \
   /usr/include/x86_64-linux-gnu/asm/types.h \
   /usr/include/asm-generic/types.h \
   /usr/include/asm-generic/int-ll64.h \
-  /usr/lib/gcc/x86_64-linux-gnu/7/include/stdbool.h \
+  /usr/lib/gcc/x86_64-linux-gnu/5/include/stdbool.h \
   /usr/include/unistd.h \
   /usr/include/x86_64-linux-gnu/bits/posix_opt.h \
   /usr/include/x86_64-linux-gnu/bits/environments.h \
   /usr/include/x86_64-linux-gnu/bits/confname.h \
-  /usr/include/x86_64-linux-gnu/bits/getopt_posix.h \
-  /usr/include/x86_64-linux-gnu/bits/getopt_core.h \
+  /usr/include/getopt.h \
   /usr/include/x86_64-linux-gnu/bits/unistd.h \
 
 tools/gen_eth_addr: $(deps_tools/gen_eth_addr)

+ 19 - 45
board-support/u-boot-2017.01+gitAUTOINC+340fb36f04-g340fb36f04/tools/.img2srec.cmd

@@ -7,21 +7,15 @@ deps_tools/img2srec := \
   include/libfdt_env.h \
   include/compiler.h \
     $(wildcard include/config/use/stdint.h) \
-  /usr/lib/gcc/x86_64-linux-gnu/7/include/stddef.h \
-  /usr/lib/gcc/x86_64-linux-gnu/7/include/stdint.h \
+  /usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h \
+  /usr/lib/gcc/x86_64-linux-gnu/5/include/stdint.h \
   /usr/include/stdint.h \
-  /usr/include/x86_64-linux-gnu/bits/libc-header-start.h \
   /usr/include/features.h \
   /usr/include/x86_64-linux-gnu/sys/cdefs.h \
   /usr/include/x86_64-linux-gnu/bits/wordsize.h \
-  /usr/include/x86_64-linux-gnu/bits/long-double.h \
   /usr/include/x86_64-linux-gnu/gnu/stubs.h \
   /usr/include/x86_64-linux-gnu/gnu/stubs-64.h \
-  /usr/include/x86_64-linux-gnu/bits/types.h \
-  /usr/include/x86_64-linux-gnu/bits/typesizes.h \
   /usr/include/x86_64-linux-gnu/bits/wchar.h \
-  /usr/include/x86_64-linux-gnu/bits/stdint-intn.h \
-  /usr/include/x86_64-linux-gnu/bits/stdint-uintn.h \
   /usr/include/errno.h \
   /usr/include/x86_64-linux-gnu/bits/errno.h \
   /usr/include/linux/errno.h \
@@ -31,69 +25,50 @@ deps_tools/img2srec := \
   /usr/include/stdlib.h \
   /usr/include/x86_64-linux-gnu/bits/waitflags.h \
   /usr/include/x86_64-linux-gnu/bits/waitstatus.h \
-  /usr/include/x86_64-linux-gnu/bits/floatn.h \
-  /usr/include/x86_64-linux-gnu/bits/floatn-common.h \
-  /usr/include/x86_64-linux-gnu/bits/types/locale_t.h \
-  /usr/include/x86_64-linux-gnu/bits/types/__locale_t.h \
-  /usr/include/x86_64-linux-gnu/sys/types.h \
-  /usr/include/x86_64-linux-gnu/bits/types/clock_t.h \
-  /usr/include/x86_64-linux-gnu/bits/types/clockid_t.h \
-  /usr/include/x86_64-linux-gnu/bits/types/time_t.h \
-  /usr/include/x86_64-linux-gnu/bits/types/timer_t.h \
   /usr/include/endian.h \
   /usr/include/x86_64-linux-gnu/bits/endian.h \
   /usr/include/x86_64-linux-gnu/bits/byteswap.h \
+  /usr/include/x86_64-linux-gnu/bits/types.h \
+  /usr/include/x86_64-linux-gnu/bits/typesizes.h \
   /usr/include/x86_64-linux-gnu/bits/byteswap-16.h \
-  /usr/include/x86_64-linux-gnu/bits/uintn-identity.h \
+  /usr/include/xlocale.h \
+  /usr/include/x86_64-linux-gnu/sys/types.h \
+  /usr/include/time.h \
   /usr/include/x86_64-linux-gnu/sys/select.h \
   /usr/include/x86_64-linux-gnu/bits/select.h \
-  /usr/include/x86_64-linux-gnu/bits/types/sigset_t.h \
-  /usr/include/x86_64-linux-gnu/bits/types/__sigset_t.h \
-  /usr/include/x86_64-linux-gnu/bits/types/struct_timeval.h \
-  /usr/include/x86_64-linux-gnu/bits/types/struct_timespec.h \
+  /usr/include/x86_64-linux-gnu/bits/sigset.h \
+  /usr/include/x86_64-linux-gnu/bits/time.h \
   /usr/include/x86_64-linux-gnu/bits/select2.h \
   /usr/include/x86_64-linux-gnu/sys/sysmacros.h \
-  /usr/include/x86_64-linux-gnu/bits/sysmacros.h \
   /usr/include/x86_64-linux-gnu/bits/pthreadtypes.h \
-  /usr/include/x86_64-linux-gnu/bits/thread-shared-types.h \
-  /usr/include/x86_64-linux-gnu/bits/pthreadtypes-arch.h \
   /usr/include/alloca.h \
   /usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h \
   /usr/include/x86_64-linux-gnu/bits/stdlib-float.h \
   /usr/include/x86_64-linux-gnu/bits/stdlib.h \
   /usr/include/stdio.h \
-  /usr/include/x86_64-linux-gnu/bits/types/__FILE.h \
-  /usr/include/x86_64-linux-gnu/bits/types/FILE.h \
-  /usr/include/x86_64-linux-gnu/bits/libio.h \
-  /usr/include/x86_64-linux-gnu/bits/_G_config.h \
-    $(wildcard include/config/h.h) \
-  /usr/include/x86_64-linux-gnu/bits/types/__mbstate_t.h \
-  /usr/lib/gcc/x86_64-linux-gnu/7/include/stdarg.h \
+  /usr/include/libio.h \
+  /usr/include/_G_config.h \
+  /usr/include/wchar.h \
+  /usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h \
   /usr/include/x86_64-linux-gnu/bits/stdio_lim.h \
   /usr/include/x86_64-linux-gnu/bits/sys_errlist.h \
   /usr/include/x86_64-linux-gnu/bits/stdio.h \
   /usr/include/x86_64-linux-gnu/bits/stdio2.h \
   /usr/include/string.h \
-  /usr/include/strings.h \
-  /usr/include/x86_64-linux-gnu/bits/strings_fortified.h \
-  /usr/include/x86_64-linux-gnu/bits/string_fortified.h \
+  /usr/include/x86_64-linux-gnu/bits/string.h \
+  /usr/include/x86_64-linux-gnu/bits/string2.h \
+  /usr/include/x86_64-linux-gnu/bits/string3.h \
   /usr/include/x86_64-linux-gnu/sys/mman.h \
   /usr/include/x86_64-linux-gnu/bits/mman.h \
   /usr/include/x86_64-linux-gnu/bits/mman-linux.h \
-  /usr/include/x86_64-linux-gnu/bits/mman-shared.h \
   /usr/include/fcntl.h \
   /usr/include/x86_64-linux-gnu/bits/fcntl.h \
   /usr/include/x86_64-linux-gnu/bits/fcntl-linux.h \
-  /usr/include/x86_64-linux-gnu/bits/types/struct_iovec.h \
-  /usr/include/linux/falloc.h \
+  /usr/include/x86_64-linux-gnu/bits/uio.h \
   /usr/include/x86_64-linux-gnu/bits/stat.h \
   /usr/include/x86_64-linux-gnu/bits/fcntl2.h \
   /usr/include/byteswap.h \
-  /usr/include/time.h \
-  /usr/include/x86_64-linux-gnu/bits/time.h \
   /usr/include/x86_64-linux-gnu/bits/timex.h \
-  /usr/include/x86_64-linux-gnu/bits/types/struct_tm.h \
-  /usr/include/x86_64-linux-gnu/bits/types/struct_itimerspec.h \
   include/linux/types.h \
     $(wildcard include/config/uid16.h) \
   /usr/include/linux/posix_types.h \
@@ -107,7 +82,7 @@ deps_tools/img2srec := \
   /usr/include/x86_64-linux-gnu/asm/types.h \
   /usr/include/asm-generic/types.h \
   /usr/include/asm-generic/int-ll64.h \
-  /usr/lib/gcc/x86_64-linux-gnu/7/include/stdbool.h \
+  /usr/lib/gcc/x86_64-linux-gnu/5/include/stdbool.h \
   tools/os_support.h \
   include/compiler.h \
   /usr/include/ctype.h \
@@ -117,8 +92,7 @@ deps_tools/img2srec := \
   /usr/include/x86_64-linux-gnu/bits/posix_opt.h \
   /usr/include/x86_64-linux-gnu/bits/environments.h \
   /usr/include/x86_64-linux-gnu/bits/confname.h \
-  /usr/include/x86_64-linux-gnu/bits/getopt_posix.h \
-  /usr/include/x86_64-linux-gnu/bits/getopt_core.h \
+  /usr/include/getopt.h \
   /usr/include/x86_64-linux-gnu/bits/unistd.h \
 
 tools/img2srec: $(deps_tools/img2srec)

+ 23 - 62
board-support/u-boot-2017.01+gitAUTOINC+340fb36f04-g340fb36f04/tools/.proftool.cmd

@@ -7,21 +7,15 @@ deps_tools/proftool := \
   include/libfdt_env.h \
   include/compiler.h \
     $(wildcard include/config/use/stdint.h) \
-  /usr/lib/gcc/x86_64-linux-gnu/7/include/stddef.h \
-  /usr/lib/gcc/x86_64-linux-gnu/7/include/stdint.h \
+  /usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h \
+  /usr/lib/gcc/x86_64-linux-gnu/5/include/stdint.h \
   /usr/include/stdint.h \
-  /usr/include/x86_64-linux-gnu/bits/libc-header-start.h \
   /usr/include/features.h \
   /usr/include/x86_64-linux-gnu/sys/cdefs.h \
   /usr/include/x86_64-linux-gnu/bits/wordsize.h \
-  /usr/include/x86_64-linux-gnu/bits/long-double.h \
   /usr/include/x86_64-linux-gnu/gnu/stubs.h \
   /usr/include/x86_64-linux-gnu/gnu/stubs-64.h \
-  /usr/include/x86_64-linux-gnu/bits/types.h \
-  /usr/include/x86_64-linux-gnu/bits/typesizes.h \
   /usr/include/x86_64-linux-gnu/bits/wchar.h \
-  /usr/include/x86_64-linux-gnu/bits/stdint-intn.h \
-  /usr/include/x86_64-linux-gnu/bits/stdint-uintn.h \
   /usr/include/errno.h \
   /usr/include/x86_64-linux-gnu/bits/errno.h \
   /usr/include/linux/errno.h \
@@ -31,69 +25,50 @@ deps_tools/proftool := \
   /usr/include/stdlib.h \
   /usr/include/x86_64-linux-gnu/bits/waitflags.h \
   /usr/include/x86_64-linux-gnu/bits/waitstatus.h \
-  /usr/include/x86_64-linux-gnu/bits/floatn.h \
-  /usr/include/x86_64-linux-gnu/bits/floatn-common.h \
-  /usr/include/x86_64-linux-gnu/bits/types/locale_t.h \
-  /usr/include/x86_64-linux-gnu/bits/types/__locale_t.h \
-  /usr/include/x86_64-linux-gnu/sys/types.h \
-  /usr/include/x86_64-linux-gnu/bits/types/clock_t.h \
-  /usr/include/x86_64-linux-gnu/bits/types/clockid_t.h \
-  /usr/include/x86_64-linux-gnu/bits/types/time_t.h \
-  /usr/include/x86_64-linux-gnu/bits/types/timer_t.h \
   /usr/include/endian.h \
   /usr/include/x86_64-linux-gnu/bits/endian.h \
   /usr/include/x86_64-linux-gnu/bits/byteswap.h \
+  /usr/include/x86_64-linux-gnu/bits/types.h \
+  /usr/include/x86_64-linux-gnu/bits/typesizes.h \
   /usr/include/x86_64-linux-gnu/bits/byteswap-16.h \
-  /usr/include/x86_64-linux-gnu/bits/uintn-identity.h \
+  /usr/include/xlocale.h \
+  /usr/include/x86_64-linux-gnu/sys/types.h \
+  /usr/include/time.h \
   /usr/include/x86_64-linux-gnu/sys/select.h \
   /usr/include/x86_64-linux-gnu/bits/select.h \
-  /usr/include/x86_64-linux-gnu/bits/types/sigset_t.h \
-  /usr/include/x86_64-linux-gnu/bits/types/__sigset_t.h \
-  /usr/include/x86_64-linux-gnu/bits/types/struct_timeval.h \
-  /usr/include/x86_64-linux-gnu/bits/types/struct_timespec.h \
+  /usr/include/x86_64-linux-gnu/bits/sigset.h \
+  /usr/include/x86_64-linux-gnu/bits/time.h \
   /usr/include/x86_64-linux-gnu/bits/select2.h \
   /usr/include/x86_64-linux-gnu/sys/sysmacros.h \
-  /usr/include/x86_64-linux-gnu/bits/sysmacros.h \
   /usr/include/x86_64-linux-gnu/bits/pthreadtypes.h \
-  /usr/include/x86_64-linux-gnu/bits/thread-shared-types.h \
-  /usr/include/x86_64-linux-gnu/bits/pthreadtypes-arch.h \
   /usr/include/alloca.h \
   /usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h \
   /usr/include/x86_64-linux-gnu/bits/stdlib-float.h \
   /usr/include/x86_64-linux-gnu/bits/stdlib.h \
   /usr/include/stdio.h \
-  /usr/include/x86_64-linux-gnu/bits/types/__FILE.h \
-  /usr/include/x86_64-linux-gnu/bits/types/FILE.h \
-  /usr/include/x86_64-linux-gnu/bits/libio.h \
-  /usr/include/x86_64-linux-gnu/bits/_G_config.h \
-    $(wildcard include/config/h.h) \
-  /usr/include/x86_64-linux-gnu/bits/types/__mbstate_t.h \
-  /usr/lib/gcc/x86_64-linux-gnu/7/include/stdarg.h \
+  /usr/include/libio.h \
+  /usr/include/_G_config.h \
+  /usr/include/wchar.h \
+  /usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h \
   /usr/include/x86_64-linux-gnu/bits/stdio_lim.h \
   /usr/include/x86_64-linux-gnu/bits/sys_errlist.h \
   /usr/include/x86_64-linux-gnu/bits/stdio.h \
   /usr/include/x86_64-linux-gnu/bits/stdio2.h \
   /usr/include/string.h \
-  /usr/include/strings.h \
-  /usr/include/x86_64-linux-gnu/bits/strings_fortified.h \
-  /usr/include/x86_64-linux-gnu/bits/string_fortified.h \
+  /usr/include/x86_64-linux-gnu/bits/string.h \
+  /usr/include/x86_64-linux-gnu/bits/string2.h \
+  /usr/include/x86_64-linux-gnu/bits/string3.h \
   /usr/include/x86_64-linux-gnu/sys/mman.h \
   /usr/include/x86_64-linux-gnu/bits/mman.h \
   /usr/include/x86_64-linux-gnu/bits/mman-linux.h \
-  /usr/include/x86_64-linux-gnu/bits/mman-shared.h \
   /usr/include/fcntl.h \
   /usr/include/x86_64-linux-gnu/bits/fcntl.h \
   /usr/include/x86_64-linux-gnu/bits/fcntl-linux.h \
-  /usr/include/x86_64-linux-gnu/bits/types/struct_iovec.h \
-  /usr/include/linux/falloc.h \
+  /usr/include/x86_64-linux-gnu/bits/uio.h \
   /usr/include/x86_64-linux-gnu/bits/stat.h \
   /usr/include/x86_64-linux-gnu/bits/fcntl2.h \
   /usr/include/byteswap.h \
-  /usr/include/time.h \
-  /usr/include/x86_64-linux-gnu/bits/time.h \
   /usr/include/x86_64-linux-gnu/bits/timex.h \
-  /usr/include/x86_64-linux-gnu/bits/types/struct_tm.h \
-  /usr/include/x86_64-linux-gnu/bits/types/struct_itimerspec.h \
   include/linux/types.h \
     $(wildcard include/config/uid16.h) \
   /usr/include/linux/posix_types.h \
@@ -107,46 +82,32 @@ deps_tools/proftool := \
   /usr/include/x86_64-linux-gnu/asm/types.h \
   /usr/include/asm-generic/types.h \
   /usr/include/asm-generic/int-ll64.h \
-  /usr/lib/gcc/x86_64-linux-gnu/7/include/stdbool.h \
+  /usr/lib/gcc/x86_64-linux-gnu/5/include/stdbool.h \
   /usr/include/assert.h \
   /usr/include/ctype.h \
-  /usr/lib/gcc/x86_64-linux-gnu/7/include-fixed/limits.h \
-  /usr/lib/gcc/x86_64-linux-gnu/7/include-fixed/syslimits.h \
+  /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/limits.h \
+  /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/syslimits.h \
   /usr/include/limits.h \
   /usr/include/x86_64-linux-gnu/bits/posix1_lim.h \
   /usr/include/x86_64-linux-gnu/bits/local_lim.h \
   /usr/include/linux/limits.h \
   /usr/include/x86_64-linux-gnu/bits/posix2_lim.h \
   /usr/include/x86_64-linux-gnu/bits/xopen_lim.h \
-  /usr/include/x86_64-linux-gnu/bits/uio_lim.h \
   /usr/include/regex.h \
   /usr/include/unistd.h \
   /usr/include/x86_64-linux-gnu/bits/posix_opt.h \
   /usr/include/x86_64-linux-gnu/bits/environments.h \
   /usr/include/x86_64-linux-gnu/bits/confname.h \
-  /usr/include/x86_64-linux-gnu/bits/getopt_posix.h \
-  /usr/include/x86_64-linux-gnu/bits/getopt_core.h \
+  /usr/include/getopt.h \
   /usr/include/x86_64-linux-gnu/bits/unistd.h \
   /usr/include/x86_64-linux-gnu/sys/param.h \
   /usr/include/signal.h \
   /usr/include/x86_64-linux-gnu/bits/signum.h \
-  /usr/include/x86_64-linux-gnu/bits/signum-generic.h \
-  /usr/include/x86_64-linux-gnu/bits/types/sig_atomic_t.h \
-  /usr/include/x86_64-linux-gnu/bits/types/siginfo_t.h \
-  /usr/include/x86_64-linux-gnu/bits/types/__sigval_t.h \
-  /usr/include/x86_64-linux-gnu/bits/siginfo-arch.h \
-  /usr/include/x86_64-linux-gnu/bits/siginfo-consts.h \
-  /usr/include/x86_64-linux-gnu/bits/siginfo-consts-arch.h \
-  /usr/include/x86_64-linux-gnu/bits/types/sigval_t.h \
-  /usr/include/x86_64-linux-gnu/bits/types/sigevent_t.h \
-  /usr/include/x86_64-linux-gnu/bits/sigevent-consts.h \
+  /usr/include/x86_64-linux-gnu/bits/siginfo.h \
   /usr/include/x86_64-linux-gnu/bits/sigaction.h \
   /usr/include/x86_64-linux-gnu/bits/sigcontext.h \
-  /usr/include/x86_64-linux-gnu/bits/types/stack_t.h \
-  /usr/include/x86_64-linux-gnu/sys/ucontext.h \
   /usr/include/x86_64-linux-gnu/bits/sigstack.h \
-  /usr/include/x86_64-linux-gnu/bits/ss_flags.h \
-  /usr/include/x86_64-linux-gnu/bits/types/struct_sigstack.h \
+  /usr/include/x86_64-linux-gnu/sys/ucontext.h \
   /usr/include/x86_64-linux-gnu/bits/sigthread.h \
   /usr/include/x86_64-linux-gnu/bits/param.h \
   /usr/include/linux/param.h \

Энэ ялгаанд хэт олон файл өөрчлөгдсөн тул зарим файлыг харуулаагүй болно