Date   

Daily Gerrit Digest

donotreply@...
 

NEW within last 24 hours:
- https://gerrit.zephyrproject.org/r/11671 : Bluetooth: GATT: Add bt_gatt_get_mtu
- https://gerrit.zephyrproject.org/r/11669 : Bluetooth: HFP HF: Support to send hf AT command
- https://gerrit.zephyrproject.org/r/11668 : gpio: mcux: Revert to older GPIO device names as were used for Kinetis.
- https://gerrit.zephyrproject.org/r/11667 : samples: tickless: (DO NOT MERGE) Enables tickless kernel in some tests
- https://gerrit.zephyrproject.org/r/11666 : tests: add zephyr PWM reentrancy case
- https://gerrit.zephyrproject.org/r/11664 : bluetooth: GATT: adding MTU exchange notifier
- https://gerrit.zephyrproject.org/r/11662 : tests: add zephyr GPIO reentrancy test case

UPDATED within last 24 hours:
- https://gerrit.zephyrproject.org/r/9674 : drivers: gpio: Set the line to the pull by default
- https://gerrit.zephyrproject.org/r/11638 : net/dns: Remove outdated README file
- https://gerrit.zephyrproject.org/r/11471 : Bluetooth: GATT: Use __ASSERT for invalid parameters
- https://gerrit.zephyrproject.org/r/11272 : Bluetooth: HFP HF: SCO: Handle SCO Disconnect
- https://gerrit.zephyrproject.org/r/11399 : Bluetooth: HF HF: Indicate RING indication to application
- https://gerrit.zephyrproject.org/r/11398 : Bluetooth: AT: Handle unsolicited RING indication
- https://gerrit.zephyrproject.org/r/11269 : Bluetooth: HFP HF: SCO: Accept eSCO conn request
- https://gerrit.zephyrproject.org/r/11397 : Bluetooth: samples: handsfree application RING callback
- https://gerrit.zephyrproject.org/r/11396 : Bluetooth: HFP HF: Add support for RING callback
- https://gerrit.zephyrproject.org/r/10645 : Bluetooth: HFP HF: Handling AG Network error
- https://gerrit.zephyrproject.org/r/11395 : Bluetooth: AT: Remove unwanted state check
- https://gerrit.zephyrproject.org/r/11271 : Bluetooth: HFP HF: SCO: Handle synchronous_conn_complete
- https://gerrit.zephyrproject.org/r/11270 : Bluetooth: HFP HF: SCO: Enable sco conn complete in event_mask
- https://gerrit.zephyrproject.org/r/11268 : Bluetooth: HFP HF: SCO: Add esco supported pkt type
- https://gerrit.zephyrproject.org/r/11545 : scripts:nrf: Add 'make flash' for nrf boards.
- https://gerrit.zephyrproject.org/r/10851 : power: tickless: Add tickless kernel support
- https://gerrit.zephyrproject.org/r/10850 : power: tickless: Add TICKLESS_KERNEL kconfig option
- https://gerrit.zephyrproject.org/r/11569 : eth/eth_mcux: Make promiscous mode configurable.
- https://gerrit.zephyrproject.org/r/11615 : net: nbuf: Use net_nbuf_get_frag() to allocate a fragment
- https://gerrit.zephyrproject.org/r/11614 : net: nbuf: Print pool name instead of address in debug prints
- https://gerrit.zephyrproject.org/r/11547 : net: buf: Add more accounting info to net_buf pool
- https://gerrit.zephyrproject.org/r/11613 : net: shell: Fix the info prints for net_buf pools
- https://gerrit.zephyrproject.org/r/11460 : net: 6lo: Change how net_buf is allocated in RX side
- https://gerrit.zephyrproject.org/r/11464 : net: context: TCP packets must be send via net_tcp_send_data()
- https://gerrit.zephyrproject.org/r/11548 : net: nbuf: Remove unnecessary debugging code
- https://gerrit.zephyrproject.org/r/11560 : net: buf: Store name of the buffer pool
- https://gerrit.zephyrproject.org/r/11347 : net: 6lo: Use dedicated buf pool if enabled
- https://gerrit.zephyrproject.org/r/11459 : net: nbuf: Fix net_nbuf_copy() so that original nbuf is not modified
- https://gerrit.zephyrproject.org/r/11561 : net: shell: Print network buffer pool information
- https://gerrit.zephyrproject.org/r/11575 : net: nbuf: Split one global DATA pool to RX and TX DATA pools
- https://gerrit.zephyrproject.org/r/11465 : net: conn: Print UDP and TCP checksum after receiving pkt
- https://gerrit.zephyrproject.org/r/11618 : net: nbuf: Pass ll_reserve when creating TX buffer
- https://gerrit.zephyrproject.org/r/11345 : net: nbuf: Fix the net_nbuf_copy() buf parameter
- https://gerrit.zephyrproject.org/r/11242 : net: Add net_buf pool support to each context
- https://gerrit.zephyrproject.org/r/11346 : net: nbuf: Add helper function to copy buf user_data
- https://gerrit.zephyrproject.org/r/11348 : net: tcp: Fix the issues with 6lo
- https://gerrit.zephyrproject.org/r/11298 : samples: net: Use context specific net_buf pools in echo_*
- https://gerrit.zephyrproject.org/r/11616 : net: Remove link layer reserve param from IP packet creator
- https://gerrit.zephyrproject.org/r/11617 : Merge net branch into master
- https://gerrit.zephyrproject.org/r/11584 : Bluetooth: AVDTP: Rename of variables
- https://gerrit.zephyrproject.org/r/11559 : Bluetooth: AVDTP: Fix discover param struct
- https://gerrit.zephyrproject.org/r/11172 : soc: defconfig: Enable WDT for ATMEL SAM MCUs
- https://gerrit.zephyrproject.org/r/11263 : tests: add zephyr SPI driver api test case
- https://gerrit.zephyrproject.org/r/11632 : drivers: serial: nrf5: Fix system off pin configuration

MERGED within last 24 hours:
- https://gerrit.zephyrproject.org/r/11670 : Disabled BOOT_BANNER for boot time benchmarks.
- https://gerrit.zephyrproject.org/r/11663 : Disabled BOOT_BANNER for boot time benchmarks.
- https://gerrit.zephyrproject.org/r/11665 : loop-scripts: Fix the location of net-tools directory
- https://gerrit.zephyrproject.org/r/11290 : Bluetooth: Fix connection object leak
- https://gerrit.zephyrproject.org/r/11289 : Bluetooth: shell: Don't echo LE CoC data
- https://gerrit.zephyrproject.org/r/11233 : Bluetooth: SMP: Fix passkey entry for legacy pairing
- https://gerrit.zephyrproject.org/r/11231 : Bluetooth: shell: Fix accessing invalid memory
- https://gerrit.zephyrproject.org/r/11452 : Bluetooth: Controller: Fix LE Ping PDU dispatch
- https://gerrit.zephyrproject.org/r/11294 : Bluetooth: GATT: Fix subscriptions removal
- https://gerrit.zephyrproject.org/r/11292 : Bluetooth: shell: Fix GATT long write support
- https://gerrit.zephyrproject.org/r/11376 : net: tcp: ACK packet should not be forwarded to application
- https://gerrit.zephyrproject.org/r/11630 : samples: mbedtls: Fixing entropy source
- https://gerrit.zephyrproject.org/r/11609 : net/l2/ieeee802154: Fix typo in ieee802154_reserve name
- https://gerrit.zephyrproject.org/r/11636 : net/dns: Improve unaligned memory access
- https://gerrit.zephyrproject.org/r/11623 : net/buf.h: fix copy-paste Doxygen error
- https://gerrit.zephyrproject.org/r/6716 : Bluetooth: SDP: Server: Refactor data element structure header


Re: Adding support for CC2650 SoC

Geoffrey LE GOURRIEREC <geoffrey.legourrierec@...>
 

Have you began to work on cc2650? I'd like to add support for cc2538, but have a question
on the linker script. Unlike other soc, cc2538 and cc2650 have a Customer Configuration
Area(CCA/CCFG), which is located in the uppermost flash page. It must be coded in the
linker script, but how to realise it and make it more gracefully?

http://www.ti.com.cn/cn/lit/an/swra466a/swra466a.pdf
Hi Tidy,
 
I am currently doing a basic port in order to submit a patch as quickly as possible;
I just started testing the UART driver and am still  trying to debug it.
I had failed to notice that the CC2650 has an extra configuration area, and have used
the basic linker script already provided for most ARM Cortex builds.
So, thanks for pointing that out: my CCFG area is completely unusable. :)

Unfortunately I have very little experience with linker scripts; I don't know if #include-ing
the basic script and changing just what's needed would be more adequate than
copying it and patching it as a whole. Any recommended practice around here?

Anyway, let's take a look at include/arch/arm/cortex_m/scripts/linker.ld and try to
update it. I suggest we add a configuration option, like CONFIG_TI_CCFG_PRESENT,
that we'd use as a switch for extra code in the linker script.

Regards,

--
Geoffrey


Daily Gerrit Digest

donotreply@...
 

NEW within last 24 hours:
- https://gerrit.zephyrproject.org/r/11638 : net/dns: Remove outdated README file
- https://gerrit.zephyrproject.org/r/11637 : olimexino_stm32: provide button and leds for basic samples
- https://gerrit.zephyrproject.org/r/11636 : net/dns: Improve unaligned memory access
- https://gerrit.zephyrproject.org/r/11635 : olimexino_stm32: Enable DT usage for OLIMEXINO STM32
- https://gerrit.zephyrproject.org/r/11634 : dts: arm: Add base DTS support for Olimexino STM32 board

UPDATED within last 24 hours:
- https://gerrit.zephyrproject.org/r/11263 : tests: add zephyr SPI driver api test case
- https://gerrit.zephyrproject.org/r/11451 : net/dhcpv4: Support REBINDING
- https://gerrit.zephyrproject.org/r/11450 : net/dhcpv4: Refactor t1 handler.
- https://gerrit.zephyrproject.org/r/11449 : net/dhcpv4: Fix the behaviour of ciaddr.
- https://gerrit.zephyrproject.org/r/11448 : net/dhcpv4: Use BROADCAST and UNICAST appropriately.
- https://gerrit.zephyrproject.org/r/11447 : net/dhcpv4: Use server identifier appropriately.
- https://gerrit.zephyrproject.org/r/11446 : net/dhcpv4: Call net_if_ipv4_addr_rm
- https://gerrit.zephyrproject.org/r/11445 : net/dhcpv4: Introduce start/stop API and disabled state.
- https://gerrit.zephyrproject.org/r/11439 : net/dhcpv4: Explicitly initialize net_if dhcpv4 state.
- https://gerrit.zephyrproject.org/r/11433 : net/dhcpv4: Refactor dhcpv4 message type representation.
- https://gerrit.zephyrproject.org/r/11441 : net/dhcpv4: Refactor send_discover
- https://gerrit.zephyrproject.org/r/11436 : net/dhcpv4: Adjust state names to reflect rfc2131
- https://gerrit.zephyrproject.org/r/11434 : net/dhcpv4: Move timers inside the net_if dhcpv4 context
- https://gerrit.zephyrproject.org/r/11437 : net/dhcpv4: Refactor handle_reply()
- https://gerrit.zephyrproject.org/r/11432 : net/dhcpv4: Refactor packet construction
- https://gerrit.zephyrproject.org/r/11430 : net/dhcpv4: Add missing const
- https://gerrit.zephyrproject.org/r/11488 : net/dhcpv4: Remove !iface checks from timeout handlers.
- https://gerrit.zephyrproject.org/r/11438 : net/dhcpv4: Implement NAK support.
- https://gerrit.zephyrproject.org/r/11444 : net/dhcpv4: Rework initialization.
- https://gerrit.zephyrproject.org/r/11489 : RFC: DON'T MERGE net/dhcpv4: Respond to link up / down events
- https://gerrit.zephyrproject.org/r/11440 : net/dhcpv4: Refactor send_request state handling.
- https://gerrit.zephyrproject.org/r/11435 : net/dhcpv4: Unify dhcpv4 state name printers
- https://gerrit.zephyrproject.org/r/11443 : net/dhcpv4: Refactor REQUESTING state entry.
- https://gerrit.zephyrproject.org/r/11442 : net/dhcpv4: Refactor SELECTING state entry.
- https://gerrit.zephyrproject.org/r/11608 : serial: stm32: Move to more traditional formatting
- https://gerrit.zephyrproject.org/r/11631 : ext: lib: mbedtls : Upgrading mbedTLS library
- https://gerrit.zephyrproject.org/r/11632 : drivers: serial: nrf5: Fix system off pin configuration
- https://gerrit.zephyrproject.org/r/11330 : lib: Add minimal JSON library
- https://gerrit.zephyrproject.org/r/11577 : RFC: net/if: Introduce NET_IF_READY and net_if_link_status()
- https://gerrit.zephyrproject.org/r/11585 : tests: add zephyr I2C reentrancy case
- https://gerrit.zephyrproject.org/r/11586 : tests: add zephyr SPI reentrancy case
- https://gerrit.zephyrproject.org/r/11215 : tests: add PM tests framework for driver PM test case
- https://gerrit.zephyrproject.org/r/6716 : Bluetooth: SDP: Server: Refactor data element structure header
- https://gerrit.zephyrproject.org/r/11383 : arm: HAL files for MKL25Z soc
- https://gerrit.zephyrproject.org/r/11331 : samples: net: NATS protocol sample
- https://gerrit.zephyrproject.org/r/11394 : arm: Modification to support for SPI and DSPI drivers for NXP devices

MERGED within last 24 hours:
- https://gerrit.zephyrproject.org/r/11639 : doc: fix glaring typo in polling doc
- https://gerrit.zephyrproject.org/r/11624 : doc: fix glaring typo in polling doc
- https://gerrit.zephyrproject.org/r/11220 : Bluetooth: SDP: Server: Set security level to NONE
- https://gerrit.zephyrproject.org/r/11219 : Bluetooth: SDP: Server: Fix MTU setting after l2cap connection


Re: Adding support for CC2650 SoC

Tidy(ChunHua) Jiang <tidyjiang@...>
 

Hi Geoffery,

Have you began to work on cc2650? I'd like to add support for cc2538, but have a question
on the linker script. Unlike other soc, cc2538 and cc2650 have a Customer Configuration
Area(CCA/CCFG), which is located in the uppermost flash page. It must be coded in the
linker script, but how to realise it and make it more gracefully?

http://www.ti.com.cn/cn/lit/an/swra466a/swra466a.pdf 

Regards,
Tidy.


 


Daily Gerrit Digest

donotreply@...
 

NEW within last 24 hours:
- https://gerrit.zephyrproject.org/r/11632 : drivers: serial: nrf5: Fix system off pin configuration
- https://gerrit.zephyrproject.org/r/11624 : doc: fix glaring typo in polling doc
- https://gerrit.zephyrproject.org/r/11631 : ext: lib: mbedtls : Upgrading mbedTLS library
- https://gerrit.zephyrproject.org/r/11630 : samples: mbedtls: Fixing entropy source
- https://gerrit.zephyrproject.org/r/11628 : filter-known-issues: fix missing variable printing
- https://gerrit.zephyrproject.org/r/11627 : WIP: Security guideline
- https://gerrit.zephyrproject.org/r/11629 : run_phases/sanity: support re-trying sanity checks
- https://gerrit.zephyrproject.org/r/11626 : verify: have gen1 as default
- https://gerrit.zephyrproject.org/r/11623 : net/buf.h: fix copy-paste Doxygen error

UPDATED within last 24 hours:
- https://gerrit.zephyrproject.org/r/11559 : Bluetooth: AVDTP: Fix discover param struct
- https://gerrit.zephyrproject.org/r/11584 : Bluetooth: AVDTP: Rename of variables
- https://gerrit.zephyrproject.org/r/11577 : RFC: net/if: Introduce NET_IF_READY and net_if_link_status()
- https://gerrit.zephyrproject.org/r/9674 : drivers: gpio: Set the line to the pull by default
- https://gerrit.zephyrproject.org/r/11545 : scripts:nrf: Add 'make flash' for nrf boards.
- https://gerrit.zephyrproject.org/r/11544 : tests: add zephyr rtc reentrancy test case
- https://gerrit.zephyrproject.org/r/11331 : samples: net: NATS protocol sample
- https://gerrit.zephyrproject.org/r/11172 : soc: defconfig: Enable WDT for ATMEL SAME70 MCUs
- https://gerrit.zephyrproject.org/r/11330 : lib: Add minimal JSON library
- https://gerrit.zephyrproject.org/r/11476 : x86: fix operand modifiers in IRQ_CONNECT()
- https://gerrit.zephyrproject.org/r/11579 : RFC: eth/eth_sam_gmac: Call net_if_link_status()
- https://gerrit.zephyrproject.org/r/11580 : RFC: net/eth_mcux: Call net_if_link_status().
- https://gerrit.zephyrproject.org/r/11574 : samples: drivers: rtc: change hard-coded device nam
- https://gerrit.zephyrproject.org/r/11377 : doc: allow table head and content to wrap
- https://gerrit.zephyrproject.org/r/11573 : samples: i2c_fujitsu: change hard-coded device name
- https://gerrit.zephyrproject.org/r/11582 : samples: drivers: change hard-coded device name
- https://gerrit.zephyrproject.org/r/11522 : CI-Revision: phases 62/9762/19
- https://gerrit.zephyrproject.org/r/11361 : flash: Fixes wrong SPI device for flash memory in arduino 101 sss
- https://gerrit.zephyrproject.org/r/11548 : net: nbuf: Remove unnecessary debugging code
- https://gerrit.zephyrproject.org/r/11614 : net: nbuf: Print pool name instead of address in debug prints
- https://gerrit.zephyrproject.org/r/11347 : net: 6lo: Use dedicated buf pool if enabled
- https://gerrit.zephyrproject.org/r/11615 : net: nbuf: Use net_nbuf_get_frag() to allocate a fragment
- https://gerrit.zephyrproject.org/r/11613 : net: shell: Fix the info prints for net_buf pools
- https://gerrit.zephyrproject.org/r/11346 : net: nbuf: Add helper function to copy buf user_data
- https://gerrit.zephyrproject.org/r/11575 : net: nbuf: Split one global DATA pool to RX and TX DATA pools
- https://gerrit.zephyrproject.org/r/11547 : net: buf: Add more accounting info to net_buf pool
- https://gerrit.zephyrproject.org/r/11348 : net: tcp: Fix the issues with 6lo
- https://gerrit.zephyrproject.org/r/11459 : net: nbuf: Fix net_nbuf_copy() so that original nbuf is not modified
- https://gerrit.zephyrproject.org/r/11376 : net: tcp: ACK packet should not be forwarded to application
- https://gerrit.zephyrproject.org/r/11345 : net: nbuf: Fix the net_nbuf_copy() buf parameter
- https://gerrit.zephyrproject.org/r/11560 : net: buf: Store name of the buffer pool
- https://gerrit.zephyrproject.org/r/11242 : net: Add net_buf pool support to each context
- https://gerrit.zephyrproject.org/r/11298 : samples: net: Use context specific net_buf pools in echo_*
- https://gerrit.zephyrproject.org/r/11616 : net: Remove link layer reserve param from IP packet creator
- https://gerrit.zephyrproject.org/r/11465 : net: conn: Print UDP and TCP checksum after receiving pkt
- https://gerrit.zephyrproject.org/r/11618 : net: nbuf: Pass ll_reserve when creating TX buffer
- https://gerrit.zephyrproject.org/r/11561 : net: shell: Print network buffer pool information
- https://gerrit.zephyrproject.org/r/11460 : net: 6lo: Change how net_buf is allocated in RX side
- https://gerrit.zephyrproject.org/r/11464 : net: context: TCP packets must be send via net_tcp_send_data()

MERGED within last 24 hours:
- https://gerrit.zephyrproject.org/r/11625 : sanity: disable new phases job
- https://gerrit.zephyrproject.org/r/10076 : verify: Add verify job with run_phases call
- https://gerrit.zephyrproject.org/r/11477 : samples: i2c_lsm9ds0: change hard-coded device name


Daily Gerrit Digest

donotreply@...
 

NEW within last 24 hours:
- https://gerrit.zephyrproject.org/r/11618 : net: nbuf: Pass ll_reserve when creating TX buffer
- https://gerrit.zephyrproject.org/r/11619 : arm: HAL Makefile modification in drivers for NXP devices
- https://gerrit.zephyrproject.org/r/11621 : tests: add AES cmac test to mbedtls test
- https://gerrit.zephyrproject.org/r/11615 : net: nbuf: Use net_nbuf_get_frag() to allocate a fragment
- https://gerrit.zephyrproject.org/r/11614 : net: nbuf: Print pool name instead of address in debug prints
- https://gerrit.zephyrproject.org/r/11613 : net: shell: Fix the info prints for net_buf pools
- https://gerrit.zephyrproject.org/r/11575 : net: nbuf: Split one global DATA pool to RX and TX DATA pools
- https://gerrit.zephyrproject.org/r/11616 : net: Remove link layer reserve param from IP packet creator
- https://gerrit.zephyrproject.org/r/11584 : Bluetooth: AVDTP: Rename of variables
- https://gerrit.zephyrproject.org/r/11617 : Merge net branch into master
- https://gerrit.zephyrproject.org/r/11612 : RFC: tests/arp: Call net_if_link_status
- https://gerrit.zephyrproject.org/r/11580 : RFC: net/eth_mcux: Call net_if_link_status().
- https://gerrit.zephyrproject.org/r/11610 : RFC: net/l2/dummy: Call net_if_link_status()
- https://gerrit.zephyrproject.org/r/11581 : RFC: net/if: Restructure net_if_enable/disable and honour NET_IF_READY.
- https://gerrit.zephyrproject.org/r/11611 : RFC: net/l2/ieee802154: Call net_if_link_status()
- https://gerrit.zephyrproject.org/r/11579 : RFC: eth/eth_sam_gmac: Call net_if_link_status()
- https://gerrit.zephyrproject.org/r/11578 : RFC: eth/eth_enc28j60: Call net_if_link_status()
- https://gerrit.zephyrproject.org/r/11609 : net/l2/ieeee802154: Fix typo in ieee802154_reserve name
- https://gerrit.zephyrproject.org/r/11577 : RFC: net/if: Introduce NET_IF_READY and net_if_link_status()
- https://gerrit.zephyrproject.org/r/11607 : serial: stm32: Give H/W a chance to set the TXE bit on transfer
- https://gerrit.zephyrproject.org/r/11608 : serial: stm32: Move to more traditional formatting
- https://gerrit.zephyrproject.org/r/11606 : dma: stm32f4x: By default increment pointer through data passed through memory
- https://gerrit.zephyrproject.org/r/11597 : dma: stm32f4x: Add dump regs function to aid debugging
- https://gerrit.zephyrproject.org/r/11594 : dma: stm32f4x: Remove superfluous 'config' argument
- https://gerrit.zephyrproject.org/r/11603 : dma: stm32f4x: Pull in sub-channel information from Kconfig
- https://gerrit.zephyrproject.org/r/11595 : dma: stm32f4x: Adapt header file include to match new location
- https://gerrit.zephyrproject.org/r/11589 : dma: Add possibility for up to 3 DMA Controllers
- https://gerrit.zephyrproject.org/r/11604 : dma: stm32f4x: Prevent ddata from being directly referenced accidentally
- https://gerrit.zephyrproject.org/r/11600 : dma: stm32f4x: Use terminology found in the datasheet
- https://gerrit.zephyrproject.org/r/11590 : dma: stm32f4x: Obtain IRQ priority from Kconfig
- https://gerrit.zephyrproject.org/r/11602 : dma: Kconfig: Provide an means to specify sub-channels
- https://gerrit.zephyrproject.org/r/11591 : dma: stm32f4x: Obtain controller names from Kconfig
- https://gerrit.zephyrproject.org/r/11599 : dma: stm32f4x: Add .stop() call
- https://gerrit.zephyrproject.org/r/11596 : dma: stm32f4x: Move to new DMA API
- https://gerrit.zephyrproject.org/r/11592 : dma: Expand on documentation for data_size AKA data_width
- https://gerrit.zephyrproject.org/r/11593 : dma: Provide generic look-up functions for 'width' and 'burst' register entries
- https://gerrit.zephyrproject.org/r/11601 : dma: stm32f4x: Remove unused 'id' attribute
- https://gerrit.zephyrproject.org/r/11588 : dma: Group devices together in Kconfig
- https://gerrit.zephyrproject.org/r/11605 : dma: stm32f4x: Trivial: Prevent >80 char issue and neaten up
- https://gerrit.zephyrproject.org/r/11598 : dma: stm32f4x: Add support for dev-to-mem and mem-to-dev transfers
- https://gerrit.zephyrproject.org/r/11569 : eth/eth_mcux: Make promiscous mode configurable.
- https://gerrit.zephyrproject.org/r/11586 : tests: add zephyr SPI reentrancy case
- https://gerrit.zephyrproject.org/r/11585 : tests: add zephyr I2C reentrancy case
- https://gerrit.zephyrproject.org/r/11571 : arduino_101: Fix bluetooth UART dependency
- https://gerrit.zephyrproject.org/r/11582 : samples: drivers: change hard-coded device name
- https://gerrit.zephyrproject.org/r/11568 : xtensa: qemu: add sample_controller core
- https://gerrit.zephyrproject.org/r/11574 : samples: drivers: rtc: change hard-coded device nam
- https://gerrit.zephyrproject.org/r/11573 : samples: i2c_fujitsu: change hard-coded device name
- https://gerrit.zephyrproject.org/r/11567 : samples: i2c_lsm9ds0: filter test so it builds
- https://gerrit.zephyrproject.org/r/11572 : arm: IRQ number correction in the soc configuration

UPDATED within last 24 hours:
- https://gerrit.zephyrproject.org/r/11465 : net: conn: Print UDP and TCP checksum after receiving pkt
- https://gerrit.zephyrproject.org/r/11561 : net: shell: Print network buffer pool information
- https://gerrit.zephyrproject.org/r/11460 : net: 6lo: Change how net_buf is allocated in RX side
- https://gerrit.zephyrproject.org/r/11464 : net: context: TCP packets must be send via net_tcp_send_data()
- https://gerrit.zephyrproject.org/r/11242 : net: Add net_buf pool support to each context
- https://gerrit.zephyrproject.org/r/11548 : net: nbuf: Remove unnecessary debugging code
- https://gerrit.zephyrproject.org/r/11547 : net: buf: Add more accounting info to net_buf pool
- https://gerrit.zephyrproject.org/r/11348 : net: tcp: Fix the issues with 6lo
- https://gerrit.zephyrproject.org/r/11347 : net: 6lo: Use dedicated buf pool if enabled
- https://gerrit.zephyrproject.org/r/11346 : net: nbuf: Add helper function to copy buf user_data
- https://gerrit.zephyrproject.org/r/11345 : net: nbuf: Fix the net_nbuf_copy() buf parameter
- https://gerrit.zephyrproject.org/r/11560 : net: buf: Store name of the buffer pool
- https://gerrit.zephyrproject.org/r/11459 : net: nbuf: Fix net_nbuf_copy() so that original nbuf is not modified
- https://gerrit.zephyrproject.org/r/11298 : samples: net: Use context specific net_buf pools in echo_*
- https://gerrit.zephyrproject.org/r/11376 : net: tcp: ACK packet should not be forwarded to application
- https://gerrit.zephyrproject.org/r/11451 : net/dhcpv4: Support REBINDING
- https://gerrit.zephyrproject.org/r/11450 : net/dhcpv4: Refactor t1 handler.
- https://gerrit.zephyrproject.org/r/11449 : net/dhcpv4: Fix the behaviour of ciaddr.
- https://gerrit.zephyrproject.org/r/11448 : net/dhcpv4: Use BROADCAST and UNICAST appropriately.
- https://gerrit.zephyrproject.org/r/11446 : net/dhcpv4: Call net_if_ipv4_addr_rm
- https://gerrit.zephyrproject.org/r/11447 : net/dhcpv4: Use server identifier appropriately.
- https://gerrit.zephyrproject.org/r/11445 : net/dhcpv4: Introduce start/stop API and disabled state.
- https://gerrit.zephyrproject.org/r/11438 : net/dhcpv4: Implement NAK support.
- https://gerrit.zephyrproject.org/r/11489 : RFC: DON'T MERGE net/dhcpv4: Respond to link up / down events
- https://gerrit.zephyrproject.org/r/11444 : net/dhcpv4: Rework initialization.
- https://gerrit.zephyrproject.org/r/11442 : net/dhcpv4: Refactor SELECTING state entry.
- https://gerrit.zephyrproject.org/r/11436 : net/dhcpv4: Adjust state names to reflect rfc2131
- https://gerrit.zephyrproject.org/r/11439 : net/dhcpv4: Explicitly initialize net_if dhcpv4 state.
- https://gerrit.zephyrproject.org/r/11432 : net/dhcpv4: Refactor packet construction
- https://gerrit.zephyrproject.org/r/11440 : net/dhcpv4: Refactor send_request state handling.
- https://gerrit.zephyrproject.org/r/11434 : net/dhcpv4: Move timers inside the net_if dhcpv4 context
- https://gerrit.zephyrproject.org/r/11488 : net/dhcpv4: Remove !iface checks from timeout handlers.
- https://gerrit.zephyrproject.org/r/11441 : net/dhcpv4: Refactor send_discover
- https://gerrit.zephyrproject.org/r/11433 : net/dhcpv4: Refactor dhcpv4 message type representation.
- https://gerrit.zephyrproject.org/r/11437 : net/dhcpv4: Refactor handle_reply()
- https://gerrit.zephyrproject.org/r/11435 : net/dhcpv4: Unify dhcpv4 state name printers
- https://gerrit.zephyrproject.org/r/11430 : net/dhcpv4: Add missing const
- https://gerrit.zephyrproject.org/r/11443 : net/dhcpv4: Refactor REQUESTING state entry.
- https://gerrit.zephyrproject.org/r/11383 : arm: HAL files for MKL25Z soc
- https://gerrit.zephyrproject.org/r/11559 : Bluetooth: AVDTP: Fix discover param struct
- https://gerrit.zephyrproject.org/r/11384 : arm: Support for MKL25Z soc
- https://gerrit.zephyrproject.org/r/11172 : soc: defconfig: Enable WDT for ATMEL SAME70 MCUs
- https://gerrit.zephyrproject.org/r/11216 : tests: kernel: added clock_test
- https://gerrit.zephyrproject.org/r/6716 : Bluetooth: SDP: Server: Refactor data element structure header
- https://gerrit.zephyrproject.org/r/4488 : Bluetooth: SDP: Server: Support ServiceSearchRequest
- https://gerrit.zephyrproject.org/r/4489 : Bluetooth: SDP: Server: Support ServiceAttributeRequest
- https://gerrit.zephyrproject.org/r/9447 : Bluetooth: SDP: Server: Support ServiceSearchAttributeRequest
- https://gerrit.zephyrproject.org/r/11219 : Bluetooth: SDP: Server: Fix MTU setting after l2cap connection
- https://gerrit.zephyrproject.org/r/11220 : Bluetooth: SDP: Server: Set security level to NONE
- https://gerrit.zephyrproject.org/r/10880 : bbc_microbit: Enable MAG3110
- https://gerrit.zephyrproject.org/r/11215 : tests: add PM tests framework for driver PM test case
- https://gerrit.zephyrproject.org/r/11544 : tests: add zephyr rtc reentrancy test case
- https://gerrit.zephyrproject.org/r/11263 : tests: add zephyr SPI driver api test case
- https://gerrit.zephyrproject.org/r/11546 : tests: add zephyr wdt reentrancy test case
- https://gerrit.zephyrproject.org/r/11476 : x86: fix operand modifiers in IRQ_CONNECT()
- https://gerrit.zephyrproject.org/r/11467 : kernel: Add k_queue API
- https://gerrit.zephyrproject.org/r/11468 : tests: Add queue tests
- https://gerrit.zephyrproject.org/r/11469 : fifo: Make use of k_queue as implementation
- https://gerrit.zephyrproject.org/r/10879 : sensor/mag3110: Add mag3110 three axis magnetometer driver.
- https://gerrit.zephyrproject.org/r/11470 : lifo: Make use of k_queue as implementation
- https://gerrit.zephyrproject.org/r/11342 : boards: arduino_due: Add make flash support
- https://gerrit.zephyrproject.org/r/10076 : verify: Add verify job with run_phases call
- https://gerrit.zephyrproject.org/r/11545 : scripts:nrf: Add 'make flash' for nrf boards.
- https://gerrit.zephyrproject.org/r/11361 : flash: Fixes wrong SPI device for flash memory in arduino 101 sss
- https://gerrit.zephyrproject.org/r/11520 : arm: UART driver modifications for MKL25Z soc support
- https://gerrit.zephyrproject.org/r/11326 : tests/mqtt: Fix compiler warnings in MQTT Packet test case
- https://gerrit.zephyrproject.org/r/11479 : samples: pwm: change hard-coded device name
- https://gerrit.zephyrproject.org/r/11394 : arm: Modification to support for SPI and DSPI drivers for NXP devices
- https://gerrit.zephyrproject.org/r/11385 : arm: Support for new ARM board FRDM-KL25Z

MERGED within last 24 hours:
- https://gerrit.zephyrproject.org/r/11622 : Revert "samples: i2c_lsm9ds0: change hard-coded device name"
- https://gerrit.zephyrproject.org/r/11587 : net: ipv6: Do not try to unref null pointer
- https://gerrit.zephyrproject.org/r/11576 : net/if: Fix documentation comment marker.
- https://gerrit.zephyrproject.org/r/11570 : net/nbuf: Fix spelling.
- https://gerrit.zephyrproject.org/r/11566 : Zephyr 1.7.0-rc2
- https://gerrit.zephyrproject.org/r/11477 : samples: i2c_lsm9ds0: change hard-coded device name
- https://gerrit.zephyrproject.org/r/11415 : eth/eth_mcux: Provide phy state name printing in debug
- https://gerrit.zephyrproject.org/r/11416 : eth/eth_mcux: Provide start and stop operations on the PHY driver.
- https://gerrit.zephyrproject.org/r/11543 : samples/net/mqtt: Don't break lines after the "static" keyword
- https://gerrit.zephyrproject.org/r/11541 : samples/net/mqtt: Improve inline doc
- https://gerrit.zephyrproject.org/r/11542 : samples/net/mqtt: Move conf parameters to config.h
- https://gerrit.zephyrproject.org/r/11540 : samples/net/mqtt: Simplify MQTT publisher
- https://gerrit.zephyrproject.org/r/11279 : net: ipv6: Bluetooth address fix
- https://gerrit.zephyrproject.org/r/11532 : samples/zoap_server: Add a test case for the observer feature
- https://gerrit.zephyrproject.org/r/11533 : samples/zoap_server: Adds example for the link-format feature
- https://gerrit.zephyrproject.org/r/11530 : samples/zoap_server: Remove useless return statements
- https://gerrit.zephyrproject.org/r/11534 : tests/zoap: Adds test for the length of payload on the RX side
- https://gerrit.zephyrproject.org/r/11531 : samples/zoap_server: Add more validation tests for block-wise
- https://gerrit.zephyrproject.org/r/11537 : samples/zoap_client: Fix using the wrong timeout for retransmissions
- https://gerrit.zephyrproject.org/r/11536 : samples/zoap_server: Add retransmissions for CON messages
- https://gerrit.zephyrproject.org/r/11535 : iot/zoap: Fix requiring that the buffer is unchanged for retransmit
- https://gerrit.zephyrproject.org/r/11472 : net: ipv6: Add util to traverse neighbor cache entries
- https://gerrit.zephyrproject.org/r/11473 : net: shell: Print IPv6 neighbor information
- https://gerrit.zephyrproject.org/r/11474 : net: ipv6: Add util to remove neighbor from cache
- https://gerrit.zephyrproject.org/r/11475 : net: if: Remove local address from IPv6 neighbor cache
- https://gerrit.zephyrproject.org/r/11492 : net: icmpv6: Add TCP header when sending ICMPv6 error
- https://gerrit.zephyrproject.org/r/11493 : net: icmpv6: Echo-Reply seq and id fix
- https://gerrit.zephyrproject.org/r/11562 : Revert "tests/crypto: Update testcase.ini to build on more platforms"
- https://gerrit.zephyrproject.org/r/11564 : Revert "tests/crypto: Update testcase.ini to build on more platforms"


Re: dhcp integration into the platform

Gil Pitney
 

As long as all apps with static IPv4 addresses call net_if_ipv4_addr_add().

So, yes, that should work!

Thanks

On 23 February 2017 at 15:06, Marcus Shawcroft
<marcus.shawcroft@gmail.com> wrote:
On 23 February 2017 at 22:55, Gil Pitney <gil.pitney@linaro.org> wrote:
Anticipating application initialization code like this:

#ifdef CONFIG_NET_DHCPV4
<wait on semaphore signaled by a NET_DHCP_IPV4_ADDR_ACQUIRED callback >
#else
<use pre-configured static ip address>
#endif
An interface always gets an address, hence I think that for both
static and DHCP cases the following would work:

<wait on semaphore signaled by a NET_EVENT_IPV4_ADDR_ADD callback >

Cheers
/Marcus


Re: dhcp integration into the platform

Marcus Shawcroft <marcus.shawcroft@...>
 

On 23 February 2017 at 22:55, Gil Pitney <gil.pitney@linaro.org> wrote:
Anticipating application initialization code like this:

#ifdef CONFIG_NET_DHCPV4
<wait on semaphore signaled by a NET_DHCP_IPV4_ADDR_ACQUIRED callback >
#else
<use pre-configured static ip address>
#endif
An interface always gets an address, hence I think that for both
static and DHCP cases the following would work:

<wait on semaphore signaled by a NET_EVENT_IPV4_ADDR_ADD callback >

Cheers
/Marcus


Re: dhcp integration into the platform

Gil Pitney
 

Anticipating application initialization code like this:

#ifdef CONFIG_NET_DHCPV4
<wait on semaphore signaled by a NET_DHCP_IPV4_ADDR_ACQUIRED callback >
#else
<use pre-configured static ip address>
#endif

It probably doesn't matter how the address is acquired, but the
application needs to somehow know to wait for the IPv4 address
notification before proceeding. If DHCPV4 is configured, at least
the app knows it needs to wait in that case.

Could also remove the #ifdef in the app, have the app ask the net
interface if DHCP is supported (or if IP to be assigned by other
means), and if so, register to wait on a semaphore and wait on it,
otherwise proceed with a static IP address.



On 23 February 2017 at 12:49, Marcus Shawcroft
<marcus.shawcroft@gmail.com> wrote:
On 23 February 2017 at 19:35, Gil Pitney <gil.pitney@linaro.org> wrote:
In the existing DHCP design it’s not enough for application just subscribe
to NET_EVENT_IF_UP event.

For our client application we observed situations when the link was up, but
IPV4 address still hasn’t been assigned yet.

The issue was solved by subscribing to NET_EVENT_IPV4_ADDR_ADD event.

So maybe in the new design it should be taken into account as well.
+1.

For example, echo_client application starts DHCP (if configured), but
does not wait for the IPv4 address to be acquired before proceeding
(and so uses an incorrect static IP address instead).

But perhaps, the event should be something like NET_DHCP_IPV4_ADDR_ACQUIRED?
Hi

Is it important to distinguish how the address was acquired?

/Marcus


Re: dhcp integration into the platform

Marcus Shawcroft <marcus.shawcroft@...>
 

On 23 February 2017 at 19:35, Gil Pitney <gil.pitney@linaro.org> wrote:
In the existing DHCP design it’s not enough for application just subscribe
to NET_EVENT_IF_UP event.

For our client application we observed situations when the link was up, but
IPV4 address still hasn’t been assigned yet.

The issue was solved by subscribing to NET_EVENT_IPV4_ADDR_ADD event.

So maybe in the new design it should be taken into account as well.
+1.

For example, echo_client application starts DHCP (if configured), but
does not wait for the IPv4 address to be acquired before proceeding
(and so uses an incorrect static IP address instead).

But perhaps, the event should be something like NET_DHCP_IPV4_ADDR_ACQUIRED?
Hi

Is it important to distinguish how the address was acquired?

/Marcus


Re: dhcp integration into the platform

Gil Pitney
 

In the existing DHCP design it’s not enough for application just subscribe
to NET_EVENT_IF_UP event.

For our client application we observed situations when the link was up, but
IPV4 address still hasn’t been assigned yet.

The issue was solved by subscribing to NET_EVENT_IPV4_ADDR_ADD event.

So maybe in the new design it should be taken into account as well.
+1.

For example, echo_client application starts DHCP (if configured), but
does not wait for the IPv4 address to be acquired before proceeding
(and so uses an incorrect static IP address instead).

But perhaps, the event should be something like NET_DHCP_IPV4_ADDR_ACQUIRED?


Re: Fibers Become Unrunnable in Nanokernel

Benjamin Walsh <benjamin.walsh@...>
 

On Wed, Feb 22, 2017 at 09:39:26PM -0500, Rosen, Michael R wrote:
As far as I can tell, the "timer" is expired and the struct tcs's
for the fibers are not in the runnable list. All other fibers in the
system on ARC seem to be in the runnable list as expected. Also,
from some basic stack analysis, it appears that the unrunnable
fibers are still in the nano_timer_test function. One thing worth
noting is that while most fibers are just doing some math and
storing it in memory; but two of them are accessing a SPI and I2C
device. When these fibers are prevented from accessing the device,
the system seems to run smoothly; otherwise it doesn't. Has anything
like this ever been encountered before?

Note also that moving to Zephyr 1.6 would be significant effort as
we have implemented a number of custom drivers and other features
that would take a significant time to port.
This does not really solve your problem, but Zephyr 1.6 contains a
legacy layer that provides all the APIs of the old kernels on top of
the new kernel. It's not a NOP to move to 1.6, since you might have
some issues with e.g. stack sizes, or some other > > idiosyncrasies,
but it might be less painful than you think.

About your issue: the first thing I always suspect with weird
behaviour like this is stack smashing. There is a kconfig option for
ARC that enables stack overflow/underflow detection. Do you have
that option enabled ?
Just to update you and the mailing list; I think the issue is one you
solved for 1.6. However, its not tracked on JIRA or in the release
notes so I didn't realize such a critical bug was not fixed in 1.5.
The commit in question is 5986ec040b. As this is a very specific
timing bug, we are still validating our code to be 100% sure its
fixed, but its looking good so far.
Sorry, I did not have much time to look at this. But yes, this looks
indeed like a problem even in the pre-unified kernel (per-1.6).


Daily Gerrit Digest

donotreply@...
 

NEW within last 24 hours:
- https://gerrit.zephyrproject.org/r/11564 : Revert "tests/crypto: Update testcase.ini to build on more platforms"
- https://gerrit.zephyrproject.org/r/11562 : Revert "tests/crypto: Update testcase.ini to build on more platforms"
- https://gerrit.zephyrproject.org/r/11560 : net: buf: Store name of the buffer pool
- https://gerrit.zephyrproject.org/r/11561 : net: shell: Print network buffer pool information
- https://gerrit.zephyrproject.org/r/11559 : Bluetooth: AVDTP: Fix discover param struct
- https://gerrit.zephyrproject.org/r/11526 : doc: Fix broken references in new theme
- https://gerrit.zephyrproject.org/r/11548 : net: nbuf: Remove unnecessary debugging code
- https://gerrit.zephyrproject.org/r/11547 : net: buf: Add more accounting info to net_buf pool
- https://gerrit.zephyrproject.org/r/11545 : scripts:nrf: Add 'make flash' for nrf boards.
- https://gerrit.zephyrproject.org/r/11546 : tests: add zephyr wdt reentrancy test case
- https://gerrit.zephyrproject.org/r/11537 : samples/zoap_client: Fix using the wrong timeout for retransmissions
- https://gerrit.zephyrproject.org/r/11536 : samples/zoap_server: Add retransmissions for CON messages
- https://gerrit.zephyrproject.org/r/11535 : iot/zoap: Fix requiring that the buffer is unchanged for retransmit
- https://gerrit.zephyrproject.org/r/11534 : tests/zoap: Adds test for the length of payload on the RX side
- https://gerrit.zephyrproject.org/r/11533 : samples/zoap_server: Adds example for the link-format feature
- https://gerrit.zephyrproject.org/r/11532 : samples/zoap_server: Add a test case for the observer feature
- https://gerrit.zephyrproject.org/r/11531 : samples/zoap_server: Add more validation tests for block-wise
- https://gerrit.zephyrproject.org/r/11530 : samples/zoap_server: Remove useless return statements
- https://gerrit.zephyrproject.org/r/11543 : samples/net/mqtt: Don't break lines after the "static" keyword
- https://gerrit.zephyrproject.org/r/11541 : samples/net/mqtt: Improve inline doc
- https://gerrit.zephyrproject.org/r/11540 : samples/net/mqtt: Simplify MQTT publisher
- https://gerrit.zephyrproject.org/r/11542 : samples/net/mqtt: Move conf parameters to config.h
- https://gerrit.zephyrproject.org/r/11544 : tests: add zephyr rtc reentrancy test case
- https://gerrit.zephyrproject.org/r/11520 : arm: UART driver modifications for MKL25Z soc support
- https://gerrit.zephyrproject.org/r/11524 : usb: cdc_acm: Fix a possible race
- https://gerrit.zephyrproject.org/r/11522 : CI-Revision: phases 62/9762/19

