* dream: fastboot getting protocol errors
@ 2009-11-09 10:36 ` Pavel Machek
0 siblings, 0 replies; 8+ messages in thread
From: Pavel Machek @ 2009-11-09 10:36 UTC (permalink / raw)
To: Arve Hj?nnev?g, kernel list, linux-arm-kernel, Brian Swetland
Hi!
I'm still fighting with porting MMC support to current mainline.
Meanwhile: I'm getting this *way* too often -- with the htcUSB to
2xUSB reduction. Any ideas?
root@amd:/data/l/android# ./fastboot -c "console=tty0
root=/dev/mmcblk0p1 rootdelay=5 fbcon=rotate:1" boot
/data/l/linux-msm/arch/arm/boot/zImage
creating boot image...
creating boot image - 1667072 bytes
downloading 'boot.img'... FAILED (command write failed (Protocol
error))
root@amd:/data/l/android#
...and then it just goes away after powercycling the phone...
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
^ permalink raw reply [flat|nested] 8+ messages in thread
* dream: fastboot getting protocol errors
@ 2009-11-09 10:36 ` Pavel Machek
0 siblings, 0 replies; 8+ messages in thread
From: Pavel Machek @ 2009-11-09 10:36 UTC (permalink / raw)
To: linux-arm-kernel
Hi!
I'm still fighting with porting MMC support to current mainline.
Meanwhile: I'm getting this *way* too often -- with the htcUSB to
2xUSB reduction. Any ideas?
root at amd:/data/l/android# ./fastboot -c "console=tty0
root=/dev/mmcblk0p1 rootdelay=5 fbcon=rotate:1" boot
/data/l/linux-msm/arch/arm/boot/zImage
creating boot image...
creating boot image - 1667072 bytes
downloading 'boot.img'... FAILED (command write failed (Protocol
error))
root at amd:/data/l/android#
...and then it just goes away after powercycling the phone...
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: dream: fastboot getting protocol errors
2009-11-09 10:36 ` Pavel Machek
@ 2009-11-09 10:42 ` Pavel Machek
-1 siblings, 0 replies; 8+ messages in thread
From: Pavel Machek @ 2009-11-09 10:42 UTC (permalink / raw)
To: Arve Hj?nnev?g, kernel list, linux-arm-kernel, Brian Swetland
On Mon 2009-11-09 11:36:02, Pavel Machek wrote:
> Hi!
>
> I'm still fighting with porting MMC support to current mainline.
>
> Meanwhile: I'm getting this *way* too often -- with the htcUSB to
> 2xUSB reduction. Any ideas?
>
> root@amd:/data/l/android# ./fastboot -c "console=tty0
> root=/dev/mmcblk0p1 rootdelay=5 fbcon=rotate:1" boot
> /data/l/linux-msm/arch/arm/boot/zImage
> creating boot image...
> creating boot image - 1667072 bytes
> downloading 'boot.img'... FAILED (command write failed (Protocol
> error))
> root@amd:/data/l/android#
>
> ...and then it just goes away after powercycling the phone...
And this is another failure mode: display says "FASTBOOT", and serial
console says
UART0:Cmd>szCPLDstrlen=0x5
+usbloader_init
-usbloader_init
(but no message about usb highspeed mode), and fastboot hangs with
root@amd:/data/l/android# ./fastboot -c "console=tty0
root=/dev/mmcblk0p1 rootdelay=5 fbcon=rotate:1" boot
/data/l/linux-dream-mainline/arch/arm/boot/zImage
creating boot image...
creating boot image - 1421312 bytes
< waiting for device >
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
^ permalink raw reply [flat|nested] 8+ messages in thread
* dream: fastboot getting protocol errors
@ 2009-11-09 10:42 ` Pavel Machek
0 siblings, 0 replies; 8+ messages in thread
From: Pavel Machek @ 2009-11-09 10:42 UTC (permalink / raw)
To: linux-arm-kernel
On Mon 2009-11-09 11:36:02, Pavel Machek wrote:
> Hi!
>
> I'm still fighting with porting MMC support to current mainline.
>
> Meanwhile: I'm getting this *way* too often -- with the htcUSB to
> 2xUSB reduction. Any ideas?
>
> root at amd:/data/l/android# ./fastboot -c "console=tty0
> root=/dev/mmcblk0p1 rootdelay=5 fbcon=rotate:1" boot
> /data/l/linux-msm/arch/arm/boot/zImage
> creating boot image...
> creating boot image - 1667072 bytes
> downloading 'boot.img'... FAILED (command write failed (Protocol
> error))
> root at amd:/data/l/android#
>
> ...and then it just goes away after powercycling the phone...
And this is another failure mode: display says "FASTBOOT", and serial
console says
UART0:Cmd>szCPLDstrlen=0x5
+usbloader_init
-usbloader_init
(but no message about usb highspeed mode), and fastboot hangs with
root at amd:/data/l/android# ./fastboot -c "console=tty0
root=/dev/mmcblk0p1 rootdelay=5 fbcon=rotate:1" boot
/data/l/linux-dream-mainline/arch/arm/boot/zImage
creating boot image...
creating boot image - 1421312 bytes
< waiting for device >
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: dream: fastboot getting protocol errors
2009-11-09 10:36 ` Pavel Machek
@ 2009-11-09 12:59 ` Brian Swetland
-1 siblings, 0 replies; 8+ messages in thread
From: Brian Swetland @ 2009-11-09 12:59 UTC (permalink / raw)
To: Pavel Machek; +Cc: Arve Hj?nnev?g, kernel list, linux-arm-kernel
On Mon, Nov 9, 2009 at 2:36 AM, Pavel Machek <pavel@ucw.cz> wrote:
> Hi!
>
> I'm still fighting with porting MMC support to current mainline.
>
> Meanwhile: I'm getting this *way* too often -- with the htcUSB to
> 2xUSB reduction. Any ideas?
>
> root@amd:/data/l/android# ./fastboot -c "console=tty0
> root=/dev/mmcblk0p1 rootdelay=5 fbcon=rotate:1" boot
> /data/l/linux-msm/arch/arm/boot/zImage
> creating boot image...
> creating boot image - 1667072 bytes
> downloading 'boot.img'... FAILED (command write failed (Protocol
> error))
> root@amd:/data/l/android#
>
> ...and then it just goes away after powercycling the phone...
Unfortunately, I think that's just flakies in the htc bootloader. I'm
not aware of any simple workaround. Do you not see it fail if you use
a straight USB A->miniB cable?
I think that bootloader will still honor a secondstage bootloader
embedded in the boot.img (mkbootimg --second foo), or you could
replace the zimage in the boot.img with a second stage bootloader.
Either way, dunno if you want to dig into bootloader hackery to try to
resolve usb issues.
Brian
^ permalink raw reply [flat|nested] 8+ messages in thread
* dream: fastboot getting protocol errors
@ 2009-11-09 12:59 ` Brian Swetland
0 siblings, 0 replies; 8+ messages in thread
From: Brian Swetland @ 2009-11-09 12:59 UTC (permalink / raw)
To: linux-arm-kernel
On Mon, Nov 9, 2009 at 2:36 AM, Pavel Machek <pavel@ucw.cz> wrote:
> Hi!
>
> I'm still fighting with porting MMC support to current mainline.
>
> Meanwhile: I'm getting this *way* too often -- with the htcUSB ?to
> 2xUSB reduction. Any ideas?
>
> root at amd:/data/l/android# ./fastboot -c "console=tty0
> root=/dev/mmcblk0p1 rootdelay=5 fbcon=rotate:1" boot
> /data/l/linux-msm/arch/arm/boot/zImage
> creating boot image...
> creating boot image - 1667072 bytes
> downloading 'boot.img'... FAILED (command write failed (Protocol
> error))
> root at amd:/data/l/android#
>
> ...and then it just goes away after powercycling the phone...
Unfortunately, I think that's just flakies in the htc bootloader. I'm
not aware of any simple workaround. Do you not see it fail if you use
a straight USB A->miniB cable?
I think that bootloader will still honor a secondstage bootloader
embedded in the boot.img (mkbootimg --second foo), or you could
replace the zimage in the boot.img with a second stage bootloader.
Either way, dunno if you want to dig into bootloader hackery to try to
resolve usb issues.
Brian
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: dream: fastboot getting protocol errors
2009-11-09 12:59 ` Brian Swetland
@ 2009-11-09 13:13 ` Pavel Machek
-1 siblings, 0 replies; 8+ messages in thread
From: Pavel Machek @ 2009-11-09 13:13 UTC (permalink / raw)
To: Brian Swetland; +Cc: Arve Hj?nnev?g, kernel list, linux-arm-kernel
On Mon 2009-11-09 04:59:10, Brian Swetland wrote:
> On Mon, Nov 9, 2009 at 2:36 AM, Pavel Machek <pavel@ucw.cz> wrote:
> > Hi!
> >
> > I'm still fighting with porting MMC support to current mainline.
> >
> > Meanwhile: I'm getting this *way* too often -- with the htcUSB to
> > 2xUSB reduction. Any ideas?
> >
> > root@amd:/data/l/android# ./fastboot -c "console=tty0
> > root=/dev/mmcblk0p1 rootdelay=5 fbcon=rotate:1" boot
> > /data/l/linux-msm/arch/arm/boot/zImage
> > creating boot image...
> > creating boot image - 1667072 bytes
> > downloading 'boot.img'... FAILED (command write failed (Protocol
> > error))
> > root@amd:/data/l/android#
> >
> > ...and then it just goes away after powercycling the phone...
>
> Unfortunately, I think that's just flakies in the htc bootloader. I'm
> not aware of any simple workaround. Do you not see it fail if you use
> a straight USB A->miniB cable?
No, that seems to work reliably.
> I think that bootloader will still honor a secondstage bootloader
> embedded in the boot.img (mkbootimg --second foo), or you could
> replace the zimage in the boot.img with a second stage bootloader.
> Either way, dunno if you want to dig into bootloader hackery to try to
> resolve usb issues.
Ok, so its time to simply retry until it works...
Thanks for info!
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
^ permalink raw reply [flat|nested] 8+ messages in thread
* dream: fastboot getting protocol errors
@ 2009-11-09 13:13 ` Pavel Machek
0 siblings, 0 replies; 8+ messages in thread
From: Pavel Machek @ 2009-11-09 13:13 UTC (permalink / raw)
To: linux-arm-kernel
On Mon 2009-11-09 04:59:10, Brian Swetland wrote:
> On Mon, Nov 9, 2009 at 2:36 AM, Pavel Machek <pavel@ucw.cz> wrote:
> > Hi!
> >
> > I'm still fighting with porting MMC support to current mainline.
> >
> > Meanwhile: I'm getting this *way* too often -- with the htcUSB ?to
> > 2xUSB reduction. Any ideas?
> >
> > root at amd:/data/l/android# ./fastboot -c "console=tty0
> > root=/dev/mmcblk0p1 rootdelay=5 fbcon=rotate:1" boot
> > /data/l/linux-msm/arch/arm/boot/zImage
> > creating boot image...
> > creating boot image - 1667072 bytes
> > downloading 'boot.img'... FAILED (command write failed (Protocol
> > error))
> > root at amd:/data/l/android#
> >
> > ...and then it just goes away after powercycling the phone...
>
> Unfortunately, I think that's just flakies in the htc bootloader. I'm
> not aware of any simple workaround. Do you not see it fail if you use
> a straight USB A->miniB cable?
No, that seems to work reliably.
> I think that bootloader will still honor a secondstage bootloader
> embedded in the boot.img (mkbootimg --second foo), or you could
> replace the zimage in the boot.img with a second stage bootloader.
> Either way, dunno if you want to dig into bootloader hackery to try to
> resolve usb issues.
Ok, so its time to simply retry until it works...
Thanks for info!
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2009-11-09 13:13 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-11-09 10:36 dream: fastboot getting protocol errors Pavel Machek
2009-11-09 10:36 ` Pavel Machek
2009-11-09 10:42 ` Pavel Machek
2009-11-09 10:42 ` Pavel Machek
2009-11-09 12:59 ` Brian Swetland
2009-11-09 12:59 ` Brian Swetland
2009-11-09 13:13 ` Pavel Machek
2009-11-09 13:13 ` Pavel Machek
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.