曙海教育集团论坛Linux专区Linux系统开发 → SBC-2410X開發板不能啟動LINUX系統


  共有3394人关注过本帖树形打印

主题:SBC-2410X開發板不能啟動LINUX系統

美女呀,离线,留言给我吧!
wangxinxin
  1楼 个性首页 | 博客 | 信息 | 搜索 | 邮箱 | 主页 | UC


加好友 发短信
等级:青蜂侠 帖子:1393 积分:14038 威望:0 精华:0 注册:2010-11-12 11:08:23
SBC-2410X開發板不能啟動LINUX系統  发帖心情 Post By:2010-11-25 13:52:38

系统采用REDHAT LINUX 9.0,按照手册建立好开发环境,顺利用Jflash 烧写vivi 到Nand Flash.但在使用minicom通过xmodem协议使用load flash kernel x命令下载内核却失败(内核版本为zImage-yaffs-v6-6448,是光盘上所带的,大小为894K),提示信息如下所示:

Retry 0: NAK on sector
Retry 0: NAK on sector
Retry 0: Retry Count Exceeded

Transfer incomplete

READY: press any key to continue...


然后在windows 2000 下通过超级终端使用load flash kernel x命令下载内核也失败,信息如下:

vivi> load flash kernel x
Ready for downloading using xmodem...
Waiting...
Downloaded file at 0x30000000, size = 914560 bytes
An image size is too large to write flash.
wanted = 0x000c0000, loaded = 0x000df480

然后用load flash 0x00030000 0x000df480 x下载内核成功

vivi> load flash 0x00030000 0x000df480 x
Ready for downloading using xmodem...
Waiting...
Downloaded file at 0x30000000, size = 914560 bytes
Found block size = 0x000e0000
Erasing... ... done
Writing... ... done
Written 914560 bytes

然后进入linux
1、通过ifconfig eth0 192.168.0.1 设置IP
2、通过 /etc/init.d/nfs restart 启动nfs服务(/etc/exports已设置好)
3、在vivi提示符模式下输入命令参数,使用nfs启动系统时却进不了系统,一直停在 Booting Linux......,具体信息如下

Welcome to minicom 2.00.0

OPTIONS: History Buffer, F-key Macros, Search History Buffer, I18n
Compiled on Jan 25 2003, 00:15:18.

Press CTRL-A Z for help on special keys


VIVI version 0.1.4 (eady@eady.mizi.com) (gcc version 2.95.3 20010315 (release)) #0.1.4 .. 6宀?29 14:21:19 KST 2003
MMU table base address = 0x33DFC000
Succeed memory mapping.
NAND device: Manufacture ID: 0xec, Chip ID: 0x76 (Samsung K9D1208V0M)
Found saved vivi parameters.
Press Return to start the LINUX now, any other key for vivi
type "help" for help.
vivi> param set linux_cmd_line "console=ttyS0 root=/dev/nfs nfsroot=192.168.0.1:/friendly-arm/root ip=192.168.0.69:192.168.0.1:192.168.0.1:255"Change linux command line to "console=ttyS0 root=/dev/nfs nfsroot=192.168.0.1:/friendly-arm/root ip=192.168.0.69:192.168.0.1:192.168.0.1:255.2"vivi> boot
Copy linux kernel from 0x00030000 to 0x30008000, size = 0x000c0000 ... done
zImage magic = 0x016f2818
Setup linux parameters at 0x30000100
linux command line is: "console=ttyS0 root=/dev/nfs nfsroot=192.168.0.1:/friendly-arm/root ip=192.168.0.69:192.168.0.1:192.168.0.1:255.255.255"MACH_TYPE = 193
NOW, Booting Linux......

我在vivi下用part show命令,显示如下

vivi> part show
mtdpart info. (4 partitions)
name offset size flag
------------------------------------------------
vivi : 0x00000000 0x00020000 0 128k
param : 0x00020000 0x00010000 0 64k
kernel : 0x00030000 0x000c0000 0 768k
root : 0x00100000 0x00140000 4 1M+256k
vivi>



支持(0中立(0反对(0单帖管理 | 引用 | 回复 回到顶部

返回版面帖子列表

SBC-2410X開發板不能啟動LINUX系統








签名