1 Star 5 Fork 4

cijliu / dopi

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

dopi 简介

dopi linux开发框架计划,致力于实现一套基于Linux的嵌入式开发集成接口

源码获取

git clone https://github.com/cijliu/dopi.git  
cd dopi

构建系统

编译前需要确认已经安装了芯片的工具链,例如,海思HI3516EV200平台,需要安装arm-himix100-linux工具链,输入指令查询是否安装。

arm-himix100-linux-gcc -v
  • 配置芯片平台

      make menuconfig    
  • 编译系统包

    • 一键构建uboot、linux、rootfs

       make bsp  
    • 单独编译uboot

       make bsp-uboot  
    • 单独编译linux

       make bsp-linux  
    • 单独打包rootfs

       make bsp-rootfs  

    最终输出固件包所在路径:bsp/images

  • 编译芯片厂商相关库

       make vendor  

    这里以海思MPP为例进行整合,最终输出相关文件所在路径:vendor/output

构建应用

这里使用RTSP作为示例进行演示。

  • 配置应用

      make menuconfig    
  • 编译库

      make libs        
  • 编译应用

      make app    

    最终输出应用所在路径:app/build
    这里因为使用RTSP作为测试,会把测试文件test.h264也放在build目录下,把这两个文件通过FTP传到开发板上

  • 赋予应用执行权限

      chmod +x demo    
  • 运行应用

      ./demo    
  • 客户端测试

      rtsp地址:rtsp://192.168.137.25:8554/live    

    这里使用VLC软件,开发板的IP为192.168.137.25的环境下进行测试,最终VLC将循环播放H264文件内容

计划

  • 系统构建
  • 多媒体框架
  • 应用框架

联系交流

MIT License Copyright (c) 2021 cijliu Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

dopi linux开发框架计划,致力于实现一套基于Linux的嵌入式开发集成接口 展开 收起
C 等 2 种语言
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
1
https://gitee.com/cijliu/dopi.git
git@gitee.com:cijliu/dopi.git
cijliu
dopi
dopi
master

搜索帮助