Daniel Hellstrom
b57436c8fc
leon3: avoid dependency on apbuart/timer driver
...
Moves drvmgr_drivers[] from amba.c to a separate file in order
to avoid the dependecy on APBUART/GPTIMER drivers. This has
an effect when user configured not to use timer or uart
in their project.
2021-03-11 17:35:27 +01:00
Daniel Hellstrom
053b17ce8e
leon,greth: added support for variable sized descriptor table sizes
...
The descriptor table size is equal to its alignment and set when
configuring the HW IP through VHDL generics. This SW patch simply
probes the HW how large the RX/TX descriptor tables are and adjusts
accordingly.
The number of descriptors actual used are controlled by other
settings (rxDescs and txDescs) controlled by the user.
2021-03-11 17:34:57 +01:00
Daniel Hellstrom
9bf8a9d147
leon,grcan: split out GRCAN non-FD specific support in separate file
...
Close #4324 .
2021-03-11 17:31:21 +01:00
Daniel Hellstrom
9c76ca0c0c
leon,grcanfd: split out GRCANFD specific support in separate file
...
Update #4324 .
2021-03-11 17:31:21 +01:00
Daniel Hellstrom
43c903a1dc
leon,grcan: added support for GRCANFD
...
The new GRCAN_FD IP supports CAN FD standard and is mostly backwards
compatible with GRCAN SW interface. The GRCAN driver have been extended
to support the GRCANFD IP using the same driver.
Additional functions have been added that uses a new CAN FD frame
format and read/write/baud-rate functions that supports both GRCANFD
and GRCAN. To keep the SW API fully backwards compatible with GRCAN,
the old functions remain.
Update #4324 .
2021-03-11 17:31:21 +01:00
Daniel Hellstrom
b98d6b67f6
grlib: added 64-bit read no-cache function
...
Update #4324 .
2021-03-11 17:31:21 +01:00
Daniel Hellstrom
65237ba01d
leon,occan: use common CAN baud-rate calculation routine
...
Close #4323 .
2021-03-11 17:31:21 +01:00
Daniel Hellstrom
4d19220742
leon,grcan: use common CAN baud-rate calculation routine
...
Update #4323 .
2021-03-11 17:31:21 +01:00
Daniel Hellstrom
cff99cf1fa
leon,can: introduce common CAN baud-rate calculation function
...
Reimplemented the baud-rate algorithm from scratch to cope with
GRCAN, GRCANFD and OC_CAN devices.
Update #4323 .
2021-03-11 17:31:21 +01:00
Daniel Hellstrom
68c882ef45
grlib,ambapp: added new IP core IDs
2021-03-11 17:31:21 +01:00
Daniel Hellstrom
e227ae53ab
leon,grspw: fix for SET_PACKET_SIZE
...
When the DMA table has been allocated dynamically, the IOCTL_SET_PACKETSIZE
will trigger an issue where pDev->rx and pDev->tx are not updated with
the new DMA tables base address. Instead the old pointers are used.
There is no point in reallocting the DMA tables because there is no
configuration option to it. Therefore the DMA tables allocation is
moved to a separate function never called from SET_PACKETSIZE.
2021-03-11 17:31:21 +01:00
Arvid Bjorkengren
50db7f2d6b
leon,gr1553b: Only align allocated memory. Verify alignment of memory.
2021-03-11 17:31:21 +01:00
Arvid Bjorkengren
70f87f9e87
leon,gr1553b: set codec version
...
This is enables the updated codec for GR740 and is backwards compatible
with all other versions of the IP.
2021-03-11 17:31:21 +01:00
Arvid Bjorkengren
3344d0299f
leon,gr1553rt: Fixed spinlock unlock
2021-03-11 17:31:21 +01:00
Arvid Bjorkengren
f798a75cd5
leon,gr1553rt: Fixed memory leak
2021-03-11 17:31:21 +01:00
Daniel Cederman
0cae482a45
sparc: Remove sequences that the B2BST scan script warns about
...
Update #4336 .
2021-03-11 17:31:21 +01:00
Sebastian Huber
bfd1b6eef3
validation: Use common wording
2021-03-11 07:58:19 +01:00
Jan Sommer
92239318b1
bsps/xilinx_zynq: Add SPI driver to autotools build
...
Closes #4320
2021-03-10 20:12:08 +01:00
Jan Sommer
06129897a9
bsps/xilinx_zynq: Add SPI driver to waf
...
Updates #4320
2021-03-10 20:12:08 +01:00
Jan Sommer
cc825d0322
bsps/xilinx_zynq: Add SPI driver for cadence-spi
...
Updates #4320
2021-03-10 20:12:08 +01:00
Frank Kühndel
14bb077059
basedefs: Clarify RTEMS_STRING(), RTEMS_XSTRING()
2021-03-09 13:03:15 +01:00
Sebastian Huber
ba48f20e2a
build: Fix broken link
2021-03-09 13:03:15 +01:00
Alex White
10db41e6f1
spec/aarch64: Enable previously disabled tests
...
This enables several testsuites that were initially disabled during
development.
2021-03-08 15:18:51 -06:00
Ryan Long
fbab8325a9
main_help.c: Unchecked return value from library (CID #1437650 )
...
CID 1437650: Unchecked return value from library in rtems_shell_help().
Closes #4291
2021-03-08 14:04:10 -06:00
Ryan Long
55ba229d22
pwdgrp.c: Fix Unchecked return value from library (CID #1255518 )
...
CID 1255518: Unchecked return value from library in pwdgrp_init().
Closes #4282
2021-03-08 14:04:10 -06:00
Ryan Long
8e34aa3b7b
main_chmod.c: Fix Unchecked return value from library (CID #1063856 )
...
CID 1063856: Unchecked return value from library in
rtems_shell_main_chmod().
Closes #4281
2021-03-08 14:04:10 -06:00
Ryan Long
597e4f4765
gen_uuid.c: Fix two Unchecked return value from library errors
...
CID 1049146: Unchecked return value from library in get_clock().
CID 1049147: Unchecked return value from library in get_random_fd().
Closes #4280
2021-03-08 14:04:10 -06:00
Ryan Long
3246fa42e2
main_edit.c: Fix Unchecked return value (CID #1255318 )
...
CID 1255318: Unchecked return value in display_line().
Updates #4257
2021-03-08 14:04:10 -06:00
Sebastian Huber
e76470dfa7
validation: Use common wording
2021-03-08 11:04:55 +01:00
Sebastian Huber
1ce127e9df
validation: Use common wording
2021-03-05 21:19:54 +01:00
Ryan Long
f762b7c272
grcan.c: Fix Unused value (CID #1437613 )
...
CID 1437613: Unused value in grcan_set_filter().
This fix was recommended by Daniel Hellstrom (daniel@gaisler.com ).
Closes #4301
2021-03-05 14:00:07 -06:00
Ryan Long
c57079a814
b1553brm.c: Fix Unsigned compared against 0 (CID #1399773 )
...
CID 1399773: Unsigned compared against 0 in brm_write().
Closes #4295
2021-03-05 14:00:07 -06:00
Ryan Long
1f29ee4528
satcan.c: Fix Unsigned compared against 0 (CID #1399768 )
...
CID 1399768: Unsigned compared against 0 in satcan_ioctl().
Closes #4294
2021-03-05 14:00:07 -06:00
Ryan Long
f804778881
gr_cpci_gr740.c: Unchecked return value from library (CID #1437630 )
...
CID 1437630: Unchecked return value from library in gr_cpci_gr740_init1().
Closes #4290
2021-03-05 14:00:07 -06:00
Ryan Long
5f0a7ceb81
gr_tmtc_1553.c: Unchecked return value from library (CID #1399785 )
...
CID 1399785: Unchecked return value from library in gr_tmtc_1553_init1().
Closes #4289
2021-03-05 14:00:07 -06:00
Ryan Long
4c0d9c5a57
gr_701.c: Unchecked return value from library (CID #1399783 )
...
CID 1399783: Unchecked return value from library in gr701_init1().
Closes #4288
2021-03-05 14:00:06 -06:00
Ryan Long
91e38f8a8f
gr_rasta_adcdac.c: Fix Unchecked return value from library (CID #1399780 )
...
CID 1399780: Unchecked return value from library in gr_rasta_adcdac_init1().
Closes #4287
2021-03-05 14:00:06 -06:00
Ryan Long
17d525b584
gr_rasta_tmtc.c: Fix Unchecked return value from library (CID #1399771 )
...
CID 1399771: Unchecked return value from library in gr_rasta_tmtc_init1().
Closes #4286
2021-03-05 14:00:06 -06:00
Ryan Long
570b558955
gr_leon4_n2x.c: Fix Unchecked return value from library (CID #1399767 )
...
CID 1399767: Unchecked return value error from library in gr_cpci_leon4_n2x_init1().
Closes #4285
2021-03-05 14:00:06 -06:00
Ryan Long
0d33d10613
pci_cfg_read.c: Fix Missing break in switch (CID #1399723 )
...
CID 1399723: Missing break in switch in pci_read_addressable().
Closes #4279
2021-03-05 14:00:06 -06:00
Ryan Long
b84ce61aa3
gr_rasta_io.c: Fix Unchecked return value from library (CID #1399763 )
...
CID 1399763: Unchecked return value from library in gr_rasta_io_init1().
Closes #4284
2021-03-05 14:00:06 -06:00
Ryan Long
0443601356
gr_rasta_spw_router.c: Fix Unchecked return value from library (CID #1399760 )
...
CID 1399760: Unchecked return value from library in gr_rasta_spw_router_init1().
Closes #4283
2021-03-05 14:00:05 -06:00
Ryan Long
c7eb89f82b
cpuusagetop.c: Fix three Missing break in switch Coverity errors
...
CID 1399726: Missing break in switch in task_usage().
CID 1399728: Missing break in switch in task_usage().
CID 1399742: Missing break in switch in task_usage().
Closes #4278
2021-03-05 14:00:05 -06:00
Ryan Long
13d6fae8dd
grtc.c: Fix four Missing break in switch Coverity errors
...
CID 1399761: Missing break in switch in process_dma().
CID 1399765: Missing break in switch in process_dma().
CID 1399766: Missing break in switch in process_dma().
CID 1399777: Missing break in switch in process_dma().
Closes #4277
2021-03-05 14:00:05 -06:00
Ryan Long
1eaf4e461f
grspw.c: Fix Unchecked return value (CID #1399781 )
...
CID 1399781: Unchecked return value in grspw_device_init().
Closes #4259
2021-03-05 14:00:05 -06:00
Jan Sommer
6ebf376bf2
bsps/shared: Allow setting baud rate for zynq uart
2021-03-05 19:06:25 +01:00
Kinsey Moore
f662420667
spec/aarch64: Rename ZynqMP QEMU BSPs
...
The current ZynqMP BSPs don't have _qemu in their name as do all other
RTEMS BSPs that are specifically made to run on QEMU. This fixes the
naming for those ZynqMP BSP variants for easier identification.
2021-03-05 10:40:28 -06:00
Kinsey Moore
a27ba3f20f
bsps/aarch64: Add support for EL2 start
...
Add the stub necessary to boot on AArch64 under EL2 and drop to EL1 for
normal operation.
2021-03-05 08:43:15 -06:00
Kinsey Moore
9951cee08f
bsps/aarch64: RTEMS_DEBUG stack alignment faults
...
Run with stack alignment faults enabled under RTEMS_DEBUG to catch any
stack misalignments early. This makes it easier to track them down
should they ever occur.
2021-03-05 08:43:15 -06:00
Kinsey Moore
9d77c0f425
spec: Move hypervisor start for use by AArch64
...
AArch64 on hardware is often started at EL2 instead of EL1 from either
u-boot or a first stage bootloader. This allows RTEMS to drop from EL2
execution to EL1 to operate as normal.
2021-03-05 08:43:15 -06:00