主题 : 有关nandflash的问题,难道是买到次品了么 复制链接 | 浏览器收藏 | 打印
级别: 圣骑士
UID: 9690
精华: 0
发帖: 369
金钱: 1955 两
威望: 415 点
贡献值: 0 点
综合积分: 738 分
注册时间: 2009-10-10
最后登录: 2017-11-21
楼主  发表于: 2011-03-25 10:09

 有关nandflash的问题,难道是买到次品了么

因为最近要研究文件系统,所以烧写可能比较频繁(大约一天20次不到),结果就是每烧写一次坏区就会增加,到了最后竟然内核都启动不起来了,请问这是nandflash的问题么。用的是光盘里面的原版镜像,曾经这个是可以启动的,现在出现了这个错误。烧写用的是友善的superboot的sd卡烧写方式

TCP cubic registered
NET: Registered protocol family 17
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
s3c2410-rtc s3c2410-rtc: setting system clock to 2000-05-09 01:07:34 UTC (957834454)
Freeing init memory: 904K
yaffs: dev is 32505858 name is "mtdblock2"
yaffs: passed flags ""
yaffs: Attempting MTD mount on 31.2, "mtdblock2"
s3c-nand: ECC uncorrectable error detected
s3c-nand: ECC uncorrectable error detected
s3c-nand: ECC uncorrectable error detected
s3c-nand: ECC uncorrectable error detected
yaffs: restored from checkpoint
yaffs_read_super: isCheckpointed 1
/init: line 81: can't open /r/dev/console: no such file
Kernel panic - not syncing: Attempted to kill init!
级别: 圣骑士
UID: 9690
精华: 0
发帖: 369
金钱: 1955 两
威望: 415 点
贡献值: 0 点
综合积分: 738 分
注册时间: 2009-10-10
最后登录: 2017-11-21
1楼  发表于: 2011-03-25 10:11
烧写时的信息如下
Installing OS 'ANDROID'
Download bootloader...
Download bootloader succeed
Download kernel...
Download kernel succeed
Download yaffs-image ...
Skip block 0x6c
Skip block 0x9a
Skip block 0x1b0
Skip block 0x1b1
Skip block 0x1b2
Skip block 0x1b3
Skip block 0x1b4
Skip block 0x1b5
Skip block 0x21f
Skip block 0x23d
Download yaffs-image succeed
OS 'ANDROID' Installed
级别: 圣骑士
UID: 9690
精华: 0
发帖: 369
金钱: 1955 两
威望: 415 点
贡献值: 0 点
综合积分: 738 分
注册时间: 2009-10-10
最后登录: 2017-11-21
2楼  发表于: 2011-03-25 10:13
为了方便斑竹,贴上启动的log
Linux version 2.6.28.6 (root@localhost.localdomain) (gcc version 4.4.1 (Sourcery G++ Lite 2009q3-67) ) #2 Fri Sep 17 12:46:06 HKT 2010
CPU: ARMv6-compatible processor [410fb766] revision 6 (ARMv7), cr=00c5387f
CPU: VIPT nonaliasing data cache, VIPT nonaliasing instruction cache
Machine: SMDK6410
Memory policy: ECC disabled, Data cache writeback
CPU S3C6410 (id 0x36410101)
S3C24XX Clocks, (c) 2004 Simtec Electronics
S3C64XX: PLL settings, A=532000000, M=532000000, E=24000000
S3C64XX: HCLKx2=266000000, HCLK=133000000, PCLK=66500000
div1: 00000555
mout_apll: source is fout_apll (1), rate is 532000000
mout_epll: source is fout_epll (1), rate is 24000000
mout_mpll: source is mpll (1), rate is 532000000
mmc_bus: source is dout_mpll (1), rate is 44333333
mmc_bus: source is dout_mpll (1), rate is 44333333
mmc_bus: source is dout_mpll (1), rate is 44333333
usb-host-bus: source is mout_epll (0), rate is 24000000
uclk1: source is dout_mpll (1), rate is 66500000
spi_epll: source is mout_epll (0), rate is 24000000
spi_epll: source is mout_epll (0), rate is 24000000
sclk_audio0: source is mout_epll (0), rate is 24000000
sclk_audio1: source is mout_epll (0), rate is 24000000
sclk_audio2: source is mout_epll (0), rate is 24000000
irda-bus: source is mout_epll (0), rate is 24000000
s3c64xx: 10485760 bytes SDRAM reserved for fimc at 0x5065a000
s3c64xx: 8388608 bytes SDRAM reserved for jpeg at 0x5105a000
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32512
Kernel command line: root=/dev/mtdblock2 rootfstype=yaffs2 init=/linuxrc console=ttySAC0,115200
PID hash table entries: 512 (order: 9, 2048 bytes)
Console: colour dummy device 80x30
console [ttySAC0] enabled
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 128MB = 128MB total
Memory: 105884KB available (3708K code, 798K data, 904K init)
SLUB: Genslabs=12, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
Calibrating delay loop... 530.84 BogoMIPS (lpj=1327104)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
net_namespace: 288 bytes
NET: Registered protocol family 16
S3C6410 Power Management, (c) 2008 Samsung Electronics
S3C6410: Initialising architecture
S3C DMA-pl080 Controller Driver, (c) 2006-2007 Samsung Electronics
Total 32 DMA channels will be initialized.
cfg80211: Calling CRDA to update world regulatory domain
cfg80211: Failed calling CRDA
cfg80211: calling CRDA failed - unable to update world regulatory domain, using static definition
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 4096 (order: 3, 32768 bytes)
TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
TCP: Hash tables configured (established 4096 bind 4096)
TCP reno registered
NET: Registered protocol family 1
NetWinder Floating Point Emulator V0.97 (double precision)
ashmem: initialized
yaffs Sep 17 2010 12:44:07 Installing.
msgmni has been set to 207
alg: No test for stdrng (krng)
io scheduler noop registered (default)
S3C_LCD clock got enabled :: 133.000 Mhz
LCD TYPE :: LTE480WV will be initialized
Window[0] - FB1: map_video_memory: clear ff000000:0013ec00
            FB1: map_video_memory: dma=57400000 cpu=ff000000 size=0013ec00
Console: switching to colour frame buffer device 60x34
fb0: s3cfb frame buffer device
backlight       initialized
s3c6400-uart.0: s3c2410_serial0 at MMIO 0x7f005000 (irq = 16) is a S3C6400/10
s3c6400-uart.1: s3c2410_serial1 at MMIO 0x7f005400 (irq = 20) is a S3C6400/10
s3c6400-uart.2: s3c2410_serial2 at MMIO 0x7f005800 (irq = 24) is a S3C6400/10
s3c6400-uart.3: s3c2410_serial3 at MMIO 0x7f005c00 (irq = 28) is a S3C6400/10
loop: module loaded
logger: created 64K log 'log_main'
logger: created 256K log 'log_events'
logger: created 64K log 'log_radio'
dm9000 Ethernet Driver
eth0: dm9000 at c8882000,c8882004 IRQ 108 MAC: 00:22:12:34:56:90
libertas_sdio: Libertas SDIO driver
libertas_sdio: Copyright Pierre Ossman
Linux video capture interface: v2.00
s3c-fimc: controller 0 registered successfully
s3c-fimc: controller 1 registered successfully
S3C JPEG Driver, (c) 2007 Samsung Electronics
S3C NAND Driver, (c) 2008 Samsung Electronics
S3C NAND Driver is using hardware ECC.
NAND device: Manufacturer ID: 0xec, Chip ID: 0xda (Samsung NAND 256MiB 3,3V 8-bit)
Creating 3 MTD partitions on "NAND 256MiB 3,3V 8-bit":
0x00000000-0x00080000 : "Bootloader"
0x00080000-0x00580000 : "Kernel"
0x00580000-0x10000000 : "File System"
mice: PS/2 mouse device common for all mice
gpio-keys init
input: gpio-keys as /devices/platform/gpio-keys/input/input0
S3C Touchscreen driver, (c) 2010 FriendlyARM
touchscreen got loaded successfully : 12 bits
input: TouchScreen Pipe as /devices/virtual/input/input1
ts-if   initialized
S3C24XX RTC, (c) 2004,2006 Simtec Electronics
s3c2410_rtc: tick irq 34, alarm irq 92
s3c2410-rtc s3c2410-rtc: rtc disabled, re-enabling
s3c2410-rtc s3c2410-rtc: rtc core: registered s3c as rtc0
i2c /dev entries driver
s3c2440-i2c s3c2440-i2c: slave address 0x10
s3c2440-i2c s3c2440-i2c: bus frequency set to 377 KHz
[OV965X]ov965x_attach_adapter.
parent clock for camera: 266.000 MHz, divisor: 11
s3c2440-i2c s3c2440-i2c: i2c-0: S3C I2C adapter
sdhci: Secure Digital Host Controller Interface driver
sdhci: Copyright(c) Pierre Ossman
s3c-sdhci s3c-sdhci.0: clock source 0: hsmmc (133000000 Hz)
s3c-sdhci s3c-sdhci.0: clock source 1: hsmmc (133000000 Hz)
s3c-sdhci s3c-sdhci.0: clock source 2: mmc_bus (44333333 Hz)
mmc0: SDHCI controller on samsung-hsmmc [s3c-sdhci.0] using ADMA
s3c-sdhci s3c-sdhci.1: clock source 0: hsmmc (133000000 Hz)
s3c-sdhci s3c-sdhci.1: clock source 1: hsmmc (133000000 Hz)
s3c-sdhci s3c-sdhci.1: clock source 2: mmc_bus (44333333 Hz)
mmc1: SDHCI controller on samsung-hsmmc [s3c-sdhci.1] using ADMA
Advanced Linux Sound Architecture Driver Version 1.0.18rc3.
ASoC version 0.13.2
smdk6400_init:67
WM9713/WM9714 SoC Audio Codec 0.15
playback: 1, capture : 1
asoc: AC97 HiFi <-> s3c64xx-ac97 mapping ok
ALSA device list:
  #0: SMDK6410 (WM9713)
