View unanswered posts | View active topics It is currently Fri Jan 18, 2019 10:23 am



Reply to topic  [ 9 posts ] 
 Boot from USB Harddrive 
Author Message

Joined: Thu Sep 15, 2011 5:22 pm
Posts: 7
Post Boot from USB Harddrive
I have a Trim-Slice Barebone system and I'm trying to install/boot ArchlinuxARM on a USB HD but I keep getting the following error when u-boot is trying to detect the USB devices.

scanning bus for devices... EHCI timed out on TD - token=0x80008c80

I've successfully booted using sd cards and a usb sticks before. Does the Trim-Slice support booting off of USB hard drives? I'm using the latest (1.03) version of u-boot.


Mon Jan 09, 2012 2:11 pm
Profile

Joined: Wed May 25, 2011 11:05 am
Posts: 521
Post Re: Boot from USB Harddrive
Did you make a boot.scr ?
http://archlinuxarm.org/static/devices/ ... -scr-howto


Mon Jan 09, 2012 4:41 pm
Profile

Joined: Thu Sep 15, 2011 5:22 pm
Posts: 7
Post Re: Boot from USB Harddrive
Yes, I'm copying all of the files that boot using a usb flash drive onto the usb hard drive...This includes the boot.scr file in the boot directory. Also the hard drive is formatted using ext2.


Mon Jan 09, 2012 5:02 pm
Profile

Joined: Wed May 25, 2011 11:05 am
Posts: 521
Post Re: Boot from USB Harddrive
replace boot.scr with this
http://myplugbox.com/trimslice-sda1-boot.scr
Put it in /
rename it to boot.scr
rename old /boot/boot.scr


Mon Jan 09, 2012 5:23 pm
Profile

Joined: Thu Sep 15, 2011 5:22 pm
Posts: 7
Post Re: Boot from USB Harddrive
Even with your boot.scr I still cannot boot from the usb hard drive. Here is the full output on the serial console. Any ideas?

Code:
U-Boot 2010.09-1.03-00006-ga52694f (Nov 24 2011 - 10:41:33)

TEGRA2
Board:   TrimSlice
DRAM:  1 GiB
SF: Detected W25Q80BL with page size 256, total 1 MiB
In:    serial
Out:   serial
Err:   serial
Boot:  Spi
Net:   RTL8169#0
Hit any key to stop autoboot:  3  2  1  0
Scanning MMC card ...
[mmc_legacy_init:234] EMMC 0 Probe Failed
No MMC card found
Scanning fat mmc 0 on prefix / ...

** Invalid boot device **
Scanning ext2 mmc 0 on prefix / ...
** Block device mmc 0 not supported
Scanning fat mmc 0 on prefix /boot/ ...

** Invalid boot device **
Scanning ext2 mmc 0 on prefix /boot/ ...
** Block device mmc 0 not supported
Scanning USB key ...
(Re)start USB...
USB:   Tegra ehci init hccr c5008100 and hcor c5008140 hc_length 64
Register 10011 NbrPorts 1
USB EHCI 1.00
scanning bus for devices... 3 USB Device(s) found
       scanning bus for storage devices... EHCI timed out on TD - token=0x80008d80
EHCI timed out on TD - token=0x80008d80
EHCI timed out on TD - token=0x80008d80
EHCI timed out on TD - token=0x248d80
EHCI timed out on TD - token=0x80008d80
EHCI timed out on TD - token=0x80008d80
EHCI timed out on TD - token=0x80008d80
EHCI timed out on TD - token=0x248d80
EHCI timed out on TD - token=0x80008d80
EHCI timed out on TD - token=0x80008d80
EHCI timed out on TD - token=0x80008d80
EHCI timed out on TD - token=0x1f8c80
EHCI timed out on TD - token=0x80008d80
EHCI timed out on TD - token=0x80008d80
EHCI timed out on TD - token=0x80008d80
EHCI timed out on TD - token=0x1f8c80
EHCI timed out on TD - token=0x80008d80
EHCI timed out on TD - token=0x80008d80
EHCI timed out on TD - token=0x80008d80
EHCI timed out on TD - token=0x1f8c80
EHCI timed out on TD - token=0x80008d80
EHCI timed out on TD - token=0x80008d80
EHCI timed out on TD - token=0x80008d80
error in inquiry
0 Storage Device(s) found
Scanning fat usb 0 on prefix / ...

