* Fwd: NAND Flash Problem.
@ 2004-05-20 12:38 Gurhan Hatipoglu
2004-05-20 18:46 ` Thomas Gleixner
0 siblings, 1 reply; 2+ messages in thread
From: Gurhan Hatipoglu @ 2004-05-20 12:38 UTC (permalink / raw)
To: linux-mtd
[-- Attachment #1: Type: text/plain, Size: 177 bytes --]
Hello sir/madam;
I forwarded the message attached, by the advice of CVS group. Please inform me
about the problem forwarded.
Thanks in advance.
Gurhan Hatipoglu
Alpamis Co.
[-- Attachment #2: Gurhan Hatipoglu <gurhan@hatipoglu.biz>: NAND Flash Problem. --]
[-- Type: message/rfc822, Size: 3135 bytes --]
From: Gurhan Hatipoglu <gurhan@hatipoglu.biz>
To: linux-mtd-cvs@lists.infradead.org
Subject: NAND Flash Problem.
Date: Thu, 13 May 2004 11:32:39 +0300
Message-ID: <200405131132.39650.gurhan@hatipoglu.biz>
---------- Forwarded Message ----------
Subject: NAND Flash Problem.
Date: Thursday 13 May 2004 11:10
From: Gurhan Hatipoglu <gurhan@hatipoglu.biz>
To: linux-mtd-cvs-request@lists.infradead.org
Hello sir,
I'm working on Hyundai GMS30C7201 board, using ARM Linux V.2.4.18 Rmk 3.
In addition to NOR Flash, we mounted KM29U64000T 64Kbit NAND flash on the
board to use as a disk, I changed sample VIA board driver according to the
directions given in the Document directory and by referencing addresses in
hardware.h (NAND_BASE 0xf2000000, physical address is 0x08000000).
When I boot the system, VM error is appearing, as below and system is
crashing. When I test ioremap for physical address 0x0800000, system is
giving no nand flash found message.
Please inform me about the casualities, if you have experienced with such
problem.
Thanks,
Gurhan Hatipoglu
gurhan@hatipoglu.biz
Unable to handle kernel paging request at virtual address f2000000
pgd = c0004000
*pgd = 00000000, *pmd = 00000000
Internal error: Oops: ffffffff
CPU: 0
pc : [<c0093338>] lr : [<c00932b4>] Not tainted
sp : c0115f50 ip : c0115f50 fp : c0115f74
r10: c0134260 r9 : 41807202 r8 : c01342e8
r7 : ffffffff r6 : 000000ff r5 : ffffffff r4 : f2000000
r3 : 000000bc r2 : c00c6c2c r1 : 00000000 r0 : f0023000
Flags: nzCv IRQs on FIQs on Mode SVC_32 Segment kernel
Control: 217F Table: 4000401D DAC: 0000001D
Process swapper (pid: 1, stackpage=c0115000)
Stack: (0xc0115f40 to 0xc0116000)
5f40: c00932b4 c0093338 20000013 ffffffff ffffffff c0134260 c01342e8 c00c6c20
5f60: c00c2b44 4000f2dc c0115f98 c0115f78 c00952b0 c0093294 c0134260 c00e6120
5f80: c01342e8 c00c6c20 c00c2b44 c0115fb8 c0115f9c c000ee60 c0095288 c000fd74
5fa0: c000fd84 c00c7698 c00c768c c0115fd0 c0115fbc c0008988 c000edb4 00000800
5fc0: c00e62ec c0115fe0 c0115fd4 c00089cc c000897c c0115ffc c0115fe4 c00100e8
5fe0: c00089b0 00000800 c00e62ec c00c7698 00000000 c0116000 c0011f34 c00100e8
Backtrace:
Function entered at [<c0093284>] from [<c00952b0>]
Function entered at [<c0095278>] from [<c000ee60>]
r8 = C00C2B44 r7 = C00C6C20 r6 = C01342E8 r5 = C00E6120
r4 = C0134260
Function entered at [<c000eda4>] from [<c0008988>]
r7 = C00C768C r6 = C00C7698 r5 = C000FD84 r4 = C000FD74
Function entered at [<c000896c>] from [<c00089cc>]
r5 = C00E62EC r4 = 00000800
Function entered at [<c00089a0>] from [<c00100e8>]
Function entered at [<c00100d8>] from [<c0011f34>]
r6 = C00C7698 r5 = C00E62EC r4 = 00000800
Code: e5c43000 e2455c02 ea000000 e5c43000 (e5c46000)
Kernel panic: Attempted to kill init!
-------------------------------------------------------
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Fwd: NAND Flash Problem.
2004-05-20 12:38 Fwd: NAND Flash Problem Gurhan Hatipoglu
@ 2004-05-20 18:46 ` Thomas Gleixner
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Gleixner @ 2004-05-20 18:46 UTC (permalink / raw)
To: Gurhan Hatipoglu, linux-mtd
On Thursday 20 May 2004 14:38, Gurhan Hatipoglu wrote:
> Hello sir/madam;
>
> I forwarded the message attached, by the advice of CVS group. Please inform
> me about the problem forwarded.
CVS is no group. It's a read only mailing list which keeps you informed of
changes in the CVS.
> I'm working on Hyundai GMS30C7201 board, using ARM Linux V.2.4.18 Rmk 3.
Is this the kernel from Hynix ? Use the reworked one available from my
homepage.
> In addition to NOR Flash, we mounted KM29U64000T 64Kbit NAND flash on the
> board to use as a disk, I changed sample VIA board driver according to the
> directions given in the Document directory
Which version of MTD do you use ? The one in the kernel source ?
Use latest MTD CVS code, as everything else does not properly support NAND.
> and by referencing addresses in
> hardware.h (NAND_BASE 0xf2000000, physical address is 0x08000000).
> When I boot the system, VM error is appearing, as below and system is
> crashing. When I test ioremap for physical address 0x0800000, system is
> giving no nand flash found message.
The pyhsical address must be converted to a virtual adress by ioremap. Get the
physical address through which the NAND chip can be accessed. In your driver
use:
nand_virt = ioremap (nand_phys, SZ_1K);
nand_virt must be stored in the IO_ADDR_R and IO_ADDR_W members of the nand
chip structure.
> Function entered at [<c0093284>] from [<c00952b0>]
> Function entered at [<c0095278>] from [<c000ee60>]
> r8 = C00C2B44 r7 = C00C6C20 r6 = C01342E8 r5 = C00E6120
> r4 = C0134260
Such a backtrace is worthless, as I dont know anything of your kernel. Decode
it with ksymoops. Read linux/Documentation/oops-tracing.txt
--
Thomas
________________________________________________________________________
Steve Ballmer quotes the statistic that IT pros spend 70 percent of their
time managing existing systems. That couldn’t have anything to do with
the fact that 99 percent of these systems run Windows, could it?
________________________________________________________________________
linutronix - competence in embedded & realtime linux
http://www.linutronix.de
mail: tglx@linutronix.de
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-05-20 18:51 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-05-20 12:38 Fwd: NAND Flash Problem Gurhan Hatipoglu
2004-05-20 18:46 ` Thomas Gleixner
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox