summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2023-12-19testsuites/isvv: Remove invalid config optionqual-100Sebastian Huber
2023-12-19testsuites/isvv: Use explicit enableSebastian Huber
This fixes the build for all other BSPs.
2023-12-19testsuites/isvv: Do not use CFLAGS definesSebastian Huber
The CFLAGS influence the entire build. Using them for tests is madness. The funny defines affected the rtems_board_support_package() directive.
2023-12-19testsuites/isvv: Update due to API changesSebastian Huber
2023-12-19testsuites/isvv: NewSebastian Huber
Import ISVV testsuite from CSW-RTEMSISVV-2022-TSP-05453_1-rtems-smp-isvv-iva-test-procedures.zip with an SHA256 hash of fdbe9ee336fd29da42ea7a0b8de558a369e7b3e0a2009b9a5c500f00fa960b88
2023-12-19compiler-rt/lib/builtins: NewSebastian Huber
2023-12-19libc: Avoid dead code in memset()Sebastian Huber
2023-12-19build: Add C library for pre-qualified buildSebastian Huber
2023-12-19build: Move target hash to test librarySebastian Huber
2023-12-19build: Load items on demand during a buildSebastian Huber
If the CSafeLoader is available, load only the necessary build items. This considerably speeds up the build setup time if the CSafeLoader is used.
2023-12-19build: Rename TOPGROUP in TOPGROUP_UIDSebastian Huber
This makes it more obvious that this is an item UID.
2023-12-19build: Avoid cache if CSafeLoader is availableSebastian Huber
Move the item cache handling to a ItemCache class. Implement this class depending on the availability of CSafeLoader.
2023-12-19build: Use CSafeLoader if availableSebastian Huber
The CSafeLoader uses the C libyaml libary to considerably speed up the loading of YAML files.
2023-12-19build: Add RTEMS_PPS_SYNC CPU optionSebastian Huber
2023-12-19build: Add RTEMS_CLANG_STATIC_ANALYZER optionSebastian Huber
2023-12-19build: Install test executablesSebastian Huber
2023-12-19build: Add BUILD_LIBDL_TESTSSebastian Huber
Make tests for libdl configurable since they are currently not reproducible, see #4941.
2023-12-19build: Use -frandom-seed=0Sebastian Huber
2023-12-19Add pre-qualified constraintsSebastian Huber
2023-12-19validation: Test memory allocationSebastian Huber
2023-12-19validation: Add MemorySave() and MemoryRestore()Sebastian Huber
2023-12-19validation: Fix runner prio in model based testsSebastian Huber
2023-12-19validation: Fix warnings in model based testsSebastian Huber
2023-12-19validation: Fix Doxygen groups of model testsSebastian Huber
2023-12-19validation: Add tests derived from modelsAndrew Butterfield
2023-12-19membench: Add memory benchmark programsSebastian Huber
These memory benchmark programs are not supposed to run. Instead, they can be analysed on the host system to measure the memory usage of features. See the membench module of rtems-central. Update #3716.
2023-12-19build: Add RTEMS_QUALSebastian Huber
The goal of the RTEMS pre-qualification activity #3701 is a specified and validated subset of RTEMS. For users of the pre-qualified subset of RTEMS it is important to not accidentally use not pre-qualified features. One way to achieve this, is to build only the sources of the pre-qualified feature set. This customized build is enabled by the new build configuration option RTEMS_QUAL. If it is enabled, then only the pre-qualified subset of RTEMS is built and installed. Building with RTEMS_QUAL enable is currently only supported for the sparc/leon3 BSP family. To support an RTEMS_QUAL enabled build, changes in the CPU port and the BSP are required to only use features of the pre-qualified feature set. Update #4963.
2023-12-19libtest: Move parts to extra filesSebastian Huber
Move the RTEMS test printer and rtems_test_exit() to separate files, to remove dependencies from the begin/end test messsage support. Update #4963.
2023-12-19validation: Check bootloader L2C settingsSebastian Huber
Update #4925.
2023-12-19doxygen: CONFIGURE_JFFS2_DELAYED_WRITE_TASK_PRIORITYSebastian Huber
Document CONFIGURE_JFFS2_DELAYED_WRITE_TASK_PRIORITY. Update #4961.
2023-12-19tm27: Add TM27_INTERRUPT_VECTOR_ALTERNATIVESebastian Huber
The TM27 support may define TM27_INTERRUPT_VECTOR_ALTERNATIVE to provide an alternative software generated interrupt request which is raised by _TM27_Raise_alternative() and cleared by _TM27_Clear_alternative(). Both functions shall return an RTEMS status code. This interrupt vector may be used to test the interrupt controller support on targets which do not provide generic software generated interrupts. Update #3716.
2023-12-19tm27: Add optional TM27_INTERRUPT_VECTOR_DEFAULTSebastian Huber
Let the BSP define TM27_INTERRUPT_VECTOR_DEFAULT to more efficiently and reliably get the TM27 default interrupt vector. Update #3716.
2023-12-19ftpd: Fix set but not used warningSebastian Huber
2023-12-14bsps/xnandpsu: Allow manipulation of BBTKinsey Moore
Expose functions to directly manipulate the bad block table (BBT). These functions are necessary to correct possible BBT corruption caused by bugs in the BBT management layer.
2023-12-14bsps/xnandpsu: Constrain block erasure to deviceKinsey Moore
The XNandPsu_EraseBlock function takes a target device and a block offset for erasure. Ensure the block offset is within the size of the target device.
2023-12-14bsps/xnandpsu: Mark correct reserved blocksKinsey Moore
When marking the trailing blocks on a device as reserved for Bad Block Table usage, ensure that the correct blocks are marked. This resolves an off-by-one error that was marking one block too low and leaving the last block in the device unmarked.
2023-12-14bsps/xnandpsu: Write BBT to correct locationKinsey Moore
When writing out the Bad Block Table, write it to the targeted device and ensure the block is appropriately mapped to the targeted device.
2023-12-14bsps/xnandpsu: Detect missing BBTsKinsey Moore
Mark the BBT descriptor as invalid before scanning to ensure that missing BBTs are detected and written correctly if necessary.
2023-12-14bsps/xnandpsu: Read correct BBT sizeKinsey Moore
The Bad Block Table is a per-device catalog of the dispositions of each block in the device. Only read enough data to determine the dispositions of blocks for the device being read.
2023-12-14bsps/xnandpsu: Fix BBT mapping functionsKinsey Moore
The xnandpsu driver includes functionality to map back and forth between the flash-based BBT and the memory-based BBT with the values in each being a bitwise inversion of each other. This resolves several bugs in this process and simplifies the inversion from operating on the block representation to operating on the entire BBT entry (4 blocks, 2 bits per block, one byte total). Bugs resolved in XNandPsu_ConvertBbt(): * The calculation of memory BBT entry offset was off by a factor of 4 * The entry offset into the flash BBT has been removed since each flash BBT directly describes the flash space it is contained within and has no reference to other devices in the chip Bugs resolved in XNandPsu_WriteBbt(): * The BBT length calculated was reduced to NumTargetBlocks from NumBlocks since only the relevant portion of the in-memory BBT should be written to the flash-based BBT space * An offset was applied to values retrieved from the in-memory BBT so that only the relevant portion was converted and written to the flash-based BBT
2023-12-14bsps/zynqmp/jffs2: Use BBT information directlyKinsey Moore
The XNandPsu_IsBlockBad() function is insufficient for JFFS2 to determine whether a block is usable since the function does not report reserved blocks. JFFS2 is also unable to use the last 4 blocks of each target attached to the NAND controller since they are reserved for the Bad Block Table (BBT), but not necessarily marked as such.
2023-12-14bsps/arm/stm32f4: Enable USART RX interruptsJacob Killelea
Hi all, this is my first email patch submission and my first contribution to RTEMS, so please give any feedback you have! This patch enables interrupt driven data reception on USART ports on STM32F4 series chips. This feature is gated behind the config flag BSP_CONSOLE_USE_INTERRUPTS. If this flag is not set to True, the older polling implementation will be used. I tested this feature on STM32F401CE (blackpill) and STM32 Nucleo F411RE boards, with both capable of keeping up with a 115200 baud continous data stream. With the older polling implementation, both would drop bytes at 9600 baud. In addition, I updated the implementation of usart_set_attributes to support changing the baud rate of the USART port based on the input speed.
2023-12-14libtest: Fix test printer in rtems_test_run()Sebastian Huber
Route the test output through T_vprintf() only while the test suite runs. Otherwise, the begin/end of test message may not show up.
2023-12-14psxftw01: Simplify and use rtems_test_run()Sebastian Huber
2023-12-14libtest: Set test printer in rtems_test_run()Sebastian Huber
Route the test output through T_vprintf().
2023-12-14ftpd: Make socket timeout optionalSebastian Huber
This feature is not supported by lwIP.
2023-12-14rtems-fdt: Fix node property access on 64bitChris Johns
2023-12-13libmisc/shell: Work around tmux bug in row and columnChris Johns
- Extend the timeout to 150 msec for long remote sessions - Improve the performance of the detection Closes #4975 Closes #4977
2023-12-12build: Fix default valueSebastian Huber
2023-12-06bsp/tms570: Do not use POM for internal flashSebastian Huber