[embeded] A sample of searial port communication
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <sys/types.h> #include <unistd.h> #include <fcntl.h> #include <sys/stat.h> #include <termios.h> void main() { struct termios opt; int tty; int len; int i; unsigned...[linux]How to build ethtool by crosstool
cd ethtool-5.0/ ./configure --host=arm-xilinx-linux-gnueabi-gcc LDFLAGS=-static make[linux]How to build tcpdump by crosstool
cd libpcap-1.9.0/ ./configure --prefix=$PWD/install --host=arm-xilinx-linux-gnueabi --with-pcap=linux make make install cd tcpdump-4.9.2/ ./configure --host=arm-xilinx-linux-gnueabi make[embedded]How to set autherity enable with httpd of busybox
In http.conf dir/:user:pass In start command httpd -h /home/www -c http.conf标签: embedded
[embedded]To receive upload file by cgi-bin
#include <stdio.h> #include <stdlib.h> #include <string.h> #define STR_LEN 50 #define bufferSize 512 #define FPATH "../uploads/" #define STATUS_FILE "../uploadStatus.htm" #define SHELL_FILE "../shell/response_Firmware.sh" #define SYS_LOG "firmware.ini" /* int writeSt...标签: embedded
[embedded]Port mqtt client to arm platform
1.Build openssl. Download openssl-1.0.2.tar.gz tar openssl-1.0.2.tar.gz cd openssl-1.0.2 vi Makefile, let: CC = arm-linux-gcc AR = arm-linux-ar RANLIB = arm-linux-ranlib INSTALLTOP = /home/nicholas/workspace/project/mosquitto/run/for_arm/openssl_install OPE...标签: embedded
[embedded]audio: /dev/dsp: No such file or directory
madplay移植成功了之后可以播放第一支曲子了,于是 madplay /home/music/nic.mp3 可是,竟然出现: audio: /dev/dsp: No such file or directory 如果出现上述错误,想必是驱动的问题, 对于Embedded的驱动看了下配置: <*>Device Drivers---> <*>sound card support ---> &...标签: embedded
[embedded]Port madplay to embedded system
1.Prepare tar packages: libid3tag-0.15.1b.tar.gz libmad-0.15.1b.tar.gz madplay-0.15.2b.tar.gz zlib-1.2.3.tar.bz2 2.Install zlib cd zlib-1.2.3 ./configure -shared --prefix=/usr/local/madplay/zlib-1.2.3 vi Makefile CC=arm-Linux-gcc LDSHARED=arm-linux-gcc -shared -W1,-soname,libz.so.1 CPP=...标签: embedded
[embedded]How to install NFS on ubuntu
1.Install. sudo apt-get install nfs-kernel-server 2.Config. vim /etc/exports Add a line to the end of file. /home/nicholas/.../busybox/busybox-1.13.3/_install *(rw,sync,no_root_squash,no_subtree_check) 3.Restart. /etc/init.d/nfs-kernel-server restart标签: embedded
[embedded]How to build phonon for arm
1.Go to library directory of arm qt first. cd qt-everywhere-opensource-src-4.8.6-arm/src/phonon 2.Here you can find that the true code is not in the directory by phonon.pro 3.But you can build as well. make make install 4.Head and library files will be insta...标签: embedded
日历
最新微语
- 有的时候,会站在分叉路口,不知道向左还是右
2023-12-26 15:34
- 繁花乱开,鸟雀逐风。心自宁静,纷扰不闻。
2023-03-14 09:56
- 对于不可控的事,我们保持乐观,对于可控的事情,我们保持谨慎。
2023-02-09 11:03
- 小时候,
暑假意味着无忧无虑地玩很长一段时间,
节假意味着好吃好喝还有很多长期不见的小朋友来玩...
长大后,
这是女儿第一个暑假,
一个半月...
2022-07-11 08:54
- Watching the autumn leaves falling as you grow older together
2018-10-25 09:45
分类
最新评论
- Goonog
i get it now :) - 萧
@Fluzak:The web host... - Fluzak
Nice blog here! Also... - Albertarive
In my opinion you co... - ChesterHep
What does it plan? - ChesterHep
No, opposite. - mojoheadz
Everything is OK!... - Josephmaigh
I just want to say t... - ChesterHep
What good topic - AnthonyBub
Certainly, never it ...