* [U-Boot-Users] USB-storage or NAND-flash on AMCC 440ep (bamboo)
@ 2005-10-14 9:36 André Berggren
2005-10-14 9:47 ` Stefan Roese
0 siblings, 1 reply; 3+ messages in thread
From: André Berggren @ 2005-10-14 9:36 UTC (permalink / raw)
To: u-boot
Hi all!
Are there any known bugs for USB-storage on this CPU in u-boot?
We have a custom board based on bamboo and thinking on booting from USB instead of NAND because of the long initiation time for jffs2 on NAND-flash.
At the moment JFFS2 initiation takes about 35s, and loading kernel, root-image and a fpga-image to ram take another 1m 40s.
Will it be faster if we use USB-storage instead? We are currently using USB-storage in Linux with ext3 fs.
I'll tried "usb start" command in u-boot but get the following output:
=> usb start
(Re)start USB...
USB: USB 1.1 Device init
scanning bus for devices... 2 USB Device(s) found
scanning bus for storage devices... ERROR: CTL:TIMEOUT
ERROR: CTL:TIMEOUT
ERROR: CTL:TIMEOUT
.
.
.
ERROR: CTL:TIMEOUT
Device NOT ready
Request Sense returned 00 00 00
0 blocks read: ERROR
If I then do "usb tree" I can se that the USB-storage is actually found.
=> usb tree
Device Tree:
1 Hub (12MBit/s, 0mA)
| OHCI Root Hub
|
+-2 Mass Storage (12MBit/s, 100mA)
SanDisk Corporation Cruzer Mini SNDK319F2529C8108706
"usb info" shows even more info, but "usb storage" reports no storage device.
=> usb storage
No storage devices, perhaps not 'usb start'ed..?
Is USB-storage the way to go or is there a way to speed up jffs2?
Regards,
Andr?
###########################################
This message has been scanned by F-Secure Anti-Virus for Microsoft Exchange.
For more information, connect to http://www.f-secure.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.denx.de/pipermail/u-boot/attachments/20051014/d3f7f9ee/attachment.htm
^ permalink raw reply [flat|nested] 3+ messages in thread* [U-Boot-Users] USB-storage or NAND-flash on AMCC 440ep (bamboo)
2005-10-14 9:36 [U-Boot-Users] USB-storage or NAND-flash on AMCC 440ep (bamboo) André Berggren
@ 2005-10-14 9:47 ` Stefan Roese
2005-10-14 13:23 ` Stefan Roese
0 siblings, 1 reply; 3+ messages in thread
From: Stefan Roese @ 2005-10-14 9:47 UTC (permalink / raw)
To: u-boot
Hi Andre,
On Friday 14 October 2005 11:36, Andr? Berggren wrote:
> Are there any known bugs for USB-storage on this CPU in u-boot?
Sorry, but I never tested it. The PPC440EP USB port was done by Embedded
Planet for the initial Yosemite port.
> We have a custom board based on bamboo and thinking on booting from USB
> instead of NAND because of the long initiation time for jffs2 on
> NAND-flash. At the moment JFFS2 initiation takes about 35s, and loading
> kernel, root-image and a fpga-image to ram take another 1m 40s.
Hmmm. Why don't you partition your NAND chip and use the RAW-NAND interface
(e.g. nand read...). This will bring you the fastest boot time.
Best regards,
Stefan
^ permalink raw reply [flat|nested] 3+ messages in thread
* [U-Boot-Users] USB-storage or NAND-flash on AMCC 440ep (bamboo)
2005-10-14 9:47 ` Stefan Roese
@ 2005-10-14 13:23 ` Stefan Roese
0 siblings, 0 replies; 3+ messages in thread
From: Stefan Roese @ 2005-10-14 13:23 UTC (permalink / raw)
To: u-boot
On Friday 14 October 2005 11:47, Stefan Roese wrote:
> On Friday 14 October 2005 11:36, Andr? Berggren wrote:
> > Are there any known bugs for USB-storage on this CPU in u-boot?
>
> Sorry, but I never tested it. The PPC440EP USB port was done by Embedded
> Planet for the initial Yosemite port.
Now, I successfully tested the USB support on Yosemite. Here the result:
=> usb reset
(Re)start USB...
USB: USB 2.0 Device init
scanning bus for devices... 2 USB Device(s) found
scanning bus for storage devices... 1 Storage Device(s) found
=> usb info
1: Hub, USB Revision 1.10
- OHCI Root Hub
- Class: Hub
- PacketSize: 8 Configurations: 1
- Vendor: 0x0000 Product 0x0000 Version 0.0
Configuration: 1
- Interfaces: 1 Self Powered 0mA
Interface: 0
- Alternate Settings 0, Endpoints: 1
- Class Hub
- Endpoint 1 In Interrupt MaxPacket 2 Interval 255ms
2: Mass Storage, USB Revision 2.0
- M-Sys DiskOnKey 010C5310120103C7
- Class: (from Interface) Mass Storage
- PacketSize: 64 Configurations: 1
- Vendor: 0x08ec Product 0x0011 Version 2.0
Configuration: 1
- Interfaces: 1 Bus Powered 94mA
Interface: 0
- Alternate Settings 0, Endpoints: 2
- Class Mass Storage, Transp. SCSI, Bulk only
- Endpoint 2 In Bulk MaxPacket 64
- Endpoint 1 Out Bulk MaxPacket 64
=> usb storage
Device 0: Vendor: M-Sys Prod.: DiskOnKey Rev: 3.04
Type: Removable Hard Disk
Capacity: 31.0 MB = 0.0 GB (63616 x 512)
=> fatls usb 0:1
2389 out.gz
4856 hmi1001_eeprom.c
=> fatload usb 0:1 200000 out.gz
reading out.gz
2389 bytes read
=> md 200000
00200000: 1f8b0808 a4d6b242 00036f75 7400edd6 .......B..out...
00200010: ef6b5df5 1900f007 7cdb372e 638375b0 .k].....|.7.c.u.
00200020: 99769339 65cd3d49 83e4cd18 55745cf7 .v.9e.=I....Ut\.
The current code seems to be running without any problems on Yosemite.
Best regards,
Stefan
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2005-10-14 13:23 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-14 9:36 [U-Boot-Users] USB-storage or NAND-flash on AMCC 440ep (bamboo) André Berggren
2005-10-14 9:47 ` Stefan Roese
2005-10-14 13:23 ` Stefan Roese
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox