Bug #4413
closedsimtrace2-firmware nightly builds have "UNKNOWN" version indication
100%
Description
Looking at the simtrace2-firmware-0.7.0.49.baa6
package from the current nightly feed on Raspbian 10, it contains the following files:
dpkg -L simtrace2-firmware /. /usr /usr/share /usr/share/doc /usr/share/doc/simtrace2-firmware /usr/share/doc/simtrace2-firmware/changelog.gz /usr/share/simtrace2 /usr/share/simtrace2/qmod-cardem-dfu-UNKNOWN.bin /usr/share/simtrace2/qmod-cardem-dfu-latest.bin /usr/share/simtrace2/qmod-cardem-dfu.bin /usr/share/simtrace2/qmod-dfu-dfu-UNKNOWN.bin /usr/share/simtrace2/qmod-dfu-dfu-latest.bin /usr/share/simtrace2/qmod-dfu-dfu.bin /usr/share/simtrace2/qmod-dfu-flash-UNKNOWN.bin /usr/share/simtrace2/qmod-dfu-flash-latest.bin /usr/share/simtrace2/qmod-dfu-flash.bin /usr/share/simtrace2/simtrace-cardem-dfu-UNKNOWN.bin /usr/share/simtrace2/simtrace-cardem-dfu-latest.bin /usr/share/simtrace2/simtrace-cardem-dfu.bin /usr/share/simtrace2/simtrace-dfu-dfu-UNKNOWN.bin /usr/share/simtrace2/simtrace-dfu-dfu-latest.bin /usr/share/simtrace2/simtrace-dfu-dfu.bin /usr/share/simtrace2/simtrace-dfu-flash-UNKNOWN.bin /usr/share/simtrace2/simtrace-dfu-flash-latest.bin /usr/share/simtrace2/simtrace-dfu-flash.bin /usr/share/simtrace2/simtrace-trace-dfu-UNKNOWN.bin /usr/share/simtrace2/simtrace-trace-dfu-latest.bin /usr/share/simtrace2/simtrace-trace-dfu.bin
First of all, each firmware is contained three times. Secondly, the filename contains UNKNOWN instead of the version. And finally, even the compiled binaries contain UNKNOWN which means that lsusb and the serial console are not able to tell the user which build version they are. This is not useful :(
Updated by laforge about 3 years ago
- Priority changed from Normal to High
This is still the case one year later:
dpkg-deb -c /tmp/simtrace2-firmware_0.7.0.70.657c_all.deb 1/130/0 drwxr-xr-x root/root 0 2021-03-04 02:30 ./ drwxr-xr-x root/root 0 2021-03-04 02:30 ./usr/ drwxr-xr-x root/root 0 2021-03-04 02:30 ./usr/share/ drwxr-xr-x root/root 0 2021-03-04 02:30 ./usr/share/doc/ drwxr-xr-x root/root 0 2021-03-04 02:30 ./usr/share/doc/simtrace2-firmware/ -rw-r--r-- root/root 298 2021-03-04 02:30 ./usr/share/doc/simtrace2-firmware/changelog.gz drwxr-xr-x root/root 0 2021-03-04 02:30 ./usr/share/simtrace2/ -rwxr-xr-x root/root 33096 2021-03-04 02:30 ./usr/share/simtrace2/qmod-cardem-dfu-UNKNOWN.bin -rwxr-xr-x root/root 33096 2021-03-04 02:30 ./usr/share/simtrace2/qmod-cardem-dfu-latest.bin -rwxr-xr-x root/root 33096 2021-03-04 02:30 ./usr/share/simtrace2/qmod-cardem-dfu.bin -rwxr-xr-x root/root 16184 2021-03-04 02:30 ./usr/share/simtrace2/qmod-dfu-dfu-UNKNOWN.bin -rwxr-xr-x root/root 16184 2021-03-04 02:30 ./usr/share/simtrace2/qmod-dfu-dfu-latest.bin -rwxr-xr-x root/root 16184 2021-03-04 02:30 ./usr/share/simtrace2/qmod-dfu-dfu.bin -rwxr-xr-x root/root 16524 2021-03-04 02:30 ./usr/share/simtrace2/qmod-dfu-flash-UNKNOWN.bin -rwxr-xr-x root/root 16524 2021-03-04 02:30 ./usr/share/simtrace2/qmod-dfu-flash-latest.bin -rwxr-xr-x root/root 16524 2021-03-04 02:30 ./usr/share/simtrace2/qmod-dfu-flash.bin -rwxr-xr-x root/root 26888 2021-03-04 02:30 ./usr/share/simtrace2/simtrace-cardem-dfu-UNKNOWN.bin -rwxr-xr-x root/root 26888 2021-03-04 02:30 ./usr/share/simtrace2/simtrace-cardem-dfu-latest.bin -rwxr-xr-x root/root 26888 2021-03-04 02:30 ./usr/share/simtrace2/simtrace-cardem-dfu.bin -rwxr-xr-x root/root 15844 2021-03-04 02:30 ./usr/share/simtrace2/simtrace-dfu-dfu-UNKNOWN.bin -rwxr-xr-x root/root 15844 2021-03-04 02:30 ./usr/share/simtrace2/simtrace-dfu-dfu-latest.bin -rwxr-xr-x root/root 15844 2021-03-04 02:30 ./usr/share/simtrace2/simtrace-dfu-dfu.bin -rwxr-xr-x root/root 16172 2021-03-04 02:30 ./usr/share/simtrace2/simtrace-dfu-flash-UNKNOWN.bin -rwxr-xr-x root/root 16172 2021-03-04 02:30 ./usr/share/simtrace2/simtrace-dfu-flash-latest.bin -rwxr-xr-x root/root 16172 2021-03-04 02:30 ./usr/share/simtrace2/simtrace-dfu-flash.bin -rwxr-xr-x root/root 26772 2021-03-04 02:30 ./usr/share/simtrace2/simtrace-trace-dfu-UNKNOWN.bin -rwxr-xr-x root/root 26772 2021-03-04 02:30 ./usr/share/simtrace2/simtrace-trace-dfu-latest.bin -rwxr-xr-x root/root 26772 2021-03-04 02:30 ./usr/share/simtrace2/simtrace-trace-dfu.bin
Updated by osmith about 3 years ago
- Status changed from New to In Progress
- % Done changed from 0 to 90
Sorry for the delay.
Fixes are here:
https://gerrit.osmocom.org/q/topic:simtrace2-unknown
Verified the build on OBS:
https://build.opensuse.org/package/live_build_log/home:osmith42/simtrace2/Debian_9.0/i586
Added some documentation about git-version-gen:
https://osmocom.org/projects/cellular-infrastructure/wiki/Git-version-gen
Updated by osmith about 3 years ago
- Status changed from In Progress to Resolved
- % Done changed from 90 to 100
With patches applied, from my own OBS namespace:
$ dpkg --contents simtrace2-firmware_0.7.0.75.1031_all.deb drwxr-xr-x root/root 0 2021-03-05 15:55 ./ drwxr-xr-x root/root 0 2021-03-05 15:55 ./usr/ drwxr-xr-x root/root 0 2021-03-05 15:55 ./usr/share/ drwxr-xr-x root/root 0 2021-03-05 15:55 ./usr/share/doc/ drwxr-xr-x root/root 0 2021-03-05 15:55 ./usr/share/doc/simtrace2-firmware/ -rw-r--r-- root/root 298 2021-03-05 15:55 ./usr/share/doc/simtrace2-firmware/changelog.gz drwxr-xr-x root/root 0 2021-03-05 15:55 ./usr/share/simtrace2/ -rwxr-xr-x root/root 33104 2021-03-05 15:55 ./usr/share/simtrace2/qmod-cardem-dfu.bin -rwxr-xr-x root/root 16192 2021-03-05 15:55 ./usr/share/simtrace2/qmod-dfu-dfu.bin -rwxr-xr-x root/root 16544 2021-03-05 15:55 ./usr/share/simtrace2/qmod-dfu-flash.bin -rwxr-xr-x root/root 26896 2021-03-05 15:55 ./usr/share/simtrace2/simtrace-cardem-dfu.bin -rwxr-xr-x root/root 15860 2021-03-05 15:55 ./usr/share/simtrace2/simtrace-dfu-dfu.bin -rwxr-xr-x root/root 16192 2021-03-05 15:55 ./usr/share/simtrace2/simtrace-dfu-flash.bin -rwxr-xr-x root/root 26788 2021-03-05 15:55 ./usr/share/simtrace2/simtrace-trace-dfu.bin