Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F156753680
D22938.id66038.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
2 KB
Referenced Files
None
Subscribers
None
D22938.id66038.diff
View Options
Index: gobi_loader/Makefile
===================================================================
--- /dev/null
+++ gobi_loader/Makefile
@@ -0,0 +1,28 @@
+# $FreeBSD$
+
+PORTNAME= gobi_loader
+DISTVERSION= g20191227
+CATEGORIES= sysutils net
+
+LICENSE= GPLv2
+LICENSE_FILE= ${WRKSRC}/LICENSE
+MAINTAINER= portscout@freebsd.org
+COMMENT= Firmware Loader for Qualcomm Gobi USB Chipsets
+
+SUB_FILES= gobi.conf
+
+USE_GITHUB= yes
+GH_ACCOUNT= mzary
+GH_PROJECT= gobi_loader
+GH_TAGNAME= fbecd85
+
+PLIST_FILES= ${PREFIX}/sbin/gobi_loader ${PREFIX}/etc/devd/gobi.conf
+
+.include <bsd.port.options.mk>
+
+
+do-install:
+ ${INSTALL_DATA} ${WRKSRC}/../gobi.conf ${STAGEDIR}${PREFIX}/etc/devd/gobi.conf
+ ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}/${PREFIX}/sbin
+
+.include <bsd.port.mk>
Index: gobi_loader/distinfo
===================================================================
--- /dev/null
+++ gobi_loader/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1577476084
+SHA256 (mzary-gobi_loader-g20191227-fbecd85_GH0.tar.gz) = 9e0219dad9855c4d6be7004348aff0e1ee17936759fe80f63166d1b2005b1aa0
+SIZE (mzary-gobi_loader-g20191227-fbecd85_GH0.tar.gz) = 12241
Index: gobi_loader/files/gobi.conf.in
===================================================================
--- /dev/null
+++ gobi_loader/files/gobi.conf.in
@@ -0,0 +1,9 @@
+# Load GOBI U3G QDL modem firmware.
+# If modem does not accept valid firmware try to remove gobi_loader -2000 switch.
+
+attach 100 {
+ match "vendor" "0x03f0";
+ match "product" "0x241d";
+ action "/usr/local/sbin/gobi_loader -2000 /dev/cuaU0 /boot/firmware/gobi/";
+};
+
Index: gobi_loader/files/patch-Makefile
===================================================================
--- /dev/null
+++ gobi_loader/files/patch-Makefile
@@ -0,0 +1,9 @@
+--- Makefile.orig 2019-12-27 21:35:57.626444000 +0100
++++ Makefile 2019-12-27 21:37:41.912754000 +0100
+@@ -2,5 +2,5 @@
+
+ gobi_loader: gobi_loader.c
+- cc -Wall gobi_loader.c -o gobi_loader
++ $(CC) ${CFLAGS} gobi_loader.c -o gobi_loader
+
+ all: gobi_loader
Index: gobi_loader/pkg-descr
===================================================================
--- /dev/null
+++ gobi_loader/pkg-descr
@@ -0,0 +1,8 @@
+Firmware Loader for Qualcomm Gobi USB Chipsets.
+
+- clone from http://www.codon.org.uk/~mjg59/gobi_loader/download/gobi_loader-0.7.tar.gz
+- fix CDMA firmware download failed issue
+- add openwrt big-endian platform support
+- trimming and initial FreeBSD port support
+
+WWW: https://github.com/kicer/gobi_loader
Index: gobi_loader/pkg-message
===================================================================
--- /dev/null
+++ gobi_loader/pkg-message
@@ -0,0 +1,17 @@
+[
+{ type: install
+ message: <<EOM
+
+To load firmware on boot or device attach adjust file
+/usrlocal/etc/devd/gobi.conf and place firmware files in
+/boot/firmware/gobi directory.
+If you have not done it yet, pleasei also do the following:
+
+ mkdir -p /boot/firmware/gobi
+
+To find VID/PID of the modem issue command:
+
+ usbconfig dump_device_desc
+EOM
+}
+]
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, May 17, 3:04 AM (14 h, 38 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
33170322
Default Alt Text
D22938.id66038.diff (2 KB)
Attached To
Mode
D22938: [new port] systuils/gobi_loader: Firmware Loader for Qualcomm Gobi USB Chipsets
Attached
Detach File
Event Timeline
Log In to Comment