R: Installation on a MPC5200 based custom board

gianfranco.casanova
2008-12-05T13:00:41Z

[-- Attachment #1: Type: text/plain, Size: 23689 bytes --]

Regarding Angelo's post, is related to:

http://www.mail-archive.com/linuxppc-dev@ozlabs.org/msg21109.html:
(USB on ARCH=PPC works on ARCH=powerpc does not).

and

http://www.nabble.com/USB-on-lite5200-does-not-work.-td20601948.html
(my previous post)

Some NEWS:

we are using now a more recent kernel:

Linux-2.6.26

On our HW:
port_config = 0x0C712E66;

difference between lite5200b.dts and that one for our HW:
========================================================
...
memory {
device_type = "memory";
reg = <0x00000000 0x08000000>; // 128MB
};
...
// rtc@800 { // Real time clock
// compatible = "fsl,mpc5200b-rtc","fsl,mpc5200-rtc";
// device_type = "rtc";
// reg = <0x800 0x100>;
// interrupts = <1 5 0 1 6 0>;
// interrupt-parent = <&mpc5200_pic>;
// };
...
// PSC4 in uart mode example
serial@2600 { // PSC4
device_type = "serial";
compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart";
cell-index = <3>;
port-number = <3>;
reg = <0x2600 0x100>;
interrupts = <2 11 0>;
interrupt-parent = <&mpc5200_pic>;
};
...
// ethernet@3000 {
// device_type = "network";
// compatible = "fsl,mpc5200b-fec","fsl,mpc5200-fec";
// reg = <0x3000 0x400>;
// local-mac-address = [ 00 00 00 00 00 00 ];
// interrupts = <2 5 0>;
// interrupt-parent = <&mpc5200_pic>;
// phy-handle = <&phy0>;
// };
...
// chosen {
// linux,stdout-path = "/soc5200@f0000000/serial@2600";
// };
========================================================

We have got in any case the same problem:

some logs:

========================================================
U-Boot 1.2.0-RadioNav (Nov 27 2008 - 12:04:20)

CPU: MPC5200 v2.2, Core v1.4 at 396 MHz
Bus 132 MHz, IPB 66 MHz, PCI 33 MHz
Board: MMSE Samoa
DRAM: 128 MB
FLASH: 16 MB
*** Warning - bad CRC, using default environment

PCI: Bus Dev VenId DevId Class Int
00 18 1172 0004 ff00 00
00 1a 1057 5809 0680 00
Bus 132 MHz, IPB 66 MHz, PCI 33 MHz
Loading FPGA Device 0... OK? ... ** fpga_done_fn *******************.
attesa della configurazione
OK
Configuration of FPGA done.
In: serial
Out: serial
Err: serial
Net: No ethernet found.
Hit any key to stop autoboot: 0
## Booting image at 00060000 ...
Image Name: Linux-2.6.26
Created: 2008-12-05 10:06:22 UTC
Image Type: PowerPC Linux Kernel Image (gzip compressed)
Data Size: 1992454 Bytes = 1.9 MB
Load Address: f8000000
Entry Point: f8000000
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
Case type_kernel
Case OS_linux
## Current stack ends at 0xFFF106F8 => set upper limit to 0xF8800000
## Loading RAMDisk Image at 00600000 ...
Image Name: RamDisk Image RadioNav
Created: 2007-12-14 16:18:56 UTC
Image Type: PowerPC Linux RAMDisk Image (gzip compressed)
Data Size: 924658 Bytes = 903 kB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
Booting using flat device tree at 0xfe0000
Loading Ramdisk to ffe2e000, end fff0fbf2 ... OK
Loading Device Tree to ffe2a000, end ffe2b511 ... [ 0.000000] Using lite5200 machine description
[ 0.000000] Linux version 2.6.26 (root@casanova-laptop) (gcc version 4.2.2) #2 Fri Dec 5 11:06:14 CET 2008
[ 0.000000] Found initrd at 0xc7e2e000:0xc7f0fbf2
[ 0.000000] Entering add_active_range(0, 0, 32768) 0 entries of 256 used
[ 0.000000] PCI host bridge /pci@f0000d00 (primary) ranges:
[ 0.000000] MEM 0x0000000080000000..0x000000009fffffff -> 0x0000000080000000 Prefetch
[ 0.000000] MEM 0x00000000a0000000..0x00000000afffffff -> 0x00000000a0000000
[ 0.000000] IO 0x00000000b0000000..0x00000000b0ffffff -> 0x0000000000000000
[ 0.000000] Top of RAM: 0x8000000, Total RAM: 0x8000000
[ 0.000000] Memory hole size: 0MB
[ 0.000000] Zone PFN ranges:
[ 0.000000] DMA 0 -> 32768
[ 0.000000] Normal 32768 -> 32768
[ 0.000000] Movable zone start PFN for each node
[ 0.000000] early_node_map[1] active PFN ranges
[ 0.000000] 0: 0 -> 32768
[ 0.000000] On node 0 totalpages: 32768
[ 0.000000] DMA zone: 256 pages used for memmap
[ 0.000000] DMA zone: 0 pages reserved
[ 0.000000] DMA zone: 32512 pages, LIFO batch:7
[ 0.000000] Normal zone: 0 pages used for memmap
[ 0.000000] Movable zone: 0 pages used for memmap
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 32512
[ 0.000000] Kernel command line: debug console=ttyPSC3,115200 root=/dev/ram
[ 0.000000] MPC52xx PIC is up and running!
[ 0.000000] PID hash table entries: 512 (order: 9, 2048 bytes)
[ 0.000000] time_init: decrementer frequency = 33.000000 MHz
[ 0.000000] time_init: processor frequency = 396.000000 MHz
[ 0.000013] clocksource: timebase mult[79364d9] shift[22] registered
[ 0.000035] clockevent: decrementer mult[872] shift[16] cpu[0]
[ 0.000098] /soc5200@f0000000/serial@2600 assigned to ttyPSC3
[ 0.000120] mpc52xx_console_setup co=c03e2624, co->index=3, options=115200
[ 0.000137] Console on ttyPSC3 is /soc5200@f0000000/serial@2600
[ 0.000249] mpc52xx-psc uart at f0002600, mapped to fcff7600, irq=8b, freq=33000000
[ 0.000273] Setting console parameters: 115200 8n1 flow=n
[ 0.000298] console [ttyPSC3] enabled
[ 0.200954] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
[ 0.209036] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.231866] Memory: 124628k/131072k available (3908k kernel code, 6280k reserved, 120k data, 141k bss, 184k init)
[ 0.242534] SLUB: Genslabs=12, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.250420] Calibrating delay loop... 65.79 BogoMIPS (lpj=131584)
[ 0.345394] Mount-cache hash table entries: 512
[ 0.354135] net_namespace: 192 bytes
[ 0.358525] NET: Registered protocol family 16
[ 0.381643] PCI: Probing PCI hardware
[ 0.385961] PCI: Scanning bus 0000:00
[ 0.389924] PCI: Found 0000:00:18.0 [1172/0004] 00ff00 00
[ 0.395529] pci 0000:00:18.0: calling pcibios_fixup_resources+0x0/0xe4
[ 0.402307] PCI: Found 0000:00:1a.0 [1057/5809] 000680 00
[ 0.407898] pci 0000:00:1a.0: calling fixup_hide_host_resource_fsl+0x0/0x60
[ 0.415064] pci 0000:00:1a.0: calling pcibios_fixup_resources+0x0/0xe4
[ 0.421791] PCI: Fixups for bus 0000:00
[ 0.425840] PCI: Bus scan for 0000:00 returning with max=00
[ 0.432679] got res [80000000:83ffffff] bus [80000000:83ffffff] flags 20021208 for BAR 1 of 0000:00:18.0
[ 0.442609] PCI: moved device 0000:00:18.0 resource 1 (21208) to 80000000
[ 0.449639] got res [a0000000:a003ffff] bus [a0000000:a003ffff] flags 20020200 for BAR 0 of 0000:00:1a.0
[ 0.459543] PCI: moved device 0000:00:1a.0 resource 0 (20200) to a0000000
[ 0.466517] got res [a0040000:a00407ff] bus [a0040000:a00407ff] flags 20020200 for BAR 0 of 0000:00:18.0
[ 0.476413] PCI: moved device 0000:00:18.0 resource 0 (20200) to a0040000
[ 0.483563] DMA: MPC52xx BestComm driver
[ 0.487913] DMA: MPC52xx BestComm engine @f0001200 ok !
[ 0.512213] SCSI subsystem initialized
[ 0.516419] libata version 3.00 loaded.
[ 0.523098] usbcore: registered new interface driver usbfs
[ 0.529672] usbcore: registered new interface driver hub
[ 0.535840] usbcore: registered new device driver usb
[ 0.553226] Bluetooth: Core ver 2.11
[ 0.558578] NET: Registered protocol family 31
[ 0.563176] Bluetooth: HCI device and connection manager initialized
[ 0.569698] Bluetooth: HCI socket layer initialized
[ 0.594863] Switched to high resolution mode on CPU 0
[ 0.602387] NET: Registered protocol family 2
[ 0.643013] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.650538] TCP established hash table entries: 4096 (order: 3, 32768 bytes)
[ 0.658154] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.664975] TCP: Hash tables configured (established 4096 bind 4096)
[ 0.671529] TCP reno registered
[ 0.683128] NET: Registered protocol family 1
[ 0.688348] Unpacking initramfs... done
[ 0.945090] Freeing initrd memory: 902k freed
[ 0.987524] NTFS driver 2.1.29 [Flags: R/W DEBUG].
[ 0.994230] msgmni has been set to 245
[ 0.999420] io scheduler noop registered
[ 1.003521] io scheduler anticipatory registered (default)
[ 1.009213] io scheduler deadline registered
[ 1.013868] io scheduler cfq registered
[ 1.017870] pci 0000:00:18.0: calling quirk_cardbus_legacy+0x0/0x54
[ 1.024392] pci 0000:00:18.0: calling quirk_usb_early_handoff+0x0/0x4dc
[ 1.031266] pci 0000:00:1a.0: calling quirk_cardbus_legacy+0x0/0x54
[ 1.037730] pci 0000:00:1a.0: calling quirk_usb_early_handoff+0x0/0x4dc
[ 1.044687] pci_hotplug: PCI Hot Plug PCI Core version: 0.5
[ 1.392845] Serial: MPC52xx PSC UART driver
[ 1.397453] mpc52xx-psc-uart f0002600.serial: mpc52xx_uart_probe(op=c7843800, match=c03e2314)
[ 1.406315] Found /soc5200@f0000000/serial@2600 assigned to ttyPSC3
[ 1.412839] mpc52xx-psc-uart f0002600.serial: mpc52xx-psc uart at f0002600, irq=8b, freq=33000000
[ 1.421987] f0002600.serial: ttyPSC3 at MMIO 0xf0002600 (irq = 139) is a MPC52xx PSC
[ 1.440108] loop: module loaded
[ 1.443499] PPP generic driver version 2.4.2
[ 1.449263] Driver 'sd' needs updating - please use bus_type methods
[ 1.547816] scsi0 : scsi_debug, version 1.81 [20070104], dev_size_mb=8, opts=0x0
[ 1.556926] scsi 0:0:0:0: Direct-Access Linux scsi_debug 0004 PQ: 0 ANSI: 5
[ 1.566982] sd 0:0:0:0: [sda] 16384 512-byte hardware sectors (8 MB)
[ 1.574957] sd 0:0:0:0: [sda] Write Protect is off
[ 1.579923] sd 0:0:0:0: [sda] Mode Sense: 73 00 10 08
[ 1.590924] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, supports DPO and FUA
[ 1.602938] sd 0:0:0:0: [sda] 16384 512-byte hardware sectors (8 MB)
[ 1.610920] sd 0:0:0:0: [sda] Write Protect is off
[ 1.615881] sd 0:0:0:0: [sda] Mode Sense: 73 00 10 08
[ 1.626922] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, supports DPO and FUA
[ 1.635698] sda: unknown partition table
[ 1.642424] sd 0:0:0:0: [sda] Attached SCSI disk
[ 1.648990] ohci_hcd: 2006 August 04 USB 1.1 'Open' Host Controller (OHCI) Driver
[ 1.656713] ohci_hcd: block sizes: ed 64 td 64
[ 1.662000] ppc-of-ohci f0001000.usb: initializing PPC-OF USB Controller
[ 1.669050] ppc-of-ohci f0001000.usb: OF OHCI
[ 1.674182] drivers/usb/core/inode.c: creating file 'devices'
[ 1.680166] drivers/usb/core/inode.c: creating file '001'
[ 1.686414] ppc-of-ohci f0001000.usb: new USB bus registered, assigned bus number 1
[ 1.694376] ppc-of-ohci f0001000.usb: irq 134, io mem 0xf0001000
[ 1.700673] ppc-of-ohci f0001000.usb: created debug files
[ 1.762868] ppc-of-ohci f0001000.usb: OHCI controller state
[ 1.768611] ppc-of-ohci f0001000.usb: OHCI 1.0, NO legacy support registers
[ 1.775772] ppc-of-ohci f0001000.usb: control 0x083 HCFS=operational CBSR=3
[ 1.782929] ppc-of-ohci f0001000.usb: cmdstatus 0x00000 SOC=0
[ 1.788844] ppc-of-ohci f0001000.usb: intrstatus 0x00000004 SF
[ 1.794854] ppc-of-ohci f0001000.usb: intrenable 0x8000005a MIE RHSC UE RD WDH
[ 1.802277] ppc-of-ohci f0001000.usb: hcca frame #0000
[ 1.807579] ppc-of-ohci f0001000.usb: roothub.a 02001202 POTPGT=2 NOCP NPS NDP=2(2)
[ 1.815443] ppc-of-ohci f0001000.usb: roothub.b 00000000 PPCM=0000 DR=0000
[ 1.822509] ppc-of-ohci f0001000.usb: roothub.status 00008000 DRWE
[ 1.828873] ppc-of-ohci f0001000.usb: roothub.portstatus [0] 0x00000100 PPS
[ 1.836032] ppc-of-ohci f0001000.usb: roothub.portstatus [1] 0x00000100 PPS
[ 1.843265] usb usb1: default language 0x0409
[ 1.848118] usb usb1: uevent
[ 1.851577] usb usb1: usb_probe_device
[ 1.855489] usb usb1: configuration #1 chosen from 1 choice
[ 1.861274] usb usb1: adding 1-0:1.0 (config #1, interface 0)
[ 1.867352] usb 1-0:1.0: uevent
[ 1.871058] hub 1-0:1.0: usb_probe_interface
[ 1.875517] hub 1-0:1.0: usb_probe_interface - got id
[ 1.880728] hub 1-0:1.0: USB hub found
[ 1.884680] hub 1-0:1.0: 2 ports detected
[ 1.888819] hub 1-0:1.0: standalone hub
[ 1.892765] hub 1-0:1.0: ganged power switching
[ 1.897418] hub 1-0:1.0: global over-current protection
[ 1.902780] hub 1-0:1.0: power on to power good time: 4ms
[ 1.908350] hub 1-0:1.0: local power source is good
[ 1.913373] hub 1-0:1.0: no over-current condition exists
[ 1.918916] hub 1-0:1.0: enabling power on all ports
[ 2.027349] hub 1-0:1.0: state 7 ports 2 chg 0000 evt 0000
[ 2.034176] drivers/usb/core/inode.c: creating file '001'
[ 2.040541] usb usb1: New USB device found, idVendor=1d6b, idProduct=0001
[ 2.047577] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 2.055002] usb usb1: Product: OF OHCI
[ 2.058874] usb usb1: Manufacturer: Linux 2.6.26 ohci_hcd
[ 2.064430] usb usb1: SerialNumber: PPC-OF USB
[ 2.070505] usbcore: registered new interface driver cdc_acm
[ 2.076390] cdc_acm: v0.26:USB Abstract Control Model driver for USB modems and ISDN adapters
[ 2.085186] Initializing USB Mass Storage driver...
[ 2.090715] usbcore: registered new interface driver usb-storage
[ 2.096995] USB Mass Storage support registered.
[ 2.102944] usbcore: registered new interface driver usbserial
[ 2.109455] usbserial: USB Serial support registered for generic
[ 2.116195] usbcore: registered new interface driver usbserial_generic
[ 2.122969] usbserial: USB Serial Driver core
[ 2.127935] usbserial: USB Serial support registered for pl2303
[ 2.134547] usbcore: registered new interface driver pl2303
[ 2.140344] pl2303: Prolific PL2303 USB to serial adaptor driver
[ 2.147630] mice: PS/2 mouse device common for all mice
[ 2.156991] i2c /dev entries driver
[ 2.164982] usbcore: registered new interface driver usbhid
[ 2.170774] usbhid: v2.6:USB HID core driver
[ 2.175851] Advanced Linux Sound Architecture Driver Version 1.0.16.
[ 2.184703] ALSA device list:
[ 2.187808] No soundcards found.
[ 2.192578] TCP cubic registered
[ 2.195967] NET: Registered protocol family 17
[ 2.200655] Bluetooth: L2CAP ver 2.9
[ 2.204371] Bluetooth: L2CAP socket layer initialized
[ 2.209593] Bluetooth: SCO (Voice Link) ver 0.5
[ 2.214269] Bluetooth: SCO socket layer initialized
[ 2.219496] Bluetooth: RFCOMM socket layer initialized
[ 2.224887] Bluetooth: RFCOMM TTY layer initialized
[ 2.229951] Bluetooth: RFCOMM ver 1.8
[ 2.233743] Bluetooth: BNEP (Ethernet Emulation) ver 1.2
[ 2.241047] Freeing unused kernel memory: 184k init
mknod: /dev/loop0: File exists
mknod: /dev/sda1: File exists
mknod: /dev/sda2: File exists
*** SLEEP
*** Try mounting REALROOT from rootfs.ext3 in /dev/sda1(vfat)
mount: mounting /dev/sda1 on /media/sda1 failed
*** Try mounting REALROOT from /dev/sda2(ext3)
mount: mounting /dev/sda2 on /media/realroot failed
*** Try mounting REALROOT /dev/mtdblock4(jffs2)
mount: mounting /dev/mtdblock4 on /media/realroot failed
*** Cannot find real rootfs - dropping to a shell
/bin/sh: can't access tty; job control turned off
root@RadioNav: ~ #
root@RadioNav: ~ #
root@RadioNav: ~ #

