ソースを参照

transponder wrk

Reinhard Russinger 4 年 前
コミット
87d4ea688b

+ 7 - 8
board/GfA/Display001/DTS_4.4/Display001_cape.dts

@@ -68,25 +68,25 @@
 
         mmc3_pins: pinmux_mmc3_pins {
                 pinctrl-single,pins = <
-                        0x08C ( PIN_INPUT | MUX_MODE3 ) /* mmc2_clk */
-                        0x088 ( PIN_INPUT | MUX_MODE3 ) /* mmc2_cmd */
-                        0x040 ( PIN_INPUT | MUX_MODE7 ) /* gpio1.16 P9.15 */
+                       /* 0x040 ( PIN_INPUT | MUX_MODE7 )*/ /* gpio1.16 P9.15 */
                         0x030 ( PIN_INPUT | MUX_MODE3 ) /* mmc2_dat0 */
                         0x034 ( PIN_INPUT | MUX_MODE3 ) /* mmc2_dat1 */
                         0x038 ( PIN_INPUT | MUX_MODE3 ) /* mmc2_dat2 */
                         0x03C ( PIN_INPUT | MUX_MODE3 ) /* mmc2_dat3 */
+                        0x088 ( PIN_INPUT | MUX_MODE3 ) /* mmc2_cmd */
+                        0x08C ( PIN_INPUT | MUX_MODE3 ) /* mmc2_clk */
                 >;
         };
 
         mmc3_pins_sleep: pinmux_mmc3_pins_sleep {
                 pinctrl-single,pins = <
-                        0x08C ( PIN_INPUT | MUX_MODE7 ) /* mmc2_clk */
-                        0x088 ( PIN_INPUT | MUX_MODE7 ) /* mmc2_cmd */
-                        0x040 ( PIN_INPUT | MUX_MODE7 ) /* gpio1.16 P9.15 */
+                        /* 0x040 ( PIN_INPUT | MUX_MODE7 )*/ /* gpio1.16 P9.15 */
                         0x030 ( PIN_INPUT | MUX_MODE7 ) /* mmc2_dat0 */
                         0x034 ( PIN_INPUT | MUX_MODE7 ) /* mmc2_dat1 */
                         0x038 ( PIN_INPUT | MUX_MODE7 ) /* mmc2_dat2 */
                         0x03C ( PIN_INPUT | MUX_MODE7 ) /* mmc2_dat3 */
+                        0x088 ( PIN_INPUT | MUX_MODE7 ) /* mmc2_cmd */
+                        0x08C ( PIN_INPUT | MUX_MODE7 ) /* mmc2_clk */
                 >;
         };
 
@@ -155,12 +155,11 @@
 
         #address-cells = <1>;
         #size-cells = <0>;
-        wlcore: wlcore@2 {
+        wlcore_sdio: wlcore_sdio@2 {
                 compatible = "ti,wl1835";
                 reg = <2>;
                 interrupt-parent = <&gpio0>;
                 interrupts = <27 IRQ_TYPE_LEVEL_HIGH>;
-		ref-clock-frequency = < 38400000>;
         };
 };
 

+ 2 - 6
board/GfA/Display001/rootfs/var/GfA/pppd.sh

@@ -11,11 +11,7 @@ PPPD_RETVAL=$?
 echo "PPPD: Retval = $PPPD_RETVAL"
 echo `date`"--PPPD: Retval = $PPPD_RETVAL" >> $VENDOR_PATH/pppd_retval.log
 
-if [ $PPPD_RETVAL == 8 ];then
-	echo "Modem has error reset"
-	$VENDOR_PATH/gsm_MSQ "*AT+cfun=1,1"
-fi
-if [ $PPPD_RETVAL == 137 ];then
-	echo "Modem has error reset"
+f if [ $PPPD_RETVAL != 0 ] && [ $PPPD_RETVAL != 1 ] && [ $PPPD_RETVAL != 6 ];then
+	echo "Modem Err $PPPD_RETVAL"
 	$VENDOR_PATH/gsm_MSQ "*AT+cfun=1,1"
 fi

+ 26 - 0
patches/0111-change-package-urls.patch

@@ -0,0 +1,26 @@
+diff --git a/package/pcre/pcre.mk b/package/pcre/pcre.mk
+index a10950d..213a11c 100644
+--- a/package/pcre/pcre.mk
++++ b/package/pcre/pcre.mk
+@@ -5,7 +5,7 @@
+ ################################################################################
+ 
+ PCRE_VERSION = 8.39
+-PCRE_SITE = ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre
++PCRE_SITE = ftp://ftp.pcre.org/pub/pcre
+ PCRE_SOURCE = pcre-$(PCRE_VERSION).tar.bz2
+ PCRE_LICENSE = BSD-3c
+ PCRE_LICENSE_FILES = LICENCE
+diff --git a/package/wpan-tools/wpan-tools.mk b/package/wpan-tools/wpan-tools.mk
+index d223800..b904416 100644
+--- a/package/wpan-tools/wpan-tools.mk
++++ b/package/wpan-tools/wpan-tools.mk
+@@ -5,7 +5,7 @@
+ ################################################################################
+ 
+ WPAN_TOOLS_VERSION = 0.5
+-WPAN_TOOLS_SITE = http://wpan.cakelab.org/releases
++WPAN_TOOLS_SITE = https://github.com/linux-wpan/wpan-tools/releases
+ WPAN_TOOLS_DEPENDENCIES = host-pkgconf libnl
+ WPAN_TOOLS_LICENSE = iw license
+ WPAN_TOOLS_LICENSE_FILES = COPYING