# ARMINO Development Framework * [中文版](./README_CN.md) Welcome to Armino! ARMINO is the AIoT development framework aimed to support Beken SoCs developed since 2022, also it's aimed to support all popular IoT OS, such as RT-Thread, AliOS, LiteOS etc. # ARMINO Release and Supported SoCs The following table shows Armino support of Beken SoCs where ![alt text][developing] and ![alt text][supported] denote developing status and support, respectively. In developing status the build is not yet enabled and some crucial parts could be missing(like documentation, datasheet). Please use an Armino release where the desired SoC is already supported. |Branch\Chip | [BK7235] | [BK7256] | [BK7236] | [BK7258] | Comment | |:------------ |:--------------------: |:--------------------: |:---------------------: |:---------------------: |:----------------------: | |main |![alt text][supported] |![alt text][supported] |![alt text][developing] |![alt text][developing] |Develop Branch | |release/v1.5 |![alt text][supported] |![alt text][supported] | | |MP branch | |release/v1.5.1|![alt text][supported] |![alt text][supported] | | |MP branch for smart lock | [supported]: https://img.shields.io/badge/-supported-green "supported" [developing]: https://img.shields.io/badge/-developing-orange "developing" ==Tag version , please use the official release version for development.== main branch Tag is not official release, the format is DevXX.XX.XX.XX , for example: Dev2.0.0 release/xxxx Branch Tag is official release, the format is vXX.XX.XX.XX,for example: v1.5.3 ,v1.5.1.1 Beken SoCs released before 2022, such as BK7231N, BK7231U, BK7251 etc, are not supported by ARMINO. # ARMINO Release and OS The following table shows Armino support of Popular IoT OS where ![alt text][developing] and ![alt text][supported] denote developing status and support, respectively. |OS | main | |:----------- |:---------------------: | |FreeRTOS | ![alt text][supported] | |LiteOS | ![alt text][supported]| |RT-Thread | ![alt text][developing]| |AliOS | ![alt text][developing]| [supported]: https://img.shields.io/badge/-supported-green "supported" [developing]: https://img.shields.io/badge/-developing-orange "developing" # Getting Started See the [Introduction](TODO_link_to_armino_intro_doc) to Armino for a high-level overview, and the documentation's [Introduction](TODO_link_to_armino_get_started_doc) to start developing. # Community Support - Report bug or request new feature on [Github Issue Forum](TODO_link_to_armino_github_forum) - Ask for support or technical discussion on [Cummunity-Forum](TODO_link_to_armino_forum) # Resource Here's a quick summary of resources to help you find your way around: - Documentation: http://docs.bekencorp.com - Source Code: https://github.com/bekencorp/armino is the main repository - Releases: TODO_link_to_release_page - Samples and example code: TODO_link_to_doc_sample_and_demo_page - Resource download center: TODO_link_to_download_center_page - Beken Products: http://www.bekencorp.com/index/goods/product.html to gain overview about different Beken products - Beken Home Page: http://www.bekencorp.com to find more resources # 7、下载和更新 ## 7.1、代码下载 ```bash # 下载SDK库 $ git clone ssh://git@gitlab.androidex.cn:222/aex_opensource/bk7256.git $ git submodule init $ git submodule sync $ git submodule update #切换分支 $ git checkout master $ git submodule foreach git checkout master ``` ## 7.2、代码更新 ```bash # 更新服务器代码 $ git pull $ git submodule foreach git pull # 提交更新 $ git commit -a -m "<更新说明>" $ git submodule foreach git commit -a -m "<更新说明>" # 更新到服务器 $ git push $ git submodule foreach git push ``` ## 7.3、固件下载 - 固件下载工具的下载地址 https://dl.bekencorp.com/tools/flash 在sdk的tools目录下已经下载了bk_loader下载程序; - Linux下载程序命令 ```bash $ ./tools/bk_loader download -p 0 -b 1500000 -i build/ytd100app/bk7256/all-app.bin ``` ```bash cmdline: |./tools/bk_loader download -p 0 -b 1500000 -i build/ytd100app/bk7256/all-app.bin | bk_loader version 2.1.11.8: build @May 8 2024 23:15:55 2024-11-06 13:36:38.792 Current port : /dev/ttyUSB0 + BaudRate : 115200 connect success 2024-11-06 13:36:38.792 do_reset_signal 2024-11-06 13:36:38.792 Getting Bus... # 在此时长按reset按键3秒即可开始烧录 2024-11-06 13:36:39.912 Getting Bus... 2024-11-06 13:36:49.272 Gotten Bus... 2024-11-06 13:36:49.382 Current Chip is : BK7256 2024-11-06 13:36:49.753 [ 0 ] Read the last not aligned 4K data, align startAddr : 0x003c5000 2024-11-06 13:36:49.753 Read successfully 2024-11-06 13:36:49.767 Current baudrate : 1500000 success 2024-11-06 13:36:49.767 Unprotecting Flash 2024-11-06 13:36:49.786 Unprotected Flash ->pass 2024-11-06 13:36:49.786 [ 0 ] file_startAddr : 0x00000000 2024-11-06 13:36:49.786 [ 0 ] file_path : build/ytd100app/bk7256/all-app.bin 2024-11-06 13:36:49.786 [ 0 ] file_length : 0x3c5f00 (3863 KB) 2024-11-06 13:36:49.786 [ 0 ] file_crc : 0x979b68f0 2024-11-06 13:36:49.786 Begin EraseFlash 2024-11-06 13:36:49.788 Start 4K Erase 2024-11-06 13:36:49.788 End 4K Erase 2024-11-06 13:36:49.788 Start 64K Erase 2024-11-06 13:37:03.524 End 64K Erase 2024-11-06 13:37:03.524 Handling file end 2024-11-06 13:37:03.616 Last 4K CRC_Verify ->pass 2024-11-06 13:37:03.616 Handled file end 2024-11-06 13:37:03.616 EraseFlash ->pass 2024-11-06 13:37:03.618 [ 0 ] Begin write to flash... 2024-11-06 13:37:53.699 WriteFlash ->pass 2024-11-06 13:37:53.718 Enprotect pass 2024-11-06 13:37:53.751 Boot_Reboot 2024-11-06 13:37:54.004 Total Test Time : 64.732 s 2024-11-06 13:37:54.005 Writing Flash OK 2024-11-06 13:37:54.005 ============================================================== _ (done) | | __| | ___ _ __ ___ / _ |/ _ \| _ \ / _ \ | (_| | (_) | | | | __/ \__,_|\___/|_| |_|\___| {All Finished Successfully} ``` - Windows下载界面 ![](1715670681069.png)