========================================================

Now plugging-in USB:

========================================================

root@RadioNav: ~ #[ 17.228078] hub 1-0:1.0: state 7 ports 2 chg 0000 evt 0004
root@RadioNav: ~ #[ 17.233798] ppc-of-ohci f0001000.usb: GetStatus roothub.portstatus [1] = 0x00010101 CSC PPS CCS
root@RadioNav: ~ #[ 17.242776] hub 1-0:1.0: port 2, status 0101, change 0001, 12 Mb/s
root@RadioNav: ~ #[ 17.374796] hub 1-0:1.0: debounce: port 2: total 100ms stable 100ms status 0x101
root@RadioNav: ~ #[ 17.450780] ppc-of-ohci f0001000.usb: GetStatus roothub.portstatus [1] = 0x00100103 PRSC PPS PES CCS
root@RadioNav: ~ #[ 17.514787] usb 1-2: new full speed USB device using ppc-of-ohci and address 2
root@RadioNav: ~ #[ 24.027842] usb 1-2: khubd timed out on ep0in len=0/64
root@RadioNav: ~ #[ 29.199841] usb 1-2: khubd timed out on ep0in len=0/64
root@RadioNav: ~ #[ 34.307841] usb 1-2: khubd timed out on ep0in len=0/64
root@RadioNav: ~ #[ 34.382786] ppc-of-ohci f0001000.usb: GetStatus roothub.portstatus [1] = 0x00100103 PRSC PPS PES CCS
root@RadioNav: ~ #[ 34.446789] usb 1-2: device descriptor read/64, error -110
root@RadioNav: ~ #
root@RadioNav: ~ #cat /proc/interrupts
CPU0
134: 5689 MPC52xx Peripherals Edge ohci_hcd:usb1
139: 207 MPC52xx Peripherals Edge mpc52xx_psc_uart
143: 0 MPC52xx Peripherals Edge i2c-mpc
144: 0 MPC52xx Peripherals Edge i2c-mpc
BAD: 0
root@RadioNav: ~ #

