Chinaunix首页 | 论坛 | 博客
  • 博客访问: 4474253
  • 博文数量: 356
  • 博客积分: 10458
  • 博客等级: 上将
  • 技术积分: 4734
  • 用 户 组: 普通用户
  • 注册时间: 2008-03-24 14:59
文章分类

全部博文(356)

文章存档

2020年(17)

2019年(9)

2018年(26)

2017年(5)

2016年(11)

2015年(20)

2014年(2)

2013年(17)

2012年(15)

2011年(4)

2010年(7)

2009年(14)

2008年(209)

发布时间:2020-06-03 19:50:18

由于自己的linux系统比较新,导致编译个基于openwrt的sdk问题多多,在此记录解决过程1.问题:freadahead.c: In function 'freadahead':freadahead.c:91:3: error: #error "Please port gnulib freadahead.c to your platform! Look at the definition of fflush, fread, ungetc on your system, then report this to bu.........【阅读全文】

阅读(9602) | 评论(0) | 转发(0)

发布时间:2019-06-22 14:59:16

交叉编译mpg123下载源码https://sourceforge.net/projects/mpg123/files/解压后进入源码目录生成Makefile./configure CC=arm-openwrt-linux-gcc --host=arm-openwrt-linux --with-default-audio=alsa --enable-static --prefix=pwd/install/编译make安装make install拷贝install下的lib/libmpg123.so* lib/libmpg1.........【阅读全文】

阅读(2277) | 评论(0) | 转发(0)

发布时间:2019-01-23 21:27:46

下载nghttp2代码https://github.com/nghttp2/nghttp2/releases解压代码, 比如解压到/home/zm/download/nghttp2-1.36.0,进入代码目录,进行编译./configure --enable-lib-only --host=arm-openwrt-linux --prefix=/opt/test/thirdparty/install/makemake install下载curl代码https://curl.haxx.se/download.htm.........【阅读全文】

阅读(3684) | 评论(0) | 转发(0)

发布时间:2018-12-10 11:44:24

这其实是openwrt中的一个功能,现在把它移到普通的target中target文件系统是squashfs,它是只读的,每升级一个文件都得整个区擦除然后重新写,很麻烦,使用overlayfs可以使只读区中单个文件进行替换修改,很方便。根目录是squashfs只读的挂载设备是/dev/mtdblock2,其上有/overlay /rootdir文件夹, 分配出一个jffs2分区mtd.........【阅读全文】

阅读(2750) | 评论(0) | 转发(0)

发布时间:2018-08-15 12:30:24

解决:安装glibc-devel-static解决:网下载一个compiler-gcc7.h到uboot中解决:cd out/mandolin-perf1/compile_dir/target/alsa-utils-1.1.0/alsamixermake cleanmake问题:Argument "4.2.1" isn't numeric in numeric ge (>=) at /opt/water/tina-sdk/scripts/feeds line 25.问题:abort: repos.........【阅读全文】

阅读(3108) | 评论(0) | 转发(0)

发布时间:2018-08-14 12:17:40

问题:解决:tools/pkg-config/patches/001-glib-gdate-suppress-string-format-literal-warning.patch......【阅读全文】

阅读(6914) | 评论(0) | 转发(0)

发布时间:2018-06-20 16:22:34

wget https://c-ares.haxx.se/download/c-ares-1.14.0.tar.gztar -xvf c-ares-1.14.0.tar.gzcd c-ares-1.14.0/./configure --host=arm-openwrt-linuxmake......【阅读全文】

阅读(2755) | 评论(0) | 转发(0)

发布时间:2018-06-20 15:47:13

到https://ftp.osuosl.org/pub/xiph/releases/ogg/下载源码wget https://downloads.xiph.org/releases/ogg/libogg-1.3.3.tar.xz编译cd libogg-1.3.3/./configure --host=arm-openwrt-linuxmake......【阅读全文】

阅读(1742) | 评论(0) | 转发(0)

发布时间:2018-05-07 21:39:49

环境: opensuse   opencv3.4.1    交叉编译器arm-openwrt-linux  作者:帅得不敢出门https://github.com/opencv/opencv/tree/3.4.1选择右边的"clone or download"按钮进行下载,选择下载zip我下的是opencv-3.4.1.zip, 3.4.1的版本号https://github.com/opencv/opencv_contrib下载,因.........【阅读全文】

阅读(2300) | 评论(0) | 转发(0)

发布时间:2016-07-07 16:07:53

mplayer1.0.rc3/opt/sun5i/中存放mplayer要用到的库与头文件,此例使能faad库,使之能够播放m4a, 如果不需要可以删除 faad两个enable选项PKG_CONFIG_PATH=/opt/sun5i/lib/pkgconfig \./configure \--enable-alsa \--enable-faad-fixed \--enable-faad \--cc=arm-none-linux-gnueabi-gcc  \--target=arm-linux .........【阅读全文】

阅读(2543) | 评论(0) | 转发(0)

发布时间:2016-04-23 09:52:27

到以下网址下载源码http://www.audiocoding.com/downloads.html我下的是faad2-2.7.tar.bz2tar -xvf faad2-2.7.tar.bz2cd faad2-2.7交叉编译器是arm-none-linux-gnueabi-gcc,安装到/opt/sun5i编译(内容根据你自己的交叉编译器名改变):configure --host=arm-none-linux-gnueabi CC=arm-none-linux-gnueabi-gcc --e.........【阅读全文】

