Date   

port runtimeio bootloader to x86

Vara, Punit <punit.vara@...>
 

Hi

 

How can I build bootloader and zephyr to flash on x86 board (i.e. Arduino_101) ? Can someone point me to link how can to build it ? It will help me to port bootloader.

 

Any pointers how should I start porting runtimeio bootloader to x86 ?

 

Thanks

Punit Vara

 


Daily Gerrit Digest

donotreply@...
 

NEW within last 24 hours:
- https://gerrit.zephyrproject.org/r/11807 : net: nbuf: Print more info when trying double free net_buf
- https://gerrit.zephyrproject.org/r/11813 : Bluetooth: samples: Add hexiwear_k64 and frdm_k64f to tests
- https://gerrit.zephyrproject.org/r/11803 : net: samples: echo-client: Allow UDP and TCP run at the same time
- https://gerrit.zephyrproject.org/r/11805 : Bluetooth: L2CAP: Add TX queueing for LE CoC
- https://gerrit.zephyrproject.org/r/11800 : net: nbuf: Print adjust value if we fail in read or write
- https://gerrit.zephyrproject.org/r/11806 : doc: Add doc for Redbear Nano 2
- https://gerrit.zephyrproject.org/r/11812 : subsys: gdb_server: Fix type mismatch
- https://gerrit.zephyrproject.org/r/11802 : net: 6lo: ieee802154: Memory leak when unfragmenting received data
- https://gerrit.zephyrproject.org/r/11801 : net: 6lo: ieee802154: Do no try to unref NULL net_buf
- https://gerrit.zephyrproject.org/r/11799 : kinetis: fix Kconfig indentation
- https://gerrit.zephyrproject.org/r/11795 : samples/net: Fix uninitialized variable error
- https://gerrit.zephyrproject.org/r/11796 : samples/net: Fix error handling issues in IRC bot
- https://gerrit.zephyrproject.org/r/11757 : enc28j60: buffer reception waits forever
- https://gerrit.zephyrproject.org/r/11787 : timer: tickless: hpet: Add tickless kernel support
- https://gerrit.zephyrproject.org/r/11784 : kernel: tickless: Make scheduling time unit ms or us instead of ticks
- https://gerrit.zephyrproject.org/r/11798 : shell: use modules' own help functions if have already defined
- https://gerrit.zephyrproject.org/r/11785 : kernel: tickless: Add function to check if list contains multiple nodes
- https://gerrit.zephyrproject.org/r/11786 : kernel: tickless: Add tickless kernel support
- https://gerrit.zephyrproject.org/r/11781 : arm: stm32: remove duplicate setting of Kconfig symbols
- https://gerrit.zephyrproject.org/r/11780 : doc: move IP porting guide to porting section
- https://gerrit.zephyrproject.org/r/11782 : libc: attribute minimal libc printf style functions with __printf_like
- https://gerrit.zephyrproject.org/r/11773 : doc: Update Linux environment setup and supported OSes
- https://gerrit.zephyrproject.org/r/11772 : xt-sim: set default stack size for IPM console receiver
- https://gerrit.zephyrproject.org/r/11771 : ipm_console: add Kconfig for receiver stack size
- https://gerrit.zephyrproject.org/r/11769 : build: Fix qemugdb target
- https://gerrit.zephyrproject.org/r/11766 : loapic: remove cast on call to sys_bitfield_set_bit()
- https://gerrit.zephyrproject.org/r/11761 : zephyr: add support for Eclipse project

UPDATED within last 24 hours:
- https://gerrit.zephyrproject.org/r/11269 : Bluetooth: HFP HF: SCO: Accept eSCO conn request
- https://gerrit.zephyrproject.org/r/11271 : Bluetooth: HFP HF: SCO: Handle synchronous_conn_complete
- https://gerrit.zephyrproject.org/r/11272 : Bluetooth: HFP HF: SCO: Handle SCO Disconnect
- https://gerrit.zephyrproject.org/r/11669 : Bluetooth: HFP HF: Support to send hf AT command
- https://gerrit.zephyrproject.org/r/10645 : Bluetooth: HFP HF: Handling AG Network error
- https://gerrit.zephyrproject.org/r/11575 : net: nbuf: Split one global DATA pool to RX and TX DATA pools
- https://gerrit.zephyrproject.org/r/11396 : Bluetooth: HFP HF: Add support for RING indication cb
- https://gerrit.zephyrproject.org/r/11268 : Bluetooth: HFP HF: SCO: Add esco supported pkt type
- https://gerrit.zephyrproject.org/r/11395 : Bluetooth: AT: Reset the state during error
- https://gerrit.zephyrproject.org/r/11671 : Bluetooth: GATT: Add bt_gatt_get_mtu API
- https://gerrit.zephyrproject.org/r/11242 : net: Add net_buf pool support to each context
- https://gerrit.zephyrproject.org/r/11561 : net: shell: Print network buffer pool information
- https://gerrit.zephyrproject.org/r/11560 : net: buf: Store name of the buffer pool
- https://gerrit.zephyrproject.org/r/11682 : net: nbuf: Create net_nbuf_frag_del() for tracking allocations
- https://gerrit.zephyrproject.org/r/11618 : net: nbuf: Pass ll_reserve when creating TX buffer
- https://gerrit.zephyrproject.org/r/11298 : samples: net: Use context specific net_buf pools in echo_*
- https://gerrit.zephyrproject.org/r/11681 : net: shell: Add cmd to see net_buf allocations
- https://gerrit.zephyrproject.org/r/11679 : net: nbuf: Remove unnecessary buf init
- https://gerrit.zephyrproject.org/r/11680 : net: nbuf: Track memory allocations
- https://gerrit.zephyrproject.org/r/11616 : net: Remove link layer reserve param from IP packet creator
- https://gerrit.zephyrproject.org/r/11743 : net: nbuf: Do not delete the fragments in net_nbuf_unref()
- https://gerrit.zephyrproject.org/r/11347 : net: 6lo: Use dedicated buf pool if enabled
- https://gerrit.zephyrproject.org/r/11756 : nrf_rtc_timer: clear events and counter when disabling sys_clock
- https://gerrit.zephyrproject.org/r/11548 : net: nbuf: Remove unnecessary debugging code
- https://gerrit.zephyrproject.org/r/11615 : net: nbuf: Use net_nbuf_get_frag() to allocate a fragment
- https://gerrit.zephyrproject.org/r/11678 : net: if: Clarify the documentation in net_if_send_data()
- 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/11614 : net: nbuf: Print pool name instead of address in debug prints
- https://gerrit.zephyrproject.org/r/11677 : net: nbuf: Remove obsolete reserve variable from net_nbuf
- https://gerrit.zephyrproject.org/r/11735 : net: shell: Show also ISR and main stack usage
- https://gerrit.zephyrproject.org/r/11465 : net: conn: Print UDP and TCP checksum after receiving pkt
- 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/11348 : net: tcp: Fix the issues with 6lo
- 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/11460 : net: 6lo: Change how net_buf is allocated in RX side
- https://gerrit.zephyrproject.org/r/11750 : kw41z: enable TRNG driver
- https://gerrit.zephyrproject.org/r/11749 : random: add MCUX TRNG driver
- https://gerrit.zephyrproject.org/r/11748 : random: mcux: rename random_mcux to random_mcux_rnga
- https://gerrit.zephyrproject.org/r/11270 : Bluetooth: HFP HF: SCO: Enable sco conn complete in event_mask
- https://gerrit.zephyrproject.org/r/11545 : scripts:nrf: Add 'make flash' for nrf boards.
- https://gerrit.zephyrproject.org/r/11236 : arm: Support for new ARM boards (discovery STM32F4 and STM32F429)
- https://gerrit.zephyrproject.org/r/4489 : Bluetooth: SDP: Server: Support ServiceAttributeRequest
- https://gerrit.zephyrproject.org/r/11731 : Bluetooth: SDP: Server: Filter records based on requested uuids
- https://gerrit.zephyrproject.org/r/11732 : Bluetooth: SDP: Server: Send service search response
- https://gerrit.zephyrproject.org/r/9447 : Bluetooth: SDP: Server: Support ServiceSearchAttributeRequest
- https://gerrit.zephyrproject.org/r/11667 : samples: tickless: Enables tickless kernel option in some apps
- https://gerrit.zephyrproject.org/r/11478 : [WIP] net/http: Add the HTTP API
- https://gerrit.zephyrproject.org/r/11638 : net/dns: Remove outdated README file
- https://gerrit.zephyrproject.org/r/11666 : tests: add zephyr PWM reentrancy case
- https://gerrit.zephyrproject.org/r/11733 : tests: add zephyr flash reentrancy case
- https://gerrit.zephyrproject.org/r/11216 : tests: kernel: added clock_test
- https://gerrit.zephyrproject.org/r/11753 : samples: drivers: rtc: change hard-coded device name
- https://gerrit.zephyrproject.org/r/11172 : soc: defconfig: Enable WDT for ATMEL SAM MCUs
- https://gerrit.zephyrproject.org/r/11479 : samples: pwm: change hard-coded device name
- https://gerrit.zephyrproject.org/r/11384 : arm: Support for MKL25Z soc
- 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/11330 : lib: Add minimal JSON library
- https://gerrit.zephyrproject.org/r/7664 : second: test
- https://gerrit.zephyrproject.org/r/11608 : serial: stm32: Move to more traditional formatting
- https://gerrit.zephyrproject.org/r/10722 : DONT_MERGE: test that succeeds
- 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/11607 : serial: stm32: Give H/W a chance to set the TXE bit on transfer
- https://gerrit.zephyrproject.org/r/11489 : RFC: DON'T MERGE net/dhcpv4: Respond to link up / down events
- https://gerrit.zephyrproject.org/r/11627 : WIP: Security guideline
- https://gerrit.zephyrproject.org/r/11358 : arm: GPIO driver modifications for MKL25Z soc support
- https://gerrit.zephyrproject.org/r/11520 : arm: UART driver modifications for MKL25Z soc support
- https://gerrit.zephyrproject.org/r/3114 : DONT MERGE: - break doc
- https://gerrit.zephyrproject.org/r/5137 : DONT_MERGE: - add changes to two different branches
- https://gerrit.zephyrproject.org/r/10879 : sensor/mag3110: Add mag3110 three axis magnetometer driver.

MERGED within last 24 hours:
- https://gerrit.zephyrproject.org/r/11791 : ztest: add comment about expected thread priorities
- https://gerrit.zephyrproject.org/r/11804 : boards: arduino_due: Add make flash support
- https://gerrit.zephyrproject.org/r/11789 : subsys: gdb_server: Fix type mismatch
- https://gerrit.zephyrproject.org/r/11811 : MAINTAINERS: remove inactive maintainer from x86 and kernel core
- https://gerrit.zephyrproject.org/r/11810 : MAINTAINERS: remove inactive maintainer from x86 and kernel core
- https://gerrit.zephyrproject.org/r/11790 : tests/common/timeout_order: reset test case thread to original prio
- https://gerrit.zephyrproject.org/r/11809 : boards: add 96b_nitrogen board documentation
- https://gerrit.zephyrproject.org/r/11808 : doc: Add Atmel SMART SAM E70 Xplained board documentation
- https://gerrit.zephyrproject.org/r/11792 : ztest: rename end-of-test semaphore
- https://gerrit.zephyrproject.org/r/11793 : ztest: shorten line longer than 80 characters
- https://gerrit.zephyrproject.org/r/11778 : net: context: Make packet_received() static
- https://gerrit.zephyrproject.org/r/11794 : run_phases: do inform of gerrit voting why's in the review summary
- https://gerrit.zephyrproject.org/r/11788 : phases: run both verify jobs in parallel, with new one not voting
- https://gerrit.zephyrproject.org/r/11768 : Revert "sys_bitfield*(): use 'void *' instead of memaddr_t"
- https://gerrit.zephyrproject.org/r/11779 : boards: add 96b_carbon board documentation
- https://gerrit.zephyrproject.org/r/11777 : re-enable phases to check for new issues
- https://gerrit.zephyrproject.org/r/11775 : run_phases: if anything failed, don't give verify+1
- https://gerrit.zephyrproject.org/r/11774 : verify: swap back to old verify
- https://gerrit.zephyrproject.org/r/11759 : spi: mcux: Rename spi driver to DSPI to match naming convention
- https://gerrit.zephyrproject.org/r/11762 : lib/zoap: Fix warning about signedness conversion
- https://gerrit.zephyrproject.org/r/11765 : verify: disable old verify
- https://gerrit.zephyrproject.org/r/11764 : filter: catch more types of of Sanity check logs
- https://gerrit.zephyrproject.org/r/11763 : phase_sanity: add more messages sanity check prints that are not errors
- https://gerrit.zephyrproject.org/r/11760 : phases_sanity: redirect all output with shell vs --logile
- https://gerrit.zephyrproject.org/r/11758 : sanity: more stuff to ignore
- https://gerrit.zephyrproject.org/r/11637 : olimexino_stm32: provide button and leds for basic samples
- https://gerrit.zephyrproject.org/r/11634 : dts: arm: Add base DTS support for Olimexino STM32 board
- https://gerrit.zephyrproject.org/r/11724 : boards: add 96b_nitrogen board documentation
- https://gerrit.zephyrproject.org/r/11729 : doc: Add Atmel SMART SAM E70 Xplained board documentation
- https://gerrit.zephyrproject.org/r/11342 : boards: arduino_due: Add make flash support
- https://gerrit.zephyrproject.org/r/11569 : eth/eth_mcux: Make promiscous mode configurable.
- https://gerrit.zephyrproject.org/r/4488 : Bluetooth: SDP: Server: Handle Service Search request
- https://gerrit.zephyrproject.org/r/11488 : net/dhcpv4: Remove !iface checks from timeout handlers.
- https://gerrit.zephyrproject.org/r/11430 : net/dhcpv4: Add missing const
- https://gerrit.zephyrproject.org/r/11442 : net/dhcpv4: Refactor SELECTING state entry.
- https://gerrit.zephyrproject.org/r/11443 : net/dhcpv4: Refactor REQUESTING state entry.
- https://gerrit.zephyrproject.org/r/11434 : net/dhcpv4: Move timers inside the net_if dhcpv4 context
- 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/11432 : net/dhcpv4: Refactor packet construction
- https://gerrit.zephyrproject.org/r/11440 : net/dhcpv4: Refactor send_request state handling.
- https://gerrit.zephyrproject.org/r/11436 : net/dhcpv4: Adjust state names to reflect rfc2131
- https://gerrit.zephyrproject.org/r/11441 : net/dhcpv4: Refactor send_discover
- https://gerrit.zephyrproject.org/r/11435 : net/dhcpv4: Unify dhcpv4 state name printers
- https://gerrit.zephyrproject.org/r/11445 : net/dhcpv4: Introduce start/stop API and disabled state.
- https://gerrit.zephyrproject.org/r/11447 : net/dhcpv4: Use server identifier appropriately.
- https://gerrit.zephyrproject.org/r/11451 : net/dhcpv4: Support REBINDING
- https://gerrit.zephyrproject.org/r/11449 : net/dhcpv4: Fix the behaviour of ciaddr.
- https://gerrit.zephyrproject.org/r/11450 : net/dhcpv4: Refactor t1 handler.
- 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/11437 : net/dhcpv4: Refactor handle_reply()
- 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/11734 : Bluetooth: SDP: Server: Introduce private define for max services
- https://gerrit.zephyrproject.org/r/11526 : doc: Fix broken references in new theme
- https://gerrit.zephyrproject.org/r/11723 : boards: add 96b_carbon board documentation
- https://gerrit.zephyrproject.org/r/11635 : olimexino_stm32: Enable DT usage for OLIMEXINO STM32
- https://gerrit.zephyrproject.org/r/11572 : arm: IRQ number correction in the soc configuration
- https://gerrit.zephyrproject.org/r/11726 : verify: re-enable phases verify


