From: "Ansari" <ma.harounansari@gdatech.co.in>
To: <linuxppc-embedded@ozlabs.org>
Subject: USB Mass Storare (PCI Based)
Date: Tue, 15 Jan 2008 15:56:20 +0530 [thread overview]
Message-ID: <002401c85761$12104700$bb261dac@Ansari> (raw)
[-- Attachment #1: Type: text/plain, Size: 1987 bytes --]
Hi,
I want to configure linux kernel for USB Mass Storage device (PCI Based).In that i have few doubts. Can u pls calrify it.
Hardware
---------------
MPC8560 (PCI Host Mode )
MPC8540 (PCI Agent Mode )
ISP1564 (PCI Target - USB Host Controller)
Software
---------------
Uboot 1.1.2
Linux Kernel 2.4.10
Problem
--------------
I am using default pci & usb driver given in uboot and linux kernel.
In my board both MPC8560 (PCI Host), MPC8540 (PCI Agent) should access the ISP1564 USB host controller (PCI Target). All the three PCI devices connected in a single pci bus.
My problem is when i load uboot (with PCI Config) and kernel (with PCI,USB-EHCI,USB Mass storage Config) in MPC8560. Its working properly.
After MPC8560 booted , when i try to load uboot (with PCI support disabled) and kernel (with PCI,USB-EHCI,USB Mass storage Config).
The mass storage is not working in MPC8540 . But its working in MPC8560.
Few oberservation while testing :
1. When i enable PCI support in MPC8540 uboot and not booting kernel. The usb mass storage not working in MPC8560 kernel.
2. When i disable PCI support in MPC8540 uboot and not booting kernel(even if i boot kernel also). The usb mass storage working in MPC8560 kernel.
3. In both the case /proc/bus/pci and /proc/pci not created in MPC8540 kernel.( Note : I have enabled the option of proc file system , virtual file system support in MPC8540 kernel).
Questions
---------------
1. By the above problem defintion can u able to guess . Wht would be the problem ???
2. Why proc entry for pci is not created in MPC8540 kernel ??? . Whether PCI agent mode has any impact on it.??
3. Whether any special changes required in pci uboot/kernel driver of MPC8540. Since PCI of MPC8540 is in Agent Mode.
4. Whether any special changes required in USB kernel driver of MPC8540. Since PCI of MPC8540 is in Agent Mode.
Thanks in Advance
Regards
Haroun Ansari
[-- Attachment #2: Type: text/html, Size: 3081 bytes --]
reply other threads:[~2008-01-15 10:45 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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='002401c85761$12104700$bb261dac@Ansari' \
--to=ma.harounansari@gdatech.co.in \
--cc=linuxppc-embedded@ozlabs.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;
as well as URLs for NNTP newsgroup(s).