Re: MPC8360E USB Host Controller Driver

2006-09-07 Thread Alex Zeffertt
Li Yang-r58472 wrote:
 i have a MPC8347E running with the Freescale E(F)HCI driver 
 and Kernel 2.6.17 (Freescale LTIB).

 Because of this mail, i checked, if there are any periodical 
 interrupts, without real USB payload.

 The result is: NO

 If i attach a USB-mouse, i get 5 interrupts.
 If i remove it again, 1 additional.

 Nothing else, silence !

 USB works well with USB 1.1 and 2.0 devices (This was not the 
 case with earlier Kernels, e.g. 2.6.13, because for the 
 switching between 1.1 and 2.0 you need a transaction 
 translator driver).
 
 MPC834x USB is very different from the USB of CPM/QE.  It is an
 integrated EHCI controller.
 


So, the question is still open, does the QuiccEngine HCI (a.k.a. FHCI)
generate loading on the PPC core when there is no traffic on the USB?

Alex
___
Linuxppc-embedded mailing list
Linuxppc-embedded@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-embedded


could not access the address in linux-System ace driver

2006-09-07 Thread sudheer
 - 0_1f4e2000 U: ---G-
 --R--R
  7 : 0e 0fe3e000   4KB V0 - 0_1f4e2000 U: ---G-
 X-RX-R
  8 : 0e 0ff1c000   4KB V0 - 0_007ed000 U: --MG-
 XWRXWR
  9 : 0e 0ff1e000   4KB V0 - 0_007ee000 U: --MG-
 -WR-WR
 10 : 0e 0ff1f000   4KB V0 - 0_007ea000 U: --MG-
 XWRXWR
 11 : 0e 0fe39000   4KB V0 - 0_1ff8e000 U: ---G-
 X-RX-R
 12 : 0e 0ff21000   4KB V0 - 0_007a8000 U: --MG-
 --R-WR
 13 : 0e 0fe47000   4KB V0 - 0_1ffa9000 U: ---G-
 X-RX-R
 14 : 0e 0fe46000   4KB V0 - 0_1ffb2000 U: ---G-
 X-RX-R
 15 : 0e 30019000   4KB V0 - 0_007c5000 U: --MG-
 -WR-WR
 16 : 0e 0fe45000   4KB V0 - 0_1ffa8000 U: ---G-
 X-RX-R
 17 : 00 fdfff000   4KB V0 - 4_f000 U: -IMG-
 WR
 18 : 0e 0fe9a000   4KB V0 - 0_1ff98000 U: ---G-
 X-RX-R
 19 : 0e 10067000   4KB V0 - 0_0078e000 U: --MG-
 -WR-WR
 20 : 0e    4KB -0 - 0_1f4e5000 U: ---G-
 --R--R
 21 : 0e 1003   4KB V0 - 0_1f4e5000 U: ---G-
 X-RX-R
 22 : 0e 10063000   4KB V0 - 0_007b7000 U: --MG-
 -WR-WR
 23 : 0e 0fe4c000   4KB V0 - 0_1ff9b000 U: ---G-
 X-RX-R
 24 : 0e 1007f000   4KB V0 - 0_007e U: --MG-
 -WR-WR
 25 : 0e 0ff1d000   4KB V0 - 0_007c6000 U: --MG-
 --R-WR
 26 : 0e 0fe4e000   4KB V0 - 0_1ffa1000 U: ---G-
 X-RX-R
 27 : 0e 0fe0f000   4KB V0 - 0_0077e000 U: ---G-
 X-RX-R
 28 : 0e 0fe52000   4KB V0 - 0_0077f000 U: ---G-
 X-RX-R
 29 : 0e 0fe53000   4KB V0 - 0_1ff8 U: ---G-
 X-RX-R
 30 : 0e 0fef9000   4KB V0 - 0_1ff81000 U: ---G-
 --R--R
 31 : 0e 0fe3b000   4KB V0 - 0_1ffa7000 U: ---G-
 X-RX-R
 32 : 0e 7f901000   4KB V0 - 0_007db000 U: --MG-
 -WR-WR
 33 : 0e 10027000   4KB V0 - 0_1ffd U: ---G-
 X-RX-R
 34 : 0e 1003a000   4KB V0 - 0_1ffb6000 U: ---G-
 X-RX-R
 35 : 0e 0fe51000   4KB V0 - 0_00775000 U: ---G-
 X-RX-R
 36 : 0e 1003b000   4KB V0 - 0_1ffb7000 U: ---G-
 X-RX-R
 37 : 0e 1002a000   4KB V0 - 0_1ffcf000 U: ---G-
 X-RX-R
 38 : 0e 10066000   4KB V0 - 0_007de000 U: --MG-
 -WR-WR
 39 : 0e 1002b000   4KB V0 - 0_1ffd3000 U: ---G-
 X-RX-R
 40 : 0e 1002c000   4KB V0 - 0_1ffd2000 U: ---G-
 X-RX-R
 41 : 0e 1005d000   4KB V0 - 0_007f4000 U: --MG-
 XWRXWR
 42 : 0e 1002d000   4KB V0 - 0_1ffc2000 U: ---G-
 X-RX-R
 43 : 0e 10028000   4KB V0 - 0_1ffc8000 U: ---G-
 X-RX-R
 44 : 0e 10069000   4KB V0 - 0_0078d000 U: --MG-
 -WR-WR

 
 === message truncated ===


 __
 Do You Yahoo!?
 Tired of spam?  Yahoo! Mail has the best spam protection around 
 http://mail.yahoo.com 

   

 

 ___
 Linuxppc-embedded mailing list
 Linuxppc-embedded at ozlabs.org
 https://ozlabs.org/mailman/listinfo/linuxppc-embedded

-- next part --
An HTML attachment was scrubbed...
URL: 
http://ozlabs.org/pipermail/linuxppc-embedded/attachments/20060907/c6199e77/attachment.htm
 


SystemAce Driver.

2006-09-07 Thread sudheer
Hi Ameet Patil

Ameet Patil wrote:
 Hi Sudheer,
Frank has already answered your questions. If you have any problems 
 with the SysAce patch... do let me know. I have written a small 
 tutorial here if it helps...
I have used your SystemAce patch with linux-2.6.16-2. The kernel gets 
loaded with the ace module and is fine.
I want the driver in polling mode. So i have commented few lines related 
to interrupt in the adapter.c file- xsysace_init function.

When i give the fdisk command, it gives few errors and then enters to  
the  fdisk commad promt. It prints the partitions, etc.

But when  i try to quit from the fdisk, it hangs. I am not able to 
complete the request properly (i guess in xsa_thread function in 
adapter.c file)

The dump is as follows:
SystemACE: Error 1 when reading sector 60.
end_request: I/O error, dev xsa, sector 56
SystemACE: Error 1351 when reading sector 62.
end_request: I/O error, dev xsa, sector 56

Command (m for help): p

Disk /dev/xsysace: 512 MB, 512483328 bytes
16 heads, 62 sectors/track, 1009 cylinders
Units = cylinders of 992 * 512 = 507904 bytes
 Device Boot Start End Blocks Id System
/dev/xsysace1 1 1009 500433 6 FAT16

Command (m for help): q
---
The fdisk enters into xsysace_ioctl function but no commands are 
implemented in the ioctl function and returns an error.

Please help me in this issue and let me know if any other details required.

Thanks
Sudheer


 http://linux.get2knowmore.com


 -Ameet

 sudheer wrote:
 Hello Ameet Patil

 I am looking for linux kernel source 2.6.16 with system ace 
 controller support. I downloaded the linux-2.6.16 and linux-2.6.17-1 
 source from kernel.org but could not find any files related to system 
 ace controller  ( No xilinx_sysace directory in  drivers/block/) .  I 
 have checked penguinppc.org also but could not get it.

 Can you please send to me the link where i could download the 
 linuxppc-2.6.16 source with system ace support.

 Thanks  Regards
 Sudheer

 Ameet Patil wrote:
 Hi Raja,
 I have ported the Xilinx System ACE driver to 2.6 kernel. Find 
 the latest one here:
 http://www.cs.york.ac.uk/rtslab/demos/amos/xupv2pro/patches/linuxppc-2.6.17.1-sysace-1.2.patch
  


 NOTE: this patch wouldn't work if you are using the TEMAC driver. In 
 which case use the -after-TEMAC patch found in the patches folder 
 above.

 Check the following discussions (threads) for more details:
 1. Xilinx SystemACE driver for 2.6
 2. Xilinx BSP for linux 2.6
 3. Kernel hangs after Now booting the kernel.

 cheers,
 -Ameet

 Raja Chidambaram wrote:
  
  Hi all,
  We are working on customized board with amcc 440SPe
 processor  xilinx System Ace controller. The System
 Ace controller is connected to compact flash driver.

 We use u-boot 1.2 as bootloader  linux kernel
 2.6.16-2.

 On the process the u-boot is able to detect compact
 flash through Xilinx SystemAce controller  able to
 load the kernel image into compact flash.But when the
 linux boot's up it not able to detect the System Ace
 controller or compact flash.

 Note:we need to have the root file system in compact
 flash.

 Is their any drivers available for SystemAce
 controller on linux 2.6,if their how to get it.please
 help me in this
 with regards
  raja



 __
 Do You Yahoo!?
 Tired of spam?  Yahoo! Mail has the best spam protection around 
 http://mail.yahoo.com ___
 Linuxppc-embedded mailing list
 Linuxppc-embedded at ozlabs.org
 https://ozlabs.org/mailman/listinfo/linuxppc-embedded

 
 ___
 Linuxppc-embedded mailing list
 Linuxppc-embedded at ozlabs.org
 https://ozlabs.org/mailman/listinfo/linuxppc-embedded

   





MPC8360E USB Host Controller Driver

2006-09-07 Thread Li Yang-r58472

 i have a MPC8347E running with the Freescale E(F)HCI driver 
 and Kernel 2.6.17 (Freescale LTIB).
 
 Because of this mail, i checked, if there are any periodical 
 interrupts, without real USB payload.
 
 The result is: NO
 
 If i attach a USB-mouse, i get 5 interrupts.
 If i remove it again, 1 additional.
 
 Nothing else, silence !
 
 USB works well with USB 1.1 and 2.0 devices (This was not the 
 case with earlier Kernels, e.g. 2.6.13, because for the 
 switching between 1.1 and 2.0 you need a transaction 
 translator driver).

MPC834x USB is very different from the USB of CPM/QE.  It is an
integrated EHCI controller.

- Leo



MPC8360E USB Host Controller Driver

2006-09-07 Thread Li Yang
On 9/7/06, Laurent Pinchart laurent.pinchart at tbox.biz wrote:
  I am working in MPC8360E processor board. I want the
   PowerQUICC II's Pro  USB Host controller Driver. In the
   manual, they told that this controller does not belong to
   UHCI or OHCI standard.
 
  Yes, you can call it FHCI if you like. :)
 
 I have doubt that whether Freescale has its own USB standard.
 
  The interface is stated clearly in the UM.
 
 Please give the link or patch for that driver.
 
  There is an 8360 host driver in Freescale LTIB BSP.  Please find it on
  www.freescale.com, if it has been released.

 Could you give a direct link ? I've been browsing around the Freescale website
 for an hour, downloaded hundreds of megabytes of archives but haven't been
 able to find the MPC8360E USB Linux driver.

You can bookmark this link:
http://www.freescale.com/webapp/sps/site/overview.jsp?nodeId=0127268688033202A5

- Leo



uCLinux for PPC: Bug in autoconf.h creation

2006-09-07 Thread Aidan Williams

I would suspect CRLF issues..

Try running dos2unix on your
  arch/ppc/platforms/xilinx_auto/auto-config.in
and then defaulting all your settings with make menuconfig to regenerate your 
kernel .config and config headers.

- aidan


Simon Jung wrote:
 I am trying to build a uCLinux Distribution for PowerPC following the 
 instructions on
 
 http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux/uclinux_powerpc/ 
 http://www.itee.uq.edu.au/%7Ejwilliams/mblaze-uclinux/uclinux_powerpc/
 
 make menuconfig works well  but the created file 
 /linuxppx-2.4.x/include/linux/autoconf.h has errors:
 
 The created #defines for integer and string types are mistyped the 
 closing bracket / quote is written into a newline.
 Example:
 
 #define CONFIG_XILINX_PPC405_0_DISABLE_OPERAND_FORWARDING (1
 )
 #define CONFIG_XILINX_PPC405_0_DETERMINISTIMULT (0
 )
 #define CONFIG_XILINX_PPC405_0_MMU_ENABLE (1
 )
 #define CONFIG_XILINX_PPC405_0_DCR_RESYNC (0
 )
 #define CONFIG_XILINX_PPC405_0_INSTANCE ppc405_0
 
 #define CONFIG_XILINX_PPC405_0_HW_VER 2.00.c
 
 #define CONFIG_XILINX_ON1_DMA_MASTER_0_INSTANCE on1_dma_master_PPC
 
 
 How can I correct the generation of  autoconf.h ?
 
 Greetings,
 Simon Jung
 ___
 Linuxppc-embedded mailing list
 Linuxppc-embedded at ozlabs.org
 https://ozlabs.org/mailman/listinfo/linuxppc-embedded




Wireless Linux(802.11) for Embedded PowerPC

2006-09-07 Thread John W. Linville
On Thu, Sep 07, 2006 at 09:23:08AM +0800, Chun Chung Lo wrote:

 Also I cannot see any drivers existing in the upstream kernel are really
 support the Intersil Prism 2 WLAN cards (my card is differ from those
 Orinoco cards and Hermes cards, also the drivers are also differ a lot).

I think you may be mistaken.  The orinoco drivers in the upstream
kernel seem to support all the same device IDs as are supported
in the linux-wlan code.  If your card is missing, it is likely a
simple matter of a missing device ID.  But, major code changes are
probably not necessary.  (USB-based devices may be an exceptionsee
http://www.nongnu.org/orinoco/ for experimental support.)
 
 If you are going to use Intersil Prism 2 cards/chips, I would suggest
 you to use the linux-wlan driver (but seems this driver does not support
 AP mode yet...)

Please don't encourage people to patronize dead projects when the
upstream kernel should work for them.

Thanks,

John
-- 
John W. Linville
linville at tuxdriver.com



What is this flat device tree

2006-09-07 Thread Alex Zeffertt
Can anybody explain to me what the flat device tree is?  The phrase comes up 
often but I can't find a definition for it anywhere on the web.

TIA,

Alex



What is this flat device tree

2006-09-07 Thread Josh Boyer
On Thu, 2006-09-07 at 15:36 +0100, Alex Zeffertt wrote:
 Can anybody explain to me what the flat device tree is?  The phrase comes 
 up 
 often but I can't find a definition for it anywhere on the web.

See Documentation/powerpc/booting-without-of.txt in the kernel tree.

It's basically a representation of an Open Firmware device tree that has
been flattened and given to the kernel when it boots.  For platforms
without Open Firmware, it needs to be constructed by the boot loader, or
using the Device Tree Compiler (DTC).

josh