Daily Gerrit Digest

donotreply@...
 

NEW within last 24 hours:
- https://gerrit.zephyrproject.org/r/11756 : nrf_rtc_timer: clear events and counter when disabling sys_clock
- https://gerrit.zephyrproject.org/r/11754 : samples: drivers: change hard-coded device name
- https://gerrit.zephyrproject.org/r/11753 : samples: drivers: rtc: change hard-coded device nam
- https://gerrit.zephyrproject.org/r/11751 : doc: Add Atmel SMART SAM E70 Xplained board documentation
- https://gerrit.zephyrproject.org/r/11750 : kw41z: enable TRNG driver
- https://gerrit.zephyrproject.org/r/11749 : random: add MCUX TRNG driver
- https://gerrit.zephyrproject.org/r/11748 : random: mcux: rename random_mcux to random_mcux_rnga
- https://gerrit.zephyrproject.org/r/11743 : net: nbuf: Do not delete the fragments in net_nbuf_unref()
- https://gerrit.zephyrproject.org/r/11731 : Bluetooth: SDP: Server: Filter records based on requested uuids
- https://gerrit.zephyrproject.org/r/11732 : Bluetooth: SDP: Server: Send service search response
- https://gerrit.zephyrproject.org/r/11735 : net: shell: Show also ISR and main stack usage
- https://gerrit.zephyrproject.org/r/11682 : net: nbuf: Create net_nbuf_frag_del() for tracking allocations
- https://gerrit.zephyrproject.org/r/11681 : net: shell: Add cmd to see net_buf allocations
- https://gerrit.zephyrproject.org/r/11680 : net: nbuf: Track memory allocations
- https://gerrit.zephyrproject.org/r/11679 : net: nbuf: Remove unnecessary buf init
- https://gerrit.zephyrproject.org/r/11677 : net: nbuf: Remove obsolete reserve variable from net_nbuf
- https://gerrit.zephyrproject.org/r/11678 : net: if: Clarify the documentation in net_if_send_data()
- https://gerrit.zephyrproject.org/r/11734 : Bluetooth: SDP: Server: Introduce private define for max services
- https://gerrit.zephyrproject.org/r/11733 : tests: add zephyr flash reentrancy case
- https://gerrit.zephyrproject.org/r/11729 : doc: Add Atmel SMART SAM E70 Xplained board documentation
- https://gerrit.zephyrproject.org/r/11726 : verify: re-enable phases verify
- https://gerrit.zephyrproject.org/r/11724 : boards: add 96b_nitrogen board documentation
- https://gerrit.zephyrproject.org/r/11723 : boards: add 96b_carbon board documentation

