自己重新设计了一个板子,但总体电路无大改变。板子焊好后,用H-JTAG烧supervivi到nor-flash正常。但打到nor-flash,针对BIOS菜单进行分区、下载等操作时就出现问题了:
1)选择下载项,输入后无反应(例如选择“x”,进行格式化,或者停止不动,或者重新出现BIOS菜单)。
2)有时输入“s”参数设置,再输入“q”退出,回到菜单选项,再选择其他操作就能进行了。比如“x”,“v”,“k”,“y"等,就可以正常下载内核等了;
3)当”能下载内核“状态出现后,打到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: 0xf1 (Samsung K9F1G08U0B)
Found saved 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
Enter your selection: 就不动了,又出现了BIOS菜单。
4)再回到nor-flash菜单,选择”b“,出现:
Copy linux kernel from 0x00060000 to 0x30008000, size = 0x00200000 ... done
zImage magic = 0x016f2818
Setup linux parameters at 0x30000100
linux command line is: "noinitrd root=/dev/mtdblock2 init=/linuxrc console=ttySAC0"
MACH_TYPE = 1999
NOW, Booting Linux......
Uncompressing Linux...
incomplete literal tree
-- System halted
5)还有,使用非操作系统的代码测试是可以正常使用的。
上述状况不知道是什么原因啊,头都晕了,不知道是supervivi还是nandflash的问题,无从下手,高手们帮忙分析一下了![ 此帖被lily922在2010-02-10 17:04重新编辑 ]