分类: LINUX
2008-08-15 20:14:08
首先,这里极少设计到软件的应用方面的 事宜.请不要问
为何 samba啊,vsftp啊等等config问题.我也是和你一样,都是google而来.
[color=Red]感谢网友支持.
但是非技术 的纯 顶 之类的尽量别出现. 沉默是金原则.[/color]
先回答 ekinmagic 问题.
为以后着想.空间多点没坏处.
[color=Red]初级目标:
不建立 CC环境,照样编译程序.
小试牛刀: mtd的编译.[/color]
为何小试牛刀先拿mtd来搞? 因为如果你升级 u-boot的时候会用到他.
dd if=xx.bin of=/dev/mtd 的方式运用不好会出错.
[code]autoconf - 2.61-2 - Creating scripts to configure source code packages using templates
automake - 1.10-2 - Creates GNU standards-compliant Makefiles from template files
binutils - 2.17-2 - The GNU assembler and linker and related tools
busybox - 1.10.3-1 - A userland replacement for embedded systems.
busybox-base - 1.10.3-1 - A userland replacement for embedded systems.
busybox-links - 1.10.3-1 - A userland replacement for embedded systems.
c-ares - 1.5.2-2 - C library that performs DNS requests and name resolves asynchronously
diffutils - 2.8.1-6 - contains gnu diff, cmp, sdiff and diff3 to display differences between and among text files
expat - 2.0.1-1 - XML Parser library
gawk - 3.1.6-1 - Gnu AWK interpreter
gcc - 4.1.2-4 -
gdbm - 1.8.3-2 - GNU dbm is a set of database routines that use extensible hashing. It works similar to the standard UNIX dbm routines.
git - 1.5.6.5-1 - GIT is a directory tree content manager that can be used for distributed revision control.
glib - 2.12.13-1 - The GLib library of C routines.
libc-dev - 2.3.6-3 - libc development files.
libcurl - 7.18.2-3 - Curl is a command line tool for transferring files with URL syntax, supporting FTP, FTPS, HTTP, HTTPS, GOPHER, TELNET, DICT, FI
libdb - 4.2.52-3 - Berkeley DB Libraries
libnsl - 2.3.6-4 - Network Services Library
libstdc++ - 6.0.3-6 - Standard C++ library, needed for dynamically linked C++ programs
m4 - 1.4.8-1 - gnu macro processor and compiler front end
make - 3.81-2 - examines files and runs commands necessary for compilation
ncurses - 5.6-3 - NCurses libraries
openssl - 0.9.7m-4 - Openssl provides the ssl implementation in libraries libcrypto and libssl, and is needed by many other applications and librari
perl - 5.8.8-18 - Practical Extraction and Report Language.
rcs - 5.7-2 - The Revision Control System (RCS) manages multiple revisions of files.
screen - 4.0.3-2 - A screen manager that supports multiple logins on single terminal
sed - 4.1.5-3 - Stream editor.
termcap - 1.3.1-2 - Terminal emulation library
tree - 1.5.1.1-1 - list contents of directories in a tree-like format.
wget - 1.11.4-1 - A network utility to retrieve files from the Web
zlib - 1.2.3-3 - zlib is a library implementing the 'deflate' compression system.
Successfully terminated.
[/code]
这些ipkg-opt软件包是必装的.而且只会更多,不会少.
比如在后面 目标板 如果编译内核的话,会发现 Ipkg-opt有软件是没有的.所以必须自己编译.
下载mtd包裹, 见附件.
解压.
#make && make install
/* 其实你也不必 make install直接使用,当前目录下就有可执行文件 */
#mtd_debug
/* 会输出说明,请您自己研究. tip: 先读出来,再擦除,再写新的bin.再读.对比下.做到心中有数.
* [color=Red]如果造成设备无法启动,我不负责. [/color] 我刷了3-5次.均成功. */
题外话: JTAG的事情我还没搞定.所以刷挂了只能编程器.
|
chinaunix网友2009-09-23 11:46:40
您好,请问Jtag Pin位定义可否告知? 我这边有一块DIR 615 A1的板子,CPU是88F5180 500Mhz,也是ARM926EJ-S PCB上有20Pin的pad,但是用std 20Pin Jtag连接后,H-Jtag(V0.9.2)识别不出设备型号。
chinaunix网友2009-01-20 10:45:03
"先读出来,再擦除,再写新的bin.再读.对比下.做到心中有数." 博主可否将详细的命令行列出来,大家参考一下。 宝乙论坛 mario