UPDATED within last 24 hours:
- https://gerrit.zephyrproject.org/r/11326 : tests/mqtt: Fix compiler warnings in MQTT Packet test case
- https://gerrit.zephyrproject.org/r/11214 : tests: add zephyr pinmux driver api test case
- https://gerrit.zephyrproject.org/r/11450 : net/dhcpv4: Refactor t1 handler.
- https://gerrit.zephyrproject.org/r/9821 : shell: use modules' own help functions if have already defined
- https://gerrit.zephyrproject.org/r/11449 : net/dhcpv4: Fix the behaviour of ciaddr.
- https://gerrit.zephyrproject.org/r/11451 : net/dhcpv4: Support REBINDING
- 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/11444 : net/dhcpv4: Rework initialization.
- 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/11435 : net/dhcpv4: Unify dhcpv4 state name printers
- https://gerrit.zephyrproject.org/r/11437 : net/dhcpv4: Refactor handle_reply()
- 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/11440 : net/dhcpv4: Refactor send_request state handling.
- https://gerrit.zephyrproject.org/r/11432 : net/dhcpv4: Refactor packet construction
- https://gerrit.zephyrproject.org/r/11433 : net/dhcpv4: Refactor dhcpv4 message type representation.
- https://gerrit.zephyrproject.org/r/11439 : net/dhcpv4: Explicitly initialize net_if dhcpv4 state.
- https://gerrit.zephyrproject.org/r/11489 : RFC: DON'T MERGE net/dhcpv4: Respond to link up / down events
- 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/11384 : arm: Support for MKL25Z soc
- https://gerrit.zephyrproject.org/r/11442 : net/dhcpv4: Refactor SELECTING state entry.
- https://gerrit.zephyrproject.org/r/11430 : net/dhcpv4: Add missing const
- https://gerrit.zephyrproject.org/r/11526 : doc: Fix broken references in new theme
- https://gerrit.zephyrproject.org/r/9072 : boards: arm: add support for redbear ble nano 2
- https://gerrit.zephyrproject.org/r/11488 : net/dhcpv4: Remove !iface checks from timeout handlers.
- https://gerrit.zephyrproject.org/r/10881 : sensor/mma865x: Add driver for MMA865x 3 Axis Accelerometer Family
- https://gerrit.zephyrproject.org/r/10880 : bbc_microbit: Enable MAG3110
- https://gerrit.zephyrproject.org/r/11448 : net/dhcpv4: Use BROADCAST and UNICAST appropriately.
- https://gerrit.zephyrproject.org/r/10882 : bbc_microbit: Enable MMA8653
- https://gerrit.zephyrproject.org/r/11187 : tests: kernel: add test point k_cpu_atomic_idle
- https://gerrit.zephyrproject.org/r/11216 : tests: kernel: added clock_test
- https://gerrit.zephyrproject.org/r/11479 : samples: pwm: change hard-coded device name
- https://gerrit.zephyrproject.org/r/11621 : tests: add AES cmac test to mbedtls test
- https://gerrit.zephyrproject.org/r/11342 : boards: arduino_due: Add make flash support
- https://gerrit.zephyrproject.org/r/11671 : Bluetooth: GATT: Add bt_gatt_get_mtu API
- https://gerrit.zephyrproject.org/r/4489 : Bluetooth: SDP: Server: Support ServiceAttributeRequest
- https://gerrit.zephyrproject.org/r/4488 : Bluetooth: SDP: Server: Handle Service Search request
- https://gerrit.zephyrproject.org/r/9447 : Bluetooth: SDP: Server: Support ServiceSearchAttributeRequest
- https://gerrit.zephyrproject.org/r/11242 : net: Add net_buf pool support to each context
- https://gerrit.zephyrproject.org/r/11575 : net: nbuf: Split one global DATA pool to RX and TX DATA pools
- 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/11618 : net: nbuf: Pass ll_reserve when creating TX buffer
- 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/11345 : net: nbuf: Fix the net_nbuf_copy() buf parameter
- https://gerrit.zephyrproject.org/r/11548 : net: nbuf: Remove unnecessary debugging code
- https://gerrit.zephyrproject.org/r/11613 : net: shell: Fix the info prints for net_buf pools
- https://gerrit.zephyrproject.org/r/11614 : net: nbuf: Print pool name instead of address in debug prints
- 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/11615 : net: nbuf: Use net_nbuf_get_frag() to allocate a fragment
- https://gerrit.zephyrproject.org/r/11346 : net: nbuf: Add helper function to copy buf user_data
- 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/11465 : net: conn: Print UDP and TCP checksum after receiving pkt
- 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/11667 : samples: tickless: (DO NOT MERGE) Enables tickless kernel in some tests
- 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/11330 : lib: Add minimal JSON library
- https://gerrit.zephyrproject.org/r/11383 : arm: HAL files for MKL25Z soc
- https://gerrit.zephyrproject.org/r/11207 : tests: add zephyr flash driver api test case
- https://gerrit.zephyrproject.org/r/10879 : sensor/mag3110: Add mag3110 three axis magnetometer driver.
- https://gerrit.zephyrproject.org/r/10645 : Bluetooth: HFP HF: Handling AG Network error
- https://gerrit.zephyrproject.org/r/10806 : Bluetooth: AVDTP: Handling Discover response
- https://gerrit.zephyrproject.org/r/11458 : Bluetooth: AVDTP: Add AVDTP GetCapabilities Function Definition
- https://gerrit.zephyrproject.org/r/11172 : soc: defconfig: Enable WDT for ATMEL SAM MCUs
- https://gerrit.zephyrproject.org/r/11608 : serial: stm32: Move to more traditional formatting
- https://gerrit.zephyrproject.org/r/11597 : dma: stm32f4x: Add dump regs function to aid debugging
- 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/11606 : dma: stm32f4x: By default increment pointer through data passed through memory
- https://gerrit.zephyrproject.org/r/11627 : WIP: Security guideline
- https://gerrit.zephyrproject.org/r/11669 : Bluetooth: HFP HF: Support to send hf AT command
- https://gerrit.zephyrproject.org/r/11331 : samples: net: NATS protocol sample
- https://gerrit.zephyrproject.org/r/11270 : Bluetooth: HFP HF: SCO: Enable sco conn complete in event_mask
- https://gerrit.zephyrproject.org/r/11269 : Bluetooth: HFP HF: SCO: Accept eSCO conn request
- https://gerrit.zephyrproject.org/r/11268 : Bluetooth: HFP HF: SCO: Add esco supported pkt type
- https://gerrit.zephyrproject.org/r/11577 : RFC: net/if: Introduce NET_IF_READY and net_if_link_status()
- https://gerrit.zephyrproject.org/r/11263 : tests: add zephyr SPI driver api test case
- https://gerrit.zephyrproject.org/r/11571 : quark_se: Fix bluetooth UART dependency
- https://gerrit.zephyrproject.org/r/11569 : eth/eth_mcux: Make promiscous mode configurable.

