linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Wolfgang Grandegger <wolfgang.grandegger@bluewin.ch>
To: Steven Scholz <steven.scholz@imc-berlin.de>
Cc: Leonardo Pereira Santos <lsantos@pd3.com.br>,
	LinuxPPC <linuxppc-embedded@lists.linuxppc.org>,
	Wolfgang Denk <wd@denx.de>
Subject: Re: PCMCIA on TQM8xxL
Date: Thu, 23 Jan 2003 15:32:25 +0100	[thread overview]
Message-ID: <3E2FFCF9.8030308@bluewin.ch> (raw)
In-Reply-To: 3E2FF5F6.B0F5CE15@imc-berlin.de


On 01/23/2003 03:02 PM Steven Scholz wrote:
>
> Leonardo Pereira Santos wrote:
>>
>>
>> 1) Define _IO_BASE and _IO_BASE_SIZE in arch/ppc/platforms/tqm8xxl.h
>> 2) just copy and paste the line of code for the RPX to TQM8xxL section in
>> arch/ppc/kernel/m8xx_setup.c m8xx_map_io(), as you pointed. If there's no
>> #ifdef CONFIG_TQM8XXL (or something like that), just create one near the ones
>> already defined for FADS, RPX, MBX. For example, for my FADS board, its
>> section looks like this:
>>
>> #ifdef CONFIG_FADS
>>         io_block_mapping(BCSR_ADDR, BCSR_ADDR, BCSR_SIZE, _PAGE_IO);
>>         io_block_mapping(_IO_BASE,_IO_BASE,_IO_BASE_SIZE, _PAGE_IO);
>> #endif
> ...
>
> I know. That's what I did.
>
> The problem is:
>
> DENX claims that PCMCIA is working on TQM8xxL using ELDK 2.0 and their linux CVS
> tree.
> But I can't see how! Since there's no remapping of _IO_BASE for TQM8xxL.
>
> Maybe I just have to wait until Wolfgang Denk is online again!

It's also not working on my TQM8xxL starter kit and I remember vaguely
that Wolfgang mentioned that the PCMCIA support ist not yet fully
implemented and tested (compared with our 2.4.4 kernel). But even with
io_block_mapping(_IO_BASE, ...) I still get an Oops in do_probe():

ide: Assuming 50MHz system bus speed for PIO modes; override with idebus=xx
PCMCIA slot B: phys mem e0000000...ec000000 (size 0c000000)
Card ID: HITACHI FLASH 5.0
 Fixed Disk Card
 IDE interface
 [silicon] [unique] [single] [sleep] [standby] [idle] [low power]
Oops: kernel access of bad area, sig: 11
NIP: C00B69FC XER: 8000AA7F LR: C00B69D8 SP: C01F9EF0 REGS: c01f9e40
TRAP: 0300

Thanks,

Wolfgang.


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

      parent reply	other threads:[~2003-01-23 14:32 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <3E2FBB5E.E16D577E@imc-berlin.de>
     [not found] ` <3E2FBF48.6040200@bluewin.ch>
     [not found]   ` <3E2FC0F1.41C65F18@imc-berlin.de>
2003-01-23 13:55     ` PCMCIA on TQM8xxL Leonardo Pereira Santos
     [not found]       ` <3E2FF5F6.B0F5CE15@imc-berlin.de>
2003-01-23 14:32         ` Wolfgang Grandegger [this message]

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=3E2FFCF9.8030308@bluewin.ch \
    --to=wolfgang.grandegger@bluewin.ch \
    --cc=linuxppc-embedded@lists.linuxppc.org \
    --cc=lsantos@pd3.com.br \
    --cc=steven.scholz@imc-berlin.de \
    --cc=wd@denx.de \
    /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;
as well as URLs for NNTP newsgroup(s).