diff options
Diffstat (limited to 'recipes-bsp/isp-imx/isp-imx/0001-start_isp.sh-fix-test-to-be-generic.patch')
-rw-r--r-- | recipes-bsp/isp-imx/isp-imx/0001-start_isp.sh-fix-test-to-be-generic.patch | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/recipes-bsp/isp-imx/isp-imx/0001-start_isp.sh-fix-test-to-be-generic.patch b/recipes-bsp/isp-imx/isp-imx/0001-start_isp.sh-fix-test-to-be-generic.patch index 1b62afe5..be2e1c61 100644 --- a/recipes-bsp/isp-imx/isp-imx/0001-start_isp.sh-fix-test-to-be-generic.patch +++ b/recipes-bsp/isp-imx/isp-imx/0001-start_isp.sh-fix-test-to-be-generic.patch | |||
@@ -10,20 +10,20 @@ Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com> | |||
10 | imx/start_isp.sh | 13 +++++-------- | 10 | imx/start_isp.sh | 13 +++++-------- |
11 | 1 file changed, 5 insertions(+), 8 deletions(-) | 11 | 1 file changed, 5 insertions(+), 8 deletions(-) |
12 | 12 | ||
13 | Index: isp-imx-4.2.2.11.0/imx/start_isp.sh | 13 | Index: isp-imx-4.2.2.13.0/imx/start_isp.sh |
14 | =================================================================== | 14 | =================================================================== |
15 | --- isp-imx-4.2.2.11.0.orig/imx/start_isp.sh | 15 | --- isp-imx-4.2.2.13.0.orig/imx/start_isp.sh |
16 | +++ isp-imx-4.2.2.11.0/imx/start_isp.sh | 16 | +++ isp-imx-4.2.2.13.0/imx/start_isp.sh |
17 | @@ -8,6 +8,7 @@ | 17 | @@ -9,6 +9,7 @@ |
18 | |||
19 | RUNTIME_DIR="$( cd "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )" | 18 | RUNTIME_DIR="$( cd "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )" |
20 | NR_DEVICE_TREE_BASLER=$(grep basler-camera-vvcam /sys/firmware/devicetree/base/soc@0/*/i2c@*/*/compatible -l | wc -l 2> /dev/null) | 19 | NR_DEVICE_TREE_BASLER=$(grep basler-camera-vvcam /sys/firmware/devicetree/base/soc@0/*/i2c@*/*/compatible -l | wc -l 2> /dev/null) |
20 | NR_DEVICE_TREE_OV5640=$(grep ov5640 /sys/firmware/devicetree/base/soc@0/*/i2c@*/*/compatible -l | wc -l 2> /dev/null) | ||
21 | +DMESG_BASLER=`dmesg | grep Basler` | 21 | +DMESG_BASLER=`dmesg | grep Basler` |
22 | 22 | ||
23 | # check if the basler device has been enabled in the device tree | 23 | # check if the basler device has been enabled in the device tree |
24 | if [ $NR_DEVICE_TREE_BASLER -eq 1 ]; then | 24 | if [ $NR_DEVICE_TREE_BASLER -eq 1 ]; then |
25 | @@ -28,8 +29,15 @@ elif [ $NR_DEVICE_TREE_BASLER -eq 2 ]; t | 25 | @@ -40,8 +41,15 @@ elif [ $NR_DEVICE_TREE_BASLER -eq 2 ]; t |
26 | # Available configurations: dual_basler_1080p60, dual_basler_1080p60hdr | 26 | # Available configurations: dual_basler_1080p60, dual_basler_1080p60hdr, dual_basler_1080p25hdr |
27 | exec ./run.sh -c dual_basler_1080p60 -lm | 27 | exec ./run.sh -c dual_basler_1080p60 -lm |
28 | 28 | ||
29 | +elif [ ! -z "$DMESG_BASLER" ]; then | 29 | +elif [ ! -z "$DMESG_BASLER" ]; then |