** Invalid boot device **
Scanning ext2 usb 0 on prefix / ...
** Block device usb 0 not supported
Scanning fat usb 0 on prefix /boot/ ...

** Invalid boot device **
Scanning ext2 usb 0 on prefix /boot/ ...
** Block device usb 0 not supported
Scanning microSD card ...
[mmc_legacy_init:234] EMMC 1 Probe Failed
No MMC card found
Scanning fat mmc 1 on prefix / ...

** Invalid boot device **
Scanning ext2 mmc 1 on prefix / ...
** Block device mmc 1 not supported
Scanning fat mmc 1 on prefix /boot/ ...

** Invalid boot device **
Scanning ext2 mmc 1 on prefix /boot/ ...
** Block device mmc 1 not supported
Scanning SSD ...
usb1: reset sata controller 1 time(s) (Re)start USB...
USB:   Tegra ehci init hccr c5000100 and hcor c5000140 hc_length 64
Register 10011 NbrPorts 1
USB EHCI 1.00
scanning bus for devices... 1 USB Device(s) found
       scanning bus for storage devices... 0 Storage Device(s) found
Scanning fat usb 0 on prefix / ...

** Invalid boot device **
Scanning ext2 usb 0 on prefix / ...
** Block device usb 0 not supported
Scanning fat usb 0 on prefix /boot/ ...

** Invalid boot device **
Scanning ext2 usb 0 on prefix /boot/ ...
** Block device usb 0 not supported
TrimSlice #


Tue Jan 10, 2012 1:21 am
Profile

Joined: Mon Jul 25, 2011 2:35 pm
Posts: 445
Post Re: Boot from USB Harddrive
bneate wrote:
Even with your boot.scr I still cannot boot from the usb hard drive. Here is the full output on the serial console. Any ideas?

Code:
U-Boot 2010.09-1.03-00006-ga52694f (Nov 24 2011 - 10:41:33)

TEGRA2
Board:   TrimSlice
DRAM:  1 GiB
SF: Detected W25Q80BL with page size 256, total 1 MiB
In:    serial
Out:   serial
Err:   serial
Boot:  Spi
Net:   RTL8169#0
Hit any key to stop autoboot:  3  2  1  0
Scanning MMC card ...
[mmc_legacy_init:234] EMMC 0 Probe Failed
No MMC card found
Scanning fat mmc 0 on prefix / ...

** Invalid boot device **
Scanning ext2 mmc 0 on prefix / ...
** Block device mmc 0 not supported
Scanning fat mmc 0 on prefix /boot/ ...

** Invalid boot device **
Scanning ext2 mmc 0 on prefix /boot/ ...
** Block device mmc 0 not supported
Scanning USB key ...
(Re)start USB...
USB:   Tegra ehci init hccr c5008100 and hcor c5008140 hc_length 64
Register 10011 NbrPorts 1
USB EHCI 1.00
scanning bus for devices... 3 USB Device(s) found
       scanning bus for storage devices... EHCI timed out on TD - token=0x80008d80
EHCI timed out on TD - token=0x80008d80
EHCI timed out on TD - token=0x80008d80
EHCI timed out on TD - token=0x248d80
EHCI timed out on TD - token=0x80008d80
EHCI timed out on TD - token=0x80008d80
EHCI timed out on TD - token=0x80008d80
EHCI timed out on TD - token=0x248d80
EHCI timed out on TD - token=0x80008d80
EHCI timed out on TD - token=0x80008d80
EHCI timed out on TD - token=0x80008d80
EHCI timed out on TD - token=0x1f8c80
EHCI timed out on TD - token=0x80008d80
EHCI timed out on TD - token=0x80008d80
EHCI timed out on TD - token=0x80008d80
EHCI timed out on TD - token=0x1f8c80
EHCI timed out on TD - token=0x80008d80
EHCI timed out on TD - token=0x80008d80
EHCI timed out on TD - token=0x80008d80
EHCI timed out on TD - token=0x1f8c80
EHCI timed out on TD - token=0x80008d80
EHCI timed out on TD - token=0x80008d80
EHCI timed out on TD - token=0x80008d80
error in inquiry
0 Storage Device(s) found
Scanning fat usb 0 on prefix / ...

