Chris Johns
156d429516
spec/ftd01: Fix the DTB python generation code
...
Closes #5605
2026-06-02 15:28:03 +10:00
Chris Johns
9e0aeb52e0
spec: Add BSD base and family to Makefile.inc
...
- A base BSP helps applications support aliased BSPs
- Also add ABI_FLAGS to be consistent with the pkgcfg file.
Closes #5592
2026-05-27 20:52:49 -05:00
Chris Johns
2c39475802
libmisc/shell: Add -a to print all vars in the shell getenv command
...
Closes #5572
2026-05-16 09:40:59 +10:00
Chris Johns
a73c6034eb
powerpc/beatnik: Support generic IRQ
...
This effects the MVME6100 and MVME5500.
Closes #5567
2026-05-12 14:46:33 -05:00
Chris Johns
5a16f9dd50
cpukit/rtems: Set the timer's chain node to off chain before appending
...
The timer's node is shared with the RB tree and before placing it on the
timer server's chain the node needs to set to off chain or
RTEMS_DEBUG may assert.
2026-03-16 17:03:56 -05:00
Chris Johns
37281aeb4a
README.md: Update adding more details and fixing links
...
Add details from Doxygen main page.
2026-01-20 11:22:54 +11:00
Chris Johns
6269686dfb
rtemscxx: Support building on Unix
...
This lets you develop unittests on Unix.
2025-10-14 14:43:26 +11:00
Chris Johns
f30157f988
libdebugger: Add SMP support for ARM
...
Make the aarch64 SMP support a separate file and share it between
aarch64 and arm.
2025-09-22 20:51:58 +00:00
Chris Johns
3a2b37826f
libcsupport/termios: Wake receiver when ICANON settings change
...
Closes #5307
2025-07-24 17:41:22 -05:00
Chris Johns
df1d85c0f8
cpukit/libio: Support close with IOP references held
...
- Provide an option for a file system to support close wtih
references held. This can happen in more complex file systems
and file descriptor handling with more complete reference
handling implementations where an fd can hold other fds and
close can be call on any fd and succeed.
- Fix open IOP leaks in the error paths.
- Provide better definition of the IOP flags to help clarify
the code.
Fixes #5201
2025-06-26 00:53:51 +00:00
Chris Johns
5b687c4da5
cpukit/libfs: Clean up the libfs mount handlers
...
- Remove the `fsmount_me_t` handler moving its signature to `mount_t`.
- The `mount_t` signature with the `data` lets file systems handle
options and that means the shell `mount` command can mount
more file systems.
- Clean up the `mount` call's handling of the `mount_t` and
`fsmount_me_t` structures.
2025-06-05 23:39:10 +00:00
Chris Johns
1dd2299be2
cpukit/libfs/imfs: Clean white space
2025-06-05 23:39:10 +00:00
Chris Johns
b0eb259377
bsps/shared/dev/ide: Initalise ATA request links as off chain
...
- Fixes the asserts when building with RTEMS_DEBUG
Closes #5253
2025-06-05 23:19:48 +00:00
Chris Johns
ef07c0c540
waf: Build all BSPs with -k with errors
...
Closes #5252
2025-05-29 17:57:38 +10:00
Chris Johns
7c79f8c63d
waf: Handle no version label in VERSION with releases
...
No version label in the VERSION file broke with
releases.
Closes #5186
2025-05-08 22:44:43 +00:00
Chris Johns
deb26068f0
machine/timecounters: Add missing _Timecounter_ decls
...
Add:
- _Timecounter_Getboottime
- _Timecounter_Getboottimebin
Closes #5211
2025-05-08 22:37:32 +00:00
Chris Johns
e640d6b602
cpukit/libdl: Fix loading symbols from an object file at runtime
...
- Assume a relocation record with a symbol name with a length of
0 is resolved. ARM seems to create a symbol with no name for
R_ARM_V4BX relocation records.
- Move the addition of the rtems_rtl_base_sym_global_add symbol
to the global symbol table to the weak
rtems_rtl_base_global_syms_init call. If symbols are
embedded the support for runtime loading symbols is over
loaded. This change is required so the base object has a
valid global symbol table attached to track dependencies.
Fixes #5234
2025-04-01 12:28:24 +11:00
Chris Johns
8d78a68ece
Revert "build: Provide LDFLAGS for pkg-config"
...
This reverts commit 237570e605
2025-02-11 05:49:15 +00:00
Chris Johns
e14a740a99
spec/cpukit: Add libdl RISCV support
...
Closes #5144
2024-11-22 00:13:36 +00:00
Chris Johns
4a00b66bc6
cpukit/libdl/riscv: Fix warnings
...
Updates #5144
2024-11-22 00:13:36 +00:00
Chris Johns
133b335bae
cpukit/libmisc/rtems-fdt: Add shell read and write handler support
...
The handlers allow indirect access to FDT resources registered with the
shell.
Closes #5152
2024-11-16 17:40:05 +11:00
Chris Johns
32b46899a3
spec/bsps/xilinx-microzed: Fix the default setting for the Avnet Microzed PCLK
...
Closes #5149
2024-11-12 16:16:19 +11:00
Chris Johns
d6f3cd72ee
libmisc/rtems-fdt: Path find need a sorted index table
...
Sort the index table so the bubble search works.
2024-11-08 03:28:23 +00:00
Chris Johns
45308bcc32
bsp/xilinx-zynq: Change devcfg prints to printk
...
Updates #5142
2024-10-31 14:05:12 +11:00
Chris Johns
fbbbe04cf5
bsp/xilinx-zynq: Change devcfg locks to self-contained mutexes
...
Updates #5142
2024-10-31 13:56:41 +11:00
Chris Johns
558e0b3b89
bsp/xilinx-zynq: Move devcfg DMA alignment size to the install header
...
Fix the dev path spelling mistake.
Updates #5142
2024-10-31 13:28:37 +11:00
Chris Johns
d1e507e010
bsp/xilinx-zynq: Add SPDX to devcfg and slcr files
...
Updates #5142
2024-10-31 13:27:08 +11:00
Chris Johns
bc8ffae115
bsp/xilinx-zynq: Add devcfg and slcr drivers
...
The devfg driver loads the PL with a bitfile image. The driver can also
support scrubbing.
These drivers are from Patrick Gauvin <pggauvin at gmail.com> and a thread
on the devel list: https://lists.rtems.org/pipermail/devel/2017-May/017705.html
2024-10-30 23:04:42 +00:00
Chris Johns
a1c3d4ba8e
version: Add the release label interfaces
...
- Mark the VC key interfaces as deprecated in doxygen
Updates #5037
2024-10-30 22:40:15 +00:00
Chris Johns
3d782180ea
waf: Fix handling of the VERSION file in a release
...
Fixes #5037
2024-10-30 22:40:15 +00:00
Chris Johns
2c4c73fd40
waf: Reformat using yapf
2024-10-30 22:40:15 +00:00
Chris Johns
ea475e8719
waf: Update waf to version 2.1.2
2024-10-03 17:59:30 +00:00
Chris Johns
43e201e210
git: Remove auto* files from git ignore
2024-10-03 18:37:05 +10:00
Chris Johns
94443d497b
bsp/aarch64/zynqmp: Add support for more than 2G of DDR memory
...
Add support to configure the second region of DDR memory if the
BSP configured RAM size is greater than 2G.
Add the second region's memory to the heap.
2024-08-27 15:00:09 +10:00
Chris Johns
cc34558448
libdebugger/powerpc: Add PowerPC support
...
Closes #5098
2024-08-07 05:09:38 +00:00
Chris Johns
53a62631ac
libdebugger/target: Add support for backend code writters
...
The call lets backends support special methods of writing code.
Updates #5098
2024-08-07 05:09:38 +00:00
Chris Johns
6a367f4689
libdebugger/target: Move global stepping variables in to the target data
...
Updates #5098
2024-08-07 05:09:38 +00:00
Chris Johns
43fd756f6d
testsuite/libiofdopen: Add missing spec file
2024-07-25 12:33:00 +10:00
Chris Johns
e58ff8984c
libcsupport/libio: Add rtems_libio_count_open_iops to return open descriptors
...
Close #5063
2024-07-24 03:23:06 +00:00
Chris Johns
cc034e7d2f
libcsupport/getrusage: Return task and idle time using getrusage
...
Close #5062
2024-07-18 00:11:09 +00:00
Chris Johns
0bdeef72fe
bsp/powerpc: Remove e500 machine state for asm functions
...
The e500 machine state was added when gcc 10 support appeared to deal with
the assembler's -many option being removed.
Close #5043
2024-06-18 04:27:46 +00:00
Chris Johns
7db1948917
bsp/arm/zynq: Move README to README.md
2024-04-26 08:01:52 +10:00
Chris Johns
a9905de7a4
rtems-fdt: Fix node property access on 64bit
2023-12-14 07:49:42 +11:00
Chris Johns
7260887fa9
libmisc/shell: Work around tmux bug in row and column
...
- Extend the timeout to 150 msec for long remote sessions
- Improve the performance of the detection
Closes #4975
Closes #4977
2023-12-13 18:13:16 +11:00
Chris Johns
72c11fa91a
waf: Fix Python 3.12 escape sequences
...
Updates #4968
2023-11-23 08:25:38 +11:00
Chris Johns
25a4dff56e
bsp/i386/pc686: Clean up warnings
2023-10-04 13:17:13 +11:00
Chris Johns
ceb136c7b6
cpukit/libdl: Fix incorrect operator precedence access the name
...
Coverity Issue: CID 1442635 Out-of-bounds access
2023-08-28 13:52:46 +10:00
Chris Johns
ac6de5a3e9
cpukit/libdl: Correctly account for section alignments
...
- Add the section alignment to the size as the allocator may not
provide correctly aligned memory
- Only include symbols in the section when locating symbols. The
powerpc was incorrectly adding SDATA BSS symbols to the BSS offset
overrunning the section
Closes #4950
2023-08-28 13:21:48 +10:00
Chris Johns
b9f11607b1
libdl: Realloc text memory if there are trampolines
...
- Add resize to the allocator interface
- Rework the trampoline variables in the obj struct
to make better sense of what is happening
Closes #4944
2023-08-27 07:31:49 +10:00
Chris Johns
dcc6409f91
spec/testsuite/dl: Fix optimization flags
...
Updates #4944
2023-08-27 07:30:41 +10:00
Chris Johns
27da374e48
libdl: Add support to import base image TLS symbols
...
This change requires an rtems-tools update for symbol generation.
Working architectures:
- aarch64
- arm
- powerpc
- sparc
No newlib TLS support but checked:
- i386
- m69k
Updates #4920
2023-08-21 11:16:17 +10:00
Chris Johns
663e0dae8a
cpukit/libdl: AARCH64 unwind uses DWARF 2 tables
...
Closes #4943
2023-08-12 16:35:39 +10:00
Chris Johns
c1d9dcbbb2
bsps/arm: Fix CMSIS v5 install files list
2023-07-25 11:03:07 +10:00
Chris Johns
a83dc4a469
termios: Install <rtems/termiosdevice.h>
2023-06-05 11:49:30 +10:00
Chris Johns
3e4fa73935
bsps/powerpc: Fix warnings with PPC_SPECIAL_PURPOSE_REGISTER
2023-04-24 09:13:45 +10:00
Chris Johns
407c87cd88
bsps/powerpc: Fix warnings with PPC_SPECIAL_PURPOSE_REGISTER
2023-04-11 14:55:02 +10:00
Chris Johns
25e1a11402
bsps/motorola_powerpc: Change defines from BSP names to avoid clash
...
- Change mvme2100 to mot_pcc_mvme2100 to avoid clashing with the
RTEMS_BSP value for the BSP. You cannot have a define that is the
BSP name.
2023-04-11 14:54:54 +10:00
Chris Johns
2715d0953d
bsps/motorola_powerpc: Add spec support for BSP defines
...
- These are need by the net legacy stack
2023-04-06 14:05:42 +10:00
Chris Johns
2138ce43c5
bsps/mvme2700: Add MVME2700 BSP
2023-04-06 08:41:16 +10:00
Chris Johns
edea93c40b
libmisc/shell/edit: Return if no memory in move_gap
...
Closes #4835
2023-01-31 07:16:14 +11:00
Chris Johns
3ad2789fc6
libmisc/shell/edit: Fix closing the editor
...
Closes #4834
2023-01-31 07:16:14 +11:00
Chris Johns
408dbeb922
libmisc/rtems-fdt: Support prop map items up to the size of uintptr_t
...
Updates #4729
2022-11-25 12:43:29 +11:00
Chris Johns
904a9112de
libmisc/shell: Fix edit Coverity error
...
Coverity Id: CID 1517029, CID 1517030, CID 1517031
2022-11-25 12:16:02 +11:00
Chris Johns
8425e679c1
libmisc/shell: Support terminal size as env variables
...
Closes #4763
2022-11-23 07:00:08 +11:00
Chris Johns
8436cf9764
aarch64/versal: Add UART interrupt support
2022-11-22 21:14:58 +11:00
Chris Johns
18b1a59184
cpukit/libdebugger: Fix stepping on ARM architectures
...
Closes #4744
2022-10-31 08:04:00 +11:00
Chris Johns
d64e10ea37
rtems-bsps: Generate empty config.ini for arc/bsp combinations
...
- Generate a config for all BSPs in an arch
2022-10-31 08:03:11 +11:00
Chris Johns
d574e08663
libdebugger: Add a target break call to suspend all running threads
...
- Optionally wait if there is no remote debugger connected and break
when the remote connects
Closes #4740
2022-10-18 07:37:57 +11:00
Chris Johns
580a3a6817
libmisc/rtems-fdt: Fix return error values
...
Updates #4729
2022-10-14 13:43:08 +11:00
Chris Johns
fe104e399a
libmisc/rtems-fdt: Fix missing error string
...
- Coverity CID 1515930 issue
Updates #4729
2022-10-11 12:50:30 +11:00
Chris Johns
40eb58fd5e
libmisc/rtems-fdt: Update to support 64bit addresses
...
- Add support to get the parent address and size cells
- Provide support to get a reg prop address map
- Change getting a set of properties to uintptr_t
- Improve the debug mode of the ls command to print all props
Closes #4729
2022-10-10 11:40:55 +11:00
Chris Johns
a932829b01
libdebugger/aarch64: Set .start section to RW
...
- Stops the server crashing when setting breakpoints in .start
2022-08-25 14:10:21 +10:00
Chris Johns
a3b0f7d5a8
bsps/xilinx/versal: Add Cadence I2C driver support
2022-08-25 09:25:03 +10:00
Chris Johns
dee5ea8147
bsps/xilinx/versal: Remove IPL32 BSPs, add aiedge and change defaults
...
- Versal has IO mapped to the upper 64bit address space and
needs full 64bit addresses.
- Add xilinx_versal_aiedge for custom hardware
- Make the hardware settings the defaults and qemu as variants
Closes #4693
2022-08-23 07:55:25 +10:00
Chris Johns
a329579ed5
cpukit/include: Fix including in C++
...
UPdates #4706
2022-08-22 08:30:00 +10:00
Chris Johns
f5233fe51c
cpukit/include: Fixes for C++
...
Updates #4706
2022-08-22 08:30:00 +10:00
Chris Johns
eae542c02f
spec/librtemscpu: Fix installed headers
...
- pci.h is only for sparc
- keyimpl.h is not referenced and so not needed
Updates #4705
2022-08-22 08:30:00 +10:00
Chris Johns
bb09755086
spec/bsps/aarch64: Install ELF machine types for libdl
...
Updates #4705
2022-08-22 08:30:00 +10:00
Chris Johns
e49a1c9b38
spec/bsps: Do not install tm27.h
...
Updates #4705
2022-08-22 08:30:00 +10:00
Chris Johns
c36d608079
testsuite: Fix warnings
...
Updates #4662
2022-08-05 07:54:13 +10:00
Chris Johns
46131ce0e1
libdl: Fix warnings on 64bit architectures
...
Updates #4662
2022-08-05 07:54:13 +10:00
Chris Johns
1a883b9b55
testsuite/psxclock: Check setting realtime clock does not effect sleeping tasks
...
Closes #4690
2022-08-05 07:53:10 +10:00
Chris Johns
071640d310
libmisc/shell: Add an 'rtems' command to report a running build
...
- Report version, cpu, bsp, tools and options.
2022-08-03 10:46:10 +10:00
Chris Johns
51ffa21011
aarch64/versal: Support DDRMC0 region 0 and 1
...
- Support DDRMC0 region 0 up to 2G in size
- Support DDRMC0 region 1 with DDR memory greater than 2G
up to the DDRMC0 max amount
- Extend the heap with region 1's memory
Closes #4684
2022-07-28 09:04:46 +10:00
Chris Johns
b868d0a722
basp/aarch64: Make the unexpected sections origin address 64bit
...
Update #4684
2022-07-28 09:04:46 +10:00
Chris Johns
6b2c5b5da1
testsuite: Fix gcc 12 warnings
2022-06-21 10:21:13 +10:00
Chris Johns
e70384d3f4
aarch64/gicv3: Remove accesses to secure registers
...
RTEMS runs at EL1 and the removed register accesses are for
EL3 or the TF-A. This change aligns our driver with the Linux
and FreeBSD ones.
2022-06-16 10:21:46 +10:00
Chris Johns
4f6c90f40d
bsps/versal: Support a 64bit RAM base
...
Set the constraint to be 64bits to allow the complete address range.
2022-06-16 10:21:46 +10:00
Chris Johns
bfc99a6e70
bsp/aarch64: Flush the cache before invalidating it
...
- Any page tables need to be flushed if the cache is enabled.
Disabling the cache may only be available in secure mode.
2022-06-16 10:21:46 +10:00
Chris Johns
cb52e37464
bsps/arm: MP core timer setting off by one
2022-06-15 13:15:15 +10:00
Chris Johns
acc32a8e5c
cpukit: Fixes for GCC 12 warnings
...
Updates #6442
2022-06-15 13:01:03 +10:00
Chris Johns
0cf0914efe
cpukit: Change _COMPILING_NEWLIB to _LIBC for helper functions decls
...
Updates #4662
2022-06-15 13:00:48 +10:00
Chris Johns
5262b9c2ab
score/cpu: Silence ARM and AARCH64 GCC 12 false trigger array warning
...
The false trigger is covered in:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99578
GCC 11 and 12 has been patched for constant pointer casts above
4K. This code casts a constant pointer within the first 4K
page. As a result the patch disables the warning.
Updates #4662
2022-06-15 12:57:28 +10:00
Chris Johns
66dc06efce
bsp/aarch64: Fix array warning
...
Updates #4664
2022-06-11 12:08:49 +10:00
Chris Johns
80aea6aee1
testsuite/libtests: Add exit03 to test exit() with C++
...
Updates #4661
2022-06-09 11:41:21 +10:00
Chris Johns
500e69639e
libmisc/untar: Use a larger block size to read and write files
...
- A larger block size lets files systems work better. On JFFS
a 512 byte compressed block means lots of small flash updates
Closes #4635
2022-04-06 08:02:30 +10:00
Chris Johns
1e0a163388
bsp/arm/zynq: Cadence I2C has moved, update to the new path
2022-02-17 16:55:03 +11:00
Chris Johns
3f0ad2b3b7
spec/libdebugger: Only enable for supported architectures
...
Closes #4533
2021-10-22 10:34:24 +11:00
Chris Johns
9e30a716a3
powerpc/motorola_powerpc: Map LibBSD bus space to the PCI base address
2021-09-19 10:08:25 +10:00
Chris Johns
691d0edd34
arm/xilinx: Fix zynq-uart interrupt receive
...
- Trigger on a single character entering the RX FIFO
- Disable the RX timeout
- Send up to a FIFO full of data
2021-09-16 11:11:13 +10:00