Add the artik710 firmware file 02/96402/1 accepted/tizen/common/20161109.140541 accepted/tizen/ivi/20161110.001024 accepted/tizen/mobile/20161110.000929 accepted/tizen/tv/20161110.000949 accepted/tizen/wearable/20161110.001014 submit/tizen/20161109.021558 submit/tizen/20161219.233906
authorDoHyun Pyun <dh79.pyun@samsung.com>
Wed, 9 Nov 2016 00:05:24 +0000 (09:05 +0900)
committerDoHyun Pyun <dh79.pyun@samsung.com>
Wed, 9 Nov 2016 00:06:49 +0000 (09:06 +0900)
Change-Id: Ifd964e92be284e12e9ffa87e5c4a39da484b15ea
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
firmware/BCM4345C0_003.001.025.0111.0205.hcd [new file with mode: 0644]
firmware/CMakeLists.txt
firmware/artik_bcmtool/brcm_patchram_plus
packaging/bluetooth-firmware-bcm.spec
scripts/bt-dev-start-artik.sh

diff --git a/firmware/BCM4345C0_003.001.025.0111.0205.hcd b/firmware/BCM4345C0_003.001.025.0111.0205.hcd
new file mode 100644 (file)
index 0000000..166b6de
Binary files /dev/null and b/firmware/BCM4345C0_003.001.025.0111.0205.hcd differ
index aa6eb02..13b8cd6 100755 (executable)
@@ -1,6 +1,7 @@
 # install firmware
 #INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/BT_FW_BCM4330B1_002.001.003.0221.0265.hcd DESTINATION ${PLUGIN_INSTALL_PREFIX}/etc/bluetooth)
 INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/BT_FW_BCM4358A1_001.002.005.0032.0066.hcd DESTINATION ${PLUGIN_INSTALL_PREFIX}/etc/bluetooth)
+INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/BCM4345C0_003.001.025.0111.0205.hcd DESTINATION ${PLUGIN_INSTALL_PREFIX}/etc/bluetooth)
 INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/BCM4354_003.001.012.0353.0745_Samsung_Artik_ORC.hcd DESTINATION ${PLUGIN_INSTALL_PREFIX}/etc/bluetooth)
 INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/artik_bcmtool/brcm_patchram_plus DESTINATION ${PLUGIN_INSTALL_PREFIX}/bin)
 
index 0a0871d..d65e26b 100755 (executable)
Binary files a/firmware/artik_bcmtool/brcm_patchram_plus and b/firmware/artik_bcmtool/brcm_patchram_plus differ
index bcd5a33..6f06d31 100644 (file)
@@ -1,6 +1,6 @@
 Name:      bluetooth-firmware-bcm
 Summary:    firmware and tools for bluetooth
-Version:    0.1.3
+Version:    0.2.0
 Release:    1
 Group:      Hardware Support/Handset
 License:    Apache-2.0
@@ -94,6 +94,7 @@ ln -s %{_prefix}/etc/bluetooth/bt-dev-start-artik.sh %{_prefix}/etc/bluetooth/bt
 %{_bindir}/brcm_patchram_plus
 %{_bindir}/setbd
 %{_prefix}/etc/bluetooth/BCM4354_003.001.012.0353.0745_Samsung_Artik_ORC.hcd
+%{_prefix}/etc/bluetooth/BCM4345C0_003.001.025.0111.0205.hcd
 %attr(755,-,-) %{_prefix}/etc/bluetooth/bt-dev-end.sh
 %attr(755,-,-) %{_prefix}/etc/bluetooth/bt-dev-start-artik.sh
 %attr(755,-,-) %{_prefix}/etc/bluetooth/bt-set-addr.sh
index 2c81e16..e0ac5e8 100644 (file)
@@ -36,6 +36,13 @@ check_hw_dt()
                        BCM_TOOL=/usr/bin/brcm_patchram_plus
                        BCM_FIRMWARE=BCM4354_003.001.012.0353.0745_Samsung_Artik_ORC.hcd
                        ;;
+
+               "artik710")
+                       BT_UART_DEVICE=/dev/ttySAC1
+                       BCM_TOOL=/usr/bin/brcm_patchram_plus
+                       BCM_FIRMWARE=BCM4345C0_003.001.025.0111.0205.hcd
+                       ;;
+
        esac
 }
 
@@ -86,7 +93,12 @@ else
        do
                echo "******* Bcmtool download attempt $c ********"
 
-       $BCM_TOOL $BT_UART_DEVICE --patchram /usr/etc/bluetooth/$BCM_FIRMWARE --no2bytes --baudrate $UART_SPEED --use_baudrate_for_download $BT_UART_DEVICE --bd_addr ${BD_ADDR} > /dev/null 2>&1 &
+               if [ $BD_ADDR ];then
+                       $BCM_TOOL $BT_UART_DEVICE --patchram /usr/etc/bluetooth/$BCM_FIRMWARE --no2bytes --baudrate $UART_SPEED --use_baudrate_for_download $BT_UART_DEVICE --bd_addr ${BD_ADDR} > /dev/null 2>&1 &
+               else
+                       $BCM_TOOL $BT_UART_DEVICE --patchram /usr/etc/bluetooth/$BCM_FIRMWARE --no2bytes --baudrate $UART_SPEED --use_baudrate_for_download $BT_UART_DEVICE --enable_lpm > /dev/null 2>&1 &
+               fi
+
                bcmtool_pid=$!
                #Check next timeout seconds for bcmtool success
                for (( i=1; i<=$TIMEOUT; i++))