- 04 Jun, 2021 9 commits
-
-
Anas Nashif authored
Call the root node 'root', otherwise we end up with two nodes with the same identifier ':'. Signed-off-by:
Anas Nashif <anas.nashif@intel.com>
-
Andy Ross authored
This board got forgotten when we migrated the older APIC_TIMER users. Now the platform is SMP by default and the older driver refuses to build. Signed-off-by:
Andy Ross <andrew.j.ross@intel.com>
-
Andy Ross authored
ACRN build and configuration is non-trivially complicated, and so far integration documentation has been mostly missing, and users have had to get by via copying from existing integration efforts with minor changes, leading to repeated mistakes and persistent confusion. This is an attempt to document the process from first principles, with an eye toward informing integrators (not me!) who might come by later to better automate things. Some of the content is going to look remedial to someone already familiar with e.g. ACRN configuration or EFI boot. This simply replaces the pre-existing docs, which were for earlier versions of ACRN where Zephyr was launched from the service OS instead of the now-standard pre-launch VM mode. Signed-off-by:
Andy Ross <andrew.j.ross@intel.com>
-
Andy Ross authored
SMP is working now, make a 2-cpu configuration default for this device. Note that this requires changes to the default ACRN build configuration! In hybrid.xml, you need to specify multiple physical CPUs for the VM to uses, e.g.: <vm id="0"> ... <cpu_affinity> <pcpu_id>0</pcpu_id> <pcpu_id>1</pcpu_id> </cpu_affinity> </vm> Failing to build with this change will result in the system hanging at boot trying to start up a CPU that won't run. Signed-off-by:
Andy Ross <andrew.j.ross@intel.com>
-
Andy Ross authored
The ACRN hypervisor uses 0, 2, 4, 6 as its local APIC IDs for virtualized CPUs and not the 0, 1, 2, 3 defaults we have. (I hate this feature, having to manually (!) probe and code these things in C isn't scaling. Zephyr needs to do the probing on its own somehow, even if it's an offline tool in Linux or something.) Signed-off-by:
Andy Ross <andrew.j.ross@intel.com>
-
Andy Ross authored
The 16 bit bootstrap code for SMP CPUs was using the 286-era "lmsw" instruction (load machine status word) to set the protected bit in CR0 (which is the modern evolution of the same register), presumably because this is 16 bit code and we can't move a dword into CR0. But that's wrong, because the full instruction set *is* available in real mode on a 386, you just have to use a operand size prefix to get to it, which the assembler emits for you automatically when you use the .code16 directive. Write this conventionally and use modern (e.g. 1986-era) instructions. It also has the advantage of not confusing much more modern hypervisors like ACRN by issuing instructions they (and I!) never knew existed. Fixes #35076 Signed-off-by:
Andy Ross <andrew.j.ross@intel.com>
-
Andy Ross authored
Because of a historical misunderstanding, by default the ACRN hypervisor wants to load Zephyr at address 0x1000 and enter the binary at that same address. This entry point corresponds to the __start symbol of the build they were given, which is a 1-cpu non-SMP configuration. Unfortunately, when we build with CONFIG_MP_NUM_CPUS=1, the code in locore.S #if's out the 16 bit entry point for the auxiliary CPUs at the start of the section. So in the build ACRN received, the start address happened to be 0x7000, the same address we need to launch the AP processors from. That's right: under ACRN, the SAME ADDRESS used to enter the OS in 32 bit mode needs to be used later to boot CPUs running in 16 bit real mode! The solution, such as it is, is to put a 32 bit jump at the entry address which hops to the 32 bit OS entry code, and then scribble NOP instructions over that jump once we get there so that the next time we reach that address (in real mode) we fall through to the correct entry. This patch should be considered a temporary workaround. While it works on all x86 hardware, it's not really needed. A much better solution would be to eliminate the locore linker region entirely (which causes other headaches) and enter the Zephyr binary in a 32 bit address somewhere in the contiguous high memory area. All that locore is needed for is the 16 bit bootstrap code for SMP processors, which is ~6 instructions and can be copied in from the kernel at runtime. Signed-off-by:
Andy Ross <andrew.j.ross@intel.com>
-
Jennifer Williams authored
The final else {} in the if...else if is missing required comment (non-empty, ';' is not sufficient). This adds a comment to comply with CG 15.7. Signed-off-by:
Jennifer Williams <jennifer.m.williams@intel.com>
-
Jennifer Williams authored
The final else {} in the if...else if is missing required comment (non-empty, ';' is not sufficient). This adds a comment to comply with CG 15.7. Signed-off-by:
Jennifer Williams <jennifer.m.williams@intel.com>
-
- 03 Jun, 2021 17 commits
-
-
Mahesh Mahadevan authored
The NXP I2S driver queues 2 receive buffers to avoid receive overflows. Allocate an extra block so we do not see test failures due to allocate failures Signed-off-by:
Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
-
Flavio Ceolin authored
Add a diagram for system power management. Signed-off-by:
Flavio Ceolin <flavio.ceolin@intel.com>
-
Mahesh Mahadevan authored
Update documentation to include information on how to connect an external debug probe Signed-off-by:
Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
-
Kumar Gala authored
Add list of all resolved issues since 2.5.0. Signed-off-by:
Kumar Gala <kumar.gala@linaro.org>
-
Maureen Helm authored
Adds v2.6.0 release notes for NXP boards. Signed-off-by:
Maureen Helm <maureen.helm@nxp.com>
-
Maureen Helm authored
Fills in the sensor drivers section of the v2.6.0 release notes. Signed-off-by:
Maureen Helm <maureen.helm@nxp.com>
-
Gerard Marull-Paretas authored
J1 header table was not rendered correctly. Signed-off-by:
Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
-
Armando Visconti authored
The lis2mdl temperature samples work with a level of 25 Celsius. When temperature goes below that level the samples become negative and there was an issue in properly propagating the sign. Fix #35910 Signed-off-by:
Armando Visconti <armando.visconti@st.com>
-
Hake Huang authored
enable ethernet timer clock when enabling ptp Signed-off-by:
Hake Huang <hake.huang@oss.nxp.com>
-
Armando Visconti authored
The lps22hh 24 bit raw sample is left aligned, which means that it needs to be right-shifted by 8 before applying conversion. Moreover the conversion has been simplified for clarity. Fix #35871 Signed-off-by:
Armando Visconti <armando.visconti@st.com>
-
Johann Fischer authored
Add release notes for USB. Signed-off-by:
Johann Fischer <johann.fischer@nordicsemi.no>
-
Johann Fischer authored
Add release notes for disk drivers. Signed-off-by:
Johann Fischer <johann.fischer@nordicsemi.no>
-
Torsten Rasmussen authored
Fixes: #19582 When `find_package(Zephyr)` completes then all boilerplate code has been processed and all Zephyr libraries has been placed inside the whole archive flags. Also all libs dependencies has been processed. This is indicated by the presence of the zephyr_prebuilt target. Thus, warn the user if `zephyr_library()` / `zephyr_library_named()` is called in app-mode. Signed-off-by:
Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
-
Torbjörn Leksell authored
Changed location of the last k_mutex_unlock trace hook since it was being called after k_sched_unlock, which could result in tracing scenarios (other thread waiting for lock) where it appeared that a mutex was being locked again before becoming unlocked. Signed-off-by:
Torbjörn Leksell <torbjorn.leksell@percepio.com>
-
Carles Cufi authored
Introduce a table with the minimum version required for the three main dependencies (CMake, Python and DTC). At the same time remove the CMake help code from the GSG, since it's just a duplicate of the instructions that Kitware provides. Signed-off-by:
Carles Cufi <carles.cufi@nordicsemi.no> Co-authored-by:
Ruth Fuchss <ruth.fuchss@nordicsemi.no>
-
Carles Cufi authored
Specify that 64-bit Cortex-R, ARMv8-R, is now supported in Zephyr. Signed-off-by:
Carles Cufi <carles.cufi@nordicsemi.no>
-
Joakim Andersson authored
Fix CCC store on write feature for multiple connections. CCCs are only enqueued for storing when going from no connections subscribed to any connection subscribed. The CCC should be stored when its value is changed for the specific connection. Signed-off-by:
Joakim Andersson <joakim.andersson@nordicsemi.no>
-
- 02 Jun, 2021 14 commits
-
-
Erwan Gouriou authored
Rework README to provide a correct and understandable status. Signed-off-by:
Erwan Gouriou <erwan.gouriou@linaro.org>
-
Kumar Gala authored
* Removed ARCH POSIX, driver/pinmux, updatehub, settings, random, POSIX subsystem, and LGVL sections as no significant changes this release * Add new drivers for eeprom, timer and watchdog sections * Added bullet item about shared interrupt support being devicetree based * Added bullet about moving of CMSIS portability headers Signed-off-by:
Kumar Gala <kumar.gala@linaro.org>
-
Gerard Marull-Paretas authored
Since Zephyr docs switched to fixed-width, the binding pages are not displayed correctly. We should move to another data representation format that works better for fixed-width documents. Until this decision is made, add a workaround that forces the template to expand page width to the maximum on binding pages. Signed-off-by:
Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
-
Robert Lubos authored
The Let's Encrypt X3 certificate is no longer in use, replace it with an up-to-date certificate. Signed-off-by:
Robert Lubos <robert.lubos@nordicsemi.no>
-
Armando Visconti authored
Use gpio_dt_spec structure and related macros for both drdy and AnyMotion interrupts, to have a more compat, readable and safe code. Moreover, skip setting DRDY or AnyMotion trigger from application if the corresponding irq-gpios has not been set. (This commit also fixes #34794) Signed-off-by:
Armando Visconti <armando.visconti@st.com>
-
Stephanos Ioannidis authored
This commit increases the newlib heap size to 2048, which is the recommended minimum required to ensure proper operation of the newlib nano used by test (see #35799). Signed-off-by:
Stephanos Ioannidis <root@stephanos.io>
-
Stephanos Ioannidis authored
This commit increases the heap size for the newlib nano test to 2048, which is the recommended minimum required to ensure proper operation (see #35799). Signed-off-by:
Stephanos Ioannidis <root@stephanos.io>
-
Stephanos Ioannidis authored
This commit adds a new `CONFIG_NEWLIB_MIN_REQUIRED_HEAP_SIZE` config that allows user to specify the minimum required heap size for the newlib heap, and makes `malloc_prepare` validate that the memory space available for the newlib heap is greater than this value. The default minimum required heap size values were empiricially determined, so as to allow the basic standard C functions such as `printf` and `scanf` to work properly. Signed-off-by:
Stephanos Ioannidis <root@stephanos.io>
-
Dominik Ermel authored
Short update to list of changes to MCUmgr that impact Zephyr. Note to Shell on changes that affect mcumgr. Signed-off-by:
Dominik Ermel <dominik.ermel@nordicsemi.no>
-
Jennifer Williams authored
The ehl_crb board has hardware issue that prevents this test from being able to pass this otherwise-correct test. So exclude ehl_crb from the testcase.yaml. Fixes #33544. Signed-off-by:
Jennifer Williams <jennifer.m.williams@intel.com>
-
Aymeric Aillet authored
Update documentation for H3ULCB board following the addition of new features during v2.6 windows. Signed-off-by:
Aymeric Aillet <aymeric.aillet@iot.bzh>
-
Christian Taedcke authored
Two code-blocks were not correctly rendered, due to missing empty lines before them. This commit fixes this. Signed-off-by:
Christian Taedcke <christian.taedcke@lemonbeat.com>
-
Kumar Gala authored
* Add high level bullets about tracing & power mgmt * Removed duplicated bluetooth section * Remvoed RISC-V section, to changes of note for this release Signed-off-by:
Kumar Gala <kumar.gala@linaro.org>
-
Jan Pohanka authored
Recent rework in logging api brings complicated macros which can overhelm Eclipse CDT parser. This workaround disables expansion of LOG_xxx macros in Eclipse. Signed-off-by:
Jan Pohanka <xhpohanka@gmail.com>
-