阅读(4270) | 评论(1) | 转发(0)

发布时间:2015-11-24 20:34:29

从datasheet中查到IO口寄存器基地址Base Address:0x01C20800PE口的寄存器PE Data Register 偏移offset: 0xA0,那么PE_DAT地址就是0x01C208A0现在要访问PE4的值,PE4就是0x01C208A4程序如下:点击(此处)折叠或打开#include <stdio.h>#include <stdlib.h>#include.........【阅读全文】

阅读(6987) | 评论(0) | 转发(0)

发布时间:2015-08-24 11:10:24

交叉编译zlib  到http://www.zlib.net/下载zlib源码,生成Makefile./configure --prefix=/opt/sun5i/   
修改Makefile,替换里面的gcc成arm-none-linux-gnueabi-gcc
AR=ar改成AR=arm-none-linux-gnueabi-ar  
make
make install

交叉编译lzo   (http://blog.........【阅读全文】

阅读(3566) | 评论(0) | 转发(0)

发布时间:2015-08-24 10:57:07

首先下载lzo源码<br />http://www.oberhumer.com/opensource/lzo/download/<br />解压<br />tar -xvf lzo-2.09.tar.gz&nbsp;<br /><div>cd&nbsp;lzo-2.09<br />编译<br /><div>./configure --prefix=/opt/sun5i/ CC=arm-none-linux-gnueabi-gcc --host=arm-none-linux-gnueabi --enable-shared<br />make<br /.........【阅读全文】

阅读(2188) | 评论(0) | 转发(0)

发布时间:2015-07-28 12:35:23

ftp://ftp.alsa-project.org/pub/utils/<br />下载最新版的alsa-utils<br />解压代码<br />&nbsp;tar -xvf alsa-utils-1.0.9.tar.bz2&nbsp;<span style="line-height:1.5;"><br />cd alsa-utils-1.0.9/<br />配置,需要先编译alsa-lib,我已经编译好安装到/opt/sun5i目录下,alsa-lib编译请参照<a href="http://blog.chi.........【阅读全文】

阅读(2925) | 评论(0) | 转发(0)

发布时间:2015-07-18 14:23:16

板子上需要控制声音,试过salsa的库(精简版的alsa),功能有些受限,在PC上测试无法正常获取声音大小,打算采用alsa
http://www.alsa-project.org/main/index.php/Download
下载.........【阅读全文】

阅读(4618) | 评论(3) | 转发(0)

发布时间:2013-04-26 13:51:40

最近有一个在LCD驱动中读取nand的需求(linux),这就要求nand 的驱动加载必须在LCD驱动前,而linux kernel驱动的加载顺序是由一个宏决定的比如helper2416板子(s3c2416芯片)中的nand驱动module_init(s3c_nand_init), module_init决定了其优先级。同一优先级的顺序由Makefile中.o的先后影响优先级定义在include/linux/ini.........【阅读全文】

阅读(7976) | 评论(0) | 转发(1)

发布时间:2013-01-16 10:05:21

板子:helper2416   作者:帅得不敢出门   c++哈哈堂:31843264ifplugd网址http://0pointer.de/lennart/projects/ifplugd/       可用于检测网络是否连接上, 如有线网卡网线是否连上, 无线网卡是否连接上   3g的暂时无法测试是否可行.     另外networkmanager也可以用于.........【阅读全文】

阅读(4844) | 评论(0) | 转发(0)

发布时间:2012-10-09 10:49:50

......【阅读全文】

阅读(1828) | 评论(0) | 转发(0)

发布时间:2012-10-09 10:49:03

......【阅读全文】

阅读(2110) | 评论(0) | 转发(0)

发布时间:2012-10-09 10:47:58

......【阅读全文】

阅读(1661) | 评论(0) | 转发(0)

发布时间:2012-10-09 10:46:10

......【阅读全文】

阅读(5188) | 评论(0) | 转发(0)

发布时间:2012-10-09 10:44:54

......【阅读全文】

阅读(1340) | 评论(0) | 转发(0)

发布时间:2012-10-09 10:42:09

......【阅读全文】

阅读(4301) | 评论(0) | 转发(0)

发布时间:2012-06-30 13:55:04

......【阅读全文】

阅读(4021) | 评论(0) | 转发(0)
给主人留下些什么吧!~~

chinaunix网友2011-02-15 16:05

看了你的博文,有这么多的体会,很佩服你的学习精神,总结出来写本书如何?我的联系方式:wuyi1352@gmail.com

回复 |  删除 |  举报

chinaunix网友2009-06-11 17:22

你好,问一下SendARP探测活动性的那是原原本本的程序吗,不缺什么吧?我运行之后SendARP的返回值总是31.不知道为什么,麻烦帮忙看看,谢谢了!

回复 |  删除 |  举报

chinaunix网友2009-05-14 17:00

文章都很好 收藏了

回复 |  删除 |  举报

wjksd2009-04-17 11:24

很厉害啊

回复  |  举报

chinaunix网友2008-11-09 16:44

师兄,我来像你学习来啦! 嘎嘎!

回复 |  删除 |  举报
留言热议
请登录后留言。

登录 注册