摘要: cmake -DCMAKE_TOOLCHAIN_FILE=../platforms/linux/mips32r5el-gnu.toolchain.cmake \ -D CMAKE_BUILD_TYPE=RELEASE \ -D CMAKE_INSTALL_PREFIX=/home/incar/pro 阅读全文
posted @ 2024-03-21 17:40 流逝的轻风 阅读(32) 评论(0) 推荐(0) 编辑
摘要: sudo docker run -itd --name ubuntu-mips -v /home/incar/projects:/home/incar/projects -p 9022:22 82af5fb43471 /bin/bash docker exec -it ubuntu-test /bi 阅读全文
posted @ 2024-02-06 10:21 流逝的轻风 阅读(34) 评论(0) 推荐(0) 编辑
摘要: 1.mips交叉编译paho-mqtt3as cmake -DCMAKE_INSTALL_PREFIX=${pwd}/install -DPAHO_WITH_SSL=TRUE -DPAHO_BUILD_SAMPLES=TRUE -DCMAKE_C_COMPILER=/opt/mips-linux-g 阅读全文
posted @ 2024-01-30 09:44 流逝的轻风 阅读(34) 评论(0) 推荐(0) 编辑
摘要: openssl 编译异常报以下错误 Operating system: x86_64-whatever-linux2 "glob" is not exported by the File::Glob module Can't continue after import errors at ./Con 阅读全文
posted @ 2024-01-29 17:22 流逝的轻风 阅读(198) 评论(0) 推荐(0) 编辑
摘要: 最近需要将ffmpeg移植到mips架构上,现将移植的过程记录如下,供自己以后记忆参考. 1.ffmpeg交叉编译 ./configure \--prefix=$(pwd)/output \--enable-cross-compile --arch=mips --target-os=linux \- 阅读全文
posted @ 2024-01-25 11:02 流逝的轻风 阅读(121) 评论(1) 推荐(0) 编辑
摘要: Name: gedit /*进程的程序名*/ State: S (sleeping) /*进程的状态信息 Tgid: 9744 /*线程组号*/ Pid: 9744 /*进程pid*/ PPid: 7672 /*父进程的pid*/ TracerPid: 0 /*跟踪进程的pid*/ Uid: 100 阅读全文
posted @ 2023-05-19 16:23 流逝的轻风 阅读(34) 评论(0) 推荐(0) 编辑
摘要: 1. 进入 /sys/class/gpio/ 目录 2. 假设你想控制的GPIO0_29,步骤如下: 1. echo 29 > export 2. 此时会产生一个gpio29 的目录. 3. cd gpio29 4. 关注以下几个文件: direction 这个文件是控制你是输出还是输入模式 如果想 阅读全文
posted @ 2023-03-15 15:16 流逝的轻风 阅读(119) 评论(0) 推荐(0) 编辑
摘要: 修改/A7-linux-src/arch/arm/boot/dts/imx6g2c-256m.dts,重新编译内核 用生成的imx6g2c-256m.dtb替换TF卡烧写包内的以下文件(注意改同名) M6G2C-256LI-V1.04\firmware\imx6g2c-256m.dtb M6G2C- 阅读全文
posted @ 2022-10-27 10:31 流逝的轻风 阅读(46) 评论(0) 推荐(0) 编辑
摘要: 最近有需求通过FTP上传视频文件和照片,现将DEMO列出来 1.先上完整程序 /************************************************************************* > File Name: 6.c > Created Time: Tue 阅读全文
posted @ 2022-08-02 11:34 流逝的轻风 阅读(805) 评论(0) 推荐(0) 编辑
摘要: 1.下载ffmpeg git clone https://gitee.com/mirrors/ffmpeg.git ffmpegcd ffmpeg 2.配置编译环境 ./configure --prefix=./fmg_zlg --enable-cross-compile --target-os=l 阅读全文
posted @ 2022-04-24 17:25 流逝的轻风 阅读(413) 评论(0) 推荐(0) 编辑