* Linux doesn't boot if USB is enabled
@ 2006-05-12 8:53 IGOR LURI
2006-05-12 9:53 ` Wolfgang Denk
0 siblings, 1 reply; 3+ messages in thread
From: IGOR LURI @ 2006-05-12 8:53 UTC (permalink / raw)
To: linuxppc-embedded
[-- Attachment #1: Type: text/plain, Size: 3070 bytes --]
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@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
[-- Attachment #2: Type: text/html, Size: 6648 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Linux doesn't boot if USB is enabled
2006-05-12 8:53 Linux doesn't boot if USB is enabled IGOR LURI
@ 2006-05-12 9:53 ` Wolfgang Denk
2006-05-12 13:30 ` Igor Luri
0 siblings, 1 reply; 3+ messages in thread
From: Wolfgang Denk @ 2006-05-12 9:53 UTC (permalink / raw)
To: IGOR LURI; +Cc: linuxppc-embedded
In message <918EB199DDDFFA42BEA2EB3A1C6021F3CE19E2@correo.fagorautomation.net> you wrote:
>
> 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.
You need the latest versions of both U-boot and Linux.
For U-Boot, you need a version after April 18 (see especially commit
ID 8419c013048b1f15f3fa2fc7c0463d860a04ee3e). For the Linux kernel,
you need a version after April 21 (see especially commit ID
1ac8b71bdbe6de928ba84c83831f6988a9b51165).
I recommend to grab the top-of-tree from both repositories.
Best regards,
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de
Well, the way I see it, logic is only a way of being ignorant by num-
bers. - Terry Pratchett, _Small Gods_
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Linux doesn't boot if USB is enabled
2006-05-12 9:53 ` Wolfgang Denk
@ 2006-05-12 13:30 ` Igor Luri
0 siblings, 0 replies; 3+ messages in thread
From: Igor Luri @ 2006-05-12 13:30 UTC (permalink / raw)
To: Wolfgang Denk; +Cc: linuxppc-embedded
Dear Wolfgang,
I have updated linux kernel an u-boot from the CVS repository, so I have
de latest u-boot and linux version. I grabed the new u-boot an kernel
and now hungs later while probing PCI. If I configure linux kernel
without PCI support, it boots OK.
I use lite5200b_defconfig configuration. I am missing something in the
configuration relationated with PCI?
U-Boot 1.1.4 (May 12 2006 -
14:45:32)
CPU: MPC5200 v2.2, Core v1.4 at 462
MHz
Bus 132 MHz, IPB 132 MHz, PCI 33
MHz
Board: Freescale
Lite5200B
I2C: 85 kHz,
ready
DRAM: 256
MB
FLASH: 32
MB
*** Warning - bad CRC, using default
environment
PCI: Bus Dev VenId DevId Class
Int
00 1a 1057 5809 0680
00
In:
serial
Out:
serial
Err:
serial
Net: FEC
ETHERNET
IDE: Bus 0:
OK
Device 0: Model: SanDisk SDCFB-32 Firm: HDX 2.15 Ser#:
103407C2604A5824
Type: Hard
Disk
Capacity: 30.6 MB = 0.0 GB (62720 x
512)
Device 1: not
available
Type "run flash_nfs" to mount root filesystem over NFS
Hit any key to stop autoboot: 0
=> bootp 500000 vmlinux.UBoot
BOOTP broadcast 1
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 = 959935 (ea5bf
hex)
=> 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
=> bootm
500000
## Booting image at 00500000
...
Image Name:
Linux-2.4.25
Created: 2006-05-12 12:31:19
UTC
Image Type: PowerPC Linux Kernel Image (gzip
compressed)
Data Size: 959871 Bytes = 937.4
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 (igor@ILURI_LINUX) (gcc version 3.3.6) #1 vie may
12 14:27:36 CEST 2006
On node 0 totalpages:
65536
zone(0): 65536
pages.
zone(1): 0
pages.
zone(2): 0
pages.
Kernel command
line:
Calibrating delay loop... 307.20
BogoMIPS
Memory: 256340k available (1636k kernel code, 496k data, 76k init, 0k
highmem)
Dentry cache hash table entries: 32768 (order: 6, 262144
bytes)
Inode cache hash table entries: 16384 (order: 5, 131072
bytes)
Mount cache hash table entries: 512 (order: 0, 4096
bytes)
Buffer cache hash table entries: 16384 (order: 4, 65536
bytes)
Page-cache hash table entries: 65536 (order: 6, 262144
bytes)
POSIX conformance testing by
UNIFIX
PCI: Probing PCI hardware
PCI: moved dev
Wolfgang Denk wrote:
>In message <918EB199DDDFFA42BEA2EB3A1C6021F3CE19E2@correo.fagorautomation.net> you wrote:
>
>
>>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.
>>
>>
>
>You need the latest versions of both U-boot and Linux.
>
>For U-Boot, you need a version after April 18 (see especially commit
>ID 8419c013048b1f15f3fa2fc7c0463d860a04ee3e). For the Linux kernel,
>you need a version after April 21 (see especially commit ID
>1ac8b71bdbe6de928ba84c83831f6988a9b51165).
>
>I recommend to grab the top-of-tree from both repositories.
>
>Best regards,
>
>Wolfgang Denk
>
>
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2006-05-12 13:28 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-05-12 8:53 Linux doesn't boot if USB is enabled IGOR LURI
2006-05-12 9:53 ` Wolfgang Denk
2006-05-12 13:30 ` Igor Luri
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).