From: Daniel Elstner Date: Sat, 31 Oct 2015 21:25:28 +0000 (+0100) Subject: sysclk-lwla: Extract LWLA1034 bitstreams in RBF format X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=4b1b0a9f22ccbaa54e3e59e0f929c168a823c797;p=sigrok-util.git sysclk-lwla: Extract LWLA1034 bitstreams in RBF format Adjust offsets so that the extraction yields Raw Binary Files, and adjust the filenames accordingly. This is the format expected by the current LWLA1034 driver in libsigrok. --- diff --git a/firmware/sysclk-lwla/sigrok-fwextract-sysclk-lwla1034 b/firmware/sysclk-lwla/sigrok-fwextract-sysclk-lwla1034 index c9e261e..5809d42 100755 --- a/firmware/sysclk-lwla/sigrok-fwextract-sysclk-lwla1034 +++ b/firmware/sysclk-lwla/sigrok-fwextract-sysclk-lwla1034 @@ -35,7 +35,7 @@ if [ "$2" != "$expectsum" ]; then fi # Extract the firmware binaries from the executable -dd bs=1 skip=34110338 count=78398 if="$infile" of=sysclk-lwla1034-int.bitstream -dd bs=1 skip=34266237 count=78247 if="$infile" of=sysclk-lwla1034-extpos.bitstream -dd bs=1 skip=34344484 count=79145 if="$infile" of=sysclk-lwla1034-extneg.bitstream -dd bs=1 skip=34578631 count=48525 if="$infile" of=sysclk-lwla1034-off.bitstream +dd bs=1 skip=34110342 count=78394 if="$infile" of=sysclk-lwla1034-int.rbf +dd bs=1 skip=34266241 count=78243 if="$infile" of=sysclk-lwla1034-extpos.rbf +dd bs=1 skip=34344488 count=79141 if="$infile" of=sysclk-lwla1034-extneg.rbf +dd bs=1 skip=34578635 count=48521 if="$infile" of=sysclk-lwla1034-off.rbf