主题 : nand启动问题 复制链接 | 浏览器收藏 | 打印
级别: 新手上路
UID: 11240
精华: 0
发帖: 2
金钱: 10 两
威望: 2 点
综合积分: 4 分
注册时间: 2009-12-01
最后登录: 2016-03-11
楼主  发表于: 2011-01-19 13:10

 nand启动问题

我的板子从nand flash启动时,终端打印信息如下:

MMU table base address = 0x33DFC000
DIVN_UPLL0
MPLLVal [M:7fh,P:2h,S:1h]
CLKDIVN:5h


+---------------------------------------------+
| S3C2440A USB Downloader ver R0.03 2004 Jan  |
+---------------------------------------------+
USB: IN_ENDPOINT:1 OUT_ENDPOINT:3
FORMAT: <ADDR(DATA):4>+<SIZE(n+10):4>+<DATA:n>+<CS:2>
NOTE: Power off/on or press the reset button for 1 sec
      in order to get a valid USB device address.

NAND device: Manufacture ID: 0xec, Chip ID: 0xda (Samsung

K9F2G08U0B)
Could not found stored vivi parameters. Use default vivi

parameters.

##### FriendlyARM BIOS 2.0 for 2440 #####
[x] format NAND FLASH for Linux
[v] Download vivi
[k] Download linux kernel
[y] Download root_yaffs image
[a] Absolute User Application
[n] Download Nboot for WinCE
[l] Download WinCE boot-logo
[w] Download WinCE NK.bin
[d] Download & Run
[z] Download zImage into RAM
[g] Boot linux from RAM
[f] Format the nand flash
Boot the system
[s] Set the boot parameters
Backup NAND Flash to HOST through USB(upload)
[r] Restore NAND Flash from HOST through USB
[q] Goto shell of vivi
Version: 0945-2K
Enter your selection:

直接进入vivi菜单了,请问这是什么原因啊?
自由,自强,共享,共创。
级别: 论坛版主
UID: 12573
精华: 27
发帖: 8838
金钱: 46490 两
威望: 9298 点
综合积分: 18216 分
注册时间: 2010-01-09
最后登录: 2019-07-16
1楼  发表于: 2011-01-19 17:50
supervivi从Nand启动的时候会检测开发板的K1-K6是否按下,如果按下则进入菜单模式,如果你使用了核心板,悬空的K1-K6的引脚状态是随机的,因此有可能也会被认为拉低按下进入菜单模式。
为了解决此问题,可以有2个方式:
1. 请把K1-K6资源引脚拉高,这就不会有误触发了。
2. 请使用vboot或者nboot作为bootloader烧写到nand flash运行,它们不会检测K1-K6.

说明:vboot专门用于启动Linux系统,nboot专门用于启动WinCE系统。它们都是我们为用户专门设计的十分精简的开源bootloader,易于理解,并方便定制化。supervivi主要烧写到NOR中运行使用,使用它方便下载烧写各种文件到Nand Flash,并具有备份和恢复功能。
新手如何向我们反馈有效的信息,以便解决问题,见此贴:
http://www.arm9home.net/read.php?tid-14431.html

[注]: 此处签名链接仅为指引方向,而非解答问题本身.