Jelajahi Sumber

rtc driver fixes

Reinhard Russinger 7 tahun lalu
induk
melakukan
e1ca369c3e

+ 14 - 0
board/GfA/Display001/linux_4.4.65_rt17/linux-021-remove_endless_loop_in_rtc-ds1307_driver.patch

@@ -0,0 +1,14 @@
+diff -Naur a/drivers/rtc/rtc-ds1307.c b/drivers/rtc/rtc-ds1307.c
+--- a/drivers/rtc/rtc-ds1307.c	2017-09-18 18:59:01.000000000 +0200
++++ b/drivers/rtc/rtc-ds1307.c	2017-10-22 21:17:38.553161544 +0200
+@@ -1096,8 +1096,8 @@
+ 		if (!(tmp & MCP794XX_BIT_ST)) {
+ 			i2c_smbus_write_byte_data(client, DS1307_REG_SECS,
+ 					MCP794XX_BIT_ST);
+-			dev_warn(&client->dev, "SET TIME!\n");
+-			goto read_rtc;
++			dev_warn(&client->dev, "!!!!!!!!!!! SET TIME!\n");
++	//		goto read_rtc;
+ 		}
+ 
+ 		break;

TEMPAT SAMPAH
board/GfA/Display001/rootfs/opt/di-soric/HMI/VISU_di-soric


+ 36 - 0
board/GfA/Display001/rootfs/usr/qml/ApplicationLauncher/applicationlauncher.qmltypes

@@ -0,0 +1,36 @@
+import QtQuick.tooling 1.2
+
+// This file describes the plugin-supplied types contained in the library.
+// It is used for QML tooling purposes only.
+//
+// This file was auto-generated by:
+// 'qmlplugindump -nonrelocatable ApplicationLauncher 1.0'
+
+Module {
+    dependencies: ["QtQuick 2.7"]
+    Component {
+        name: "ApplicationLaunch"
+        prototype: "QObject"
+        exports: ["ApplicationLauncher/ApplicationLaunch 1.0"]
+        exportMetaObjectRevisions: [0]
+        Property { name: "appName"; type: "string" }
+        Property { name: "arguments"; type: "string" }
+        Property { name: "stdERR"; type: "string" }
+        Property { name: "stdOUT"; type: "string" }
+        Property { name: "outFName"; type: "string" }
+        Property { name: "exitCode"; type: "int"; isReadonly: true }
+        Property { name: "exitStatus"; type: "int"; isReadonly: true }
+        Property { name: "exitError"; type: "int"; isReadonly: true }
+        Signal { name: "appFinished" }
+        Signal { name: "appStarted" }
+        Signal { name: "appError" }
+        Method { name: "launchScript" }
+    }
+    Component {
+        name: "ApplicationLauncher"
+        defaultProperty: "data"
+        prototype: "QQuickItem"
+        exports: ["ApplicationLauncher/ApplicationLauncher 1.0"]
+        exportMetaObjectRevisions: [0]
+    }
+}

TEMPAT SAMPAH
board/GfA/Display001/rootfs/usr/qml/ApplicationLauncher/libApplicationLauncher.so


+ 2 - 1
board/GfA/Display001/rootfs/usr/qml/ApplicationLauncher/qmldir

@@ -1,3 +1,4 @@
 module ApplicationLauncher
+class ApplicationLauncher
 plugin ApplicationLauncher
-
+typeinfo applicationlauncher.qmltypes