[arm@localhost my_rootfs]#mkdir bin dev etc home lib mnt proc sbin sys tmp root usr [arm@localhost my_rootfs]#mkdir mnt/etc [arm@localhost my_rootfs]# ...
分类:
Web程序 时间:
2019-06-29 11:03:22
阅读次数:
149
下载 busybox 从 http://www.busybox.net/downloads/busybox1.1.3.tar.gz/下载 busybox1.1.3 到/tmp 目录当中,并解压. 进入解压后的目录,配置 Busybox [arm@localhost busybox1.1.3]$ ...
分类:
其他好文 时间:
2019-06-29 10:58:53
阅读次数:
122
3.2.1 1. 移除所有的符号信息 [arm@localhost gcc]#cp hello hello1 [arm@localhost gcc]#armlinuxstrip stripall hello stripall: 是移除所有符号信息 [arm@localhost gcc] ...
分类:
系统相关 时间:
2019-06-29 10:58:23
阅读次数:
173
创建 linuxrc,加入如下内容: [arm@localhost my_rootfs]#vi linuxrc #!/bin/sh 创建 linuxrc,加入如下内容: [arm@localhost my_rootfs]#vi linuxrc #!/bin/sh #挂载/etc 为 ramfs, 并 ...
分类:
系统相关 时间:
2019-06-29 10:47:00
阅读次数:
140
如果把一个传到内存中的文件写入到 Nand Flash 中, 如:新的 uboot.bin, zImage(内核), rootfs 等, 如果做呢?我们可以用 Nand Flash 命令来完成. 但是 Nand Flash 写时,必须先要把 Nand Flash 的写入区全部擦除后,才能写. 下面以 ...
分类:
其他好文 时间:
2019-06-29 10:44:49
阅读次数:
125
为 cs8900a 建立编译菜单 1. 拷贝到文件 把 cs8900a 的压缩包拷贝到 arm 用户下的 dev_home/localapps/ [arm@localhost localapps]$ tar xzvf cs8900a.tar.gz [arm@localhost localapps] ...
分类:
系统相关 时间:
2019-06-29 10:40:42
阅读次数:
161
下载 cramfs 工具 从 http://prdownloads.sourceforge.net/cramfs/cramfs1.1.tar.gz下载源代码包. 把下载包拷贝到 dev_home/tools 下. [arm@localhost tools]$tar xzvf cramfs1.1 ...
分类:
其他好文 时间:
2019-06-29 10:38:50
阅读次数:
82
下载 从 http://tinylogin.busybox.net/downloads/tinylogin1.4.tar.bz2下载 tinylogin1.4 到/tmp 目录当中,并解压. 修改 tinyLogin 的 Makefile [arm@localhost tinylogin1.4 ...
分类:
其他好文 时间:
2019-06-29 10:35:53
阅读次数:
116
下载 从 http://www.acme.com/software/thttpd/ 下载 thttpd 到/tmp 目录当中,并解压. 编译 thttpd [arm@localhost thttpd2.25b]$ CC=armlinuxgcc ./configure host=armli ...
分类:
Web程序 时间:
2019-06-29 10:35:42
阅读次数:
157
1. 读 elf 文件开始的文件头部 1. 读 elf 文件开始的文件头部 [arm@localhost gcc]$ armlinuxreadelf h hello ELF Header: Magic: 7f 45 4c 46 01 01 01 61 00 00 00 00 00 00 00 ...
分类:
系统相关 时间:
2019-06-29 10:35:12
阅读次数:
117