随笔分类 -  Linux+ARM9开发板

摘要:运行bootstrap.sh 修改project-config.jam using gcc; => using gcc : arm : arm-none-linux-gnueabi-g++ ; ./b2 --prefix=/opt/boost/ cxxflags="-std=c++0x" 虽然我添加 阅读全文
posted @ 2019-05-08 16:11 _离水的鱼 阅读(740) 评论(0) 推荐(0)
摘要:通过官方给予的run uprootfs升级rootfs时,发现根文件系统不能正确挂载到正确位置。但是使用mfgtool确是正确运行。 开发板当前环境: 自制uboot 自制kernel 自制rootfs 编译器arm-none-linux-gnueabi uprootfs陪置: "uprootfs= 阅读全文
posted @ 2017-08-30 17:02 _离水的鱼 阅读(586) 评论(0) 推荐(0)
摘要:开发板EasyARM i.MX280A CPU:arm926ejs helloworld程序使用的编译器 (1)arm-fsl-linux-gnueabi-gcc version gcc4.4.4 glibc2.11 (2)arm-linaro-linux-gnueabihf-gcc version 阅读全文
posted @ 2017-08-28 16:51 _离水的鱼 阅读(486) 评论(0) 推荐(0)
摘要:我使用的是ZLG的EasyARM i.MX280A的开发板。官方提供的编译器时arm-fsl-linux-gnueabihf(gcc 4.4.4)。自己尝试使用arm-linaro-linux-gnueabihf(gcc 4.7.3)。 按照开发手册的流程,解决编译上的报错后,得到imx_ivt_u 阅读全文
posted @ 2017-08-23 08:57 _离水的鱼 阅读(1146) 评论(0) 推荐(0)
摘要:core的使用Linux下core文件调试方法 ulimit -c xxx可以设置core文件的大小 proc/sys/kernel/core_pattern可以控制core文件保存位置和文件名格式。 可通过以下命令修改此文件: echo "/mnt/core-%e-%p-%t" > /proc/s 阅读全文
posted @ 2017-08-18 16:51 _离水的鱼 阅读(939) 评论(0) 推荐(0)
摘要:用户可以在主机系统联网的情况下,在终端输入下面命令进行安装: vmuser@Linux-host: ~$ sudo apt-get install tftpd-hpa tftp-hpa 配置 TFTP 服务器 TFTP 软件安装后,默认是关闭 TFTP 服务的,需要更改 TFTP 配置文件“/etc 阅读全文
posted @ 2017-08-18 10:43 _离水的鱼 阅读(278) 评论(0) 推荐(0)
摘要:安装 NFS 软件包在 ubuntu 终端输入下面命令安装 NFS 服务器:vmuser@Linux-host: ~$ sudo apt-get install nfs-kernel-server #安装 NFS 服务器端vmuser@Linux-host: ~$ sudo apt-get inst 阅读全文
posted @ 2017-08-18 10:17 _离水的鱼 阅读(676) 评论(0) 推荐(0)
摘要:系统Ubuntu14.04 版本:gcc 版本 4.7.3 20130328 (prerelease) (crosstool-NG linaro-1.13.1-4.7-2013.04-20130415 - Linaro GCC 2013.04) 具体配置与其他编译器类似:arm-fsl-linux- 阅读全文
posted @ 2017-08-18 09:49 _离水的鱼 阅读(1548) 评论(0) 推荐(0)
摘要:系统:Ubuntu 14.04 64bit 编译器gcc version 4.4.4 (4.4.4_09.06.2010) 解压编译器到相应路径(注:当我解压放到/home/cross_compile/fsl/路径下时不能找到libc.so.6,而其实32位库的libc已经在ld.so.conf内声 阅读全文
posted @ 2017-08-18 09:15 _离水的鱼 阅读(1791) 评论(0) 推荐(0)
摘要:一、在开发板上运行目标程序,发现ioctl函数在开发板上运行时不能识别摄像头挂载的设备文件。分析一下,得出为开发板系统不支持UVC。所以需要加载升级系统内核。 步骤1:配置TFTP软件 步骤2:连线 步骤3:U-Boot操作 在这一步完成使用配置好的uImage升级系统内核。 二、完成以上步骤后,进 阅读全文
posted @ 2017-08-17 16:01 _离水的鱼 阅读(372) 评论(0) 推荐(0)
摘要:zlib-1.2.11 开发板:arm9 交叉编译器arm-fsl-linux-gnueabihf-gcc 编译方式: ./configure -h可以发现zlib并没有提供CC配置,所以 (1)export CC=arm-fsl-linux-gnueabihf-gcc (2)./configure 阅读全文
posted @ 2017-08-16 16:45 _离水的鱼 阅读(4608) 评论(0) 推荐(0)
摘要:解决方案链接http://www.cnblogs.com/Jacket-K/articles/7341029.html 使用-static但是不能与-Wl,rpath同时使用(不是很确定原因-Wl,表示后面的参数将传给link程序ld,http://www.cnblogs.com/Jacket-K/ 阅读全文
posted @ 2017-08-11 16:53 _离水的鱼 阅读(294) 评论(0) 推荐(0)
摘要:由于要在开发板中加载libjpeg,不能使用gcc编译的库文件给以使用,需要自己配置使用另外的编译器编译该库文件。 /usr/bin/ld: .libs/jaricom.o: Relocations in generic ELF (EM: 40) /usr/bin/ld: .libs/jaricom 阅读全文
posted @ 2017-08-10 20:03 _离水的鱼 阅读(323) 评论(0) 推荐(0)
摘要:版本:SDL-1.2.15 转自,遇到的问题与此一样:http://blog.csdn.net/huierlc/article/details/50165237 问题1:make时出现 fatal error: X11/extensions/XShm.h: No such file or direc 阅读全文
posted @ 2017-08-10 10:22 _离水的鱼 阅读(729) 评论(0) 推荐(0)