See
<https://jenkins.osmocom.org/jenkins/job/master-osmo-ccid-firmware/a1=default,a2=default,a3=default,a4=default,label=osmocom-master/1147/display/redirect>
Changes:
------------------------------------------
[...truncated 190.42 KB...]
../main.c:121:16: warning: passing argument 1 of 'usb_ep_q_init' discards
'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers]
usb_ep_q_init(&g_ccid_s.in_ep, "IN");
^
../main.c:110:13: note: expected 'struct usb_ep_q *' but argument is of type
'volatile struct usb_ep_q *'
static void usb_ep_q_init(struct usb_ep_q *ep_q, const char *name)
^~~~~~~~~~~~~
../main.c:122:16: warning: passing argument 1 of 'usb_ep_q_init' discards
'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers]
usb_ep_q_init(&g_ccid_s.irq_ep, "IRQ");
^
../main.c:110:13: note: expected 'struct usb_ep_q *' but argument is of type
'volatile struct usb_ep_q *'
static void usb_ep_q_init(struct usb_ep_q *ep_q, const char *name)
^~~~~~~~~~~~~
../main.c:123:16: warning: passing argument 1 of 'usb_ep_q_init' discards
'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers]
usb_ep_q_init(&g_ccid_s.out_ep, "OUT");
^
../main.c:110:13: note: expected 'struct usb_ep_q *' but argument is of type
'volatile struct usb_ep_q *'
static void usb_ep_q_init(struct usb_ep_q *ep_q, const char *name)
^~~~~~~~~~~~~
../main.c: In function 'submit_next_in':
../main.c:153:26: warning: initialization discards 'volatile' qualifier from
pointer target type [-Wdiscarded-qualifiers]
struct usb_ep_q *ep_q = &g_ccid_s.in_ep;
^
../main.c: In function 'submit_next_irq':
../main.c:177:26: warning: initialization discards 'volatile' qualifier from
pointer target type [-Wdiscarded-qualifiers]
struct usb_ep_q *ep_q = &g_ccid_s.irq_ep;
^
../main.c: In function 'submit_next_out':
../main.c:200:26: warning: initialization discards 'volatile' qualifier from
pointer target type [-Wdiscarded-qualifiers]
struct usb_ep_q *ep_q = &g_ccid_s.out_ep;
^
../main.c:205:29: warning: passing argument 1 of 'msgb_dequeue_irqsafe' discards
'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers]
msg = msgb_dequeue_irqsafe(&g_ccid_s.free_q);
^
../main.c:134:14: note: expected 'struct llist_head *' but argument is of type
'volatile struct llist_head *'
struct msgb *msgb_dequeue_irqsafe(struct llist_head *q)
^~~~~~~~~~~~~~~~~~~~
../main.c:214:21: warning: passing argument 1 of 'llist_add_tail_at' discards
'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers]
llist_add_tail_at(&g_ccid_s.free_q, &msg->list);
^
In file included from ../main.c:78:0:
../linuxlist_atomic.h:44:20: note: expected 'struct llist_head *' but argument is
of type 'volatile struct llist_head *'
static inline void llist_add_tail_at(struct llist_head *_new, struct llist_head *head)
^~~~~~~~~~~~~~~~~
../main.c: In function 'ccid_out_read_compl':
../main.c:230:32: warning: passing argument 2 of 'llist_add_tail_at' discards
'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers]
llist_add_tail_at(&msg->list, &g_ccid_s.out_ep.list);
^
In file included from ../main.c:78:0:
../linuxlist_atomic.h:44:20: note: expected 'struct llist_head *' but argument is
of type 'volatile struct llist_head *'
static inline void llist_add_tail_at(struct llist_head *_new, struct llist_head *head)
^~~~~~~~~~~~~~~~~
../main.c: In function 'ccid_in_write_compl':
../main.c:247:32: warning: passing argument 2 of 'llist_add_tail_at' discards
'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers]
llist_add_tail_at(&msg->list, &g_ccid_s.free_q);
^
In file included from ../main.c:78:0:
../linuxlist_atomic.h:44:20: note: expected 'struct llist_head *' but argument is
of type 'volatile struct llist_head *'
static inline void llist_add_tail_at(struct llist_head *_new, struct llist_head *head)
^~~~~~~~~~~~~~~~~
../main.c: In function 'ccid_irq_write_compl':
../main.c:264:32: warning: passing argument 2 of 'llist_add_tail_at' discards
'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers]
llist_add_tail_at(&msg->list, &g_ccid_s.free_q);
^
In file included from ../main.c:78:0:
../linuxlist_atomic.h:44:20: note: expected 'struct llist_head *' but argument is
of type 'volatile struct llist_head *'
static inline void llist_add_tail_at(struct llist_head *_new, struct llist_head *head)
^~~~~~~~~~~~~~~~~
../main.c: In function 'ccid_gen_notify_slot_status':
../main.c:280:50: warning: initialization from incompatible pointer type
[-Wincompatible-pointer-types]
struct ccid_rdr_to_pc_notify_slot_change *nsc = msgb_put(msg, sizeof(*nsc) +
sizeof(statusbytes));
^~~~~~~~
../main.c: In function 'poll_card_detect':
../main.c:323:24: warning: passing argument 1 of 'msgb_enqueue_irqsafe' discards
'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers]
msgb_enqueue_irqsafe(&g_ccid_s.irq_ep.list, msg);
^
../main.c:143:6: note: expected 'struct llist_head *' but argument is of type
'volatile struct llist_head *'
void msgb_enqueue_irqsafe(struct llist_head *q, struct msgb *msg)
^~~~~~~~~~~~~~~~~~~~
../main.c: In function 'feed_ccid':
../main.c:430:26: warning: initialization discards 'volatile' qualifier from
pointer target type [-Wdiscarded-qualifiers]
struct usb_ep_q *ep_q = &g_ccid_s.out_ep;
^
../main.c:434:29: warning: passing argument 1 of 'msgb_dequeue_irqsafe' discards
'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers]
msg = msgb_dequeue_irqsafe(&g_ccid_s.out_ep.list);
^
../main.c:134:14: note: expected 'struct llist_head *' but argument is of type
'volatile struct llist_head *'
struct msgb *msgb_dequeue_irqsafe(struct llist_head *q)
^~~~~~~~~~~~~~~~~~~~
../main.c:432:6: warning: unused variable 'rc' [-Wunused-variable]
int rc;
^~
../main.c:430:19: warning: unused variable 'ep_q' [-Wunused-variable]
struct usb_ep_q *ep_q = &g_ccid_s.out_ep;
^~~~
../main.c: In function 'ccid_ops_send_in':
../main.c:448:32: warning: passing argument 2 of 'llist_add_tail_at' discards
'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers]
llist_add_tail_at(&msg->list, &g_ccid_s.in_ep.list);
^
In file included from ../main.c:78:0:
../linuxlist_atomic.h:44:20: note: expected 'struct llist_head *' but argument is
of type 'volatile struct llist_head *'
static inline void llist_add_tail_at(struct llist_head *_new, struct llist_head *head)
^~~~~~~~~~~~~~~~~
../main.c: In function 'main':
../main.c:547:33: warning: passing argument 2 of 'llist_add_tail_at' discards
'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers]
llist_add_tail_at(&msg->list, &g_ccid_s.free_q);
^
In file included from ../main.c:78:0:
../linuxlist_atomic.h:44:20: note: expected 'struct llist_head *' but argument is
of type 'volatile struct llist_head *'
static inline void llist_add_tail_at(struct llist_head *_new, struct llist_head *head)
^~~~~~~~~~~~~~~~~
../main.c:573:27: warning: passing argument 1 of 'llist_count_at' discards
'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers]
int qs = llist_count_at(&g_ccid_s.free_q);
^
In file included from ../main.c:78:0:
../linuxlist_atomic.h:137:28: note: expected 'const struct llist_head *' but
argument is of type 'volatile struct llist_head *'
static inline unsigned int llist_count_at(const struct llist_head *head)
^~~~~~~~~~~~~~
../main.c:576:45: warning: passing argument 1 of 'msgb_dequeue_irqsafe' discards
'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers]
struct msgb *msg = msgb_dequeue_irqsafe(&g_ccid_s.free_q);
^
../main.c:134:14: note: expected 'struct llist_head *' but argument is of type
'volatile struct llist_head *'
struct msgb *msgb_dequeue_irqsafe(struct llist_head *q)
^~~~~~~~~~~~~~~~~~~~
../main.c:585:35: warning: passing argument 2 of 'llist_add_tail_at' discards
'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers]
llist_add_tail_at(&msg->list, &g_ccid_s.free_q);
^
In file included from ../main.c:78:0:
../linuxlist_atomic.h:44:20: note: expected 'struct llist_head *' but argument is
of type 'volatile struct llist_head *'
static inline void llist_add_tail_at(struct llist_head *_new, struct llist_head *head)
^~~~~~~~~~~~~~~~~
ARM/GNU C Compiler
arm-none-eabi-gcc -x c -mthumb -DDEBUG -Os -ffunction-sections -fdata-sections
-mlong-calls -g3 -Wall -c -std=gnu99 -D__SAME54N19A__ -mcpu=cortex-m4 -mfloat-abi=softfp
-mfpu=fpv4-sp-d16 -DOCTSIMFWBUILD -DDISABLE_DFU_DETACH=0 -DLIBOSMOCORE_NO_LOGGING
-DGIT_VERSION=\"0.2.78-62e1\" -I"../"
-I"../CMSIS/Core/Include" -I"../ccid_common" -I"../config"
-I"../dma_m2m" -I"../hal/include" -I"../hal/utils/include"
-I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac"
-I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl"
-I"../hpl/oscctrl" -I"../hpl/pm" -I"../hpl/port"
-I"../hpl/ramecc" -I"../hpl/rtc" -I"../hpl/sercom"
-I"../hpl/usb" -I"../hri" -I"../include"
-I"../stdio_redirect" -I"../usb" -I"../usb/class/ccid"
-I"../usb/class/ccid/device" -I"../usb/class/cdc"
-I"../usb/class/cdc/device" -I"../usb/class/dfu"
-I"../usb/class/dfu/device" -I"../usb/device"
-I/build/install/include -I../../ccid_common \
-MD -MP -MF "stdio_redirect/stdio_io.d" -MT"stdio_redirect/stdio_io.d"
-MT"stdio_redirect/stdio_io.o" -o "stdio_redirect/stdio_io.o"
"../stdio_redirect/stdio_io.c"
Finished building: ../libosmo_emb.c
Building file: ../stdio_start.c
ARM/GNU C Compiler
arm-none-eabi-gcc -x c -mthumb -DDEBUG -Os -ffunction-sections -fdata-sections
-mlong-calls -g3 -Wall -c -std=gnu99 -D__SAME54N19A__ -mcpu=cortex-m4 -mfloat-abi=softfp
-mfpu=fpv4-sp-d16 -DOCTSIMFWBUILD -DDISABLE_DFU_DETACH=0 -DLIBOSMOCORE_NO_LOGGING
-DGIT_VERSION=\"0.2.78-62e1\" -I"../"
-I"../CMSIS/Core/Include" -I"../ccid_common" -I"../config"
-I"../dma_m2m" -I"../hal/include" -I"../hal/utils/include"
-I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac"
-I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl"
-I"../hpl/oscctrl" -I"../hpl/pm" -I"../hpl/port"
-I"../hpl/ramecc" -I"../hpl/rtc" -I"../hpl/sercom"
-I"../hpl/usb" -I"../hri" -I"../include"
-I"../stdio_redirect" -I"../usb" -I"../usb/class/ccid"
-I"../usb/class/ccid/device" -I"../usb/class/cdc"
-I"../usb/class/cdc/device" -I"../usb/class/dfu"
-I"../usb/class/dfu/device" -I"../usb/device"
-I/build/install/include -I../../ccid_common \
-MD -MP -MF "stdio_start.d" -MT"stdio_start.d"
-MT"stdio_start.o" -o "stdio_start.o" "../stdio_start.c"
Finished building: ../hpl/sercom/hpl_sercom.c
Building file: ../talloc.c
ARM/GNU C Compiler
arm-none-eabi-gcc -x c -mthumb -DDEBUG -Os -ffunction-sections -fdata-sections
-mlong-calls -g3 -Wall -c -std=gnu99 -D__SAME54N19A__ -mcpu=cortex-m4 -mfloat-abi=softfp
-mfpu=fpv4-sp-d16 -DOCTSIMFWBUILD -DDISABLE_DFU_DETACH=0 -DLIBOSMOCORE_NO_LOGGING
-DGIT_VERSION=\"0.2.78-62e1\" -I"../"
-I"../CMSIS/Core/Include" -I"../ccid_common" -I"../config"
-I"../dma_m2m" -I"../hal/include" -I"../hal/utils/include"
-I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac"
-I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl"
-I"../hpl/oscctrl" -I"../hpl/pm" -I"../hpl/port"
-I"../hpl/ramecc" -I"../hpl/rtc" -I"../hpl/sercom"
-I"../hpl/usb" -I"../hri" -I"../include"
-I"../stdio_redirect" -I"../usb" -I"../usb/class/ccid"
-I"../usb/class/ccid/device" -I"../usb/class/cdc"
-I"../usb/class/cdc/device" -I"../usb/class/dfu"
-I"../usb/class/dfu/device" -I"../usb/device"
-I/build/install/include -I../../ccid_common \
-MD -MP -MF "talloc.d" -MT"talloc.d" -MT"talloc.o" -o
"talloc.o" "../talloc.c"
Finished building: ../main.c
Building file: ../usb/class/ccid/device/ccid_df.c
ARM/GNU C Compiler
arm-none-eabi-gcc -x c -mthumb -DDEBUG -Os -ffunction-sections -fdata-sections
-mlong-calls -g3 -Wall -c -std=gnu99 -D__SAME54N19A__ -mcpu=cortex-m4 -mfloat-abi=softfp
-mfpu=fpv4-sp-d16 -DOCTSIMFWBUILD -DDISABLE_DFU_DETACH=0 -DLIBOSMOCORE_NO_LOGGING
-DGIT_VERSION=\"0.2.78-62e1\" -I"../"
-I"../CMSIS/Core/Include" -I"../ccid_common" -I"../config"
-I"../dma_m2m" -I"../hal/include" -I"../hal/utils/include"
-I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac"
-I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl"
-I"../hpl/oscctrl" -I"../hpl/pm" -I"../hpl/port"
-I"../hpl/ramecc" -I"../hpl/rtc" -I"../hpl/sercom"
-I"../hpl/usb" -I"../hri" -I"../include"
-I"../stdio_redirect" -I"../usb" -I"../usb/class/ccid"
-I"../usb/class/ccid/device" -I"../usb/class/cdc"
-I"../usb/class/cdc/device" -I"../usb/class/dfu"
-I"../usb/class/dfu/device" -I"../usb/device"
-I/build/install/include -I../../ccid_common \
-MD -MP -MF "usb/class/ccid/device/ccid_df.d"
-MT"usb/class/ccid/device/ccid_df.d"
-MT"usb/class/ccid/device/ccid_df.o" -o
"usb/class/ccid/device/ccid_df.o"
"../usb/class/ccid/device/ccid_df.c"
Finished building: ../stdio_redirect/gcc/read.c
Building file: ../usb/class/cdc/device/cdcdf_acm.c
ARM/GNU C Compiler
arm-none-eabi-gcc -x c -mthumb -DDEBUG -Os -ffunction-sections -fdata-sections
-mlong-calls -g3 -Wall -c -std=gnu99 -D__SAME54N19A__ -mcpu=cortex-m4 -mfloat-abi=softfp
-mfpu=fpv4-sp-d16 -DOCTSIMFWBUILD -DDISABLE_DFU_DETACH=0 -DLIBOSMOCORE_NO_LOGGING
-DGIT_VERSION=\"0.2.78-62e1\" -I"../"
-I"../CMSIS/Core/Include" -I"../ccid_common" -I"../config"
-I"../dma_m2m" -I"../hal/include" -I"../hal/utils/include"
-I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac"
-I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl"
-I"../hpl/oscctrl" -I"../hpl/pm" -I"../hpl/port"
-I"../hpl/ramecc" -I"../hpl/rtc" -I"../hpl/sercom"
-I"../hpl/usb" -I"../hri" -I"../include"
-I"../stdio_redirect" -I"../usb" -I"../usb/class/ccid"
-I"../usb/class/ccid/device" -I"../usb/class/cdc"
-I"../usb/class/cdc/device" -I"../usb/class/dfu"
-I"../usb/class/dfu/device" -I"../usb/device"
-I/build/install/include -I../../ccid_common \
-MD -MP -MF "usb/class/cdc/device/cdcdf_acm.d"
-MT"usb/class/cdc/device/cdcdf_acm.d"
-MT"usb/class/cdc/device/cdcdf_acm.o" -o
"usb/class/cdc/device/cdcdf_acm.o"
"../usb/class/cdc/device/cdcdf_acm.c"
Finished building: ../ncn8025.c
Building file: ../usb/class/dfu/device/dfudf.c
ARM/GNU C Compiler
arm-none-eabi-gcc -x c -mthumb -DDEBUG -Os -ffunction-sections -fdata-sections
-mlong-calls -g3 -Wall -c -std=gnu99 -D__SAME54N19A__ -mcpu=cortex-m4 -mfloat-abi=softfp
-mfpu=fpv4-sp-d16 -DOCTSIMFWBUILD -DDISABLE_DFU_DETACH=0 -DLIBOSMOCORE_NO_LOGGING
-DGIT_VERSION=\"0.2.78-62e1\" -I"../"
-I"../CMSIS/Core/Include" -I"../ccid_common" -I"../config"
-I"../dma_m2m" -I"../hal/include" -I"../hal/utils/include"
-I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac"
-I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl"
-I"../hpl/oscctrl" -I"../hpl/pm" -I"../hpl/port"
-I"../hpl/ramecc" -I"../hpl/rtc" -I"../hpl/sercom"
-I"../hpl/usb" -I"../hri" -I"../include"
-I"../stdio_redirect" -I"../usb" -I"../usb/class/ccid"
-I"../usb/class/ccid/device" -I"../usb/class/cdc"
-I"../usb/class/cdc/device" -I"../usb/class/dfu"
-I"../usb/class/dfu/device" -I"../usb/device"
-I/build/install/include -I../../ccid_common \
-MD -MP -MF "usb/class/dfu/device/dfudf.d"
-MT"usb/class/dfu/device/dfudf.d" -MT"usb/class/dfu/device/dfudf.o"
-o "usb/class/dfu/device/dfudf.o" "../usb/class/dfu/device/dfudf.c"
Finished building: ../octsim_i2c.c
Building file: ../usb/device/usbdc.c
Finished building: ../stdio_redirect/gcc/write.c
ARM/GNU C Compiler
arm-none-eabi-gcc -x c -mthumb -DDEBUG -Os -ffunction-sections -fdata-sections
-mlong-calls -g3 -Wall -c -std=gnu99 -D__SAME54N19A__ -mcpu=cortex-m4 -mfloat-abi=softfp
-mfpu=fpv4-sp-d16 -DOCTSIMFWBUILD -DDISABLE_DFU_DETACH=0 -DLIBOSMOCORE_NO_LOGGING
-DGIT_VERSION=\"0.2.78-62e1\" -I"../"
-I"../CMSIS/Core/Include" -I"../ccid_common" -I"../config"
-I"../dma_m2m" -I"../hal/include" -I"../hal/utils/include"
-I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac"
-I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl"
-I"../hpl/oscctrl" -I"../hpl/pm" -I"../hpl/port"
-I"../hpl/ramecc" -I"../hpl/rtc" -I"../hpl/sercom"
-I"../hpl/usb" -I"../hri" -I"../include"
-I"../stdio_redirect" -I"../usb" -I"../usb/class/ccid"
-I"../usb/class/ccid/device" -I"../usb/class/cdc"
-I"../usb/class/cdc/device" -I"../usb/class/dfu"
-I"../usb/class/dfu/device" -I"../usb/device"
-I/build/install/include -I../../ccid_common \
-MD -MP -MF "usb/device/usbdc.d" -MT"usb/device/usbdc.d"
-MT"usb/device/usbdc.o" -o "usb/device/usbdc.o"
"../usb/device/usbdc.c"
Building file: ../usb/usb_protocol.c
ARM/GNU C Compiler
arm-none-eabi-gcc -x c -mthumb -DDEBUG -Os -ffunction-sections -fdata-sections
-mlong-calls -g3 -Wall -c -std=gnu99 -D__SAME54N19A__ -mcpu=cortex-m4 -mfloat-abi=softfp
-mfpu=fpv4-sp-d16 -DOCTSIMFWBUILD -DDISABLE_DFU_DETACH=0 -DLIBOSMOCORE_NO_LOGGING
-DGIT_VERSION=\"0.2.78-62e1\" -I"../"
-I"../CMSIS/Core/Include" -I"../ccid_common" -I"../config"
-I"../dma_m2m" -I"../hal/include" -I"../hal/utils/include"
-I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac"
-I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl"
-I"../hpl/oscctrl" -I"../hpl/pm" -I"../hpl/port"
-I"../hpl/ramecc" -I"../hpl/rtc" -I"../hpl/sercom"
-I"../hpl/usb" -I"../hri" -I"../include"
-I"../stdio_redirect" -I"../usb" -I"../usb/class/ccid"
-I"../usb/class/ccid/device" -I"../usb/class/cdc"
-I"../usb/class/cdc/device" -I"../usb/class/dfu"
-I"../usb/class/dfu/device" -I"../usb/device"
-I/build/install/include -I../../ccid_common \
-MD -MP -MF "usb/usb_protocol.d" -MT"usb/usb_protocol.d"
-MT"usb/usb_protocol.o" -o "usb/usb_protocol.o"
"../usb/usb_protocol.c"
Finished building: ../stdio_start.c
Building file: ../usb_descriptors.c
ARM/GNU C Compiler
arm-none-eabi-gcc -x c -mthumb -DDEBUG -Os -ffunction-sections -fdata-sections
-mlong-calls -g3 -Wall -c -std=gnu99 -D__SAME54N19A__ -mcpu=cortex-m4 -mfloat-abi=softfp
-mfpu=fpv4-sp-d16 -DOCTSIMFWBUILD -DDISABLE_DFU_DETACH=0 -DLIBOSMOCORE_NO_LOGGING
-DGIT_VERSION=\"0.2.78-62e1\" -I"../"
-I"../CMSIS/Core/Include" -I"../ccid_common" -I"../config"
-I"../dma_m2m" -I"../hal/include" -I"../hal/utils/include"
-I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac"
-I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl"
-I"../hpl/oscctrl" -I"../hpl/pm" -I"../hpl/port"
-I"../hpl/ramecc" -I"../hpl/rtc" -I"../hpl/sercom"
-I"../hpl/usb" -I"../hri" -I"../include"
-I"../stdio_redirect" -I"../usb" -I"../usb/class/ccid"
-I"../usb/class/ccid/device" -I"../usb/class/cdc"
-I"../usb/class/cdc/device" -I"../usb/class/dfu"
-I"../usb/class/dfu/device" -I"../usb/device"
-I/build/install/include -I../../ccid_common \
-MD -MP -MF "usb_descriptors.d" -MT"usb_descriptors.d"
-MT"usb_descriptors.o" -o "usb_descriptors.o"
"../usb_descriptors.c"
Finished building: ../stdio_redirect/stdio_io.c
Building file: ../usb_start.c
ARM/GNU C Compiler
arm-none-eabi-gcc -x c -mthumb -DDEBUG -Os -ffunction-sections -fdata-sections
-mlong-calls -g3 -Wall -c -std=gnu99 -D__SAME54N19A__ -mcpu=cortex-m4 -mfloat-abi=softfp
-mfpu=fpv4-sp-d16 -DOCTSIMFWBUILD -DDISABLE_DFU_DETACH=0 -DLIBOSMOCORE_NO_LOGGING
-DGIT_VERSION=\"0.2.78-62e1\" -I"../"
-I"../CMSIS/Core/Include" -I"../ccid_common" -I"../config"
-I"../dma_m2m" -I"../hal/include" -I"../hal/utils/include"
-I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac"
-I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl"
-I"../hpl/oscctrl" -I"../hpl/pm" -I"../hpl/port"
-I"../hpl/ramecc" -I"../hpl/rtc" -I"../hpl/sercom"
-I"../hpl/usb" -I"../hri" -I"../include"
-I"../stdio_redirect" -I"../usb" -I"../usb/class/ccid"
-I"../usb/class/ccid/device" -I"../usb/class/cdc"
-I"../usb/class/cdc/device" -I"../usb/class/dfu"
-I"../usb/class/dfu/device" -I"../usb/device"
-I/build/install/include -I../../ccid_common \
-MD -MP -MF "usb_start.d" -MT"usb_start.d" -MT"usb_start.o"
-o "usb_start.o" "../usb_start.c"
../usb/class/dfu/device/dfudf.c: In function 'dfudf_out_req':
../usb/class/dfu/device/dfudf.c:199:3: warning: implicit declaration of function
'delay_us' [-Wimplicit-function-declaration]
delay_us(10000);
^~~~~~~~
Finished building: ../usb/class/ccid/device/ccid_df.c
Finished building: ../usb/class/dfu/device/dfudf.c
Finished building: ../usb/class/cdc/device/cdcdf_acm.c
Finished building: ../talloc.c
Finished building: ../usb/usb_protocol.c
../usb_start.c:46:13: warning: 'usb_device_cb_state_c' defined but not used
[-Wunused-function]
static bool usb_device_cb_state_c(usb_cdc_control_signal_t state)
^~~~~~~~~~~~~~~~~~~~~
Finished building: ../usb/device/usbdc.c
Finished building: ../usb_descriptors.c
Finished building: ../usb_start.c
Building target: sysmoOCTSIM-0.2.78-62e1.elf
Invoking: ARM/GNU Linker
arm-none-eabi-gcc -o sysmoOCTSIM-0.2.78-62e1.elf atmel_start.o ccid_common/ccid_proto.o
ccid_common/ccid_device.o ccid_common/iso7816_fsm.o ccid_common/iso7816_3.o
ccid_common/cuart.o ccid_common/ccid_slot_fsm.o cuart_driver_asf4_usart_async.o command.o
dma_m2m/dma_memory.o driver_init.o gcc/gcc/startup_same54.o gcc/system_same54.o
hal/src/hal_atomic.o hal/src/hal_cache.o hal/src/hal_calendar.o hal/src/hal_delay.o
hal/src/hal_gpio.o hal/src/hal_init.o hal/src/hal_io.o hal/src/hal_sleep.o
hal/src/hal_usart_async.o hal/src/hal_usart_async_rings.o hal/src/hal_usart_sync.o
hal/src/hal_usb_device.o hal/utils/src/utils_assert.o hal/utils/src/utils_event.o
hal/utils/src/utils_list.o hal/utils/src/utils_ringbuffer.o hal/utils/src/utils_syscalls.o
hpl/cmcc/hpl_cmcc.o hpl/core/hpl_core_m4.o hpl/core/hpl_init.o hpl/dmac/hpl_dmac.o
hpl/gclk/hpl_gclk.o hpl/mclk/hpl_mclk.o hpl/osc32kctrl/hpl_osc32kctrl.o
hpl/oscctrl/hpl_oscctrl.o hpl/pm/hpl_pm.o hpl/ramecc/hpl_ramecc.o hpl/rtc/hpl_rtc.o
hpl/sercom/hpl_sercom.o hpl/usb/hpl_usb.o i2c_bitbang.o libosmo_emb.o main.o ncn8025.o
octsim_i2c.o stdio_redirect/gcc/read.o stdio_redirect/gcc/write.o
stdio_redirect/stdio_io.o stdio_start.o talloc.o usb/class/ccid/device/ccid_df.o
usb/class/cdc/device/cdcdf_acm.o usb/class/dfu/device/dfudf.o usb/device/usbdc.o
usb/usb_protocol.o usb_descriptors.o usb_start.o /build/install/lib/libosmocore.a
-Wl,--start-group -lm -Wl,--end-group -mthumb \
-Wl,-Map="sysmoOCTSIM-0.2.78-62e1.map" --specs=nano.specs -Wl,--gc-sections
-Wl,--print-memory-usage -mcpu=cortex-m4 \
\
-T"../gcc/gcc/same54n19a_dfu.ld" \
-L"../gcc/gcc"
Memory region Used Size Region Size %age Used
rom: 79604 B 496 KB 15.67%
ram: 57788 B 196604 B 29.39%
bkupram: 0 GB 8 KB 0.00%
qspi: 0 GB 16 MB 0.00%
Finished building target: sysmoOCTSIM-0.2.78-62e1.elf
ln -sf sysmoOCTSIM-0.2.78-62e1.elf sysmoOCTSIM.elf
arm-none-eabi-objcopy -O binary sysmoOCTSIM-0.2.78-62e1.elf sysmoOCTSIM-0.2.78-62e1.bin
ln -sf sysmoOCTSIM-0.2.78-62e1.bin sysmoOCTSIM.bin
arm-none-eabi-objcopy -O ihex -R .eeprom -R .fuse -R .lock -R .signature
sysmoOCTSIM-0.2.78-62e1.elf sysmoOCTSIM-0.2.78-62e1.ihex
arm-none-eabi-objcopy -j .eeprom --set-section-flags=.eeprom=alloc,load
--change-section-lma \
.eeprom=0 --no-change-warnings -O binary sysmoOCTSIM-0.2.78-62e1.elf
sysmoOCTSIM-0.2.78-62e1.eep || exit 0
arm-none-eabi-objdump -h -S sysmoOCTSIM-0.2.78-62e1.elf > sysmoOCTSIM-0.2.78-62e1.lss
arm-none-eabi-size "sysmoOCTSIM-0.2.78-62e1.elf"
text data bss dec hex filename
79276 1496 56616 137388 218ac sysmoOCTSIM-0.2.78-62e1.elf
+ '[' x--publish = x--publish ']'
+ echo
=============== UPLOAD BUILD ==============
+ echo '=============== UPLOAD BUILD =============='
+ cat
+ SSH_COMMAND='ssh -o
'\''UserKnownHostsFile=/build/known_hosts'\'' -p 48'
++ cd /build/sysmoOCTSIM/gcc/
++ ls -1 sysmoOCTSIM-0.2.78-62e1.bin
+ LATEST_BIN=sysmoOCTSIM-0.2.78-62e1.bin
+ echo 'LATEST_BIN: sysmoOCTSIM-0.2.78-62e1.bin'
LATEST_BIN: sysmoOCTSIM-0.2.78-62e1.bin
+ rsync --rsh 'ssh -o
'\''UserKnownHostsFile=/build/known_hosts'\'' -p 48'
binaries@ftp.osmocom.org:web-files/osmo-ccid-firmware/all/
+ grep -q sysmoOCTSIM-0.2.78-62e1.bin
Warning: Permanently added the ECDSA host key for IP address
'[148.251.236.141]:48' to the list of known hosts.
Permission denied, please try again.
Permission denied, please try again.
binaries(a)ftp.osmocom.org: Permission denied (publickey,password).
rsync: connection unexpectedly closed (0 bytes received so far) [Receiver]
rsync error: unexplained error (code 255) at io.c(235) [Receiver=3.1.3]
+ rsync --archive --copy-links --verbose --compress --delete --rsh 'ssh -o
'\''UserKnownHostsFile=/build/known_hosts'\'' -p 48'
/build/sysmoOCTSIM/gcc/sysmoOCTSIM.bin /build/sysmoOCTSIM/gcc/sysmoOCTSIM.elf
binaries@ftp.osmocom.org:web-files/osmo-ccid-firmware/latest/
Permission denied, please try again.
Permission denied, please try again.
binaries(a)ftp.osmocom.org: Permission denied (publickey,password).
rsync: connection unexpectedly closed (0 bytes received so far) [sender]
rsync error: unexplained error (code 255) at io.c(235) [sender=3.1.3]
Build step 'Execute shell' marked build as failure
$ ssh-agent -k
unset SSH_AUTH_SOCK;
unset SSH_AGENT_PID;
echo Agent pid 8851 killed;
[ssh-agent] Stopped.
Archiving artifacts
Show replies by date
See
<https://jenkins.osmocom.org/jenkins/job/master-osmo-ccid-firmware/a1=default,a2=default,a3=default,a4=default,label=osmocom-master/1148/display/redirect>