Change in osmo-ccid-firmware[master]: add script to generate a inititial osmo-bankd slotconfig sorted by us...

osmith gerrit-no-reply at lists.osmocom.org
Wed Jul 28 09:41:53 UTC 2021


osmith has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-ccid-firmware/+/25062 )

Change subject: add script to generate a inititial osmo-bankd slotconfig sorted by usb path
......................................................................


Patch Set 1:

(1 comment)

https://gerrit.osmocom.org/c/osmo-ccid-firmware/+/25062/1/contrib/gen_bankd_pcsc_slots-csv.sh 
File contrib/gen_bankd_pcsc_slots-csv.sh:

https://gerrit.osmocom.org/c/osmo-ccid-firmware/+/25062/1/contrib/gen_bankd_pcsc_slots-csv.sh@5 
PS1, Line 5: dfu-util -l |grep "Found Runtime: \[1d50:6141\]" |cut -d ' ' -f 8,13|tr -d ','|cut -d \" -f 2,4|tr \" ' '|sort |cut -d ' ' -f 2 | awk 'BEGIN {count=0}{for (slot=0; slot<8; slot++) {print count, $0, 0slot; count++}}'|awk '{print "\"1\",\""$1"\",\"sysmocom sysmoOCTSIM \[CCID\] \("$2"\) [A-F0-9]{2} "$3"\""}'
having each command on a separate line would make this much more readable:

 dfu-util -l \
    | grep "Found Runtime ..." \
    | cut -d ... \
    | ...



-- 
To view, visit https://gerrit.osmocom.org/c/osmo-ccid-firmware/+/25062
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-ccid-firmware
Gerrit-Branch: master
Gerrit-Change-Id: Ibb5e7db78c8a2129d2093b0dd5ecaa7c13ab9ee3
Gerrit-Change-Number: 25062
Gerrit-PatchSet: 1
Gerrit-Owner: roh <jsteiger at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-CC: osmith <osmith at sysmocom.de>
Gerrit-Comment-Date: Wed, 28 Jul 2021 09:41:53 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210728/122d306d/attachment.htm>


More information about the gerrit-log mailing list