Commit Graph

36351 Commits

Author SHA1 Message Date
Sebastian Huber
1d668054c0 bsp/qoriq: Do not build unused object 2024-04-30 01:39:05 -04:00
Sebastian Huber
237f8662ba score: Improve C/C++ standard compatibility
The processor mask implementation uses flsl() from <strings.h> which is
only BSD visible.  Move the implementation to a separate header file to
hide it from the API level.  This fixes build errors with GCC 14.
2024-04-30 01:39:05 -04:00
Sebastian Huber
7bc76732b0 validation: Fix powerpc in test case
The powerpc context switch restores the interrupt state.

Update #4955.
2024-04-30 01:39:05 -04:00
Bernd Moessner
b4c65f78a0 Fix: type-cast to wrong type 2024-04-30 01:39:05 -04:00
Amar Takhar
3d8ddd6230 Drop index.html from directory it loads by default.
Testing out the new approvers setup.

Refs administration/gitlab#35
2024-04-27 02:06:14 -04:00
Amar Takhar
e3429553ea Move to a toplevel approvers group.
approvers -> approvers/general
* -> approvers/*

Refs administration/gitlab#35
2024-04-27 01:27:48 -04:00
Amar Takhar
fb3d4a8f5a Add an additional line for consistency.
This is also to test the merge template which just sets the milestone.
2024-04-26 12:36:42 -04:00
Amar Takhar
64cdc31c2f Rename 'All Source' to 'General Approvers'
Makes it more clear who these approvers are.
2024-04-25 23:07:37 -04:00
Chris Johns
7db1948917 bsp/arm/zynq: Move README to README.md 2024-04-26 08:01:52 +10:00
Amar Takhar
3fc3a4f859 Convert README to MarkDown.
GitLab has it's own flavour and I've kept that in mind.

This greatly simplifies the document as well GitLab is quite a bit more verbose
than Trac was no need to replicate information.

This is just a first revision we can expand it as necessary.
2024-04-25 03:25:10 +00:00
Amar Takhar
5b5c4a05b9 Rename README to README.md
In preparation for moving to MarkDown.
2024-04-25 03:25:10 +00:00
Amar Takhar
bbe12d62a3 Switch from rtems to approvers group
Also bring down approvers limit to 1 for now so we can test.
2024-04-24 23:22:14 -04:00
Amar Takhar
912d757267 Remove section for testsuites.
It's covered by the global rule now.

I also did the foreign ticket reference wrong let's try it again

Ref administration/gitlab#6 and administration/gitlab#18
2024-04-24 15:29:16 -04:00
Amar Takhar
e89ff4a3c2 First attempt at requiring 2 approvers for all files.
Not sure if this is going to work at the moment.

Ref #6, #18 in administration/gitlab
2024-04-24 15:12:20 -04:00
Amar Takhar
92f3ac909a Fix typo.
Spotted by Gedare but it should also be OpenRISC 1000 and not or1k.
2024-04-20 23:07:23 -04:00
Amar Takhar
ebe0f58991 Fix typo in access list.
Unfortunately syntax checking only happens after the file is pushed no other
options.
2024-04-19 22:32:43 -04:00
Amar Takhar
e30bc81396 Setup to use groups instead of individual developers.
This will make it far easier to maintain rather than having to edit the file
constantly.
2024-04-19 22:31:45 -04:00
Amar Takhar
5e456fcca9 Try using a subgroup for ARM.
This uses the arch/arm subgroup.
2024-04-18 20:54:21 -04:00
Amar Takhar
67ba606931 Add the rest of the architectures to CODEOWNERS.
Also use glob where possible so we don't have to continuously add files.
2024-04-15 00:26:03 -04:00
Amar Takhar
195bdfef16 Remove ** from directories.
It's clearly not required not sure why the gitlab-org repo uses it.  I think
it's fine because * is a wildcard and ** is typically used for a recursive glob.
While it works it's not necessary.
2024-04-14 02:20:58 -04:00
Amar Takhar
0b81351900 Add ARM.
This also adds stubs in for the rest of the architectures and owners.

Note that any users not currently on our test instance aren't in here we will
have to add them after.
2024-04-14 02:00:21 -04:00
Amar Takhar
5b288dbc9d Add ** to glob all files below directory.
The GitLab documentation is not very clear about this.  I'm tryin gto use the
CODEOWNERS file from the gitlab-org project.
2024-04-14 00:17:29 -04:00
Amar Takhar
e6b3ae575c Fix owner names.
chrisj -> chris
kinsey -> opticron
2024-04-14 00:16:15 -04:00
Amar Takhar
710d90fbec Initial commit of CODEOWNERS
This will decide who is 'in charge' of what source code.

It also decides who is able to approve within the repository.
2024-04-13 22:42:47 -04:00
Amar Takhar
649f88320b Revert "First attempt at a default ticket template."
This reverts commit 7a03a30c15
2024-04-14 01:29:50 +00:00
Amar Takhar
7a03a30c15 First attempt at a default ticket template.
All templates in this directory will be set in the RTEMS namespace.
2024-04-13 21:09:37 -04:00
Sebastian Huber
53d092471f dev/serial: Add Zynq UART kernel I/O support
Replace the BSP_CONSOLE_MINOR BSP option for the Xilinx Zynq BSPs with the new
BSP option ZYNQ_UART_KERNEL_IO_BASE_ADDR.  Move the kernel I/O support to a
shared file.
2024-04-04 12:53:53 +02:00
Sebastian Huber
8ad3f92b9a dev/serial: Add ZYNQ_UART_[01]_BASE_ADDR
This helps to provide a shared implementation of the kernel I/O support.
2024-04-04 12:53:51 +02:00
Sebastian Huber
4c2da2c343 dev/serial: Simplify some Zynq UART functions
Make the initialization and polled functions independent of the Termios
context.  This helps to implement the kernel I/O support without a dependency
on the Termios framework.
2024-03-27 20:22:53 +01:00
Sebastian Huber
5b0e355ed7 bsps: Move declarations to <bsp/irq-generic.h>
Move declarations of bsp_interrupt_get_affinity() and
bsp_interrupt_set_affinity() to <bsp/irq-generic.h>.  Canonicalize the
<bsp/irq.h> includes.

Implement bsp_interrupt_get_affinity() and bsp_interrupt_set_affinity() only if
needed (usually RTEMS_SMP).

Provide stub implementations for i386 to fix build errors.
2024-03-27 20:20:38 +01:00
Sebastian Huber
1ef5fa07aa rtems: Avoid -Wundef warnings in API header 2024-03-23 10:56:25 +01:00
Sebastian Huber
1df822a922 Mark parameters as intentionally unused
The parameters are unused due to API constraints.  The functions are
used through function pointers.  Alternative implementations may use the
parameters.

Update #4862.
2024-03-22 08:12:22 +01:00
Sebastian Huber
1eed6f8bfc bsps: Avoid unused argument in clock interrupt
Pass the parameter of the clock interrupt handler to
Clock_driver_support_at_tick() and Clock_driver_timecounter_tick().  This makes
it possible to use the interrupt handler argument in clock drivers.

Use the interrupt handler provided by Clock_driver_support_install_isr() to
avoid local delarations of Clock_isr().

Update #4862.
2024-03-20 16:34:09 +01:00
Sebastian Huber
d62f299b34 Do not define CONFIGURE_TICKS_PER_TIMESLICE to 0
Unconditionally make a CONFIGURE_TICKS_PER_TIMESLICE value less than or equal
to zero an error.

Update #4986.
2024-03-20 10:52:16 +01:00
Sebastian Huber
9e0bcd4fc7 score: Include missing header file
This fixes:

heap.c:268:3: warning: implicit declaration of function 'memset'
2024-03-20 10:52:16 +01:00
Sebastian Huber
e1cb8830b7 testsuites: Exclude JFFS2 NAND tests 2024-03-20 08:27:40 +01:00
Sebastian Huber
2f5a747dcc dev/irq: Optional arm_gic_irq_processor_count()
Provide arm_gic_irq_processor_count() only in SMP configurations.
2024-03-20 07:40:41 +01:00
Sebastian Huber
431e335e7e bsps: Add xilinx_zynqmp_lp64_a53 BSP variant
Add a BSP variant without a board-specific name.
2024-03-20 07:40:41 +01:00
Sebastian Huber
1e406690a5 bsps: Add xilinx_zynq_rpu BSP variant
Add a BSP variant without a board-specific name.
2024-03-20 07:40:41 +01:00
Sebastian Huber
8f4b9d6611 xilinx-zynqmp-rpu: Remove URLs from copyrights 2024-03-20 07:40:41 +01:00
Sebastian Huber
5b5ff07016 bsps: Use bsps/arm/xilinx-zynqmp-rpu 2024-03-20 07:40:41 +01:00
Sebastian Huber
99398625f4 bsps: Use bsps/aarch64/xilinx-zynqmp 2024-03-20 07:40:41 +01:00
Sebastian Huber
bc910e1aac arm: Move _CPU_ISR_install_vector()
The use of this function is optional. Newer BSPs do not use it.
2024-03-20 07:40:41 +01:00
Stanislav Pankevich
ef9a74fc1a arm/xilinx-zynqmp-rpu: Fix clock driver
We observed a strange behavior of the 1Hz timer when running cFS on Zynq
RPU. After some investigation, we reduced the error to the truncation
issue. This patch fixes the issue.
2024-03-19 13:25:16 +01:00
Kinsey Moore
9c84037e93 cpukit: Gate ticks per timeslice config
Gate CONFIGURE_TICKS_PER_TIMESLICE appropriately behind
CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER.
2024-03-18 15:18:38 -05:00
Kinsey Moore
1ecb4e3047 cpukit/jffs2: Properly commit JFFS2 data
When unmounting a JFFS2 filesystem, any outstanding write buffers must
be flushed to disk. In some circumstances, these write buffers are
instantiated by a garbage collection pass and as such no inode number is
associated with it. Due to the way that JFFS2 processes these garbage
collection passes, a write buffer without any associated inodes will not
be flushed unless it is forced with jffs2_flush_wbuf_pad().
2024-03-14 17:13:23 -05:00
Zack leung
5ee87eee8a Ensure ticks per timeslice is greater than zero 2024-03-14 12:58:59 -05:00
Kinsey Moore
fd790b3431 bsps/shared/xqspipsu: Read correct status bits
When resetting the QSPI FIFOs, the driver was reading write-only bits of
a register for status information when it was actually in a different
register. This corrects the driver so that it reads the correct status
bits.
2024-03-11 12:09:59 -05:00
Kinsey Moore
33379dcfc4 bsps/shared/xnandpsu: Add opportunistic page cache
Add an opportunistic page cache to the xnandpsu driver since it does not
implement partial page reads and common filesystem access patterns
perform multiple reads from the same page. This has been seen to provide
a 10x speedup to read speeds and a 2x speedup on first initialization
when used with JFFS2.
2024-03-11 12:09:59 -05:00
Sebastian Huber
a7730cf1b1 aarch64/zynqmp: Fix build item BSP family 2024-03-11 16:43:40 +01:00