以文本方式查看主题 - 曙海教育集团论坛 (http://sun4.cn/bbs/index.asp) -- Linux系统开发 (http://sun4.cn/bbs/list.asp?boardid=34) ---- SBC-2410X開發板不能啟動LINUX系統 (http://sun4.cn/bbs/dispbbs.asp?boardid=34&id=1788) |
-- 作者:wangxinxin -- 发布时间:2010-11-25 13:52:38 -- SBC-2410X開發板不能啟動LINUX系統 系统采用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> |