Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Mar 2026 18:14:18 +0000
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: cd97f5eace13 - main - devel/heimdall: fix flashing on some samung tablet
Message-ID:  <69b453fa.27c8d.686b7925@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by bapt:

URL: https://cgit.FreeBSD.org/ports/commit/?id=cd97f5eace13e5070e084303991f7c297d19e918

commit cd97f5eace13e5070e084303991f7c297d19e918
Author:     Baptiste Daroussin <bapt@FreeBSD.org>
AuthorDate: 2026-03-13 18:08:06 +0000
Commit:     Baptiste Daroussin <bapt@FreeBSD.org>
CommitDate: 2026-03-13 18:14:07 +0000

    devel/heimdall: fix flashing on some samung tablet
    
    Heimdall sends at some empty OUT transfers (as for the ODIN protocol)
    with a 100ms timeou. The device is busy writing on the flash at that
    point and NACKs OUT tokens for more than 100ms. The result is the empty
    transfers times out. and since this is a required ODIN protocol marker,
    the transfers fails.
    
    Make sure those empty out transfers get a longer timeout.
---
 devel/heimdall/Makefile                                    |  2 +-
 devel/heimdall/files/patch-heimdall_source_BridgeManager.h | 11 +++++++++++
 2 files changed, 12 insertions(+), 1 deletion(-)

diff --git a/devel/heimdall/Makefile b/devel/heimdall/Makefile
index bce65f5ad2e0..6a4233aa1a13 100644
--- a/devel/heimdall/Makefile
+++ b/devel/heimdall/Makefile
@@ -1,7 +1,7 @@
 PORTNAME=	heimdall
 PORTVERSION=	1.4.2
 DISTVERSIONPREFIX=	v
-PORTREVISION=	5
+PORTREVISION=	6
 CATEGORIES=	devel
 
 MAINTAINER=	ports@FreeBSD.org
diff --git a/devel/heimdall/files/patch-heimdall_source_BridgeManager.h b/devel/heimdall/files/patch-heimdall_source_BridgeManager.h
new file mode 100644
index 000000000000..b2b82832cd79
--- /dev/null
+++ b/devel/heimdall/files/patch-heimdall_source_BridgeManager.h
@@ -0,0 +1,11 @@
+--- heimdall/source/BridgeManager.h.orig	2017-05-11 18:34:25 UTC
++++ heimdall/source/BridgeManager.h
+@@ -82,7 +82,7 @@ namespace Heimdall
+ 			{
+ 				kDefaultTimeoutSend = 3000,
+ 				kDefaultTimeoutReceive = 3000,
+-				kDefaultTimeoutEmptyTransfer = 100
++				kDefaultTimeoutEmptyTransfer = 3000
+ 			};
+ 
+ 			enum class UsbLogLevel


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69b453fa.27c8d.686b7925>