UPDATED within last 24 hours:
- https://gerrit.zephyrproject.org/r/11479 : samples: pwm: change hard-coded device name
- https://gerrit.zephyrproject.org/r/11279 : net: ipv6: Bluetooth address fix
- https://gerrit.zephyrproject.org/r/11242 : net: Add net_buf pool support to each context
- https://gerrit.zephyrproject.org/r/11348 : net: tcp: Fix the issues with 6lo
- https://gerrit.zephyrproject.org/r/11460 : net: 6lo: Change how net_buf is allocated in RX side
- https://gerrit.zephyrproject.org/r/11464 : net: context: TCP packets must be send via net_tcp_send_data()
- https://gerrit.zephyrproject.org/r/11465 : net: conn: Print UDP and TCP checksum after receiving pkt
- https://gerrit.zephyrproject.org/r/11346 : net: nbuf: Add helper function to copy buf user_data
- https://gerrit.zephyrproject.org/r/11459 : net: nbuf: Fix net_nbuf_copy() so that original nbuf is not modified
- https://gerrit.zephyrproject.org/r/11475 : net: if: Remove local address from IPv6 neighbor cache
- https://gerrit.zephyrproject.org/r/11347 : net: 6lo: Use dedicated buf pool if enabled
- https://gerrit.zephyrproject.org/r/11474 : net: ipv6: Add util to remove neighbor from cache
- https://gerrit.zephyrproject.org/r/11473 : net: shell: Print IPv6 neighbor information
- https://gerrit.zephyrproject.org/r/11345 : net: nbuf: Fix the net_nbuf_copy() buf parameter
- https://gerrit.zephyrproject.org/r/11298 : samples: net: Use context specific net_buf pools in echo_*
- https://gerrit.zephyrproject.org/r/11472 : net: ipv6: Add util to traverse neighbor cache entries
- https://gerrit.zephyrproject.org/r/11493 : net: icmpv6: Echo-Reply seq and id fix
- https://gerrit.zephyrproject.org/r/11492 : net: icmpv6: Add TCP header when sending ICMPv6 error
- https://gerrit.zephyrproject.org/r/11470 : lifo: Make use of k_queue as implementation
- https://gerrit.zephyrproject.org/r/11469 : fifo: Make use of k_queue as implementation
- https://gerrit.zephyrproject.org/r/11385 : arm: Support for new ARM board FRDM-KL25Z
- https://gerrit.zephyrproject.org/r/11236 : arm: Support for new ARM boards (discovery STM32F4 and STM32F429)
- https://gerrit.zephyrproject.org/r/11468 : tests: Add queue tests
- https://gerrit.zephyrproject.org/r/11467 : kernel: Add k_queue API
- https://gerrit.zephyrproject.org/r/11416 : eth/eth_mcux: Provide start and stop operations on the PHY driver.
- https://gerrit.zephyrproject.org/r/11415 : net/eth_mcux: Provide phy state name printing in debug
- https://gerrit.zephyrproject.org/r/11394 : arm: Modification to support for SPI and DSPI drivers for NXP devices
- https://gerrit.zephyrproject.org/r/11471 : Bluetooth: GATT: Use __ASSERT for invalid parameters
- https://gerrit.zephyrproject.org/r/11215 : tests: add PM tests framework for driver PM test case
- https://gerrit.zephyrproject.org/r/11358 : arm: GPIO driver modifications for MKL25Z soc support
- https://gerrit.zephyrproject.org/r/11487 : tests: add zephyr AON Timer reentrancy test case
- https://gerrit.zephyrproject.org/r/11384 : arm: Support for MKL25Z soc
- https://gerrit.zephyrproject.org/r/11401 : arch: stm32: remove sets of irq definitions per series
- https://gerrit.zephyrproject.org/r/11400 : drivers: use stm32cube irq enum definitions
- https://gerrit.zephyrproject.org/r/10722 : DONT_MERGE: test that succeeds
- https://gerrit.zephyrproject.org/r/7664 : second: test
- https://gerrit.zephyrproject.org/r/11250 : tests: add zephyr i2c driver deep sleep case
- https://gerrit.zephyrproject.org/r/11262 : tests: add zephyr GPIO driver deep sleep case
- https://gerrit.zephyrproject.org/r/5137 : DONT_MERGE: - add changes to two different branches
- https://gerrit.zephyrproject.org/r/10076 : verify: Add verify job with run_phases call
- https://gerrit.zephyrproject.org/r/3114 : DONT MERGE: - break doc
- https://gerrit.zephyrproject.org/r/4457 : DONT: MERGE - cause checkpatch warnings
- https://gerrit.zephyrproject.org/r/11383 : arm: HAL files for MKL25Z soc
- https://gerrit.zephyrproject.org/r/11029 : watchdog: Add WDT driver for Atmel SAM SoCs

MERGED within last 24 hours:
- https://gerrit.zephyrproject.org/r/11549 : drivers/ieee802154: Add missing parameter to net_if_set_link_addr()
- https://gerrit.zephyrproject.org/r/11551 : tests/crypto: Update testcase.ini to build on more platforms
- https://gerrit.zephyrproject.org/r/11557 : samples: add some missing testcase.ini
- https://gerrit.zephyrproject.org/r/11553 : aon_counter test: fix misspelling in the header include guard
- https://gerrit.zephyrproject.org/r/11558 : tests: watchdog: Interrupt reset mode modifications
- https://gerrit.zephyrproject.org/r/11550 : tests/power/multicorei/lmt: Fix RTC configuration
- https://gerrit.zephyrproject.org/r/11552 : quark_se: arc: do not enable second I2C by default
- https://gerrit.zephyrproject.org/r/11555 : samples: fade_led: change hard-coded device name
- https://gerrit.zephyrproject.org/r/11554 : samples: blink_led: change hard-coded device name
- https://gerrit.zephyrproject.org/r/11556 : samples: driver: led_apa102c: change hard-coded device name
- https://gerrit.zephyrproject.org/r/11523 : samples: add some missing testcase.ini
- https://gerrit.zephyrproject.org/r/11539 : doc: tweak .gitignore to allow doc theme dev
- https://gerrit.zephyrproject.org/r/11538 : tests/power/multicorei/lmt: Fix RTC configuration
- https://gerrit.zephyrproject.org/r/11527 : Merge arm branch into master
- https://gerrit.zephyrproject.org/r/11528 : gpio: enable ports F G (and H) for stm32f1xx (stm32f4xx)
- https://gerrit.zephyrproject.org/r/11529 : clock_control: fix to get PLL2 source for PREDV1 working
- https://gerrit.zephyrproject.org/r/11499 : drivers: mcr20a: cleanup and refactor interrupt processing
- https://gerrit.zephyrproject.org/r/11500 : tests/mqtt: Fix compiler warnings in MQTT Packet test case
- https://gerrit.zephyrproject.org/r/11501 : ext: Import Nordic 802.15.4 radio driver
- https://gerrit.zephyrproject.org/r/11502 : ext: Integrate Nordic's 802.15.4 radio driver into Zephyr
- https://gerrit.zephyrproject.org/r/11503 : drivers/net/ieee802154: nRF5 802.15.4 radio driver
- https://gerrit.zephyrproject.org/r/11504 : samples/net: ieee802154: Add configuration for nrf5
- https://gerrit.zephyrproject.org/r/11505 : samples/net/ieee802154: Update example with nrf5 802.15.4
- https://gerrit.zephyrproject.org/r/11506 : net: Add network link technology type to linkaddr
- https://gerrit.zephyrproject.org/r/11507 : net: Set the network link address type when setting link address
- https://gerrit.zephyrproject.org/r/11508 : net: nbuf: Set the link address type in nbuf
- https://gerrit.zephyrproject.org/r/11509 : net: ipv6: IEEE 802.15.4 short address fix
- https://gerrit.zephyrproject.org/r/11510 : net: Fix stack type
- https://gerrit.zephyrproject.org/r/11511 : net/utils: Fix parameters type
- https://gerrit.zephyrproject.org/r/11512 : net: context: Fix invalid order of statements
- https://gerrit.zephyrproject.org/r/11513 : drivers: slip: Remove unused variables
- https://gerrit.zephyrproject.org/r/11514 : drivers: slip: Add more comments for slip write scenario
- https://gerrit.zephyrproject.org/r/11515 : drivers: slip: Skip buffer allocation for incomplete packet
- https://gerrit.zephyrproject.org/r/11516 : net: context: let tcp_established() handle more TCP states
- https://gerrit.zephyrproject.org/r/11517 : net: tcp: Retransmit buffers are not freed on tcp_release
- https://gerrit.zephyrproject.org/r/11518 : net: buf: net_buf_frag_del() had insufficient debugging
- https://gerrit.zephyrproject.org/r/11519 : drivers/ieee802154/pipe: Use net_nbuf_unref to release net_buf
- https://gerrit.zephyrproject.org/r/11498 : samples/ieee802154: Update qemu based samples
- https://gerrit.zephyrproject.org/r/11495 : net: doc: Fix incorrect netcat note for qemu setup
- https://gerrit.zephyrproject.org/r/11496 : net: doc: Invalid config option for TCP
- https://gerrit.zephyrproject.org/r/11521 : quark_se: Don't enable UART 0 always
- https://gerrit.zephyrproject.org/r/11494 : drivers/timer: Fixing issue in nRF RTC driver when RTC handler is blocked.
- https://gerrit.zephyrproject.org/r/11466 : tests: update uart driver api test case
- https://gerrit.zephyrproject.org/r/11323 : tests: watchdog: Interrupt reset mode modifications
- https://gerrit.zephyrproject.org/r/11484 : samples: blink_led: change hard-coded device name
- https://gerrit.zephyrproject.org/r/11485 : samples: fade_led: change hard-coded device name
- https://gerrit.zephyrproject.org/r/11480 : samples: driver: led_apa102c: change hard-coded device name
- https://gerrit.zephyrproject.org/r/11477 : samples: i2c_lsm9ds0: change hard-coded device name
- https://gerrit.zephyrproject.org/r/11320 : aon_counter test: fix misspelling in the header include guard
- https://gerrit.zephyrproject.org/r/11380 : quark_se: arc: do not enable second I2C by default
- https://gerrit.zephyrproject.org/r/11486 : tests/crypto: Update testcase.ini to build on more platforms
- https://gerrit.zephyrproject.org/r/11462 : samples: net: Fix the 802.15.4 monitor pcap saving
- https://gerrit.zephyrproject.org/r/11455 : Bluetooth: controller: Introduce debug pins Kconfig option
- https://gerrit.zephyrproject.org/r/11391 : clock_control: fix to get PLL2 source for PREDV1 working
- https://gerrit.zephyrproject.org/r/11392 : gpio: enable ports F G (and H) for stm32f1xx (stm32f4xx)
- https://gerrit.zephyrproject.org/r/11349 : Makefile.toolchain.zephyr: fix xtensa support
- https://gerrit.zephyrproject.org/r/11319 : xtensa: move #include <linker/common-*.ld> up
- https://gerrit.zephyrproject.org/r/11324 : xtensa: drop references to C library
- https://gerrit.zephyrproject.org/r/11310 : xtensa: use inline assembly instead of XT_* macros
- https://gerrit.zephyrproject.org/r/11321 : toolchain: don't define __stack outside C code
- https://gerrit.zephyrproject.org/r/11322 : xtensa: make sample_controller runnable on QEMU
- https://gerrit.zephyrproject.org/r/11266 : flash/stm32: driver for STM32F4x series
- https://gerrit.zephyrproject.org/r/11327 : cortex_m_systick: fix _timer_cycle_get_32() race
- https://gerrit.zephyrproject.org/r/11454 : Bluetooth: controller: Set debug pins with macros
- https://gerrit.zephyrproject.org/r/11403 : Merge net branch into master


Re: Running echo_server on qemu_cortex_m3

Goldman, Michael <michael.goldman@...>
 

Hi,

 

indeed –q option doesn’t work on my machine.

When running nc with echo and pipe nc doesn’t wait but when starting nc and then typing text it does wait.

But… I would like to send (and then receive) a file. I’ll need to figure it out.

 

Thanks Piotr!

 

From: zephyr-devel-bounces@... [mailto:zephyr-devel-bounces@...] On Behalf Of Piotr Mienkowski
Sent: Wednesday, February 22, 2017 18:13
To: zephyr-devel@...
Subject: Re: [Zephyr-devel] Running echo_server on qemu_cortex_m3

 

Hi Michael,

When running "nc" in UDP, nc exits without waiting for reply from the target application (echo_server)

You may force nc to wait some time after all data are sent using -q seconds option. As in

$ echo foobar | nc -q 1 -u 192.0.2.1 4242

to wait for 1 second. Unfortunately the -q option may not be present in your specific implementation of nc. It seems there are a few and their names may vary, e.g. ncat, netcat. I haven't been using Zephyr net-tools project so I'm not sure what's the situation there.

For simple testing it's often enough to type

$ nc -u 192.0.2.1 4242

anything you type into the console will be send to the remote side and the response will be displayed. To exit you'll need to Ctrl+C manually.

Cheers,
Piotr

---------------------------------------------------------------------
A member of the Intel Corporation group of companies

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.


Re: Fibers Become Unrunnable in Nanokernel

Michael Rosen
 

As far as I can tell, the "timer" is expired and the struct tcs's
for the fibers are not in the runnable list. All other fibers in the
system on ARC seem to be in the runnable list as expected. Also,
from some basic stack analysis, it appears that the unrunnable
fibers are still in the nano_timer_test function. One thing worth
noting is that while most fibers are just doing some math and
storing it in memory; but two of them are accessing a SPI and I2C
device. When these fibers are prevented from accessing the device,
the system seems to run smoothly; otherwise it doesn't. Has anything
like this ever been encountered before?

Note also that moving to Zephyr 1.6 would be significant effort as
we have implemented a number of custom drivers and other features
that would take a significant time to port.
This does not really solve your problem, but Zephyr 1.6 contains a legacy layer that provides all the APIs of the old kernels on top of the new kernel. It's not a NOP to move to 1.6, since you might have some issues with e.g. stack sizes, or some other > > idiosyncrasies, but it might be less painful than you think.

About your issue: the first thing I always suspect with weird behaviour like this is stack smashing. There is a kconfig option for ARC that enables stack overflow/underflow detection. Do you have that option enabled ?
Ben,

Just to update you and the mailing list; I think the issue is one you solved for 1.6. However, its not tracked on JIRA or in the release notes so I didn't realize such a critical bug was not fixed in 1.5. The commit in question is 5986ec040b. As this is a very specific timing bug, we are still validating our code to be 100% sure its fixed, but its looking good so far.

Thanks,
Mike


Re: ARM HW timer config

Gil Pitney
 

There is a global variable sys_clock_hw_cycles_per_tick which is set
in kernel/sys_clock.c from CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC, and is
later used in cortex_m_systick.c.

Looks like TI CC2560 runs at 48 MHz, so setting
CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC to 48000000 should be sufficient.
That's what I did for TI CC32xx (setting at 80 Mhz), and all the
timing functions worked out fine.

On 21 February 2017 at 02:29, Geoffrey LE GOURRIEREC
<geoffrey.legourrierec@smile.fr> wrote:
Hi all,

I'm having trouble understanding how to choose a value for the
SYS_CLOCK_HW_CYCLES_PER_SEC config variable.

I'm porting the CC2650 SoC from TI, which uses a Cortex M3 core.
Thus I plan to use the Cortex's embedded "SysTick" timer as a HW timer.
However, taking a look at drivers/timer/cortex_m_systick.c, the mentioned
CONFIG_SYSTICK_CLOCK_FREQ variable is not in fact defined anywhere.

Should I then simply use the frequency of the clock driving the Cortex core?
Or should I use the driver's interface in the SoC's init() function to set
it up,
and use the generated frequency in SYS_CLOCK_HW_CYCLES_PER_SEC?

Best regards,

--
Geoffrey Le Gourriérec


_______________________________________________
Zephyr-devel mailing list
Zephyr-devel@lists.zephyrproject.org
https://lists.zephyrproject.org/mailman/listinfo/zephyr-devel


Re: Running echo_server on qemu_cortex_m3

Piotr Mienkowski
 

Hi Michael,

When running "nc" in UDP, nc exits without waiting for reply from the target application (echo_server)
You may force nc to wait some time after all data are sent using -q seconds option. As in

$ echo foobar | nc -q 1 -u 192.0.2.1 4242

to wait for 1 second. Unfortunately the -q option may not be present in your specific implementation of nc. It seems there are a few and their names may vary, e.g. ncat, netcat. I haven't been using Zephyr net-tools project so I'm not sure what's the situation there.

For simple testing it's often enough to type

$ nc -u 192.0.2.1 4242

anything you type into the console will be send to the remote side and the response will be displayed. To exit you'll need to Ctrl+C manually.

Cheers,
Piotr


Re: Running echo_server on qemu_cortex_m3

Jukka Rissanen
 

Hi Michael,

On Tue, 2017-02-21 at 12:33 +0000, Goldman, Michael wrote:
Hi all,

BTY, regarding the documentation in: https://www.zephyrproject.org/do
c/subsystems/networking/qemu_setup.html#networking-with-qemu

When running "nc" in UDP, nc exits without waiting for reply from the
target application (echo_server), unlike the description in the doc.:
Note
You will need to Ctrl+C manually.
$ echo foobar | nc -u 192.0.2.1 4242
foobar

I can see the packet being sent to target and replayed back in
Wireshark.
On TCP, nc does wait for response and I can see "foobar" printed and
Ctrl+C is needed to close nc.
Indeed, the documentation is wrong here. I will send a patch for that
one. Thanks for reporting this.


I searched over the web and read that because UDP is connectionless
protocol, nc is not supposed to wait for response.
Did I do something wrong?
No, you did everything right here :)



Thanks,
Michael

Cheers,
Jukka


Daily Gerrit Digest

donotreply@...
 

NEW within last 24 hours:
- https://gerrit.zephyrproject.org/r/11493 : net: icmpv6: Echo-Reply seq and id fix
- https://gerrit.zephyrproject.org/r/11492 : net: icmpv6: Add TCP header when sending ICMPv6 error
- https://gerrit.zephyrproject.org/r/11489 : RFC: DON'T MERGE net/dhcpv4: Respond to link up / down events
- https://gerrit.zephyrproject.org/r/11488 : net/dhcpv4: Remove !iface checks from timeout handlers.
- https://gerrit.zephyrproject.org/r/11478 : [WIP] net/http: Add the HTTP API
- https://gerrit.zephyrproject.org/r/11487 : tests: add zephyr AON Timer reentrancy test case
- https://gerrit.zephyrproject.org/r/11486 : tests/crypto/cbc: Update testcase.ini to build on more platforms
- https://gerrit.zephyrproject.org/r/11485 : samples: fade_led: change hard-coded device name
- https://gerrit.zephyrproject.org/r/11484 : samples: blink_led: change hard-coded device name
- https://gerrit.zephyrproject.org/r/11481 : Support new theme on old tags
- https://gerrit.zephyrproject.org/r/11480 : samples: driver: led_apa102c: change hard-coded device name
- https://gerrit.zephyrproject.org/r/11479 : samples: pwm: change hard-coded device name
- https://gerrit.zephyrproject.org/r/11477 : samples: i2c_lsm9ds0: change hard-coded device name
- https://gerrit.zephyrproject.org/r/11476 : x86: fix operand modifiers in IRQ_CONNECT()
- https://gerrit.zephyrproject.org/r/11474 : net: ipv6: Add util to remove neighbor from cache
- https://gerrit.zephyrproject.org/r/11475 : net: if: Remove local address from IPv6 neighbor cache
- https://gerrit.zephyrproject.org/r/11473 : net: shell: Print IPv6 neighbor information
- https://gerrit.zephyrproject.org/r/11472 : net: ipv6: Add util to traverse neighbor cache entries

UPDATED within last 24 hours:
- https://gerrit.zephyrproject.org/r/11451 : net/dhcpv4: Support REBINDING
- https://gerrit.zephyrproject.org/r/11470 : lifo: Make use of k_queue as implementation
- https://gerrit.zephyrproject.org/r/11469 : fifo: Make use of k_queue as implementation
- https://gerrit.zephyrproject.org/r/9821 : shell: use modules' own help functions if have already defined
- https://gerrit.zephyrproject.org/r/11450 : net/dhcpv4: Refactor t1 handler.
- https://gerrit.zephyrproject.org/r/11468 : tests: Add queue tests
- https://gerrit.zephyrproject.org/r/11467 : kernel: Add k_queue API
- https://gerrit.zephyrproject.org/r/11403 : Merge net branch into master
- https://gerrit.zephyrproject.org/r/11448 : net/dhcpv4: Use BROADCAST and UNICAST appropriately.
- https://gerrit.zephyrproject.org/r/11449 : net/dhcpv4: Fix the behaviour of ciaddr.
- https://gerrit.zephyrproject.org/r/11447 : net/dhcpv4: Use server identifier appropriately.
- https://gerrit.zephyrproject.org/r/11446 : net/dhcpv4: Call net_if_ipv4_addr_rm
- https://gerrit.zephyrproject.org/r/11444 : net/dhcpv4: Rework initialization.
- https://gerrit.zephyrproject.org/r/11242 : net: Add net_buf pool support to each context
- https://gerrit.zephyrproject.org/r/11436 : net/dhcpv4: Adjust state names to reflect rfc2131
- https://gerrit.zephyrproject.org/r/11445 : net/dhcpv4: Introduce start/stop API and disabled state.
- https://gerrit.zephyrproject.org/r/11430 : net/dhcpv4: Add missing const
- https://gerrit.zephyrproject.org/r/11432 : net/dhcpv4: Refactor packet construction
- https://gerrit.zephyrproject.org/r/11441 : net/dhcpv4: Refactor send_discover
- https://gerrit.zephyrproject.org/r/11440 : net/dhcpv4: Refactor send_request state handling.
- https://gerrit.zephyrproject.org/r/11434 : net/dhcpv4: Move timers inside the net_if dhcpv4 context
- https://gerrit.zephyrproject.org/r/11443 : net/dhcpv4: Refactor REQUESTING state entry.
- https://gerrit.zephyrproject.org/r/11437 : net/dhcpv4: Refactor handle_reply()
- https://gerrit.zephyrproject.org/r/11442 : net/dhcpv4: Refactor SELECTING state entry.
- https://gerrit.zephyrproject.org/r/11438 : net/dhcpv4: Implement NAK support.
- https://gerrit.zephyrproject.org/r/11433 : net/dhcpv4: Refactor dhcpv4 message type representation.
- https://gerrit.zephyrproject.org/r/11435 : net/dhcpv4: Unify dhcpv4 state name printers
- https://gerrit.zephyrproject.org/r/11439 : net/dhcpv4: Explicitly initialize net_if dhcpv4 state.
- https://gerrit.zephyrproject.org/r/11319 : xtensa: move #include <linker/common-*.ld> up
- https://gerrit.zephyrproject.org/r/11458 : Bluetooth: AVDTP: Add AVDTP GetCapabilities Function Definition
- https://gerrit.zephyrproject.org/r/10806 : Bluetooth: AVDTP: Handling Discover response
- https://gerrit.zephyrproject.org/r/11459 : net: nbuf: Fix net_nbuf_copy() so that original nbuf is not modified
- https://gerrit.zephyrproject.org/r/11464 : net: context: TCP packets must be send via net_tcp_send_data()
- https://gerrit.zephyrproject.org/r/11346 : net: nbuf: Add helper function to copy buf user_data
- https://gerrit.zephyrproject.org/r/11347 : net: 6lo: Use dedicated buf pool if enabled
- https://gerrit.zephyrproject.org/r/11460 : net: 6lo: Change how net_buf is allocated in RX side
- https://gerrit.zephyrproject.org/r/11465 : net: conn: Print UDP and TCP checksum after receiving pkt
- https://gerrit.zephyrproject.org/r/11348 : net: tcp: Fix the issues with 6lo
- https://gerrit.zephyrproject.org/r/11462 : samples: net: Fix the 802.15.4 monitor pcap saving
- https://gerrit.zephyrproject.org/r/11345 : net: nbuf: Fix the net_nbuf_copy() buf parameter
- https://gerrit.zephyrproject.org/r/11298 : samples: net: Use context specific net_buf pools in echo_*
- https://gerrit.zephyrproject.org/r/11263 : tests: add zephyr SPI driver api test case
- https://gerrit.zephyrproject.org/r/11455 : Bluetooth: controller: Introduce debug pins Kconfig option
- https://gerrit.zephyrproject.org/r/10475 : Simple PWM driver for nRF5
- https://gerrit.zephyrproject.org/r/11327 : cortex_m_systick: fix _timer_cycle_get_32() race
- https://gerrit.zephyrproject.org/r/11321 : toolchain: don't define __stack outside C code
- https://gerrit.zephyrproject.org/r/11322 : xtensa: make sample_controller runnable on QEMU
- https://gerrit.zephyrproject.org/r/11324 : xtensa: drop references to C library
- https://gerrit.zephyrproject.org/r/11454 : Bluetooth: controller: Set debug pins with macros
- https://gerrit.zephyrproject.org/r/11384 : arm: Support for MKL25Z soc
- https://gerrit.zephyrproject.org/r/10606 : build: multicore project sample
- https://gerrit.zephyrproject.org/r/11361 : flash: Fixes wrong SPI device for flash memory in arduino 101 sss
- https://gerrit.zephyrproject.org/r/11471 : Bluetooth: GATT: Use __ASSERT for invalid parameters
- https://gerrit.zephyrproject.org/r/11401 : arch: stm32: remove sets of irq definitions per series
- https://gerrit.zephyrproject.org/r/11400 : drivers: use stm32cube irq enum definitions
- https://gerrit.zephyrproject.org/r/11416 : eth/eth_mcux: Provide start and stop operations on the PHY driver.
- https://gerrit.zephyrproject.org/r/11415 : net/eth_mcux: Provide phy state name printing in debug

MERGED within last 24 hours:
- https://gerrit.zephyrproject.org/r/11483 : ext qmsi: Update QMSI to 1.4 RC3
- https://gerrit.zephyrproject.org/r/11490 : ext qmsi: Update QMSI to 1.4 RC3
- https://gerrit.zephyrproject.org/r/11296 : tests: gen_isr_table: account for riscv32 architecture
- https://gerrit.zephyrproject.org/r/11388 : checkpatch: Recognized volatile as part of a declaration.
- https://gerrit.zephyrproject.org/r/11409 : drivers/timer: Fixing issue in nRF RTC driver when RTC handler is blocked.
- https://gerrit.zephyrproject.org/r/11217 : frdm: fixed path and dependencies for extract_dts_includes.py
- https://gerrit.zephyrproject.org/r/7492 : Bluetooth: A2DP: Added Preset Structure
- https://gerrit.zephyrproject.org/r/6720 : Bluetooth: A2DP: Stream End Point Registration
- https://gerrit.zephyrproject.org/r/11461 : drivers/ieee802154/pipe: Use net_nbuf_unref to release net_buf
- https://gerrit.zephyrproject.org/r/11463 : net: buf: net_buf_frag_del() had insufficient debugging
- https://gerrit.zephyrproject.org/r/10960 : net: context: let tcp_established() handle more TCP states
- https://gerrit.zephyrproject.org/r/11335 : net: tcp: Retransmit buffers are not freed on tcp_release
- https://gerrit.zephyrproject.org/r/11305 : tests: add timer monotonic test
- https://gerrit.zephyrproject.org/r/11302 : x86: loapic_timer: use TSC for k_cycle_get_32()
- https://gerrit.zephyrproject.org/r/11411 : remove github footer link
- https://gerrit.zephyrproject.org/r/11379 : revamp theme to match new site design, and move file references to be internal
- https://gerrit.zephyrproject.org/r/11410 : fix html overflow, code wrapping, and line number styling
- https://gerrit.zephyrproject.org/r/9550 : net/nbuf: Introduce the net_nbuf_linear_copy routine
- https://gerrit.zephyrproject.org/r/11452 : Bluetooth: Controller: Fix LE Ping PDU dispatch
- https://gerrit.zephyrproject.org/r/11453 : Bluetooth: Controller: Use direct ISR for Radio IRQ only


broken link on website

Boie, Andrew P
 

https://www.zephyrproject.org/community/how-to-contribute

 

The ‘mailing lists’ link here is broken, I get “The requested URL /mailman3/lists/ was not found on this server.”

 

I wanted to show someone how to join this mailing list but am unsure how to direct them.

 

 

5501 - 5520 of 8046