Chinaunix首页 | 论坛 | 博客
  • 博客访问: 309004
  • 博文数量: 72
  • 博客积分: 3111
  • 博客等级: 中校
  • 技术积分: 668
  • 用 户 组: 普通用户
  • 注册时间: 2009-07-30 15:45
个人简介

朝着心的方向前进

文章分类

全部博文(72)

文章存档

2014年(5)

2013年(1)

2012年(1)

2011年(1)

2010年(24)

2009年(40)

我的朋友

分类: 嵌入式

2010-06-09 00:51:26

nand flash uboot参数.最原始参数.可启动nfs文件系统 tftp有问题...
bootdelay=1
baudrate=115200
ethaddr=08:08:11:18:12:27
tekkaman=bmp d 70000
 stdin=serial
stdout=serial
stderr=serial
mtdids=nand0=nandflash0
bootargs=noinitrd root=/dev/nfs rw nfsroot=192.168.1.111:/work/nfs ip=192.168.1.8:192.168.1.111:192.168.1.1:255.255.255.0 console=ttySAC0,115200 init=/linuxrc mem=64M
bootcmd=nfs 0x30000000 192.168.1.111:/work/nfs/uImage;bootm
filesize=1BD699
fileaddr=30000000
netmask=255.255.255.0
ipaddr=192.168.1.8
autostart=no
serverip=192.168.1.199
nor flash 参数,配置好.nfs,tftp均可正常使用,使用国嵌移植后源代码编译,烧定到nor上面
Mini2440 # printenv
bootdelay=3
baudrate=115200
netmask=255.255.255.0
serverip=192.168.1.111
ethaddr=08:08:11:18:12:27
ipaddr=192.168.1.156
bootargs=noinitrd root=/dev/nfs rw nfsroot=192.168.1.111:/work/nfs ip=192.168.1.8:192.168.1.111:192.168.1.1:255.255.255.0 console=ttySAC0,115200 init=/linuxrc mem=64M
bootcmd=nfs 0x31000000 192.168.1.111:/work/nfs/uImage;bootm
stdin=serial
stdout=serial
stderr=seria
手册上参数设置
PS:网卡配置
vim /etc/sysconfig/network-scripts/ifcfg-eth0
目前新的网络环境
DHCP 192.168.10.XXX
GATEWAY:192.168.10.1
所以进行如下改动
serverip 192.168.10.111
ipaddr 192.168.10.125
netmask 255.255.255.0
以下是配置步骤
setenv serverip 192.168.10.111
setenv ipaddr 192.168.10.125
saveenv
OK
如果配置好tftp可以下载测试一下
Mini2440 # tftp 31000000 uImage-uboot
dm9000 i/o: 0x20000300, id: 0x90000a46
DM9000: running in 16 bit mode
MAC: 08:08:11:18:12:27
TFTP from server 192.168.10.111; our IP address is 192.168.10.125
Filename 'uImage-uboot'.
Load address: 0x31000000
Loading: T #################################################################
  #################################################################
  ########
done
Bytes transferred = 2020368 (1ed410 hex)
Mini2440 # bootm 31000000
## Booting kernel from Legacy Image at 31000000 ...
   Image Name:   Linux-2.6.29.4-FriendlyARM
   Created:      2009-11-12  17:28:06 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2020304 Bytes =  1.9 MB
   Load Address: 30008000
   Entry Point:  30008000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK
Starting kernel ...
Uncompressing Linux.................................................................................................................................. done, booting the kernel.
Linux version 2.6.29.4-FriendlyARM () (gcc version 4.3.2 (Sourcery G++ Lite 2008q3-72) ) #2 Fri Nov 13 01:28:02 CST 2009
CPU: ARM920T [41129200] revision 0 (ARMv4T), cr=c0007177
.......................
就是启动信息了
阅读(780) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~