stm32 uclinux 2

cp -a $(rootfs_dir)/* $(target_out_romfs) cp -f $(target_out_kernel)/fs/ext2/ext2.ko $(target_out_romfs)/lib/modules cp -f $(target_out_kernel)/fs/mbcacke.ko $(target_out_romfs?lic/modules cp -f $(target_out_user)/bin/* $(target_out_romfs)/usr/bin vi...
2015-07-14 13:50 | 阅读 1890 次 | 评论 0 条

stm32 uclinux

su apt-get install eclipse-cdt apt-get install genromfs apt-get install libncurses5-dev apt-get install git apt-get install mc mc uclinux ctrl+O .ACTIVE.sh ctrl+O make #include int main() { pr...
2015-07-14 12:30 | 阅读 4862 次 | 评论 0 条

busy box

ps ls pwd ftp ftp server \telnet\telnet server DHCP client server login addusr NFS mount
2015-06-24 09:15 | 阅读 1113 次 | 评论 0 条

fs arch 2

mkdir rootfs cd roootfs mkdir /dev etc etc/rc.d lig bin proc mnt tmp var usr sbin chmod 755 chmod 555 proc mknod tty c 5 0 mkdir console c 5 1 chmod 666 tty console mknod ttyo c 4 0 chmod 666 tty0 mknod null c 1 3 ...
2015-06-23 21:24 | 阅读 1252 次 | 评论 0 条

fs arch

bin 必要的用户命令 boot dev etc home lib mnt opt 附加的软件套件 proc root sbin tmp usr var
2015-06-23 21:18 | 阅读 1567 次 | 评论 0 条

jffs

foler3 /mnt>cat file1 hello................ /mnt> mnt>rm file1 /mnt>vi file2 this is armsysboard /mnt> is file2 ............... /mnt> umount /mnt cd mnt /mnt is
2015-06-23 21:16 | 阅读 971 次 | 评论 0 条

jffs/jffs2

cd /home / uclinux-dist make menuconfig select customize kernek setting customize cerdor/user setting esc esc loadable mudule support space enablet loadable module support est select memort technology decice MTD support ...
2015-06-23 21:13 | 阅读 2328 次 | 评论 0 条

FS 文件系统操作

第一步: cd /home apt get- install uClinuc-dist-20030522.tar.gz 第二步:tar zxvf uClinux-dist-20030522.tar.gz 第三步 cd uClinux-dist make menuconfig select custom vendor /user setting update default vendor setting exit yes 5 make dep make lib_only ...
2015-06-23 20:54 | 阅读 1088 次 | 评论 0 条

base comment

ls ls -a pwd ps ps -A cd mkdir rmdir rn -rf ncftp -u zou 192.168.0.121 vim /etc/shadow root:: 11829:0:99999:7:-1:-1:134539236 ifconfig eth0 192.168.2.32 gzip -d filename.gz tar -xvf filename.tar gzip -cd filena...
2015-06-15 10:32 | 阅读 1230 次 | 评论 0 条

kernel compline

1 make clean 2 make dep 3 make zImage 4 make install
2015-06-12 08:42 | 阅读 1055 次 | 评论 0 条

基础 搭建环境

1) 到 ftp://ftp.arm.linux.org.uk 上下载Linux2.6.0 内核及其关于ARM 平台的补丁 (如:Patch-2.6.0-rmk1.gz)。 2) 给 Linux2.6.0 打补丁:zcat ../patch-2.6.0-rmk1.gz | patch –p1(前面../表 示补丁文件放在内核文件上一层目录) 3) 准备交叉编译环境。交叉编译环境工具链一般包括 binutils(含AS 汇编器,LD 链 接器等),arm-gcc,glibc 等。交叉编译环境的搭建也是个复杂的过程,后面我将 做进一步介绍。 4) 修改内核目录下的 makefi...
2015-06-11 20:41 | 阅读 1257 次 | 评论 0 条

mknod gpio

1 make menuconfig 2 kernel & user app 3 Ralink -> GPIO 4 character device 5 gpio gpio led 6 support model 7 make 8 reset 2 y device ipaddr serverip root_Image 9 cd /dev gpio w gpio r
2015-04-27 08:35 | 阅读 3142 次 | 评论 1 条

file 在ubuntu中加入功能

1 apt -get source file 2 tar jxvf xxxxxxxxx.tar.gz 3 cd file-xx.xx.x 4 ./configure 5 make
2015-04-27 08:25 | 阅读 1196 次 | 评论 0 条

linux > and >>

> 是定向输出到文件,如果文件不存在,就创建文件;如果文件存在,就将其清空;一般我们备份清理日志文件的时候,就是这种方法:先备份日志,再用`>`,将日志文件清空(文件大小变成0字节); >> 这个是将输出内容追加到目标文件中。如果文件不存在,就创建文件;如果文件存在,则将新的内容追加到那个文件的末尾,该文件中的原有内容不受影响。
2015-04-21 09:23 | 阅读 1140 次 | 评论 0 条

linux comment

find -name *.c find -size +280000 fs findfs ls -all vim kk.c ifconfig cd mkdir pwd /etc/init.d ln chmod su cp mv tar 7z tar jxvf date clock cat /proc/cpuinfo head tail ...
2015-04-21 09:19 | 阅读 1785 次 | 评论 0 条

build

首先下载git apt -get install git then git clone wget http:buildroot.........../ 下载后进入如bulidroot cd buildroot make menuconfig make
2015-04-12 11:34 | 阅读 1193 次 | 评论 0 条

vsftpd

加载vsftpd的时候 修改makefile 将CC= gcc 改为 CC = /opt/buildroot342/bin/mispsel-linux-gcc make后出项错误,修改CFLAGS = 将其注释掉后 重新make 编译通过 可以通过 file /romfs/usr/vsftpd/vsftps 查看
2015-04-12 11:30 | 阅读 1191 次 | 评论 0 条

编译内核linux

主要是加入一些功能 修改Kconfig 再 make menuconfig 选中要加入发的功能。 编写程序生成相应的可执行文件,注意其权限 chmod 编译内核 make 烧录 碰到一个让我心动的女孩儿 好像跟她结婚 疼她 爱她 睡她 平心而论 确实漂亮 女神级别的。
2015-04-08 09:52 | 阅读 1203 次 | 评论 0 条

移植应用程序

首先确认是否有配置文件: configure,如果有,您先输入:./configure --help,查看配置选项列表,然后根据需要添加配置选项,配置好之后再查看生成的Makefile文件,如果没有configure 文件,就直接查看Makefile 文件,然后修改编译器为交叉编译器(arm-linux-gcc),然后同时还需要修改ld、ar、g++和ranlib 等为:arm-linux-xxx(xxx 就是刚刚提到的名称)。完成了这些之后就可以开始编译了,几乎不会一次性通过的,然后就是通过出错信息进行修改和查找原因了,这部分就没法说了,需要耐心,还需要百折不挠的精神。然后就是多多移植...
2015-03-26 08:39 | 阅读 991 次 | 评论 0 条

MIPS add applivation vstftds

there is someworing with application when add vstftds .maybw there is wrong wrong with the Makefile
2015-03-23 09:39 | 阅读 952 次 | 评论 0 条
浏览106356次
文章分类