laforge has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ccid-firmware/+/39792?usp=email )
Change subject: contrib/jenkins.sh: Fix LATEST_BIN variable setting for tagged versions
......................................................................
contrib/jenkins.sh: Fix LATEST_BIN variable setting for tagged versions
sysmoOCTSIM-*-*.bin only works if the build is not a version that was
just tagged. In that case the file name is sysmoOCTSIM-0.3.bin which
doesn't match the above pattern as it has no git hash appended.
Change-Id: I4927f24407a25c87ca59f6230d64d24761558c18
---
M contrib/jenkins.sh
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-ccid-firmware refs/changes/92/39792/1
diff --git a/contrib/jenkins.sh b/contrib/jenkins.sh
index 961acf1..9111965 100755
--- a/contrib/jenkins.sh
+++ b/contrib/jenkins.sh
@@ -71,7 +71,7 @@
[ftp.osmocom.org]:48 ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIK8iivY70EiR5NiGChV39gRLjNpC8lvu1ZdHtdMw2zuX
EOF
SSH_COMMAND="ssh -o 'UserKnownHostsFile=/build/known_hosts' -p 48"
- LATEST_BIN="$(cd "$TOPDIR"/sysmoOCTSIM/gcc/; ls -1 sysmoOCTSIM-*-*.bin)"
+ LATEST_BIN="$(cd "$TOPDIR"/sysmoOCTSIM/gcc/; ls -1 sysmoOCTSIM-*.bin)"
echo "LATEST_BIN: $LATEST_BIN"
--
To view, visit https://gerrit.osmocom.org/c/osmo-ccid-firmware/+/39792?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: newchange
Gerrit-Project: osmo-ccid-firmware
Gerrit-Branch: master
Gerrit-Change-Id: I4927f24407a25c87ca59f6230d64d24761558c18
Gerrit-Change-Number: 39792
Gerrit-PatchSet: 1
Gerrit-Owner: laforge <laforge(a)osmocom.org>
Attention is currently required from: osmith.
laforge has posted comments on this change by osmith. ( https://gerrit.osmocom.org/c/osmo-asf4-dfu/+/39787?usp=email )
Change subject: contrib/jenkins: fix upload
......................................................................
Patch Set 2: Code-Review-1
(1 comment)
File gcc/Makefile:
https://gerrit.osmocom.org/c/osmo-asf4-dfu/+/39787/comment/5e4587d1_3de5a3a… :
PS2, Line 140: ln -sf $(OUTPUT_FILE_NAME)-dfu.elf bootloader-$(BOARD_LC).elf
I don't think we'd want that... doesn't make sense IMHO. The pure bootloader (for flashing via JTAG) and the DFU image for updating the bootloader over DFU are two different things.
--
To view, visit https://gerrit.osmocom.org/c/osmo-asf4-dfu/+/39787?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: comment
Gerrit-Project: osmo-asf4-dfu
Gerrit-Branch: master
Gerrit-Change-Id: I767d3b99840eba5e1b395079c878dcbae78b08a0
Gerrit-Change-Number: 39787
Gerrit-PatchSet: 2
Gerrit-Owner: osmith <osmith(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Attention: osmith <osmith(a)sysmocom.de>
Gerrit-Comment-Date: Fri, 14 Mar 2025 09:54:34 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Attention is currently required from: osmith.
laforge has posted comments on this change by osmith. ( https://gerrit.osmocom.org/c/osmo-asf4-dfu/+/39786?usp=email )
Change subject: gcc/Makefile: fail early if xxd is not installed
......................................................................
Patch Set 1: Code-Review+2
--
To view, visit https://gerrit.osmocom.org/c/osmo-asf4-dfu/+/39786?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: comment
Gerrit-Project: osmo-asf4-dfu
Gerrit-Branch: master
Gerrit-Change-Id: I6a3e7021929ba58c14f1ffced5702d2dfa839ebe
Gerrit-Change-Number: 39786
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <osmith(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Attention: osmith <osmith(a)sysmocom.de>
Gerrit-Comment-Date: Fri, 14 Mar 2025 09:49:39 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
laforge has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ccid-firmware/+/39789?usp=email )
Change subject: sysmoOCTSIM/README: Describe how to build matching libosmocore
......................................................................
sysmoOCTSIM/README: Describe how to build matching libosmocore
we currently require a libosmocore that's cross-compiled for this
specific embedded target. This information was so far hidden
in contrib/jenkins.sh - let's expose it to README.md (slightly modified
command to install it to /usr/local/arm-none-eabi)
Change-Id: I3392d134ed75dbdd558643aac6d58407e00d23ba
---
M sysmoOCTSIM/README.md
1 file changed, 10 insertions(+), 1 deletion(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-ccid-firmware refs/changes/89/39789/1
diff --git a/sysmoOCTSIM/README.md b/sysmoOCTSIM/README.md
index 1927255..3eae229 100644
--- a/sysmoOCTSIM/README.md
+++ b/sysmoOCTSIM/README.md
@@ -24,7 +24,16 @@
GNU make and the arm-none-eabi-gcc compiler are required to build the firmware.
-The compile the firmware, run the following commands:
+Also, you will need a libosmocore built for arm-none-eabi installed to /usr/local/arm-none-eabi
+
+You can use the following commands (in the libosmocore directory) to build
+
+```
+./configure --prefix=/usr/local/arm-none-eabi --enable-static --host=arm-none-eabi --enable-embedded --disable-log-macros --disable-doxygen --disable-shared --disable-pseudotalloc --disable-libsctp --disable-libusb --disable-gb --enable-external-tests CFLAGS="-Os -ffunction-sections -fdata-sections -nostartfiles -nodefaultlibs -Werror -Wno-error=deprecated -Wno-error=deprecated-declarations -Wno-error=cpp -mthumb -Os -mlong-calls -g3 -mcpu=cortex-m4 -mfloat-abi=softfp -mfpu=fpv4-sp-d16 -I /my/path/to/osmo-ccid-firmware/sysmoOCTSIM -Wno-error=format" CPPFLAGS="-D__thread=''"
+make install
+```
+
+To subsequently compile the firmware, run the following commands (in osmo-ccid-firmware):
```
cd sysmoOCTSIM/gcc
--
To view, visit https://gerrit.osmocom.org/c/osmo-ccid-firmware/+/39789?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: newchange
Gerrit-Project: osmo-ccid-firmware
Gerrit-Branch: master
Gerrit-Change-Id: I3392d134ed75dbdd558643aac6d58407e00d23ba
Gerrit-Change-Number: 39789
Gerrit-PatchSet: 1
Gerrit-Owner: laforge <laforge(a)osmocom.org>
laforge has posted comments on this change by laforge. ( https://gerrit.osmocom.org/c/osmo-asf4-dfu/+/39788?usp=email )
Change subject: contrib/jenkins.sh: make sure latest bootloader rsync works
......................................................................
Patch Set 1: Code-Review+2
--
To view, visit https://gerrit.osmocom.org/c/osmo-asf4-dfu/+/39788?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: comment
Gerrit-Project: osmo-asf4-dfu
Gerrit-Branch: master
Gerrit-Change-Id: I28437770ea7ad0b8263ef9006655c48ddd9286a2
Gerrit-Change-Number: 39788
Gerrit-PatchSet: 1
Gerrit-Owner: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Comment-Date: Fri, 14 Mar 2025 09:47:02 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes