打印
[ARM Linux入门与实践]

初学,烧写vivi后,执行bon part分区失败,求元芳指点

[复制链接]
1542|2
手机看帖
扫描二维码
随时随地手机跟帖
跳转到指定楼层
楼主
tansuohao|  楼主 | 2012-11-24 23:01 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
使用jlink和阳出的2410的板子,对着阿南大虾的书学习,步骤如下:1.利用jink跑一个SRDRAM版本的uboot
2.利用uboot烧写vivi
3.uboot里面输入reset命令重启板子或者直接按reset按钮
3.vivi跑起来了,输入help正常
4.输入bon part 0 192k 2m死掉了

如下:
OpenJTAG> nand write.jffs2 30000000 0 30000

NAND write: device 0 offset 0x0, size 0x30000

Writing data at 0x2fe00 -- 100% complete.
196608 bytes written: OK
IVI 0.1.4 (root@localhost.localdomain) (gcc version 2.95.2 20000516 (release) [Rebel.com]) #0.1.4 日 9月 10 15:24:00 CST 2006
MMU table base address = 0x33DFC000
Succeed memory mapping.
NAND device: Manufacture ID: 0xec, Chip ID: 0x76 (Samsung K9D1208V0M)
Found saved vivi parameters.
Init VGA success!
Pr other key for vivi shell
type "help" for help.
vivi> help
Usage:
   cpu [{cmds}]                         -- Manage cpu clocks
   bon [{cmds}]                         -- Manage the bon file system
   %s
   param [set|show|save|reset]  -- set/get parameter
   part [add|del|show|reset]            -- Manage MTD partitions
   mem [{cmds}]                         -- Manage Memory
   net [ping|tftp|set|mac| show| save |help]            -- Network Manage
   %s
   %s
   load {...}                   -- Load a file to RAM/Flash
   go <addr> <a0> <a1> <a2> <a3>        -- jump to <addr>
   %s
   %s
   boot [{cmds}]                        -- Booting linux kernel
   bootce
   help [{cmds}]                        -- Help about help?
> help
Usage:
   cpu [{cmds}]                         -- Manage cpu clocks
   bon [{cmds}]                         -- Manage the bon file system
   reset                                -- Reset the system
   param [set|show|save|reset]  -- set/get parameter
   part [add|del|show|reset]            -- Manage MTD partitions
   mem [{cmds}]                         -- Manage Memory
   net [ping|tftp|set|mac| show| save |help]            -- Network Manage
   vga card init Command
   tv out put init Command
   load {...}                   -- Load a file to RAM/Flash
   go <addr> <a0> <a1> <a2> <a3>        -- jump to <addr>
   dump <addr> <length>                 -- Display (hex dump) a range of memory.
   call <addr> <a0> <a1> <a2> <a3>      -- jump_with_return to <addr>
   boot [{cmds}]                        -- Booting linux kernel
   bootce
   help [{cmds}]                        -- Help about help?
vivi> bon part 0 192k 2m
doing partition
offset = 0
flag = 0
offset = 196608
flag = 0
offset = 00108g = 0
check bad block
part = 0 end = 196608


小弟貌似没分,但求元芳指点,谢谢

相关帖子

沙发
tansuohao|  楼主 | 2012-11-25 20:33 | 只看该作者
今天继续折腾,换的烧写了友善之臂的vivi,这一步就过了。可能是阳初的vivi不稳定?这个帖子结了吧。谢谢

使用特权

评论回复
板凳
tansuohao|  楼主 | 2012-11-25 20:38 | 只看该作者
顺便提一下,笔记本用jlink烧写vivi的方法可以网上参考《使用JLink间接烧写S3C2410、S3C2440开发板Nor、Nand Flash的方法.pdf》。win7下使用secure CRT代替超级终端,里面也有xmodem发送模式的。我也是初学,也祝福大家学习进步吧。

使用特权

评论回复
发新帖 我要提问
您需要登录后才可以回帖 登录 | 注册

本版积分规则

1

主题

3

帖子

0

粉丝