MERGED within last 24 hours:
- https://gerrit.zephyrproject.org/r/11755 : samples: i2c_fujitsu: change hard-coded device name
- https://gerrit.zephyrproject.org/r/11752 : doc: allow table head and content to wrap
- https://gerrit.zephyrproject.org/r/11744 : Revert "boards: panther: Use 115200 baudrate for BLE UART"
- https://gerrit.zephyrproject.org/r/11747 : Revert "boards: panther: Use 115200 baudrate for BLE UART"
- https://gerrit.zephyrproject.org/r/11746 : flash: Fixes wrong SPI device for flash memory in arduino 101 sss
- https://gerrit.zephyrproject.org/r/11745 : doc: update link to 0.9 SDK
- https://gerrit.zephyrproject.org/r/11736 : Bluetooth: shell: Fix GATT long write support
- https://gerrit.zephyrproject.org/r/11737 : Bluetooth: GATT: Fix subscriptions removal
- https://gerrit.zephyrproject.org/r/11738 : Bluetooth: Controller: Fix LE Ping PDU dispatch
- https://gerrit.zephyrproject.org/r/11739 : Bluetooth: shell: Fix accessing invalid memory
- https://gerrit.zephyrproject.org/r/11740 : Bluetooth: SMP: Fix passkey entry for legacy pairing
- https://gerrit.zephyrproject.org/r/11741 : Bluetooth: shell: Don't echo LE CoC data
- https://gerrit.zephyrproject.org/r/11742 : Bluetooth: Fix connection object leak
- https://gerrit.zephyrproject.org/r/11676 : doc: fix more spelling errors throughout docs
- https://gerrit.zephyrproject.org/r/11691 : net: doc: Fix incorrect netcat note for qemu setup
- https://gerrit.zephyrproject.org/r/11692 : net: doc: Invalid config option for TCP
- https://gerrit.zephyrproject.org/r/11693 : samples: net: Fix the 802.15.4 monitor pcap saving
- https://gerrit.zephyrproject.org/r/11694 : samples/ieee802154: Update qemu based samples
- https://gerrit.zephyrproject.org/r/11695 : drivers/ieee802154: Add missing parameter to net_if_set_link_addr()
- https://gerrit.zephyrproject.org/r/11696 : net: icmpv6: Add TCP header when sending ICMPv6 error
- https://gerrit.zephyrproject.org/r/11697 : net: icmpv6: Echo-Reply seq and id fix
- https://gerrit.zephyrproject.org/r/11698 : net: ipv6: Add util to traverse neighbor cache entries
- https://gerrit.zephyrproject.org/r/11699 : net: shell: Print IPv6 neighbor information
- https://gerrit.zephyrproject.org/r/11700 : net: ipv6: Add util to remove neighbor from cache
- https://gerrit.zephyrproject.org/r/11701 : net: if: Remove local address from IPv6 neighbor cache
- https://gerrit.zephyrproject.org/r/11702 : samples/zoap_server: Remove useless return statements
- https://gerrit.zephyrproject.org/r/11703 : samples/zoap_server: Add more validation tests for block-wise
- https://gerrit.zephyrproject.org/r/11704 : samples/zoap_server: Add a test case for the observer feature
- https://gerrit.zephyrproject.org/r/11705 : samples/zoap_server: Adds example for the link-format feature
- https://gerrit.zephyrproject.org/r/11706 : tests/zoap: Adds test for the length of payload on the RX side
- https://gerrit.zephyrproject.org/r/11707 : iot/zoap: Fix requiring that the buffer is unchanged for retransmit
- https://gerrit.zephyrproject.org/r/11708 : samples/zoap_server: Add retransmissions for CON messages
- https://gerrit.zephyrproject.org/r/11709 : samples/zoap_client: Fix using the wrong timeout for retransmissions
- https://gerrit.zephyrproject.org/r/11710 : net: ipv6: Bluetooth address fix
- https://gerrit.zephyrproject.org/r/11711 : samples/net/mqtt: Simplify MQTT publisher
- https://gerrit.zephyrproject.org/r/11712 : samples/net/mqtt: Improve inline doc
- https://gerrit.zephyrproject.org/r/11713 : samples/net/mqtt: Move conf parameters to config.h
- https://gerrit.zephyrproject.org/r/11714 : samples/net/mqtt: Don't break lines after the "static" keyword
- https://gerrit.zephyrproject.org/r/11715 : net/nbuf: Fix spelling.
- https://gerrit.zephyrproject.org/r/11716 : net/if: Fix documentation comment marker.
- https://gerrit.zephyrproject.org/r/11717 : eth/eth_mcux: Provide phy state name printing in debug
- https://gerrit.zephyrproject.org/r/11718 : eth/eth_mcux: Provide start and stop operations on the PHY driver.
- https://gerrit.zephyrproject.org/r/11719 : net: ipv6: Do not try to unref null pointer
- https://gerrit.zephyrproject.org/r/11720 : net/buf.h: fix copy-paste Doxygen error
- https://gerrit.zephyrproject.org/r/11721 : net/l2/ieeee802154: Fix typo in ieee802154_reserve name
- https://gerrit.zephyrproject.org/r/11722 : net/dns: Improve unaligned memory access
- https://gerrit.zephyrproject.org/r/11684 : altera_avalon_timer: disable high-resolution timestamps
- https://gerrit.zephyrproject.org/r/11683 : riscv_machine_timer: fix k_cycle_get_32()
- https://gerrit.zephyrproject.org/r/11685 : kernel: add flexibility to k_cycle_get_32() definition
- https://gerrit.zephyrproject.org/r/11686 : arcv2_timer: fix cycle count race
- https://gerrit.zephyrproject.org/r/11687 : x86: loapic_timer: use TSC for k_cycle_get_32()
- https://gerrit.zephyrproject.org/r/11688 : tests: add timer monotonic test
- https://gerrit.zephyrproject.org/r/11689 : cortex_m_systick: fix _timer_cycle_get_32() race
- https://gerrit.zephyrproject.org/r/11730 : gpio: mcux: Revert to older GPIO device names as were used for Kinetis.
- https://gerrit.zephyrproject.org/r/11728 : sanitycheck: add _k_queue_area to recognised sections
- https://gerrit.zephyrproject.org/r/11675 : doc: fix spelling errors in doc/kernel documents
- https://gerrit.zephyrproject.org/r/11672 : kernel: use k_cycle_get_32 instead of sys_cycle_get_32
- https://gerrit.zephyrproject.org/r/11673 : doc: fix spelling errors in doc/kernel documents
- https://gerrit.zephyrproject.org/r/9890 : sys_bitfield*(): use 'void *' instead of memaddr_t
- 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/11574 : samples: drivers: rtc: change hard-coded device nam
- https://gerrit.zephyrproject.org/r/11205 : tests: kernel: added test cases k_pipe_block_put
- https://gerrit.zephyrproject.org/r/11209 : tests: kernel: added testapp profiling_api
- https://gerrit.zephyrproject.org/r/11361 : flash: Fixes wrong SPI device for flash memory in arduino 101 sss
- https://gerrit.zephyrproject.org/r/11208 : doc: update link to 0.9 SDK
- https://gerrit.zephyrproject.org/r/11668 : gpio: mcux: Revert to older GPIO device names as were used for Kinetis.
- 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/11629 : run_phases/sanity: support re-trying sanity checks
- https://gerrit.zephyrproject.org/r/11617 : Merge net branch into master
- https://gerrit.zephyrproject.org/r/11628 : filter-known-issues: fix missing variable printing
- https://gerrit.zephyrproject.org/r/11185 : tests: kernel: add test point k_delayed_work_remaining_get
- https://gerrit.zephyrproject.org/r/11177 : tests: kernel: added test case k_fifo_is_empty
- https://gerrit.zephyrproject.org/r/11174 : tests: kernel: added test case k_is_preempt_thread
- 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/11470 : lifo: Make use of k_queue as implementation
- https://gerrit.zephyrproject.org/r/11476 : x86: fix operand modifiers in IRQ_CONNECT()
- https://gerrit.zephyrproject.org/r/9674 : drivers: gpio: Set the line to the pull by default
- https://gerrit.zephyrproject.org/r/11632 : drivers: serial: nrf5: Fix system off pin configuration
- https://gerrit.zephyrproject.org/r/11471 : Bluetooth: GATT: Use __ASSERT for invalid parameters


Re: Adding support for CC2650 SoC

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

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. :)
 
Do you mean that you can see the uart output without configring the CCFG,
just using basic linker script? But from my former view, if no CCFG is configured, that is,
the image valid bit of CCFG is not set as 0, the SoC will go into the bootloader mode,
not the application programed to the flash.

You are correct. What I meant is that my UART test fails in part because, indeed, the
IMAGE_VALID field was not set to 0. I have now configured the CCFG in the init() function
of the SoC, in arch/arm/soc/ti_simplelink/cc2650.
 
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.
I think it might a good idea.

Good, I'll start working on that then. Please tell me if you manage to patch the
linker script appropriately. :)

Regards,

--
Geoffrey Le Gourriérec


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

5781 - 5800 of 8330