Firefly Open Source Community

   Login   |   Register   |
New_Topic
Print Previous Topic Next Topic

[General] USB is not working in U-BOOT

152

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
152

【General】 USB is not working in U-BOOT

Posted at 8/23/2022 16:29:54      View:2115 | Replies:14        Print     [Copy Link] 1#
I met a problem with USB BOOT in U-BOOT. The screenshot shows that even according to the default defconfig, USB storages should work correctly on the board. USB SCAN shows that it sees keyboards and mice, but USB STORAGE DEVICE is always 0. I have a flash drive with a power diode and I see that it is not even powered. In Linux, all flash drives are visible. Tried different flash drives. It is in u-boot that flash drives do not work and I cannot understand why. I need USB BOOT and now I can't figure out how to provide it?
file:///home/firefly/Pictures/Screenshot%20from%202022-08-23%2011-07-49.png

Screenshot from 2022-08-23 11-07-49.png (82.4 KB, Down times: 71)

Screenshot from 2022-08-23 11-07-49.png
Reply

Use props Report

152

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
152
Posted at 8/30/2022 19:35:47      2#
Please, help us - I tried everything I could - USB is not working in u-boot completely. 3 devices that it found with USB start command - is not my devices. U-BOOT cannot find no one USB device.
Reply

Use props Report

152

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
152
Posted at 9/1/2022 15:19:42      3#
Hmm, strange. On my board USB cannot find anything - no one device.
I'll try on SDK 1.0.1b, but is not compiling because of u-boot sector exceed approved size. I can fix it with defconfig and parameter.txt fixing but i afraid that it could brake some needed hardcoded addresses - that is why I only talk it to you.
I tried to fix it in my SDK but meet another problem - if I flash only u-boot on my sdcard - there is no one SCAN is working. And I can't find why? Maybe there is something needed for u-boot but missing in u-boot partition?
What should I flash on sdcard to get full working u-boot?
Reply

Use props Report

152

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
152
Posted at 9/1/2022 16:30:18      4#
Last edited by v.redin In 9/1/2022 17:07 Editor

I tried to flash MISC too but it was not helped...
Reply

Use props Report

152

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
152
Posted at 9/1/2022 22:53:24      5#
No, I'm using dd
Reply

Use props Report

152

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
152
Posted at 9/1/2022 22:54:21      6#
And I can't understand where should I provide DTB for u-boot to see it
Reply

Use props Report

152

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
152
Posted at 9/2/2022 17:20:08      7#
Thank you - I will try!
Reply

Use props Report

152

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
152
Posted at 9/2/2022 17:45:56      8#
Can you tell me, do rockusb upgrade only emmc, or I can use it to upgrade u-boot in SD card too?
On my plate now I must not touch EMMC, because of production is here... I afraid to brake it... Linux upgrade tool docs are in Chinese and I can't read this.
Reply

Use props Report

152

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
152
Posted at 9/5/2022 17:20:07      9#
We clearly see that there is no power to devices connected via USB, and if you power the USB device from the outside, it is seen in U-BOOT. In Linux power works fine. Tested on revision boards 1.0 and 1.1 and on different versions of SDK - 1.0.0 and 1.0.1.
Reply

Use props Report

152

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
152
Posted at 9/6/2022 19:07:17      10#
NVME is not working in U-BOOT too (n o power. I tried to compare linux DTS and u-boot DTS and found that there is no powers applied for USB or NVME. Now I try to enable power due to kernel DTS, but it is not working now
Reply

Use props Report

You need to log in before you can reply Login | Register

This forum Credits Rules

Quick Reply Back to top Back to list