summaryrefslogtreecommitdiffstats
path: root/spec/build/bsps/aarch64 (unfollow)
Commit message (Collapse)AuthorFilesLines
2024-04-04dev/serial: Add Zynq UART kernel I/O supportSebastian Huber1-2/+0
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-03-20bsps: Add xilinx_zynqmp_lp64_a53 BSP variantSebastian Huber3-0/+23
Add a BSP variant without a board-specific name.
2023-07-10spec: Add QEMU test annotationsKinsey Moore4-91/+12
QEMU is known to fail certain tests intermittently due to clock tick delivery issues. This defines those tests as intermittent for BSPs intended to run on QEMU alone. Updates #4922 Updates #4072
2023-05-20Update company nameSebastian Huber3-3/+3
The embedded brains GmbH & Co. KG is the legal successor of embedded brains GmbH.
2023-03-15bsps/zynqmp: Add JFFS2 NAND adapterKinsey Moore2-0/+22
This adds the glue code necessary to allow JFFS2 to operate on top of NAND memory hosted by the XNandPsu peripheral/driver.
2023-02-06spec/bsps: Deduplicate objxilinxsupportKinsey Moore1-0/+2
The objxilinxsupport build object was accidentally included twice in some of the ZynqMP BSPs by two different drivers that required it. This commit manually deduplicates the inclusions by moving that inclusion to the BSP. Duplication of object inclusions is considered a bug and can cause race conditions in the build system.
2023-01-27bsps/xilinx-zynqmp: Add JFFS2 GQSPI NOR driverAlex White2-0/+24
2023-01-17build: Remove bogus attributeSebastian Huber1-1/+0
2023-01-17build: Use enabled by for defaultsSebastian Huber39-134/+123
Merge the "default" and "default-by-variant" attributes. Use an "enabled-by" expression to select the default value based on the enabled set. This makes it possible to select default values depending on other options. For example you could choose memory settings based on whether RTEMS_SMP is enabled or disabled. The change was tested by comparing the output of ./waf bspdefaults before and after the change.
2023-01-17build: Replace variant patterns with a listSebastian Huber5-12/+15
Replace the variant patterns in the default-by-variant list with an explicit list of matching BSPs. The change was tested by comparing the output of ./waf bspdefaults before and after the change.
2023-01-17build: Format build itemsSebastian Huber15-48/+43
Use yaml.dump(data, default_flow_style=False, allow_unicode=True) with a custom representer for integer default values to format all build items.
2023-01-17build: Add reason to test state definitionsSebastian Huber7-87/+122
2022-12-23bsps: Import Xilinx NAND driverKinsey Moore1-0/+2
This adds Xilinx's driver for the Xilinx NAND controller embedded in the ZynqMP SoC. Within that device alone, it is possible to access this peripheral from MicroBlaze, ARMv7, and ARMv8 cores. This has been added to the hardware ZynqMP BSPs since QEMU does not support emulation of this peripheral. This driver supports polled operation only. The imported files are and should be able to remain unmodified. Import information is kept in bsps/shared/dev/nand/VERSION.
2022-12-01aarch64/raspberrypi: Remove duplicate filesSebastian Huber1-3/+0
These files are already provided by "../../objirq".
2022-11-22aarch64/versal: Add UART interrupt supportChris Johns3-0/+18
2022-11-09zynqmp: Add support for the CFC-400XKinsey Moore10-0/+60
This adds a BSP variant for the ZynqMP BSP family to support the Innoflight CFC-400X platform. To properly support the CFC-400X, device trees were added to the ZynqMP platform due to both the optional management interface as well as alternate physical configuration of the ethernet interfaces.
2022-10-04bsp/aarch64: Add new Raspberry Pi 4B BSPMohd Noor Aman3-0/+175
This patch adds new Raspberry pi 4B AArch64 BSP to the RTEMS Family. Currently only LP64 ABI is supported. ILP32 is not supported. RAM starts from 0x80000 in 64Bit kernel mode and MMU from 0x0. All Raspberrypi Pi 4B models and Raspberry Pi 400 are supported. All the IRQs are similiar to the older Raspberry pi 2 ARM BSP. Raspberry Pi 4B has 2 types of UARTs. Only PL011 serial is supported currently. Mini-UART is not supported. Mini-UART is default UART on the board so it needs to be disabled by adding "dtoverlay=disable-bt" to the config.txt. No support for additional 4 PL011-UARTs on the board. The raspberrypi.h includes many of the address required for the future development of the RPi 4B BSP. This includes peripherals, ARM Timer, VideoCore Timer, Watchdog, Mailbox, AUX, FIQs and IRQs.
2022-08-25bsps/xilinx/versal: Add Cadence I2C driver supportChris Johns6-0/+63
2022-08-23bsps/xilinx/versal: Remove IPL32 BSPs, add aiedge and change defaultsChris Johns10-110/+42
- 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-22spec/bsps: Do not install tm27.hChris Johns4-4/+0
Updates #4705
2022-07-28aarch64/versal: Support DDRMC0 region 0 and 1Chris Johns1-5/+43
- 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-12irq/arm-gicv3.h: Customize CPU Interface initSebastian Huber7-4/+6
Use the existing WRITE_SR() abstraction to access the interrupt group 0 and 1 enable registers. This fixes the build for the AArch32 target. Add BSP options which define the initial values of CPU Interface registers.
2022-07-06bsps/aarch64: Use MMU pages appropriatelyKinsey Moore4-12/+12
There were two bugs with MMU page use that were partially hiding each other. The linker script page table section was 4x the size it needed to be and the page table allocation routine was allocating pages PTRSIZE times larger than it needed to. On ILP32, this resulted in incorrect but functional allocation. On LP64, this resulted in allocation failures earlier than expected.
2022-07-04build: Add cppflags, cflags, cxxflags to groupsSebastian Huber8-1/+25
Propagate the group defined cppflags, cflags, and cxxflags from parent groups to child items through the build item context. Update #4670.
2022-06-16bsps/versal: Support a 64bit RAM baseChris Johns1-1/+1
Set the constraint to be 64bits to allow the complete address range.
2022-04-06bsps: Add <dev/irq/arm-gicv3.h>Sebastian Huber1-0/+1
Separate the Interrupt Manager implementation from the generic Arm GICv3 support. Move parts of the Arm GICv3 support into a new header file. This helps to support systems with a clustered structure in which multiple GICv3 instances are present. For example, two clusters of two Cortex-R52 cores where each cluster has a dedicated GICv3 instance.
2022-01-12aarch64: always boot into EL1NSGedare Bloom5-28/+0
Always start the executive in Exception Level 1, Non-Secure mode. If we boot in EL3 Secure with GICv3 then we have to initialize the distributor and redistributor to set up G1NS interrupts early in the boot sequence before stepping down from EL3S to EL1NS. Now there is no need to distinguish between secure and non-secure world execution after the primary core boots, so get rid of the AARCH64_IS_NONSECURE configuration option.
2022-01-11build: Fix build item formatSebastian Huber2-8/+6
2021-12-09spec: Update location of cadence I2CKinsey Moore1-1/+3
When the cadence I2C code was moved to a shared directory, the references were updated but the install locations weren't. This updates the install locations to match what out-of-tree applications expect.
2021-11-30build: Use common objects item for get memorySebastian Huber8-4/+8
2021-11-29build: Remove trailing white spaceSebastian Huber2-2/+2
2021-11-01aarch64: Break out MMU definitionsKinsey Moore4-0/+4
This moves the AArch64 MMU memory type definitions into cpukit for use by libdebugger since remapping of memory is required to insert software breakpoints.
2021-10-20spec/aarch64: Enable previously unbuildable testsKinsey Moore6-23/+0
The spconfig01 and spmisc01 tests were disabled for all AArch64 BSPs due to a toolchain issue preventing them from compiling correctly. The binutils version that contains the fix has been released and integrated into RSB such that these two tests now build and operate correctly.
2021-09-21cpukit: Add AArch64 SMP SupportKinsey Moore3-0/+20
This adds SMP support for AArch64 in cpukit and for the ZynqMP BSPs.
2021-09-21bsps/gicv2: Allow BSPs to define IRQ attributesKinsey Moore1-0/+1
ARM's GICv2 is configurable and its attributes vary between implementations including omission of specific interrupts. This allows BSPs to accomodate those varying implementations with customized attribute sets.
2021-09-09bsps/zynqmp: Added I2C support for ZynqMPStephen Clark5-0/+87
Added I2C drivers for ZynqMP and updated build system accordingly.
2021-08-18build: Merge default-by-family into by-variantSebastian Huber33-33/+0
Prefix the BSP family name with "bsps/" to make it distinct to the BSP variant names. Update #4468.
2021-07-15build: Use BSP family for optionsChris Johns33-0/+33
- Optionally add support for 'default-by-family' to allow option to be set by a family and so all related BSPs Close #4468
2021-07-01Revert "bsps/zynqmp: Allow any or all CGEMs to be enabled"Kinsey Moore5-72/+0
This reverts commit 10041a4cfc00d5f6876d3d6cfc30c23347b4cf42. This type of configuration does not belong in RTEMS and is better constrained to libbsd where the defines are actually being used.
2021-06-29spec/aarch64: fix abi flags for xilinx_versal_ilp32_vck190Gedare Bloom1-0/+1
2021-06-28bsps/zynqmp: Allow any or all CGEMs to be enabledKinsey Moore5-0/+72
Provide the options necessary to enable any combination of CGEM ethernet interfaces in LibBSD. The default is still CGEM3, so this should continue to operate as expected on typical Zynq Ultrascale+ MPSoC development hardware.
2021-06-24bsps/aarch64: replace boot options with asm switch codeGedare Bloom3-6/+0
2021-06-24bsps/aarch64: add non-secure mode and versal supportGedare Bloom8-6/+52
2021-06-24bsps/aarch64: add physical secure timerGedare Bloom2-0/+33
2021-06-24aarch64/xilinx-versal: new BSPs for qemu and vck190Gedare Bloom18-0/+516
2021-06-09aarch64: add qemu bsps for cortex-a72Gedare Bloom12-0/+394
The a72 BSPs are identical to the a53 BSPs just changing a53 to a72.
2021-05-27spec/aarch64: Add BSPs for real ZynqMP hardwareKinsey Moore7-2/+85
Add the BSPs for running on the ZU3EG Ultrascale+ Zynq MPSoC and alter the option defaults necessary for them to run properly using the standard BOOT.BIN configured for PetaLinux that comes in the Out-of-Box package.
2021-05-27bsps/aarch64: Add MMU driver to relax alignmentKinsey Moore5-4/+35
Currently, the AArch64 BSPs have a hard time running on real hardware without building the toolchain and the bsps with -mstrict-align in multiple places. Configuring the MMU on these chips allows for unaligned memory accesses for non-device memory which avoids requiring strict alignment in the toolchain and in the BSPs themselves. In writing this driver, it was found that the synchronous exception handling code needed to be rewritten since it relied on clearing SCTLR_EL1 to avoid thread stack misalignments in RTEMS_DEBUG mode. This is now avoided by exactly preserving thread mode stack and flags and the new implementation is compatible with the draft information provided on the mailing list covering the Exception Management API.
2021-05-27bsps/a53: Increase available RAMKinsey Moore1-1/+1
The default available RAM on the A53 BSP is quite small at 8MB. This bumps that to 128MB to avoid allocation failures in tmcontext01 caused by large allocations on a cache size of 16MB reported by the system registers in QEMU.
2021-03-30bsps/shared: Add Xilinx-AXI SPI driver to wafJan Sommer1-0/+2
Updates #4321