Skip to content
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

I don't know how to make compilation. Can you guys show how to compile heimdall? #505

Open
wants to merge 21 commits into
base: master
Choose a base branch
from

Conversation

itsimpeccable
Copy link

a

dandv and others added 21 commits October 14, 2017 01:30
Heimdall fails to handshake with device on my Linux installation:
Initialising protocol...
ERROR: libusb error -7 whilst sending bulk transfer. Retrying...
ERROR: libusb error -7 whilst sending bulk transfer. Retrying...
ERROR: libusb error -7 whilst sending bulk transfer. Retrying...
ERROR: libusb error -7 whilst sending bulk transfer. Retrying...
ERROR: libusb error -7 whilst sending bulk transfer. Retrying...
ERROR: libusb error -7 whilst sending bulk transfer.
ERROR: Failed to send handshake!
ERROR: Failed to receive handshake response. Result: -7
ERROR: Protocol initialisation failed!

However, with the same USB cable, port and device, Heimdall
successfully handshake with the device on Windows via WinUSB.
This indicates handling of USB devices of host (AMD X570) on
Linux might lead to undesired results. Though, without further
testing, the interference from userspace (Ubuntu 20.04, KDE) can
not be ruled out.

Thus, this patch calls libusb_reset_device to ensure
the USB port is in a clean state before we send the data.

Fixes issues with newer devices and hosts.

Signed-off-by: Jesse Chan <[email protected]>
heimdall: Odin protocol version 4 support
Mention how to boot into download mode for S3 - S8
add instructions to compile without de frontend cf. https://github.co…
InitialiseProtocol: reset device before handshake and upload artifacts
put them in the same folder as the heimdall.exe binary
@JonnyTech
Copy link

I don't know how to make compilation. Can you guys show how to compile heimdall?

I see that you are using Windows, therefore read the relevant documentation linked on the project page:

https://raw.githubusercontent.com/Benjamin-Dobell/Heimdall/master/Win32/README.txt

Appendix B - Installing Heimdall Suite from Source

Also please delete this irrelevant PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants