-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
U-Boot reboots after "usb start" on x96 mini #4
Comments
Different result when attaching the storage device to the other USB port:
|
i guess this is expecting too much from a chainloaded u-boot ... for such
low level stuff to work you'll have to adapt the mainline u-boot to be
built with a dts matching your hardware exactly ... you may try to build
the different gxl u-boots and see if any of their u-boot.bin will work for
you
good luck and best wishes - hexdump
…On Wed, Apr 29, 2020 at 12:06 AM probonopd ***@***.***> wrote:
Different result when using the other USB port:
=> usb start
starting USB...
USB0: Register 2000140 NbrPorts 2
Starting the controller
USB XHCI 1.00
scanning bus 0 for devices... Device not responding to set address.
USB device not accepting new address (error=80000000)
1 USB Device(s) found
scanning usb for storage devices... 0 Storage Device(s) found
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#4 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AHPN2QKP6I5XYVQDXGAKH73RO5HM7ANCNFSM4MTGCWCQ>
.
|
Thanks @hexdump0815
Do you know where I can learn about how exactly to do that? |
i think there is no single ressource to learn that from - its a long learning and a lot of trial and error and sometimes its impossible because one does not really know how a certain hardware exactly works ... |
btw. did you try to run the "usb start" on the legacy u-boot before the chainloading? |
No, I didn't do that. Will see whether doing this will make a difference. |
Indeed @hexdump0815 it works (as in: recognizes USB mass storage device without crashing) when I run |
It seems that this bootloader cannot handle ISO9660 which is needed to boot openSUSE aarch64 Live ISOs? |
maybe rebuild the chainloaded u-boot with iso fs enabled - i trhink mine was a libretech potato u-boot without any changes built from mainline u-boot |
Thanks, it looks like https://build.opensuse.org/package/binaries/hardware:boot/u-boot:libretech-cc/openSUSE_Factory_ARM can be used (although it has the same USB mass storage issue). How did you find out that |
if i remember correctly it was either from the amlogic irc or trail and error |
Hi @hexdump0815, thanks for pointing me to https://github.com/hexdump0815/imagebuilder/blob/master/boot/boot-amlogic_gx-aarch64/u-boot.bin on IRC.
I can successfully chainload this U-Boot build, but trying to use
usb start
with a USB storage device attached leads to a reboot on the x96 mini:Without a USB storage device attached it works:
If I then attach the USB storage device and
usb reset
, then I am back to the original issue.Do you have any idea what may be causing this or how to debug it?
Thank you very much.
The text was updated successfully, but these errors were encountered: