Bug#931295: u-boot-sunxi: cannot stop autoboot with usb keyboard on cubietruck

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

Bug#931295: u-boot-sunxi: cannot stop autoboot with usb keyboard on cubietruck

Phil Morrell
Source: u-boot
Version: 2019.01+dfsg-7
Severity: important

Hi,

I currently have a Stretch install on cubietruck sata SSD, with just
u-boot on the SD. Today I tried a first step of installing Buster, but
the new SD image does not allow me to stop the autoboot into Stretch.
This prevents me specifying the hd-media install with `setenv devplist`.

http://deb.debian.org/debian/dists/stretch/main/installer-armhf/20170615+deb9u6/images/u-boot/Cubietruck/Cubietruck.sdcard.img.gz
http://deb.debian.org/debian/dists/buster/main/installer-armhf/20190623/images/u-boot/Cubietruck/Cubietruck.sdcard.img.gz

zcat Cubietruck.sdcard.img.gz | sudo dd of=/dev/sdd
--
Phil Morrell

signature.asc (235 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Bug#931295: u-boot-sunxi: cannot stop autoboot with usb keyboard on cubietruck

Phil Morrell
Control: fixed -1 2019.07~rc4+dfsg-1
Control: affects -1 debian-installer
thanks

Since it's a very fast test, I performed some bisecting. The last image
that works is 20180610, the first to fail being 20181206. I can also
confirm yesterdays new image has not fixed it.

Out of interest, I extracted the u-boot-sunxi-with-spl.bin from
u-boot-sunxi:armhf. Naturally, stretch works and buster does not, but
interestingly the version in experimental does work.

This is also affecting d-i buster, even when booted from u-boot stretch.

signature.asc (235 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Bug#931295: u-boot-sunxi: cannot stop autoboot with usb keyboard on cubietruck

Phil Morrell
Control: tags -1 patch
thanks

Looking through [configs/Cubietruck_defconfig], it seems highly likely
to me that commit [29d280c8] is the fix. I don't know if it's
backportable and I'm not sure how to rebuild this package, but I'm happy
to test any images built with:

CONFIG_USB_OHCI_HCD=y

I was also not sure if this should be important (because it only affects
some hardware) or grave because for the hardware it does affect, I'm
unable to install Buster.

[29d280c8]: https://gitlab.denx.de/u-boot/u-boot/commit/29d280c88a1ff331dce2d4c7a5aaf2402aa0fd8a#0eebb5a51fc5f88e9eddcca0b9a87309b0c07e0c
[configs/Cubietruck_defconfig]: https://gitlab.denx.de/u-boot/u-boot/commits/master/configs/Cubietruck_defconfig

signature.asc (235 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Bug#931295: u-boot-sunxi: cannot stop autoboot with usb keyboard on cubietruck

Vagrant Cascadian-4
On 2019-07-03, Phil Morrell wrote:
> Looking through [configs/Cubietruck_defconfig], it seems highly likely
> to me that commit [29d280c8] is the fix. I don't know if it's
> backportable and I'm not sure how to rebuild this package, but I'm happy
> to test any images built with:
>
> CONFIG_USB_OHCI_HCD=y

> I was also not sure if this should be important (because it only affects
> some hardware) or grave because for the hardware it does affect, I'm
> unable to install Buster.

I don't think it warrants a higher severity, as you can also install or
use it over serial console.


> [29d280c8]: https://gitlab.denx.de/u-boot/u-boot/commit/29d280c88a1ff331dce2d4c7a5aaf2402aa0fd8a#0eebb5a51fc5f88e9eddcca0b9a87309b0c07e0c

This commit is present upstream as of v2019.04-rc1.

Would you please test if it is fixed in newer versions in experimental?
Currently 2019.07~rc4+dfsg-1, though I'm likely to upload the released
version shortly.

If you can confirm it's fixed in newer versions, it's worth looking
deeper into fixing it in a buster point release...


live well,
  vagrant

signature.asc (233 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Bug#931295: u-boot-sunxi: cannot stop autoboot with usb keyboard on cubietruck

Vagrant Cascadian-4
On 2019-07-08, Vagrant Cascadian wrote:

> On 2019-07-03, Phil Morrell wrote:
>> Looking through [configs/Cubietruck_defconfig], it seems highly likely
>> to me that commit [29d280c8] is the fix. I don't know if it's
>> backportable and I'm not sure how to rebuild this package, but I'm happy
>> to test any images built with:
>>
>> CONFIG_USB_OHCI_HCD=y
>
>> I was also not sure if this should be important (because it only affects
>> some hardware) or grave because for the hardware it does affect, I'm
>> unable to install Buster.
>
> I don't think it warrants a higher severity, as you can also install or
> use it over serial console.
>
>
>> [29d280c8]: https://gitlab.denx.de/u-boot/u-boot/commit/29d280c88a1ff331dce2d4c7a5aaf2402aa0fd8a#0eebb5a51fc5f88e9eddcca0b9a87309b0c07e0c
>
> This commit is present upstream as of v2019.04-rc1.
>
> Would you please test if it is fixed in newer versions in experimental?
> Currently 2019.07~rc4+dfsg-1, though I'm likely to upload the released
> version shortly.
>
> If you can confirm it's fixed in newer versions, it's worth looking
> deeper into fixing it in a buster point release...
I just realized re-reading the thread that you already tested the
working version, sorry for the noise.


live well,
  vagrant

signature.asc (233 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Bug#931295: USB keyboard not working

markus.mbox
In reply to this post by Phil Morrell
Hello,
I have the same problem with a BananaPI and Debian buster.
u-boot from buster does not accept any key press and autoboot starts the installer on a serial console (blank screen).
 
I have tried a "trick" and created a SD-card with firmware.BananaPi.img.gz from stretch and partition.img.gz from buster. Now I can enter setenv commands on the u-boot console and start the installer. But then I have no keyboard in the installer.
 
Markus
 
 
https://get.debian.org/debian/dists/stretch/main/installer-armhf/current/images/hd-media/SD-card-images/firmware.BananaPi.img.gz
 
https://get.debian.org/debian/dists/testing/main/installer-armhf/20190702/images/hd-media/SD-card-images/partition.img.gz
Reply | Threaded
Open this post in threaded view
|

Bug#931295: u-boot-sunxi: cannot stop autoboot with usb keyboard on cubietruck

Vagrant Cascadian-4
In reply to this post by Phil Morrell
Version: 2019.04+dfsg-1

On 2019-07-03, Phil Morrell wrote:
> Looking through [configs/Cubietruck_defconfig], it seems highly likely
> to me that commit [29d280c8] is the fix. I don't know if it's
> backportable and I'm not sure how to rebuild this package, but I'm happy
> to test any images built with:
>
> CONFIG_USB_OHCI_HCD=y

This commit is present in 2019.04+dfsg-1, so marking as done.

It still could standd to get fixed in buster, but the fixing commit
depended on several others, so I'm not sure if it's a trivial backport
or not.

live well,
  vagrant