laforge has submitted this change. ( https://gerrit.osmocom.org/c/simtrace2/+/30153 )
Change subject: conrtrib/upload : upload elf files ......................................................................
conrtrib/upload : upload elf files
Due to popular demand people want elf files that can be loaded to get debug symbols, so publish the elf file, but not the stub-less bin file.
This elf file can ONLY be used to look up symbols, it should NOT be "load"ed into flash, because the preceding crc stub has to match. Mixing older crc stubs that are still in flash and newer elf files means the device will end up in DFU mode upon reset.
Change-Id: Ifceb16d385388356ac1bf8b13f5df62c643bebf8 --- M contrib/prepare_upload.sh 1 file changed, 1 insertion(+), 1 deletion(-)
Approvals: laforge: Looks good to me, approved osmith: Looks good to me, but someone else must approve Jenkins Builder: Verified
diff --git a/contrib/prepare_upload.sh b/contrib/prepare_upload.sh index f134d2a..cdd144f 100755 --- a/contrib/prepare_upload.sh +++ b/contrib/prepare_upload.sh @@ -9,7 +9,7 @@ cd firmware/bin for ext in bin elf; do for file in *."$ext"; do - if ! [[ "$file" =~ ^(.*padded.*|.*nocrcstub.*)$ ]];then + if ! [[ "$file" =~ ^(.*padded.*|.*nocrcstub.*bin)$ ]];then without_ext="${file%.*}" cp -v "$file" "$without_ext-latest.$ext" cp -v "$file" "$without_ext-$GIT_VERSION.$ext"
2 is the latest approved patch-set. No files were changed between the latest approved patch-set and the submitted one.