From: Konstantin Kletschke <lists@ku-gbr.de>
To: linux-mtd@lists.infradead.org
Subject: XIP aware file system
Date: Tue, 15 Feb 2005 16:48:19 +0100 [thread overview]
Message-ID: <20050215154819.GB831@synertronixx3> (raw)
Hi people!
Since I got a reasonable burst modus of flash device running XIP is not
taking more but less time now, so third attempt to get this running...
I have to port the stuff in xip.h.
PXA:
I have a question why (ICIP & ICMR) is done. Because ICIP _is_ already
the hardware "and"ed between ICMR and ICPR so it seems bogus at this
place to "and" pending and mask by software again.
Is this done because of "ICCR[DIM]=0 & Idle mode='1'" "or"ed to ICMR?
If yes, on our i.MX it should be sufficient to do
( IMX_NIPNDH || IMX_NIPNDL ) which are the IRQ pending registers already
"and"ed between IRQ source and INT enable.
The OSCR Register is read to get some timing stuff, at what frequency is
the timer ++ed? I am sure it is 32.768kHz or 32.8kHz. Is that correct?
In this case I should also do
(signed)((IMX_TCN(IMX_TIM1_BASE) - (x)) /4).
because "our" timer runs at 32kHz. I am pretty sure though...
Further I found in funktion __xipram xip_udelay() a call to printk()
right at the beginning, "pending entry". This will never work,
becaus printk is located in flash,is that
correct (just trying to really understand)?
When I look at dissassembled vmlinux I find several calls to functions in
flash in xip_udelay:
c0013974: ebc3fa2e bl bf112234 <cond_resched>
c0013994: ebc34c31 bl bf0e6a60 <memset>
c00139dc: ebc18b27 bl bf076680 <add_wait_queue>
c00139e0: ebc3f696 bl bf111440 <schedule>
c00139ec: ebc18b45 bl bf076708 <remove_wait_queue>
and so on.
Is this correct?
Hm, our Kernel freezes right after
Creating 5 MTD partitions on "scb9328_flash":
0x00000000-0x00020000 : "U-boot"
0x00020000-0x00040000 : "U-boot_env"
0x00040000-0x00140000 : "kernel"
0x00140000-0x00540000 : "root"
0x00540000-0x00940000 : "fs"
at the moment.
Kind regards, Konsti
--
GPG KeyID EF62FCEF
Fingerprint: 13C9 B16B 9844 EC15 CC2E A080 1E69 3FDA EF62 FCEF
next reply other threads:[~2005-02-15 15:48 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-02-15 15:48 Konstantin Kletschke [this message]
2005-02-15 16:12 ` XIP aware file system Konstantin Kletschke
2005-02-15 16:38 ` Nicolas Pitre
2005-02-15 16:50 ` Konstantin Kletschke
2005-02-15 17:12 ` Nicolas Pitre
2005-02-15 18:08 ` Konstantin Kletschke
2005-02-15 18:25 ` Nicolas Pitre
2005-02-15 18:51 ` Konstantin Kletschke
2005-02-15 17:36 ` David Woodhouse
2005-02-15 18:04 ` Nicolas Pitre
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20050215154819.GB831@synertronixx3 \
--to=lists@ku-gbr.de \
--cc=linux-mtd@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox