summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* bsps/powerpc: Fix include orderSebastian Huber2024-03-111-1/+1
| | | | | The <rtems/irq.h> header file depends on the BSP-provided define BSP_SHARED_HANDLER_SUPPORT.
* testsuites/dhrystone: Initialize before useKinsey Moore2024-03-051-0/+1
| | | | | This resovles a warning where a variable could be used before it is initialized in some code paths.
* cpukit/libtest: Remove unused variableKinsey Moore2024-03-011-1/+0
| | | | This unused variable causes a warning. It is never set or used.
* bsps/xnandpsu: Allow creation of BBTKinsey Moore2024-02-281-1/+1
| | | | | | | This fixes a logic inversion that was preventing creation of a Bad Block Table (BBT) from scratch on devices that lack one. This was discovered during upstream integration testing. The BBT management layer in this driver is not designed to be easily testable other than on real hardware.
* build: Fix script actionSebastian Huber2024-02-281-2/+8
| | | | | We have to use a custom dictionary to be able to set the "value" argument in the exec() context.
* powerpc: Use RTEMS_XCONCAT()Sebastian Huber2024-02-271-6/+4
| | | | Prefer macros with a proper namespace.
* bsps/powerpc: Include missing <rtems/irq.h>Sebastian Huber2024-02-271-0/+1
| | | | The <rtems/irq.h> defines a legacy API.
* bsp/qoriq: Use more specific includeSebastian Huber2024-02-272-1/+2
|
* bsp/qoriq: Remove superfluous includeSebastian Huber2024-02-271-1/+0
|
* bsp/qoriq: Remove <rtems/irq.h> in <bsp/irq.h>Sebastian Huber2024-02-273-5/+4
| | | | The <rtems/irq.h> defines a legacy API.
* bsp/qoriq: Use bsp_fatal()Sebastian Huber2024-02-272-2/+5
|
* bsp/qoriq: Use interrupt entrySebastian Huber2024-02-274-29/+50
| | | | Avoid heap usage in the basic BSP.
* Update company nameSebastian Huber2024-02-2714-14/+14
| | | | | The embedded brains GmbH & Co. KG is the legal successor of embedded brains GmbH.
* testsuites/unit: Add files to groupSebastian Huber2024-02-272-0/+12
|
* testsuites/jffs2: Add test for empty NOR FSKinsey Moore2024-02-265-0/+285
| | | | | | | This adds a test to very that remounting a completely used, but empty NOR JFFS2 filesystem is possible. Previously, this triggered an edge condition in the JFFS2 scan code that prevented remount of a correctly formed and uncorrupted filesystem.
* cpukit/jffs2: Handle used empty file systemKinsey Moore2024-02-262-0/+27
| | | | | | | | | | | | | | | | | On JFFS2 file systems on NOR flash or dataflash that does not have spare area for metadata and thus does not invoke delayed writes, it is possible to put the file system into a state where all blocks have been written to and all files have been deleted from the filesystem. There is a bug in the JFFS2 file system scan routine that detects this situation as a corrupted file system since the scan routine relies on "used" space to discriminate a valid file system when there are blocks that need to be erased. The correct fix would require a partial rewrite of the scan routine, so instead this patch tracks the space marked as obsolete along with space at the end of each block that is otherwise too small to contain a JFFS2 node so that it can me compared with the dirty space. Corrupted data (or otherwise non-JFFS2 blocks) will still cause this check to fail as corrupted data isn't recognized as obsoleted (deleted) nodes.
* spec/zynqmp-rpu: Clean up optionsKinsey Moore2024-02-232-3/+0
| | | | | | The RAM origin had an unnecessary alignment requirement and the RAM lenght had a reference that couldn't possibly be used. This removes those obsolete option specifiers.
* arm/altera-cyclone-v/README: Fix use of CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORSJoel Sherrill2024-02-231-1/+1
| | | | The proper name is now CONFIGURE_MAXIMUM_FILE_DESCRIPTORS.
* libtest: Improve gcov info dumpSebastian Huber2024-02-222-4/+6
| | | | | | | | | Make sure there is no spurious empty line between the gcov info and the *** END OF GCOV INFO BASE64 *** line. This helps to recalculate the hash correctly at the consumer side.
* testsuites/dl11: Test TLS on a secondary threadKinsey Moore2024-02-192-15/+59
| | | | | | | This adds a pthread that runs the test as well to increase test coverage. The original test would have passed if all threads returned the address of the Init task's errno since no additional threads or tasks were checked.
* bsps/qspipsu: Calculate correct parallel mode sizeKinsey Moore2024-02-191-1/+2
| | | | | | Stacked mode doubles the number of sectors and device size while parallel mode doubles the sector size and the device size. Make sure that this is accounted for in the device size accessor.
* doxygen: Fix link formatSebastian Huber2024-02-161-1/+1
|
* crc: Add a CRC-24Q implementationSebastian Huber2024-02-165-0/+300
|
* base64: Add decoderMatthew Joyce2024-02-165-0/+410
|
* base64: Make base64 encoding tables publicSebastian Huber2024-02-162-7/+27
| | | | This makes them reusable. Change the character type to uint8_t.
* base64: Move base64 encoding supportSebastian Huber2024-02-1610-111/+181
|
* i386: Restore SMP functionalityKinsey Moore2024-02-143-0/+11
| | | | | | | When the switch to waf occurred, the SMP support in i386 was left out causing it to accumulate a minor amount of cruft. This enables SMP for the i386 BSPs that support it and updates them for the API drift that has occurred since the change.
* bsp/tms570: Fix console receive interruptsAdrien Chardon2024-02-011-36/+9
| | | | | | | | | | | | | | | | | | | | | `tms570_sci_interrupt_handler()` is called when an RX interrupt fires. It checks in the register `FLR`, the `RXRDY` bit (Receiver ready flag - indicate that the SCIRD contains new data). If it is set, it calls `tms570_sci_read_received_chars()`. `tms570_sci_read_received_chars()` checks the register `RD` against 0. If it is non zero, it returns 1 to indicate that one byte was read. In the old behavior, if it is zero, the function returns 0 to indicate that no data was read. The new behavior is to not silently drop 0x00 bytes. Ignoring 0x00 bytes is fine when working with printable text (which, I assume, is how this driver was tested), but as soon as the UART is used in non canonical (raw) mode, with potentially 0x00 bytes, these bytes will be silently dropped, causing issues in the data/protocol layer above. Update #4982.
* cpukit/libblock: Ignore sync status prior to purgeKinsey Moore2024-01-312-2/+2
|
* cpukit/libblock: Ignore error notify return valueKinsey Moore2024-01-311-1/+1
| | | | This is already in the error path.
* bsps/qoriq: Add VME support for MVME2500Christian Mauderer2024-01-313-2/+53
| | | | | | | | | This enables the VME support for the MVME2500. Note that the PCIe support from libbsd is used. So you need the related libbsd patches for this to work. If the drivers in libbsd are not enabled, the linker should not pick up anything from this patch.
* bsps/qoriq: Allow setting EIRQ polarity and senseChristian Mauderer2024-01-312-0/+83
| | | | | | Add a function that allows to set the polarity (active-low / negative edge triggered or active-high / positive edge triggered) and sense (level or edge sensitive) of the external interrupts.
* bsps/qoriq: Add MMU regions for PCIe based on fdtChristian Mauderer2024-01-311-0/+88
| | | | | Get the memory ranges for the PCIe from the FDT and add them to the MMU. This is necessary so that the PCIe driver in libbsd can work.
* cpukit/libblock: Ignore return value on error pathKinsey Moore2024-01-291-1/+1
|
* cpukit/cache: Report coherent add area failuresKinsey Moore2024-01-262-13/+24
| | | | | | This alters the API for rtems_cache_coherent_add_area to allow reporting of failures that can occur during the process of adding a new area to the coherent cache heap.
* cpukit/dosfs: Simplify expressions where possibleKinsey Moore2024-01-221-3/+3
|
* cpukit/libmisc: Cast getpid() before shiftingKinsey Moore2024-01-221-0/+5
| | | | | Cast getpid() before shifting to avoid truncation of upper bits before the 64bit XOR occurs.
* cpukit/libmisc/uuid: Check for invalid FDKinsey Moore2024-01-221-0/+6
|
* cpukit/dosfs: Don't leak a FAT FDKinsey Moore2024-01-221-7/+7
| | | | | | The tmp_fat_fd variable is unconditionally opened in the branch where it is used within the loop and so must be closed or else risk a resource leak.
* fstests/tftpfs: Fix build dependencySebastian Huber2024-01-181-3/+3
| | | | Update #4666.
* build: Fix target of build scriptSebastian Huber2024-01-181-1/+1
|
* cpukit/score: Avoid overflow in multiplicationKinsey Moore2024-01-171-1/+1
| | | | | Change extend_count to uint32_t from uint16_t to avoid a possible premature integer overflow when it is later used for multiplication.
* cpukit/dosfs: Remove unused internal function argKinsey Moore2024-01-161-2/+0
|
* cpukit: Remove or use unused variable assignmentsKinsey Moore2024-01-166-5/+9
|
* flashdev.c: return error if both buffers are NULLBernd Moessner2024-01-161-1/+1
| | | | Updates #4981
* flashdev: Add missing default caseBernd Moessner2024-01-161-0/+2
| | | | Updates #4981
* flashdev.h: Add missing C++ include guardsBernd Moessner2024-01-161-0/+9
| | | | Updates #4981
* bsps/xilinx-zynqmp-rpu: Invalidate caches on startStanislav Pankevich2024-01-161-0/+8
| | | | This corrects an issue where caches can be dirty on warm boot.
* bsp/tms570: Use TMS570_OSCILLATOR_MAINSebastian Huber2024-01-152-5/+8
| | | | | | | This option replaces BSP_OSCILATOR_CLOCK. It may be used in PLL setup calculatios. Update #4982.
* bsp/tms570: Remove unused BSP optionsSebastian Huber2024-01-153-38/+0
| | | | Update #4982.