主题 : 下载zImage出现问题,请指教! 复制链接 | 浏览器收藏 | 打印
级别: 新手上路
UID: 2136
精华: 0
发帖: 29
金钱: 205 两
威望: 65 点
综合积分: 58 分
注册时间: 2008-10-27
最后登录: 2020-12-09
楼主  发表于: 2010-01-19 11:01

 下载zImage出现问题,请指教!

我目标板子(mini2440)ip是192.168.134.203
fedora linux主机是192.168.134.202
路由器是192.168.134.1
192.168.134.202的linxu主机的nfs共享目录是/home/plg

我每次在arm板子mount -t nfs -o nolock 192.168.134.202:/home/plg /mnt 都能成功的

现在下载zImage到内存运行的时候,出现的问题是:
Enter your selection: q
Supervivi> param set linux_cmd_line "console=ttySAC0 root=/dev/nfs nfsroot=192.1
68.134.202:/home/plg ip=192.168.134.203:192.168.134.202:192.168.134.1:255.255.25
5.0:sbc2440.arm9.net:eth0:off"
Change linux command line to "console=ttySAC0 root=/dev/nfs nfsroot=192.168.134.
202:/home/plg ip=192.168.134.203:192.168.134.202:192.168.134.1:255.255.255.0:sbc
2440.arm9.net:eth0:off"

Supervivi> load ram 0x30008000 0x200000 u
USB host is connected. Waiting a download.
Length of file is too big : 2517028 > 2097152
Failed downloading file

Supervivi>
*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5398
金钱: 40120 两
威望: 17929 点
综合积分: 11036 分
注册时间: 2008-01-16
最后登录: 2014-11-22
1楼  发表于: 2010-01-19 11:10
1. 你通过USB下载zImage,和前面一大堆网络NFS的设置没有关系;
2. 你编译的zImage大小超过了supervivi默认的内核分区大小(2M), 要么减小zImage的大小,要么用supervivi的"part"命令修改"kernel"分区大小到能放得下你的zImage为止。
"If you have an apple and I have an apple and we exchange apples, then you and I will
still each have one apple. But if you have an idea and I have an idea and we exchange
these ideas, then each of us will have two ideas."