========================================================

we were thinking to some problem like:

http://www.nabble.com/USB-support-on-mpc5200-broken-td19658810.html

or

http://www.nabble.com/MPC5200-PCI-interrupt-routing-p19608472.html

We are also thinking about the fact that from .config for PPC we have:
========================================================
PCI support (PCI) [Y/n/?] (NEW) n
Freescale MPC52xx SoC internal IDE (PATA_MPC52xx) [N/m/y/?] (NEW) n
Freescale MPC52xx family PSC serial support (SERIAL_MPC52xx) [N/m/y/?] (NEW) y
Console on a Freescale MPC52xx family PSC serial port (SERIAL_MPC52xx_CONSOLE) [N/y/?] (NEW) y
Freescale MPC52xx family PSC serial port baud (SERIAL_MPC52xx_CONSOLE_BAUD) [9600] (NEW) 9600
OHCI support for on-chip PPC USB controller (USB_OHCI_HCD_PPC_SOC) [Y/n/?] (NEW) y
OHCI support for PCI-bus USB controllers (USB_OHCI_HCD_PCI) [Y/n/?] (NEW) y
Include xmon kernel debugger (XMON) [N/y/?] (NEW) n
Support for early boot texts over serial port (SERIAL_TEXT_DEBUG) [N/y] (NEW) y
========================================================