** Invalid boot device **
Scanning ext2 usb 0 on prefix / ...
** Block device usb 0 not supported
Scanning fat usb 0 on prefix /boot/ ...

** Invalid boot device **
Scanning ext2 usb 0 on prefix /boot/ ...
** Block device usb 0 not supported
Scanning microSD card ...
[mmc_legacy_init:234] EMMC 1 Probe Failed
No MMC card found
Scanning fat mmc 1 on prefix / ...

** Invalid boot device **
Scanning ext2 mmc 1 on prefix / ...
** Block device mmc 1 not supported
Scanning fat mmc 1 on prefix /boot/ ...

** Invalid boot device **
Scanning ext2 mmc 1 on prefix /boot/ ...
** Block device mmc 1 not supported
Scanning SSD ...
usb1: reset sata controller 1 time(s) (Re)start USB...
USB:   Tegra ehci init hccr c5000100 and hcor c5000140 hc_length 64
Register 10011 NbrPorts 1
USB EHCI 1.00
scanning bus for devices... 1 USB Device(s) found
       scanning bus for storage devices... 0 Storage Device(s) found
Scanning fat usb 0 on prefix / ...

** Invalid boot device **
Scanning ext2 usb 0 on prefix / ...
** Block device usb 0 not supported
Scanning fat usb 0 on prefix /boot/ ...

** Invalid boot device **
Scanning ext2 usb 0 on prefix /boot/ ...
** Block device usb 0 not supported
TrimSlice #


Hello, bneate.

The u-Boot you have, has an option for reseting usb/sata controller while scanning USB devices. The log you sent shows that this option set to 1, try reset it to 0.
Press enter while the u-Boot counts down the boot counter and type:
usb2sata reset 0
saveenv
reset

Let us know, whether it solves the issue.

Regards,
Val.


Tue Jan 10, 2012 8:22 am
Profile

Joined: Wed May 25, 2011 11:05 am
Posts: 521
Post Re: Boot from USB Harddrive
I have a Seagate FreeAgent GoFlex USB drive, slow to start up.
Didn't do anything permanent but hooked up serial, interupted uBoot, typed reset, and it boots.


Tue Jan 10, 2012 10:28 am
Profile

Joined: Thu Sep 15, 2011 5:22 pm
Posts: 7
Post Re: Boot from USB Harddrive
Quote:
usb2sata reset 0
saveenv
reset

Unfortunatly that did not help and printed out the same sequence of errors as before.
Quote:
scanning bus for devices... 3 USB Device(s) found
scanning bus for storage devices... EHCI timed out on TD - token=0x80008d80
EHCI timed out on TD - token=0x80008d80
EHCI timed out on TD - token=0x80008d80
EHCI timed out on TD - token=0x248d80
EHCI timed out on TD - token=0x80008d80
EHCI timed out on TD - token=0x80008d80
EHCI timed out on TD - token=0x80008d80
EHCI timed out on TD - token=0x248d80
EHCI timed out on TD - token=0x80008d80
EHCI timed out on TD - token=0x80008d80
EHCI timed out on TD - token=0x80008d80
EHCI timed out on TD - token=0x1f8c80
EHCI timed out on TD - token=0x80008d80
EHCI timed out on TD - token=0x80008d80
EHCI timed out on TD - token=0x80008d80
EHCI timed out on TD - token=0x1f8c80
EHCI timed out on TD - token=0x80008d80
EHCI timed out on TD - token=0x80008d80
EHCI timed out on TD - token=0x80008d80
EHCI timed out on TD - token=0x1f8c80
EHCI timed out on TD - token=0x80008d80
EHCI timed out on TD - token=0x80008d80
EHCI timed out on TD - token=0x80008d80
error in inquiry
0 Storage Device(s) found

I have switched to using a newer usb HD and have gotten it to boot for me so I will just switch to using it instead.

Thanks for the help.

For reference the drive that didn't work was a USB 2.0 160 GB Lacie Porsche drive and the drive that worked was a USB 3.0 1 TB WD Elements SE drive. Both drives were the USB powered versions.


Wed Jan 11, 2012 12:52 am
Profile

Joined: Mon Jul 25, 2011 2:35 pm
Posts: 445
Post Re: Boot from USB Harddrive
bneate,
thanks a lot for that useful info regarding a hard drive you had an issue with.


Tue Jul 10, 2012 10:45 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 9 posts ] 

Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.