TCP cubic registered
NET: Registered protocol family 17
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
s3c2410-rtc s3c2410-rtc: setting system clock to 2000-05-09 01:07:34 UTC (957834454)
Freeing init memory: 904K
yaffs: dev is 32505858 name is "mtdblock2"
yaffs: passed flags ""
yaffs: Attempting MTD mount on 31.2, "mtdblock2"
s3c-nand: ECC uncorrectable error detected
s3c-nand: ECC uncorrectable error detected
s3c-nand: ECC uncorrectable error detected
s3c-nand: ECC uncorrectable error detected
yaffs: restored from checkpoint
yaffs_read_super: isCheckpointed 1
/init: line 81: can't open /r/dev/console: no such file
Kernel panic - not syncing: Attempted to kill init!
级别: 圣骑士
UID: 9690
精华: 0
发帖: 369
金钱: 1955 两
威望: 415 点
贡献值: 0 点
综合积分: 738 分
注册时间: 2009-10-10
最后登录: 2017-11-21
3楼  发表于: 2011-03-25 10:15
用的是友善2010.09.17的镜像,因为板子买的时候送的光盘就是这个。这个盘子还是不支持jtag调试的那一款,以前用光盘的镜像是能够正常启动的,今天忽然就不行了
自由,自强,共享,共创。
级别: 论坛版主
UID: 12573
精华: 27
发帖: 8838
金钱: 46490 两
威望: 9298 点
贡献值: 27 点
综合积分: 18216 分
注册时间: 2010-01-09
最后登录: 2019-07-16
4楼  发表于: 2011-03-25 21:12
板子的配置是什么?
烧写配置文件内容是什么?
建议使用最新软件试试,新光盘里有现成即用的配置文件
新手如何向我们反馈有效的信息,以便解决问题,见此贴:
http://www.arm9home.net/read.php?tid-14431.html

[注]: 此处签名链接仅为指引方向,而非解答问题本身.
级别: 新手上路
UID: 38588
精华: 0
发帖: 1
金钱: 5 两
威望: 1 点
贡献值: 0 点
综合积分: 2 分
注册时间: 2011-02-27
最后登录: 2012-02-24
5楼  发表于: 2011-03-29 13:54
进u-boot执行nand scrub!重新烧写u-boot,应该就可以了!