and for PowerPC we have PCI support on .config and on *.dts but with any PCI modification respects node on lite5200.dts (some interrupt ?)

Have you got any ideas?

Thanks a lot J

-----Messaggio originale-----
Da: linuxppc-dev-bounces+gianfranco.casanova=alice.it@ozlabs.org per conto di Gary Thomas
Inviato: ven 05/12/2008 13.20
A: s104259@yahoo.it
Cc: Linuxppc-dev@ozlabs.org
Oggetto: Re: Installation on a MPC5200 based custom board

Angelo wrote:
> Hi all.
>
> I saw that someones trying to work on a custom board based on mpc5200.
> I have:
> * u-boot 1.2.0
> * kernel 2.6.21
> * arch=powerpc
> * custom dts based on lite5200b.dts
> * USB port (USB2) configured on the Ethernet port
>
> Is it necessary to combine Ethernet and usb nodes?
> However this is the log when a usb-storage is plugged:
>
> hub 1-0:1.0: state 7 ports 2 chg 0000 evt 0004
> ppc-of-ohci f0001000.usb: GetStatus roothub.portstatus [1] = 0x00010101
> CSC PPS CCS
> hub 1-0:1.0: port 2, status 0101, change 0001, 12 Mb/s
> hub 1-0:1.0: debounce: port 2: total 100ms stable 100ms status 0x101
> ppc-of-ohci f0001000.usb: GetStatus roothub.portstatus [1] = 0x00100103
> PRSC PPS PES CCS
> usb 1-2: new full speed USB device using ppc-of-ohci and address 2
> BUG: soft lockup detected on CPU#0!
> Call Trace:
> [C7E05A50] [C0007FD8] show_stack+0x3c/0x194 (unreliable)
> [C7E05A80] [C004A380] softlockup_tick+0xa4/0xd4
> [C7E05AA0] [C002B998] run_local_timers+0x18/0x28
> [C7E05AB0] [C002B9D8] update_process_times+0x30/0x7c
> [C7E05AC0] [C003FF3C] tick_sched_timer+0xb0/0x280
> [C7E05B20] [C003C538] hrtimer_interrupt+0x214/0x26c
> [C7E05B80] [C000E744] timer_interrupt+0x88/0x354
> [C7E05BF0] [C0011C04] ret_from_except+0x0/0x14
> --- Exception: 901 at handle_IRQ_event+0x7c/0x1e8
> LR = handle_level_irq+0x90/0x13c
> [C7E05CB0] [C7F15C00] 0xc7f15c00 (unreliable)
> [C7E05CD0] [C004C2E0] handle_level_irq+0x90/0x13c
> [C7E05CE0] [C0006304] do_IRQ+0x98/0xbc
> [C7E05CF0] [C0011C04] ret_from_except+0x0/0x14
> --- Exception: 501 at schedule+0x38/0x64c
> LR = schedule_timeout+0x68/0xe4
> [C7E05DB0] [C01A1650] usb_hcd_submit_urb+0x190/0x8a0 (unreliable)
> [C7E05E00] [C02389A4] schedule_timeout+0x68/0xe4
> [C7E05E40] [C0238378] wait_for_completion_timeout+0x8c/0x138
> [C7E05E80] [C01A2B60] usb_start_wait_urb+0x64/0x124
> [C7E05EB0] [C01A2E1C] usb_control_msg+0xc4/0xf0
> [C7E05EF0] [C019D0D0] hub_port_init+0x424/0x614
> [C7E05F40] [C019F42C] hub_thread+0x434/0xe64
> [C7E05FC0] [C0037E60] kthread+0xc0/0xfc
> [C7E05FF0] [C00123F8] original_kernel_thread+0x44/0x60
> ppc-of-ohci f0001000.usb: OHCI Unrecoverable Error, disabled
> ppc-of-ohci f0001000.usb: OHCI controller state
> ppc-of-ohci f0001000.usb: OHCI 1.0, NO legacy support registers
> ppc-of-ohci f0001000.usb: control 0x093 HCFS=operational CLE CBSR=3
> ppc-of-ohci f0001000.usb: cmdstatus 0x00000 SOC=0
> ppc-of-ohci f0001000.usb: intrstatus 0x00000074 RHSC FNO UE SF
> ppc-of-ohci f0001000.usb: intrenable 0x8000001a MIE UE RD WDH
> ppc-of-ohci f0001000.usb: ed_controlhead 07fcc000
> ppc-of-ohci f0001000.usb: ed_controlcurrent fffffff0
> ppc-of-ohci f0001000.usb: hcca frame #ddb6
> ppc-of-ohci f0001000.usb: roothub.a 02001202 POTPGT=2 NOCP NPS NDP=2(2)
> ppc-of-ohci f0001000.usb: roothub.b 00000000 PPCM=0000 DR=0000
> ppc-of-ohci f0001000.usb: roothub.status 00008000 DRWE
> ppc-of-ohci f0001000.usb: roothub.portstatus [0] 0x00000100 PPS
> ppc-of-ohci f0001000.usb: roothub.portstatus [1] 0x00030100 PESC CSC PPS
> ppc-of-ohci f0001000.usb: HC died; cleaning up
> irq 134: nobody cared (try booting with the "irqpoll" option)
> Call Trace:
> [C046FDF0] [C0007FD8] show_stack+0x3c/0x194 (unreliable)
> [C046FE20] [C004B358] __report_bad_irq+0x34/0xac
> [C046FE40] [C004B4AC] note_interrupt+0xdc/0x288
> [C046FE70] [C004C344] handle_level_irq+0xf4/0x13c
> [C046FE80] [C0006304] do_IRQ+0x98/0xbc
> [C046FE90] [C0011C04] ret_from_except+0x0/0x14
> --- Exception: 501 at schedule+0x304/0x64c
> LR = schedule+0x2d8/0x64c
> [C046FFA0] [C004A2B4] watchdog+0x4c/0x74
> [C046FFC0] [C0037E60] kthread+0xc0/0xfc
> [C046FFF0] [C00123F8] original_kernel_thread+0x44/0x60
> handlers:
> [<c01a1008>] (usb_hcd_irq+0x0/0x9c)
> Disabling IRQ #134
> usb 1-2: khubd timed out on ep0in len=0/64
> hub 1-0:1.0: cannot reset port 2 (err = -19)
> hub 1-0:1.0: cannot disable port 2 (err = -19)
> ppc-of-ohci f0001000.usb: leak ed c7fcc000 (#00) state 0 (has tds)
> hub 1-0:1.0: cannot reset port 2 (err = -19)
> hub 1-0:1.0: cannot disable port 2 (err = -19)
> hub 1-0:1.0: cannot reset port 2 (err = -19)
> hub 1-0:1.0: cannot disable port 2 (err = -19)
> hub 1-0:1.0: cannot reset port 2 (err = -19)
> hub 1-0:1.0: cannot disable port 2 (err = -19)
> hub 1-0:1.0: cannot disable port 2 (err = -19)
> hub 1-0:1.0: state 0 ports 2 chg 0000 evt 0004
>
> Please mail me any idea...

Update to the latest kernel (2.6.27+) - there has been lots
of work on the MPC5200 in the past three years (that's how
old 2.6.21 is!)

--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
_______________________________________________
Linuxppc-dev mailing list
Linuxppc-dev@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-dev

[-- Attachment #2: Type: text/html, Size: 34632 bytes --]