- 19 Apr, 2021 40 commits
-
-
Raptor Engineering Development Team authored
-
Raptor Engineering Development Team authored
-
Raptor Engineering Development Team authored
-
Raptor Engineering Development Team authored
-
Raptor Engineering Development Team authored
Basic Zephyr hello world application verified functional on Kestrel SoC TODO * XICS interrupt controller driver * Raptor Aquila LPC driver * Raptor Tercel SPI driver * Raptor SimpleRTC driver * OpenCores I2C drivers
-
Michael Neuling authored
Below is a basic powerpc port of Zephyr. It runs on both qemu and microwatt [1] and runs the basic tests and samples in the repository. It supports both cooperative and pre-emptive multitasking. The patch still contains a few FIXMEs but reviews are welcome. When we are a bit more comfortable with the patch, we'll create a PR. To get started do: export ZEPHYR_TOOLCHAIN_VARIANT=cross-compile export CROSS_COMPILE=/usr/local/powerpc64le-power8--glibc--bleeding-edge-2018.11-1/bin/powerpc64le-linux- export ZEPHYR_BASE=/path/to/zephyr/ cmake -B build -GNinja -DBOARD=microwatt samples/hello_world cd build ninja qemu-system-ppc64 -M powernv -cpu POWER9 -nographic -bios zephyr/zephyr.bin Port done by Anton Blanchard, Michael Neuling, and Timothy Pearson Signed-off-by: Michael Neuling <mikey@neuling.org> Signed-off-by: Anton Blanchard <anton@linux.ibm.com> Signed-off-by: Timothy Pearson <tpearson@raptorengineering.com>
-
Robert Lubos authored
If the telnet client operates in a character mode, it may send individual characters in packets. Such packets were dropped in the telnet shell backend instead of being process by the shell engine. Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
-
Guillaume Paquet authored
Add rak4631 board from RAKWireless based on nrf52840 and SX1262. Board Documentation is completed Signed-off-by: Guillaume Paquet <guillaume.paquet@smile.fr>
-
Nicolas Pitre authored
The SMP boot code depends on physical CPU #0 to be first to boot and subsequent CPUs to follow suit in a linear fashion. Let's decouple physical and logical numbering so that any physical CPU can be the boot CPU. This is based on a prior code proposal from Jiafei Pan <Jiafei.Pan@nxp.com>. This, however, was about to turn the boot code into some hairy mess. So let's clean things up and simplify the code as well while at it. Both the extension and the clean up aren't separate commits because they actually depend on each other. The BOOT_PARAM_*_OFFSET defines are locally hardcoded as there is no point exposing the related structure widely. Build time assertions ensure they don't go out of sync with the struct definition. And vector_table.h is repurposed into boot.h to gather boot related definitions. Signed-off-by: Nicolas Pitre <npitre@baylibre.com> Signed-off-by: Jiafei Pan <Jiafei.Pan@nxp.com>
-
Jiafei Pan authored
We can find caller of z_arm64_mmu_init is on primary core or not, so no need to check mpidr, just add a function parameter. Signed-off-by: Jiafei Pan <Jiafei.Pan@nxp.com>
-
Joakim Andersson authored
Document the default behavior of LE connection parameters request when the application has not defined a callback. Signed-off-by: Joakim Andersson <joakim.andersson@nordicsemi.no>
-
Krzysztof Chruscinski authored
Refactor logging function to avoid multiple macro calls. Signed-off-by: Krzysztof Chruscinski <krzysztof.chruscinski@nordicsemi.no>
-
Krzysztof Chruscinski authored
Point to commit which contains temporary fix for sof redefining MAX macro. Signed-off-by: Krzysztof Chruscinski <krzysztof.chruscinski@nordicsemi.no>
-
Krzysztof Chruscinski authored
Extended shell to support logging v2. Signed-off-by: Krzysztof Chruscinski <krzysztof.chruscinski@nordicsemi.no>
-
Krzysztof Chruscinski authored
Added support for v2 backend interface to ADSP. Signed-off-by: Krzysztof Chruscinski <krzysztof.chruscinski@nordicsemi.no>
-
Krzysztof Chruscinski authored
Add support for logging v2 to RTT backend. Signed-off-by: Krzysztof Chruscinski <krzysztof.chruscinski@nordicsemi.no>
-
Krzysztof Chruscinski authored
Add support for logging v2 to native_posix backend. Signed-off-by: Krzysztof Chruscinski <krzysztof.chruscinski@nordicsemi.no>
-
Krzysztof Chruscinski authored
Adapted to handle processing of v2 log messages. Signed-off-by: Krzysztof Chruscinski <krzysztof.chruscinski@nordicsemi.no>
-
Krzysztof Chruscinski authored
Extended and refactored logging documentation. Added details about logging v2 and comparison with v1. Signed-off-by: Krzysztof Chruscinski <krzysztof.chruscinski@nordicsemi.no>
-
Krzysztof Chruscinski authored
Added test which benchmarks deferred logging v1 and v2. Signed-off-by: Krzysztof Chruscinski <krzysztof.chruscinski@nordicsemi.no>
-
Krzysztof Chruscinski authored
Added macro which allows to print formatted string using logging infrastructure. Signed-off-by: Krzysztof Chruscinski <krzysztof.chruscinski@nordicsemi.no>
-
Krzysztof Chruscinski authored
Added suite for log_msg2 macros. Signed-off-by: Krzysztof Chruscinski <krzysztof.chruscinski@nordicsemi.no>
-
Krzysztof Chruscinski authored
Adapted to be able to switch between v1 and v2. Signed-off-by: Krzysztof Chruscinski <krzysztof.chruscinski@nordicsemi.no>
-
Krzysztof Chruscinski authored
Added parsing of log_msg2. Signed-off-by: Krzysztof Chruscinski <krzysztof.chruscinski@nordicsemi.no>
-
Krzysztof Chruscinski authored
Added implementation of log_msg2 which is creating log messages using cbprintf packaging and storing them in circular ring buffer (mpsg_pbuf). Signed-off-by: Krzysztof Chruscinski <krzysztof.chruscinski@nordicsemi.no>
-
Krzysztof Chruscinski authored
Refactor and cleanup in preparation for v2. Signed-off-by: Krzysztof Chruscinski <krzysztof.chruscinski@nordicsemi.no>
-
Krzysztof Chruscinski authored
Logging v2 is using _Generic keyword for detecting type of log message arguments. Apparently, it does not support handling of pointers to forward declared structures. Added casting to void *. Signed-off-by: Krzysztof Chruscinski <krzysztof.chruscinski@nordicsemi.no>
-
Krzysztof Chruscinski authored
Logging v2 is using _Generic keyword for detecting type of log message arguments. Apparently, it does not support handling of pointers to forward declared structures. Added casting to void *. Signed-off-by: Krzysztof Chruscinski <krzysztof.chruscinski@nordicsemi.no>
-
Krzysztof Chruscinski authored
Add documentation for Multi Producer Single Consumer Packet Buffer. Signed-off-by: Krzysztof Chruscinski <krzysztof.chruscinski@nordicsemi.no>
-
Krzysztof Chruscinski authored
Added suite for multiple producer, single consumer packet buffer. Signed-off-by: Krzysztof Chruscinski <krzysztof.chruscinski@nordicsemi.no>
-
Krzysztof Chruscinski authored
Added optional debug prints. Logging cannot be used because mpsc pbuf is used by the logging. Added option to clear packet memory after allocation. Option is enabled in Kconfig. Signed-off-by: Krzysztof Chruscinski <krzysztof.chruscinski@nordicsemi.no>
-
Krzysztof Chruscinski authored
Added module for storing variable length packets in a ring buffer. Implementation assumes multiple producing contexts and single consumer. API provides zero copy functionality with alloc, commit, claim, free scheme. Additionally, there are functions optimized for storing single word packets and packets consisting of a word and a pointer. Buffer can work in two modes: saturation or overwriting the oldest packets when buffer has no space to allocate for a new buffer. Signed-off-by: Krzysztof Chruscinski <krzysztof.chruscinski@nordicsemi.no>
-
Krzysztof Chruscinski authored
Add documentation for cbprintf packaging. Signed-off-by: Krzysztof Chruscinski <krzysztof.chruscinski@nordicsemi.no>
-
Vinayak Kariappa Chettimada authored
Fix a missing encryption procedure state check which allowed out of order receive of START_ENC_RSP PDU, which made the controller to believe its already in an encryption procedure in progress state. Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
-
Emil Gydesen authored
Changes ERRNO => errno and renames the init/register parameter. Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
-
Maximilian Bachmann authored
Fix small spelling mistake Signed-off-by: Maximilian Bachmann <m.bachmann@acontis.com>
-
Asbjørn Sæbø authored
Do not make the first object added to the object transfer server the current (=selected object). This leads to the server having no current object until one is selected by the client. This solves a startup issue where the selected callback is not called by the server if the first object selected by the client happens to be the same object as the object that was first added to the server. In that case, the user of the OTS does not know which object is selected, and therefore may not be able to supply the correct data later. Signed-off-by: Asbjørn Sæbø <asbjorn.sabo@nordicsemi.no>
-
Torsten Rasmussen authored
Today, there is a build target is added for each runner: flash, debug, debugserver, attach. And those runners will have a dependency to Zephyr logical target that is built before invoking `west <runner>`. This design has some flaws, mainly that additional dependencies directly on the target will not be built when running `west <runner>` directly. That generator expressions cannot be used for the DEPENDS argument. Instead, the build target `<runner>` will not have any dependencies, and will raise a build error if a dependency is added to the target. Due to how `add_dependencies()` work, this must be done as a build time check, and not configure time check. `west <runner>` will invoke a build before executing the runner, and this way ensure the build target is up-to-date, which again removes the need for a dedicated `west_<runner>_target`. It also minimizes the risk of developer errors, as developers no longer need to consider the need for adding additional dependencies. If a custom target is part of the default `all` build, then it's ensured to be up-to-date. Fixes: Issue reported on slack. Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
-
Frank Li authored
In mm_swiftio hardware design, NVCC_SD0 of rt1052 is directly connected to 3.3V, without using VSELECT control, so 1.8V support needs to be disabled by no-1-8-v of devicetree. Signed-off-by: Frank Li <lgl88911@163.com>
-
Frank Li authored
When 1.8V is disabled, sdhc can only communicate at low speed. But this can save the external circuit for switching between 3.3V and 1.8V, which is very practical in costdown scenarios. Signed-off-by: Frank Li <lgl88911@163.com>
-