-
Notifications
You must be signed in to change notification settings - Fork 420
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
usb_bulk_send() ERROR -4: No such device #155
Comments
I would guess it is a board problem or SPL configuration error. Loading the
SPL to SRAM works, but then it crashes after the DRAM have been configured
where it should load u-boot into DRAM.
Den tors 21 jan. 2021 08:25Filip Kotoucek <[email protected]> skrev:
… Hello,
I'm trying to boot new custom board with A64 via USB-OTG with this script
(sunxi-fel v1.4.2-110-g7a6a222 compiled from source). New board uses
LPDDR3, the previous board uses normal DDR3, so I'm using different SPL for
each board.
sunxi-fel -v $DEV \
spl $SPL \
write 0x44000 bl31.bin \
write 0x4a000000 u-boot.bin \
write 0x43100000 my.env \
write 0x4FC00000 boot.scr \
write 0x40080000 Image \
write 0x4FE00000 live-image.cpio.gz.bin \
write 0x4FA00000 sun50i-a64.dtb \
reset64 0x44000
The script works on the previous boark OK. On the new one I'm getting usb_bulk_send()
ERROR -4: No such device (it may have been disconnected) error.
Output on PC:
Image Name:
Created: Thu Jan 21 08:12:45 2021
Image Type: ARM Linux Script (uncompressed)
Data Size: 193 Bytes = 0.19 KiB = 0.00 MiB
Load Address: 00000000
Entry Point: 00000000
Contents:
Image 0: 185 Bytes = 0.18 KiB = 0.00 MiB
Image Name: TestLinux initramfs root
Created: Thu Jan 21 08:12:45 2021
Image Type: ARM Linux RAMDisk Image (gzip compressed)
Data Size: 52587486 Bytes = 51354.97 KiB = 50.15 MiB
Load Address: 00000000
Entry Point: 00000000
Stack pointers: sp_irq=0x00012000, sp=0x00015E08
MMU is not enabled by BROM
=> Executing the SPL... done.
Passing boot info via sunxi SPL: script address = 0x43100000, uEnv length = 8
Passing boot info via sunxi SPL: script address = 0x4FC00000, uEnv length = 0
usb_bulk_send() ERROR -4: No such device (it may have been disconnected)
Otuptut from UART0:
U-Boot SPL 2018.11-00009-g4edd8c0427 (Dec 06 2018 - 01:23:58 +0000)
DRAM: 1024 MiB
Trying to boot from FEL
I'm not sure if it can be bug in sunxi-fel or electrical issue on the new
board (voltage drop). Do you have any advice?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#155>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AACVUD5S2OT5E6Y4URSH54DS27JGXANCNFSM4WMMLNAQ>
.
|
What SPL are you using? Latest mainline U-Boot supports 64-bit SPLs for FEL booting now, so no extra SPL needed. |
Hello,
I'm trying to boot new custom board with A64 via USB-OTG with this script (sunxi-fel v1.4.2-110-g7a6a222 compiled from source). New board uses LPDDR3, the previous board uses normal DDR3, so I'm using different SPL for each board.
The script works on the previous boark OK. On the new one I'm getting
usb_bulk_send() ERROR -4: No such device (it may have been disconnected)
error.Output on PC:
Otuptut from UART0:
I'm not sure if it can be bug in
sunxi-fel
or electrical issue on the new board (voltage drop). Do you have any advice?The text was updated successfully, but these errors were encountered: