<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7653.27">
<TITLE>R: Installation on a MPC5200 based custom board</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->
<P><FONT SIZE=2>Regarding Angelo's post, is related to:<BR>
<BR>
http://www.mail-archive.com/linuxppc-dev@ozlabs.org/msg21109.html:<BR>
(USB on ARCH=PPC works on ARCH=powerpc does not).<BR>
<BR>
and<BR>
<BR>
<A HREF="http://www.nabble.com/USB-on-lite5200-does-not-work.-td20601948.html">http://www.nabble.com/USB-on-lite5200-does-not-work.-td20601948.html</A><BR>
(my previous post)<BR>
<BR>
Some NEWS:<BR>
<BR>
we are using now a more recent kernel:<BR>
<BR>
Linux-2.6.26<BR>
<BR>
On our HW:<BR>
port_config = 0x0C712E66;<BR>
<BR>
difference between lite5200b.dts and that one for our HW:<BR>
========================================================<BR>
...<BR>
memory {<BR>
device_type = "memory";<BR>
reg = <0x00000000 0x08000000>; // 128MB<BR>
};<BR>
...<BR>
// rtc@800 { // Real time clock<BR>
// compatible = "fsl,mpc5200b-rtc","fsl,mpc5200-rtc";<BR>
// device_type = "rtc";<BR>
// reg = <0x800 0x100>;<BR>
// interrupts = <1 5 0 1 6 0>;<BR>
// interrupt-parent = <&mpc5200_pic>;<BR>
// };<BR>
...<BR>
// PSC4 in uart mode example<BR>
serial@2600 { // PSC4<BR>
device_type = "serial";<BR>
compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart";<BR>
cell-index = <3>;<BR>
port-number = <3>;<BR>
reg = <0x2600 0x100>;<BR>
interrupts = <2 11 0>;<BR>
interrupt-parent = <&mpc5200_pic>;<BR>
};<BR>
...<BR>
// ethernet@3000 {<BR>
// device_type = "network";<BR>
// compatible = "fsl,mpc5200b-fec","fsl,mpc5200-fec";<BR>
// reg = <0x3000 0x400>;<BR>
// local-mac-address = [ 00 00 00 00 00 00 ];<BR>
// interrupts = <2 5 0>;<BR>
// interrupt-parent = <&mpc5200_pic>;<BR>
// phy-handle = <&phy0>;<BR>
// };<BR>
...<BR>
// chosen {<BR>
// linux,stdout-path = "/soc5200@f0000000/serial@2600";<BR>
// };<BR>
========================================================<BR>
<BR>
<BR>
We have got in any case the same problem:<BR>
<BR>
some logs:<BR>
<BR>
========================================================<BR>
U-Boot 1.2.0-RadioNav (Nov 27 2008 - 12:04:20)<BR>
<BR>
CPU: MPC5200 v2.2, Core v1.4 at 396 MHz<BR>
Bus 132 MHz, IPB 66 MHz, PCI 33 MHz<BR>
Board: MMSE Samoa<BR>
DRAM: 128 MB<BR>
FLASH: 16 MB<BR>
*** Warning - bad CRC, using default environment<BR>
<BR>
PCI: Bus Dev VenId DevId Class Int<BR>
00 18 1172 0004 ff00 00<BR>
00 1a 1057 5809 0680 00<BR>
Bus 132 MHz, IPB 66 MHz, PCI 33 MHz<BR>
Loading FPGA Device 0... OK? ... ** fpga_done_fn *******************.<BR>
attesa della configurazione<BR>
OK<BR>
Configuration of FPGA done.<BR>
In: serial<BR>
Out: serial<BR>
Err: serial<BR>
Net: No ethernet found.<BR>
Hit any key to stop autoboot: 0<BR>
## Booting image at 00060000 ...<BR>
Image Name: Linux-2.6.26<BR>
Created: 2008-12-05 10:06:22 UTC<BR>
Image Type: PowerPC Linux Kernel Image (gzip compressed)<BR>
Data Size: 1992454 Bytes = 1.9 MB<BR>
Load Address: f8000000<BR>
Entry Point: f8000000<BR>
Verifying Checksum ... OK<BR>
Uncompressing Kernel Image ... OK<BR>
Case type_kernel<BR>
Case OS_linux<BR>
## Current stack ends at 0xFFF106F8 => set upper limit to 0xF8800000<BR>
## Loading RAMDisk Image at 00600000 ...<BR>
Image Name: RamDisk Image RadioNav<BR>
Created: 2007-12-14 16:18:56 UTC<BR>
Image Type: PowerPC Linux RAMDisk Image (gzip compressed)<BR>
Data Size: 924658 Bytes = 903 kB<BR>
Load Address: 00000000<BR>
Entry Point: 00000000<BR>
Verifying Checksum ... OK<BR>
Booting using flat device tree at 0xfe0000<BR>
Loading Ramdisk to ffe2e000, end fff0fbf2 ... OK<BR>
Loading Device Tree to ffe2a000, end ffe2b511 ... [ 0.000000] Using lite5200 machine description<BR>
[ 0.000000] Linux version 2.6.26 (root@casanova-laptop) (gcc version 4.2.2) #2 Fri Dec 5 11:06:14 CET 2008<BR>
[ 0.000000] Found initrd at 0xc7e2e000:0xc7f0fbf2<BR>
[ 0.000000] Entering add_active_range(0, 0, 32768) 0 entries of 256 used<BR>
[ 0.000000] PCI host bridge /pci@f0000d00 (primary) ranges:<BR>
[ 0.000000] MEM 0x0000000080000000..0x000000009fffffff -> 0x0000000080000000 Prefetch<BR>
[ 0.000000] MEM 0x00000000a0000000..0x00000000afffffff -> 0x00000000a0000000<BR>
[ 0.000000] IO 0x00000000b0000000..0x00000000b0ffffff -> 0x0000000000000000<BR>
[ 0.000000] Top of RAM: 0x8000000, Total RAM: 0x8000000<BR>
[ 0.000000] Memory hole size: 0MB<BR>
[ 0.000000] Zone PFN ranges:<BR>
[ 0.000000] DMA 0 -> 32768<BR>
[ 0.000000] Normal 32768 -> 32768<BR>
[ 0.000000] Movable zone start PFN for each node<BR>
[ 0.000000] early_node_map[1] active PFN ranges<BR>
[ 0.000000] 0: 0 -> 32768<BR>
[ 0.000000] On node 0 totalpages: 32768<BR>
[ 0.000000] DMA zone: 256 pages used for memmap<BR>
[ 0.000000] DMA zone: 0 pages reserved<BR>
[ 0.000000] DMA zone: 32512 pages, LIFO batch:7<BR>
[ 0.000000] Normal zone: 0 pages used for memmap<BR>
[ 0.000000] Movable zone: 0 pages used for memmap<BR>
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 32512<BR>
[ 0.000000] Kernel command line: debug console=ttyPSC3,115200 root=/dev/ram<BR>
[ 0.000000] MPC52xx PIC is up and running!<BR>
[ 0.000000] PID hash table entries: 512 (order: 9, 2048 bytes)<BR>
[ 0.000000] time_init: decrementer frequency = 33.000000 MHz<BR>
[ 0.000000] time_init: processor frequency = 396.000000 MHz<BR>
[ 0.000013] clocksource: timebase mult[79364d9] shift[22] registered<BR>
[ 0.000035] clockevent: decrementer mult[872] shift[16] cpu[0]<BR>
[ 0.000098] /soc5200@f0000000/serial@2600 assigned to ttyPSC3<BR>
[ 0.000120] mpc52xx_console_setup co=c03e2624, co->index=3, options=115200<BR>
[ 0.000137] Console on ttyPSC3 is /soc5200@f0000000/serial@2600<BR>
[ 0.000249] mpc52xx-psc uart at f0002600, mapped to fcff7600, irq=8b, freq=33000000<BR>
[ 0.000273] Setting console parameters: 115200 8n1 flow=n<BR>
[ 0.000298] console [ttyPSC3] enabled<BR>
[ 0.200954] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)<BR>
[ 0.209036] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)<BR>
[ 0.231866] Memory: 124628k/131072k available (3908k kernel code, 6280k reserved, 120k data, 141k bss, 184k init)<BR>
[ 0.242534] SLUB: Genslabs=12, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1<BR>
[ 0.250420] Calibrating delay loop... 65.79 BogoMIPS (lpj=131584)<BR>
[ 0.345394] Mount-cache hash table entries: 512<BR>
[ 0.354135] net_namespace: 192 bytes<BR>
[ 0.358525] NET: Registered protocol family 16<BR>
[ 0.381643] PCI: Probing PCI hardware<BR>
[ 0.385961] PCI: Scanning bus 0000:00<BR>
[ 0.389924] PCI: Found 0000:00:18.0 [1172/0004] 00ff00 00<BR>
[ 0.395529] pci 0000:00:18.0: calling pcibios_fixup_resources+0x0/0xe4<BR>
[ 0.402307] PCI: Found 0000:00:1a.0 [1057/5809] 000680 00<BR>
[ 0.407898] pci 0000:00:1a.0: calling fixup_hide_host_resource_fsl+0x0/0x60<BR>
[ 0.415064] pci 0000:00:1a.0: calling pcibios_fixup_resources+0x0/0xe4<BR>
[ 0.421791] PCI: Fixups for bus 0000:00<BR>
[ 0.425840] PCI: Bus scan for 0000:00 returning with max=00<BR>
[ 0.432679] got res [80000000:83ffffff] bus [80000000:83ffffff] flags 20021208 for BAR 1 of 0000:00:18.0<BR>
[ 0.442609] PCI: moved device 0000:00:18.0 resource 1 (21208) to 80000000<BR>
[ 0.449639] got res [a0000000:a003ffff] bus [a0000000:a003ffff] flags 20020200 for BAR 0 of 0000:00:1a.0<BR>
[ 0.459543] PCI: moved device 0000:00:1a.0 resource 0 (20200) to a0000000<BR>
[ 0.466517] got res [a0040000:a00407ff] bus [a0040000:a00407ff] flags 20020200 for BAR 0 of 0000:00:18.0<BR>
[ 0.476413] PCI: moved device 0000:00:18.0 resource 0 (20200) to a0040000<BR>
[ 0.483563] DMA: MPC52xx BestComm driver<BR>
[ 0.487913] DMA: MPC52xx BestComm engine @f0001200 ok !<BR>
[ 0.512213] SCSI subsystem initialized<BR>
[ 0.516419] libata version 3.00 loaded.<BR>
[ 0.523098] usbcore: registered new interface driver usbfs<BR>
[ 0.529672] usbcore: registered new interface driver hub<BR>
[ 0.535840] usbcore: registered new device driver usb<BR>
[ 0.553226] Bluetooth: Core ver 2.11<BR>
[ 0.558578] NET: Registered protocol family 31<BR>
[ 0.563176] Bluetooth: HCI device and connection manager initialized<BR>
[ 0.569698] Bluetooth: HCI socket layer initialized<BR>
[ 0.594863] Switched to high resolution mode on CPU 0<BR>
[ 0.602387] NET: Registered protocol family 2<BR>
[ 0.643013] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)<BR>
[ 0.650538] TCP established hash table entries: 4096 (order: 3, 32768 bytes)<BR>
[ 0.658154] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)<BR>
[ 0.664975] TCP: Hash tables configured (established 4096 bind 4096)<BR>
[ 0.671529] TCP reno registered<BR>
[ 0.683128] NET: Registered protocol family 1<BR>
[ 0.688348] Unpacking initramfs... done<BR>
[ 0.945090] Freeing initrd memory: 902k freed<BR>
[ 0.987524] NTFS driver 2.1.29 [Flags: R/W DEBUG].<BR>
[ 0.994230] msgmni has been set to 245<BR>
[ 0.999420] io scheduler noop registered<BR>
[ 1.003521] io scheduler anticipatory registered (default)<BR>
[ 1.009213] io scheduler deadline registered<BR>
[ 1.013868] io scheduler cfq registered<BR>
[ 1.017870] pci 0000:00:18.0: calling quirk_cardbus_legacy+0x0/0x54<BR>
[ 1.024392] pci 0000:00:18.0: calling quirk_usb_early_handoff+0x0/0x4dc<BR>
[ 1.031266] pci 0000:00:1a.0: calling quirk_cardbus_legacy+0x0/0x54<BR>
[ 1.037730] pci 0000:00:1a.0: calling quirk_usb_early_handoff+0x0/0x4dc<BR>
[ 1.044687] pci_hotplug: PCI Hot Plug PCI Core version: 0.5<BR>
[ 1.392845] Serial: MPC52xx PSC UART driver<BR>
[ 1.397453] mpc52xx-psc-uart f0002600.serial: mpc52xx_uart_probe(op=c7843800, match=c03e2314)<BR>
[ 1.406315] Found /soc5200@f0000000/serial@2600 assigned to ttyPSC3<BR>
[ 1.412839] mpc52xx-psc-uart f0002600.serial: mpc52xx-psc uart at f0002600, irq=8b, freq=33000000<BR>
[ 1.421987] f0002600.serial: ttyPSC3 at MMIO 0xf0002600 (irq = 139) is a MPC52xx PSC<BR>
[ 1.440108] loop: module loaded<BR>
[ 1.443499] PPP generic driver version 2.4.2<BR>
[ 1.449263] Driver 'sd' needs updating - please use bus_type methods<BR>
[ 1.547816] scsi0 : scsi_debug, version 1.81 [20070104], dev_size_mb=8, opts=0x0<BR>
[ 1.556926] scsi 0:0:0:0: Direct-Access Linux scsi_debug 0004 PQ: 0 ANSI: 5<BR>
[ 1.566982] sd 0:0:0:0: [sda] 16384 512-byte hardware sectors (8 MB)<BR>
[ 1.574957] sd 0:0:0:0: [sda] Write Protect is off<BR>
[ 1.579923] sd 0:0:0:0: [sda] Mode Sense: 73 00 10 08<BR>
[ 1.590924] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, supports DPO and FUA<BR>
[ 1.602938] sd 0:0:0:0: [sda] 16384 512-byte hardware sectors (8 MB)<BR>
[ 1.610920] sd 0:0:0:0: [sda] Write Protect is off<BR>
[ 1.615881] sd 0:0:0:0: [sda] Mode Sense: 73 00 10 08<BR>
[ 1.626922] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, supports DPO and FUA<BR>
[ 1.635698] sda: unknown partition table<BR>
[ 1.642424] sd 0:0:0:0: [sda] Attached SCSI disk<BR>
[ 1.648990] ohci_hcd: 2006 August 04 USB 1.1 'Open' Host Controller (OHCI) Driver<BR>
[ 1.656713] ohci_hcd: block sizes: ed 64 td 64<BR>
[ 1.662000] ppc-of-ohci f0001000.usb: initializing PPC-OF USB Controller<BR>
[ 1.669050] ppc-of-ohci f0001000.usb: OF OHCI<BR>
[ 1.674182] drivers/usb/core/inode.c: creating file 'devices'<BR>
[ 1.680166] drivers/usb/core/inode.c: creating file '001'<BR>
[ 1.686414] ppc-of-ohci f0001000.usb: new USB bus registered, assigned bus number 1<BR>
[ 1.694376] ppc-of-ohci f0001000.usb: irq 134, io mem 0xf0001000<BR>
[ 1.700673] ppc-of-ohci f0001000.usb: created debug files<BR>
[ 1.762868] ppc-of-ohci f0001000.usb: OHCI controller state<BR>
[ 1.768611] ppc-of-ohci f0001000.usb: OHCI 1.0, NO legacy support registers<BR>
[ 1.775772] ppc-of-ohci f0001000.usb: control 0x083 HCFS=operational CBSR=3<BR>
[ 1.782929] ppc-of-ohci f0001000.usb: cmdstatus 0x00000 SOC=0<BR>
[ 1.788844] ppc-of-ohci f0001000.usb: intrstatus 0x00000004 SF<BR>
[ 1.794854] ppc-of-ohci f0001000.usb: intrenable 0x8000005a MIE RHSC UE RD WDH<BR>
[ 1.802277] ppc-of-ohci f0001000.usb: hcca frame #0000<BR>
[ 1.807579] ppc-of-ohci f0001000.usb: roothub.a 02001202 POTPGT=2 NOCP NPS NDP=2(2)<BR>
[ 1.815443] ppc-of-ohci f0001000.usb: roothub.b 00000000 PPCM=0000 DR=0000<BR>
[ 1.822509] ppc-of-ohci f0001000.usb: roothub.status 00008000 DRWE<BR>
[ 1.828873] ppc-of-ohci f0001000.usb: roothub.portstatus [0] 0x00000100 PPS<BR>
[ 1.836032] ppc-of-ohci f0001000.usb: roothub.portstatus [1] 0x00000100 PPS<BR>
[ 1.843265] usb usb1: default language 0x0409<BR>
[ 1.848118] usb usb1: uevent<BR>
[ 1.851577] usb usb1: usb_probe_device<BR>
[ 1.855489] usb usb1: configuration #1 chosen from 1 choice<BR>
[ 1.861274] usb usb1: adding 1-0:1.0 (config #1, interface 0)<BR>
[ 1.867352] usb 1-0:1.0: uevent<BR>
[ 1.871058] hub 1-0:1.0: usb_probe_interface<BR>
[ 1.875517] hub 1-0:1.0: usb_probe_interface - got id<BR>
[ 1.880728] hub 1-0:1.0: USB hub found<BR>
[ 1.884680] hub 1-0:1.0: 2 ports detected<BR>
[ 1.888819] hub 1-0:1.0: standalone hub<BR>
[ 1.892765] hub 1-0:1.0: ganged power switching<BR>
[ 1.897418] hub 1-0:1.0: global over-current protection<BR>
[ 1.902780] hub 1-0:1.0: power on to power good time: 4ms<BR>
[ 1.908350] hub 1-0:1.0: local power source is good<BR>
[ 1.913373] hub 1-0:1.0: no over-current condition exists<BR>
[ 1.918916] hub 1-0:1.0: enabling power on all ports<BR>
[ 2.027349] hub 1-0:1.0: state 7 ports 2 chg 0000 evt 0000<BR>
[ 2.034176] drivers/usb/core/inode.c: creating file '001'<BR>
[ 2.040541] usb usb1: New USB device found, idVendor=1d6b, idProduct=0001<BR>
[ 2.047577] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1<BR>
[ 2.055002] usb usb1: Product: OF OHCI<BR>
[ 2.058874] usb usb1: Manufacturer: Linux 2.6.26 ohci_hcd<BR>
[ 2.064430] usb usb1: SerialNumber: PPC-OF USB<BR>
[ 2.070505] usbcore: registered new interface driver cdc_acm<BR>
[ 2.076390] cdc_acm: v0.26:USB Abstract Control Model driver for USB modems and ISDN adapters<BR>
[ 2.085186] Initializing USB Mass Storage driver...<BR>
[ 2.090715] usbcore: registered new interface driver usb-storage<BR>
[ 2.096995] USB Mass Storage support registered.<BR>
[ 2.102944] usbcore: registered new interface driver usbserial<BR>
[ 2.109455] usbserial: USB Serial support registered for generic<BR>
[ 2.116195] usbcore: registered new interface driver usbserial_generic<BR>
[ 2.122969] usbserial: USB Serial Driver core<BR>
[ 2.127935] usbserial: USB Serial support registered for pl2303<BR>
[ 2.134547] usbcore: registered new interface driver pl2303<BR>
[ 2.140344] pl2303: Prolific PL2303 USB to serial adaptor driver<BR>
[ 2.147630] mice: PS/2 mouse device common for all mice<BR>
[ 2.156991] i2c /dev entries driver<BR>
[ 2.164982] usbcore: registered new interface driver usbhid<BR>
[ 2.170774] usbhid: v2.6:USB HID core driver<BR>
[ 2.175851] Advanced Linux Sound Architecture Driver Version 1.0.16.<BR>
[ 2.184703] ALSA device list:<BR>
[ 2.187808] No soundcards found.<BR>
[ 2.192578] TCP cubic registered<BR>
[ 2.195967] NET: Registered protocol family 17<BR>
[ 2.200655] Bluetooth: L2CAP ver 2.9<BR>
[ 2.204371] Bluetooth: L2CAP socket layer initialized<BR>
[ 2.209593] Bluetooth: SCO (Voice Link) ver 0.5<BR>
[ 2.214269] Bluetooth: SCO socket layer initialized<BR>
[ 2.219496] Bluetooth: RFCOMM socket layer initialized<BR>
[ 2.224887] Bluetooth: RFCOMM TTY layer initialized<BR>
[ 2.229951] Bluetooth: RFCOMM ver 1.8<BR>
[ 2.233743] Bluetooth: BNEP (Ethernet Emulation) ver 1.2<BR>
[ 2.241047] Freeing unused kernel memory: 184k init<BR>
mknod: /dev/loop0: File exists<BR>
mknod: /dev/sda1: File exists<BR>
mknod: /dev/sda2: File exists<BR>
*** SLEEP<BR>
*** Try mounting REALROOT from rootfs.ext3 in /dev/sda1(vfat)<BR>
mount: mounting /dev/sda1 on /media/sda1 failed<BR>
*** Try mounting REALROOT from /dev/sda2(ext3)<BR>
mount: mounting /dev/sda2 on /media/realroot failed<BR>
*** Try mounting REALROOT /dev/mtdblock4(jffs2)<BR>
mount: mounting /dev/mtdblock4 on /media/realroot failed<BR>
*** Cannot find real rootfs - dropping to a shell<BR>
/bin/sh: can't access tty; job control turned off<BR>
root@RadioNav: ~ #<BR>
root@RadioNav: ~ #<BR>
root@RadioNav: ~ #<BR>
<BR>
========================================================<BR>
<BR>
Now plugging-in USB:<BR>
<BR>
========================================================<BR>
<BR>
root@RadioNav: ~ #[ 17.228078] hub 1-0:1.0: state 7 ports 2 chg 0000 evt 0004<BR>
root@RadioNav: ~ #[ 17.233798] ppc-of-ohci f0001000.usb: GetStatus roothub.portstatus [1] = 0x00010101 CSC PPS CCS<BR>
root@RadioNav: ~ #[ 17.242776] hub 1-0:1.0: port 2, status 0101, change 0001, 12 Mb/s<BR>
root@RadioNav: ~ #[ 17.374796] hub 1-0:1.0: debounce: port 2: total 100ms stable 100ms status 0x101<BR>
root@RadioNav: ~ #[ 17.450780] ppc-of-ohci f0001000.usb: GetStatus roothub.portstatus [1] = 0x00100103 PRSC PPS PES CCS<BR>
root@RadioNav: ~ #[ 17.514787] usb 1-2: new full speed USB device using ppc-of-ohci and address 2<BR>
root@RadioNav: ~ #[ 24.027842] usb 1-2: khubd timed out on ep0in len=0/64<BR>
root@RadioNav: ~ #[ 29.199841] usb 1-2: khubd timed out on ep0in len=0/64<BR>
root@RadioNav: ~ #[ 34.307841] usb 1-2: khubd timed out on ep0in len=0/64<BR>
root@RadioNav: ~ #[ 34.382786] ppc-of-ohci f0001000.usb: GetStatus roothub.portstatus [1] = 0x00100103 PRSC PPS PES CCS<BR>
root@RadioNav: ~ #[ 34.446789] usb 1-2: device descriptor read/64, error -110<BR>
root@RadioNav: ~ #<BR>
root@RadioNav: ~ #cat /proc/interrupts<BR>
CPU0<BR>
134: 5689 MPC52xx Peripherals Edge ohci_hcd:usb1<BR>
139: 207 MPC52xx Peripherals Edge mpc52xx_psc_uart<BR>
143: 0 MPC52xx Peripherals Edge i2c-mpc<BR>
144: 0 MPC52xx Peripherals Edge i2c-mpc<BR>
BAD: 0<BR>
root@RadioNav: ~ #<BR>
<BR>
========================================================<BR>
<BR>
we were thinking to some problem like:<BR>
<BR>
<A HREF="http://www.nabble.com/USB-support-on-mpc5200-broken-td19658810.html">http://www.nabble.com/USB-support-on-mpc5200-broken-td19658810.html</A><BR>
<BR>
or<BR>
<BR>
<A HREF="http://www.nabble.com/MPC5200-PCI-interrupt-routing-p19608472.html">http://www.nabble.com/MPC5200-PCI-interrupt-routing-p19608472.html</A><BR>
<BR>
We are also thinking about the fact that from .config for PPC we have:<BR>
========================================================<BR>
PCI support (PCI) [Y/n/?] (NEW) n<BR>
Freescale MPC52xx SoC internal IDE (PATA_MPC52xx) [N/m/y/?] (NEW) n<BR>
Freescale MPC52xx family PSC serial support (SERIAL_MPC52xx) [N/m/y/?] (NEW) y<BR>
Console on a Freescale MPC52xx family PSC serial port (SERIAL_MPC52xx_CONSOLE) [N/y/?] (NEW) y<BR>
Freescale MPC52xx family PSC serial port baud (SERIAL_MPC52xx_CONSOLE_BAUD) [9600] (NEW) 9600<BR>
OHCI support for on-chip PPC USB controller (USB_OHCI_HCD_PPC_SOC) [Y/n/?] (NEW) y<BR>
OHCI support for PCI-bus USB controllers (USB_OHCI_HCD_PCI) [Y/n/?] (NEW) y<BR>
Include xmon kernel debugger (XMON) [N/y/?] (NEW) n<BR>
Support for early boot texts over serial port (SERIAL_TEXT_DEBUG) [N/y] (NEW) y<BR>
========================================================<BR>
<BR>
and for PowerPC we have PCI support on .config and on *.dts but with any PCI modification respects node on lite5200.dts (some interrupt ?)<BR>
<BR>
Have you got any ideas?<BR>
<BR>
Thanks a lot J<BR>
<BR>
-----Messaggio originale-----<BR>
Da: linuxppc-dev-bounces+gianfranco.casanova=alice.it@ozlabs.org per conto di Gary Thomas<BR>
Inviato: ven 05/12/2008 13.20<BR>
A: s104259@yahoo.it<BR>
Cc: Linuxppc-dev@ozlabs.org<BR>
Oggetto: Re: Installation on a MPC5200 based custom board<BR>
<BR>
Angelo wrote:<BR>
> Hi all.<BR>
><BR>
> I saw that someones trying to work on a custom board based on mpc5200.<BR>
> I have:<BR>
> * u-boot 1.2.0<BR>
> * kernel 2.6.21<BR>
> * arch=powerpc<BR>
> * custom dts based on lite5200b.dts<BR>
> * USB port (USB2) configured on the Ethernet port<BR>
><BR>
> Is it necessary to combine Ethernet and usb nodes?<BR>
> However this is the log when a usb-storage is plugged:<BR>
><BR>
> hub 1-0:1.0: state 7 ports 2 chg 0000 evt 0004<BR>
> ppc-of-ohci f0001000.usb: GetStatus roothub.portstatus [1] = 0x00010101<BR>
> CSC PPS CCS<BR>
> hub 1-0:1.0: port 2, status 0101, change 0001, 12 Mb/s<BR>
> hub 1-0:1.0: debounce: port 2: total 100ms stable 100ms status 0x101<BR>
> ppc-of-ohci f0001000.usb: GetStatus roothub.portstatus [1] = 0x00100103<BR>
> PRSC PPS PES CCS<BR>
> usb 1-2: new full speed USB device using ppc-of-ohci and address 2<BR>
> BUG: soft lockup detected on CPU#0!<BR>
> Call Trace:<BR>
> [C7E05A50] [C0007FD8] show_stack+0x3c/0x194 (unreliable)<BR>
> [C7E05A80] [C004A380] softlockup_tick+0xa4/0xd4<BR>
> [C7E05AA0] [C002B998] run_local_timers+0x18/0x28<BR>
> [C7E05AB0] [C002B9D8] update_process_times+0x30/0x7c<BR>
> [C7E05AC0] [C003FF3C] tick_sched_timer+0xb0/0x280<BR>
> [C7E05B20] [C003C538] hrtimer_interrupt+0x214/0x26c<BR>
> [C7E05B80] [C000E744] timer_interrupt+0x88/0x354<BR>
> [C7E05BF0] [C0011C04] ret_from_except+0x0/0x14<BR>
> --- Exception: 901 at handle_IRQ_event+0x7c/0x1e8<BR>
> LR = handle_level_irq+0x90/0x13c<BR>
> [C7E05CB0] [C7F15C00] 0xc7f15c00 (unreliable)<BR>
> [C7E05CD0] [C004C2E0] handle_level_irq+0x90/0x13c<BR>
> [C7E05CE0] [C0006304] do_IRQ+0x98/0xbc<BR>
> [C7E05CF0] [C0011C04] ret_from_except+0x0/0x14<BR>
> --- Exception: 501 at schedule+0x38/0x64c<BR>
> LR = schedule_timeout+0x68/0xe4<BR>
> [C7E05DB0] [C01A1650] usb_hcd_submit_urb+0x190/0x8a0 (unreliable)<BR>
> [C7E05E00] [C02389A4] schedule_timeout+0x68/0xe4<BR>
> [C7E05E40] [C0238378] wait_for_completion_timeout+0x8c/0x138<BR>
> [C7E05E80] [C01A2B60] usb_start_wait_urb+0x64/0x124<BR>
> [C7E05EB0] [C01A2E1C] usb_control_msg+0xc4/0xf0<BR>
> [C7E05EF0] [C019D0D0] hub_port_init+0x424/0x614<BR>
> [C7E05F40] [C019F42C] hub_thread+0x434/0xe64<BR>
> [C7E05FC0] [C0037E60] kthread+0xc0/0xfc<BR>
> [C7E05FF0] [C00123F8] original_kernel_thread+0x44/0x60<BR>
> ppc-of-ohci f0001000.usb: OHCI Unrecoverable Error, disabled<BR>
> ppc-of-ohci f0001000.usb: OHCI controller state<BR>
> ppc-of-ohci f0001000.usb: OHCI 1.0, NO legacy support registers<BR>
> ppc-of-ohci f0001000.usb: control 0x093 HCFS=operational CLE CBSR=3<BR>
> ppc-of-ohci f0001000.usb: cmdstatus 0x00000 SOC=0<BR>
> ppc-of-ohci f0001000.usb: intrstatus 0x00000074 RHSC FNO UE SF<BR>
> ppc-of-ohci f0001000.usb: intrenable 0x8000001a MIE UE RD WDH<BR>
> ppc-of-ohci f0001000.usb: ed_controlhead 07fcc000<BR>
> ppc-of-ohci f0001000.usb: ed_controlcurrent fffffff0<BR>
> ppc-of-ohci f0001000.usb: hcca frame #ddb6<BR>
> ppc-of-ohci f0001000.usb: roothub.a 02001202 POTPGT=2 NOCP NPS NDP=2(2)<BR>
> ppc-of-ohci f0001000.usb: roothub.b 00000000 PPCM=0000 DR=0000<BR>
> ppc-of-ohci f0001000.usb: roothub.status 00008000 DRWE<BR>
> ppc-of-ohci f0001000.usb: roothub.portstatus [0] 0x00000100 PPS<BR>
> ppc-of-ohci f0001000.usb: roothub.portstatus [1] 0x00030100 PESC CSC PPS<BR>
> ppc-of-ohci f0001000.usb: HC died; cleaning up<BR>
> irq 134: nobody cared (try booting with the "irqpoll" option)<BR>
> Call Trace:<BR>
> [C046FDF0] [C0007FD8] show_stack+0x3c/0x194 (unreliable)<BR>
> [C046FE20] [C004B358] __report_bad_irq+0x34/0xac<BR>
> [C046FE40] [C004B4AC] note_interrupt+0xdc/0x288<BR>
> [C046FE70] [C004C344] handle_level_irq+0xf4/0x13c<BR>
> [C046FE80] [C0006304] do_IRQ+0x98/0xbc<BR>
> [C046FE90] [C0011C04] ret_from_except+0x0/0x14<BR>
> --- Exception: 501 at schedule+0x304/0x64c<BR>
> LR = schedule+0x2d8/0x64c<BR>
> [C046FFA0] [C004A2B4] watchdog+0x4c/0x74<BR>
> [C046FFC0] [C0037E60] kthread+0xc0/0xfc<BR>
> [C046FFF0] [C00123F8] original_kernel_thread+0x44/0x60<BR>
> handlers:<BR>
> [<c01a1008>] (usb_hcd_irq+0x0/0x9c)<BR>
> Disabling IRQ #134<BR>
> usb 1-2: khubd timed out on ep0in len=0/64<BR>
> hub 1-0:1.0: cannot reset port 2 (err = -19)<BR>
> hub 1-0:1.0: cannot disable port 2 (err = -19)<BR>
> ppc-of-ohci f0001000.usb: leak ed c7fcc000 (#00) state 0 (has tds)<BR>
> hub 1-0:1.0: cannot reset port 2 (err = -19)<BR>
> hub 1-0:1.0: cannot disable port 2 (err = -19)<BR>
> hub 1-0:1.0: cannot reset port 2 (err = -19)<BR>
> hub 1-0:1.0: cannot disable port 2 (err = -19)<BR>
> hub 1-0:1.0: cannot reset port 2 (err = -19)<BR>
> hub 1-0:1.0: cannot disable port 2 (err = -19)<BR>
> hub 1-0:1.0: cannot disable port 2 (err = -19)<BR>
> hub 1-0:1.0: state 0 ports 2 chg 0000 evt 0004<BR>
><BR>
> Please mail me any idea...<BR>
<BR>
Update to the latest kernel (2.6.27+) - there has been lots<BR>
of work on the MPC5200 in the past three years (that's how<BR>
old 2.6.21 is!)<BR>
<BR>
--<BR>
------------------------------------------------------------<BR>
Gary Thomas | Consulting for the<BR>
MLB Associates | Embedded world<BR>
------------------------------------------------------------<BR>
_______________________________________________<BR>
Linuxppc-dev mailing list<BR>
Linuxppc-dev@ozlabs.org<BR>
<A HREF="https://ozlabs.org/mailman/listinfo/linuxppc-dev">https://ozlabs.org/mailman/listinfo/linuxppc-dev</A><BR>
<BR>
</FONT>
</P>
</BODY>
</HTML>