Linux doesn't boot if USB is enabled
IGOR LURI
iluri at fagorautomation.es
Fri May 12 18:53:15 EST 2006
Hi all,
We have a mpc5200 Icecube board with u-boot 1.1.3 and linux 2.4.25 from Denx where linux boots with USB enabled.
We also have a mpc5200liteB evaluation board with u-boot 1.1.4 and linux 2.4.25 from Denx. We have realized that when USB is enabled linux doen´t boot, it hungs after u-boot uncompresses linux image.
=> usb reset
(Re)start USB...
USB: scanning bus for devices... 1 USB Device(s) found
scanning bus for storage devices... 0 Storage Device(s) found
=>run bootcmd
BOOTP broadcast 1
DHCP client bound to address 10.0.17.102
Using FEC ETHERNET device
TFTP from server 10.0.7.228; our IP address is 10.0.17.102
Filename 'vmlinux.UBoot'.
Load address: 0x500000
Loading: #################################################################
#################################################################
#################################################################
#
done
Bytes transferred = 1000231 (f4327 hex)
=> bootm 0x500000
## Booting image at 00500000 ...
Image Name: Linux-2.4.25-rthal5-TRACE
Created: 2006-05-11 15:08:31 UTC
Image Type: PowerPC Linux Kernel Image (gzip compressed)
Data Size: 1000167 Bytes = 976.7 kB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
Memory BAT mapping: BAT2=256Mb, BAT3=0Mb, residual: 0Mb
Linux version 2.4.25-rthal5-TRACE (igor at ILURI_LINUX) (gcc version 3.3.6) #301 jue may 11 17:08:00 CEST 2006
On node 0 totalpages: 65536
zone(0): 65536 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: root=/dev/nfs rw console=ttyS0 console=ttyS0 init=/sbin/init ip=on
Console: colour dummy device 80x25
Calibrating delay loop... 307.20 BogoMIPS
Memory: 256012k available (1824k kernel code, 612k data, 96k init, 0k highmem)
Dentry cache hash table entries: 32768 (order: 6, 262144 bytes)
If we disable USB with the command
=> usb stop
stopping USB..
linux boots as usual.
I don't found changes in USB part between u-boot 1.1.3 and u-boot 1.1.4. I have readen MPC5200 revision B chip errata and there is nothing about USB. But I have found a manual named U-Boot Bootloader for MPL Single Board Computer that says the following:
Warning: Please make sure to stop the USB subsystem before booting an OS. This can be done by
adding the command usb stop to the variable bootcmd:
This board uses a ppc405 and also it has the same problem.
Someone knows why linux doesn't boot with USB enabled on a mpc5200liteB board? Is this a hardware problem?Is a revision B chip errata? Or, a software problem?
Thanks in advance.
Igor Luri
R&D Software Department
Fagor Automation S. Coop.
P. O. Box 144
E-20500 Mondragón-Arrasate
Tel. ++34 943 71 92 00
++34 943 71 92 01 (Ext. 44124)
Fax. ++34 943 79 92 03
www.fagorautomation.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://ozlabs.org/pipermail/linuxppc-embedded/attachments/20060512/dd91e421/attachment.htm
More information about the Linuxppc-embedded
mailing list