天嵌 ARM开发社区

 找回密码
 注册
查看: 2829|回复: 7

U-boot烧写失败

[复制链接]
freepig 发表于 2010-10-28 17:08:41 | 显示全部楼层 |阅读模式
过程是这样的
烧写U-BOOT,成功
烧写内核 成功
烧写文件系统 好像是成功了,因为烧写的过程中没有出现有skip坏块的提示,我烧写的是256M那文件系统

结果 boot linux却引导不了,引导的过程中出现了教程中所说的“”把64烧成256的错误“”

按教程的要求,format nand flash ,以下是信息
[1] Nand scrub - really clean NAND erasing bad blocks (UNSAFE)
[2] Nand earse - clean NAND eraseing
[q] Return main Menu
Enter your selection: 1

NAND scrub: device 0 whole chip
Warning: scrub option will erase all factory set bad blocks!
         There is no reliable way to recover them.
         Use this command only for testing purposes if you
         are sure of what you are doing!

Really scrub this NAND flash? <y/N> : y
Erasing at 0xffe0000 -- 100% complete.
OK

再来烧写UBOOT,结果就这样了
Enter your selection: 1
USB host is connected. Waiting a download.
Length of file is too big : -442503158 > 64085884

NAND erase: device 0 offset 0x0, size 0x40000
Erasing at 0x20000 -- 100% complete.
OK

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


0 bytes written: OK
试了好几次,dnw 的进度条一直处于静止状态,我的XP还死机重启两次
天嵌_support1 发表于 2010-10-28 17:47:52 | 显示全部楼层
1# freepig



你烧写的是什么文件?
Length of file is too big : -442503158 > 64085884
怎么会有这样的size?
 楼主| freepig 发表于 2010-10-28 20:08:40 | 显示全部楼层
怎么样查看板子是64M还是256M啊,我去看买的,不记得是哪一种的
另外,论坛有没有QQ群啊,QQ聊起来方便点,论坛不够即时
 楼主| freepig 发表于 2010-10-29 07:51:04 | 显示全部楼层
u-boot-1.1.6_Q35_20100601.bin
确定烧写的是这个
 楼主| freepig 发表于 2010-10-29 08:54:19 | 显示全部楼层
今天早上来又试了下,还是出现昨天的问题,还有个疑问,我启动板子怎么进入USB DOWN的模式啊,我启动后是这样的
##### EmbedSky BIOS for SKY2440/TQ2440 #####
Press Space key to Download Mode !

#####    Boot for Nor Flash Main Menu   #####
[1] Download u-boot or STEPLDR.nb1 or other bootloader to Nand Flash
[2] Download Eboot to Nand Flash
[3] Download Linux Kernel to Nand Flash
[5] Download CRAMFS image to Nand Flash
[6] Download YAFFS image to Nand Flash
[7] Download Program (uCOS-II or TQ2440_Test) to SDRAM and Run it
[8] Boot the system
[9] Format the Nand Flash
[0] Set the boot parameters
[a] Download User Program (eg: uCOS-II or TQ2440_Test)
[b] Download LOGO Picture (.bin) to Nand  Flash
[l] Set LCD Parameters
[o] Download u-boot to Nor Flash
[r] Reboot u-boot
[t] Test Linux Image (zImage)
[q] quit from menu
Enter your selection:
 楼主| freepig 发表于 2010-10-29 09:31:16 | 显示全部楼层
又重新做了下
烧写UBOOT,成功
烧写LINUX KERNEL 成功
烧写文件系统  成功
烧写LOGO 成功
拔掉USB,重启开发板,选择8,出现如下信息
Enter your selection: 8
Start Linux ...
Copy linux kernel from 0x00200000 to 0x30008000, size = 0x00300000 ...
Bad block at 0x440000 ,will be skipped

Bad block at 0x460800 ,will be skipped

Bad block at 0x481000 ,will be skipped

Bad block at 0x4a1800 ,will be skipped

Bad block at 0x4c2000 ,will be skipped

Bad block at 0x4e2800 ,will be skipped

Bad block at 0x503000 ,will be skipped
Copy Kernel to SDRAM done,NOW, Booting Linux......
data abort
pc : [<3000b420>]    lr : [<0000005c>]
sp : 302441c4  ip : 63cccd3c  fp : 302441e0
r10: 40000000  r9 : 30000000  r8 : 30008000
r7 : 63cc9919  r6 : 63cce409  r5 : 63ccbf65  r4 : 3023ad20
r3 : 000000a8  r2 : 302541e4  r1 : 302441e4  r0 : 302541e4
Flags: nzCv  IRQs off  FIQs off  Mode SVC_32
Resetting CPU ...
天嵌_support1 发表于 2010-10-29 17:35:55 | 显示全部楼层
6# freepig


加这个QQ 1526107786, 看看你的操作步骤
天嵌_support1 发表于 2010-10-30 10:42:48 | 显示全部楼层
3# freepig


嗯,应该和你的SDRAM 的容量或者Nand 的容量有关,可能你烧写错误。
论坛是大家一起交流,学习的场合。版主任务很多,有时候确实没法即时回答,抱歉。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

i.MX8系列ARM cortex A53 M4 工控板上一条 /1 下一条

Archiver|手机版|小黑屋|天嵌 嵌入式开发社区 ( 粤ICP备11094220号-2 )

GMT+8, 2024-10-5 18:26 , Processed in 1.012734 second(s), 18 queries .

Powered by Discuz! X3.4 Licensed

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表