|  | 
 
 楼主|
发表于 2005-9-28 23:55:15
|
显示全部楼层 
| 太过奖了!!当然,为了移植,我是看了一部分代码,但是没有全部看,因为和移植相关的就那么几处,而且还有高人前辈已经做好了的.我也就是玩一下而已,以前在学校做Xsale PXA255,那才爽.我一个同学毕业设计就是搞bootloader,当时u-boot其实已经有人移植到我们那个Sitsang板子上了.目前,u-boot for lumit4510 已经可以做到如下一些事情: 1.将uClinux kernerl image 烧写到flash中,并自动运行.通过网络的tftp,这个和版主limingth老大的tftp1.6.0正好相反,u-boot在主机上用的是tftp-server,u-boot自己有tftp-client来支持.当然,u-boot还有好几种其他的网络启动方式,例如bootp,nfs等,应该都已经能用.
 2.不好一一说了,我用help看了下,下面的命令基本上都可以用.不过我还没有时间去一一试用.(我甚至还用u-boot自己把自己更新了一次.)
 ?       - alias for 'help'
 autoscr - run script from memory
 base    - print or set address offset
 bdinfo  - print Board Info structure
 boot    - boot default, i.e., run 'bootcmd'
 bootd   - boot default, i.e., run 'bootcmd'
 bootm   - boot application image from memory
 bootp   - boot image via network using BootP/TFTP protocol
 cmp     - memory compare
 coninfo - print console devices and information
 cp      - memory copy
 crc32   - checksum calculation
 echo    - echo args to console
 erase   - erase FLASH memory
 flinfo  - print FLASH memory information
 go      - start application at address 'addr'
 help    - print online help
 iminfo  - print header information for application image
 imls    - list all images found in flash
 itest   - return true/false on integer compare
 loadb   - load binary file over serial line (kermit mode)
 loads   - load S-Record file over serial line
 loop    - infinite loop on address range
 md      - memory display
 mm      - memory modify (auto-incrementing)
 mtest   - simple RAM test
 mw      - memory write (fill)
 nfs     - boot image via network using NFS protocol
 nm      - memory modify (constant address)
 ping    - send ICMP ECHO_REQUEST to network host
 printenv- print environment variables
 protect - enable or disable FLASH write protection
 rarpboot- boot image via network using RARP/TFTP protocol
 reset   - Perform RESET of the CPU
 run     - run commands in an environment variable
 saveenv - save environment variables to persistent storage
 setenv  - set environment variables
 sleep   - delay execution for some time
 tftpboot- boot image via network using TFTP protocol
 version - print monitor version
 我有机会把我用的命令的整个过程保存下来,贴到论坛上,大家原意的话,就尝试一番吧.有些什么问题,大家一起讨论吧!只要大家不要觉得我在浪费论坛的版面!!!
 ++++世上本没有牛,做的事多了,也便成了牛!+++开玩笑啦,自勉一下!
 | 
 |