Obsolete unused backup project such as OK6410
guowenxue
2019-08-04 a4f1135ccbefab1bb5564de7634d1f2b490d8071
update ok335x linux patch for add USB serial driver and update build.sh for sudo needed
2 files modified
25 ■■■■■ changed files
ok335xD/linux-bsp/build.sh 5 ●●●●● patch | view | raw | blame | history
ok335xD/linux-bsp/patches/linux-3.2.0-ok335x.patch 20 ●●●● patch | view | raw | blame | history
ok335xD/linux-bsp/build.sh
@@ -92,11 +92,6 @@
function build_kernel()
{
    if [ ! -d ${ROOTFS_SRC} ] ; then
        echo "WARNNING: decompress rootfs need input sudo passwd here: "
        sudo tar -xJf ${PACK_PATH}/${ROOTFS_SRC}.tar.xz
    fi
    if [ ! -d ${LINUX_SRC} ] ; then
        tar -xJf ${PACK_PATH}/${LINUX_SRC}.tar.xz 
        cd ${LINUX_SRC}
ok335xD/linux-bsp/patches/linux-3.2.0-ok335x.patch
@@ -1,6 +1,6 @@
diff -Nuar linux-3.2.0/arch/arm/mach-omap2/board-am335xevm.c linux-3.2.0-ok335x/arch/arm/mach-omap2/board-am335xevm.c
--- linux-3.2.0/arch/arm/mach-omap2/board-am335xevm.c    2014-01-22 18:20:21.000000000 +0800
+++ linux-3.2.0-ok335x/arch/arm/mach-omap2/board-am335xevm.c    2019-08-02 01:06:20.599882656 +0800
+++ linux-3.2.0-ok335x/arch/arm/mach-omap2/board-am335xevm.c    2019-08-02 01:25:21.991904551 +0800
@@ -116,8 +116,8 @@
 #define SCREEN_SIZE_480X272_4  3
 #define SCREEN_SIZE_800X600_10 4
@@ -126,7 +126,7 @@
 }
diff -Nuar linux-3.2.0/build.sh linux-3.2.0-ok335x/build.sh
--- linux-3.2.0/build.sh    1970-01-01 08:00:00.000000000 +0800
+++ linux-3.2.0-ok335x/build.sh    2019-08-02 01:06:20.599882656 +0800
+++ linux-3.2.0-ok335x/build.sh    2019-08-02 01:25:21.991904551 +0800
@@ -0,0 +1,74 @@
+#!/bin/bash
+
@@ -204,7 +204,7 @@
+
diff -Nuar linux-3.2.0/.cfg-ok335x linux-3.2.0-ok335x/.cfg-ok335x
--- linux-3.2.0/.cfg-ok335x    1970-01-01 08:00:00.000000000 +0800
+++ linux-3.2.0-ok335x/.cfg-ok335x    2019-08-02 01:07:23.463883862 +0800
+++ linux-3.2.0-ok335x/.cfg-ok335x    2019-08-04 22:10:33.093638237 +0800
@@ -0,0 +1,2936 @@
+#
+# Automatically generated file; DO NOT EDIT.
@@ -2332,13 +2332,13 @@
+# CONFIG_USB_SERIAL_AIRCABLE is not set
+# CONFIG_USB_SERIAL_ARK3116 is not set
+# CONFIG_USB_SERIAL_BELKIN is not set
+# CONFIG_USB_SERIAL_CH341 is not set
+CONFIG_USB_SERIAL_CH341=y
+# CONFIG_USB_SERIAL_WHITEHEAT is not set
+# CONFIG_USB_SERIAL_DIGI_ACCELEPORT is not set
+# CONFIG_USB_SERIAL_CP210X is not set
+CONFIG_USB_SERIAL_CP210X=y
+# CONFIG_USB_SERIAL_CYPRESS_M8 is not set
+# CONFIG_USB_SERIAL_EMPEG is not set
+# CONFIG_USB_SERIAL_FTDI_SIO is not set
+CONFIG_USB_SERIAL_FTDI_SIO=y
+# CONFIG_USB_SERIAL_FUNSOFT is not set
+# CONFIG_USB_SERIAL_VISOR is not set
+# CONFIG_USB_SERIAL_IPAQ is not set
@@ -2357,7 +2357,7 @@
+# CONFIG_USB_SERIAL_MOS7840 is not set
+# CONFIG_USB_SERIAL_MOTOROLA is not set
+# CONFIG_USB_SERIAL_NAVMAN is not set
+# CONFIG_USB_SERIAL_PL2303 is not set
+CONFIG_USB_SERIAL_PL2303=y
+# CONFIG_USB_SERIAL_OTI6858 is not set
+# CONFIG_USB_SERIAL_QCAUX is not set
+# CONFIG_USB_SERIAL_QUALCOMM is not set
@@ -3144,7 +3144,7 @@
+# CONFIG_CORDIC is not set
diff -Nuar linux-3.2.0/ChangeLog.txt linux-3.2.0-ok335x/ChangeLog.txt
--- linux-3.2.0/ChangeLog.txt    1970-01-01 08:00:00.000000000 +0800
+++ linux-3.2.0-ok335x/ChangeLog.txt    2019-08-02 01:06:20.603882656 +0800
+++ linux-3.2.0-ok335x/ChangeLog.txt    2019-08-02 01:25:21.991904551 +0800
@@ -0,0 +1,15 @@
+
+1. Nandflash(MT29F2G08ABAEAWP, 256M) Partition 
@@ -3163,7 +3163,7 @@
+
diff -Nuar linux-3.2.0/drivers/input/touchscreen/ft5x06_ts.c linux-3.2.0-ok335x/drivers/input/touchscreen/ft5x06_ts.c
--- linux-3.2.0/drivers/input/touchscreen/ft5x06_ts.c    2014-01-17 14:37:52.000000000 +0800
+++ linux-3.2.0-ok335x/drivers/input/touchscreen/ft5x06_ts.c    2019-08-02 01:06:20.603882656 +0800
+++ linux-3.2.0-ok335x/drivers/input/touchscreen/ft5x06_ts.c    2019-08-02 01:25:21.995904551 +0800
@@ -16,7 +16,7 @@
  *
  * VERSION          DATE            AUTHOR        Note
@@ -3193,7 +3193,7 @@
     return ret;
diff -Nuar linux-3.2.0/Makefile linux-3.2.0-ok335x/Makefile
--- linux-3.2.0/Makefile    2019-07-28 20:25:29.000000000 +0800
+++ linux-3.2.0-ok335x/Makefile    2019-08-02 01:06:20.623882656 +0800
+++ linux-3.2.0-ok335x/Makefile    2019-08-04 22:08:57.921636412 +0800
@@ -192,8 +192,8 @@
 # Default value for CROSS_COMPILE is not to prefix executables
 # Note: Some architectures assign CROSS_COMPILE in their arch/*/Makefile