Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Zynqmp 2018 3 #123

Merged
merged 2 commits into from
Jan 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions components/VM_Arm/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ config_option(
VM_VIRTIO_NET_ARPING
"Enable virtio net arping module"
DEPENDS
"KernelPlatformExynos5410 OR KernelPlatformExynos5422 OR KernelPlatformTx2 OR KernelPlatformQEMUArmVirt;VmPCISupport"
"KernelPlatformExynos5410 OR KernelPlatformExynos5422 OR KernelPlatformTx2 OR KernelPlatformQEMUArmVirt OR KernelPlatformZynqmp;VmPCISupport"
DEFAULT
OFF
)
Expand Down Expand Up @@ -140,7 +140,9 @@ config_option(
config_choice(
VmZynqmpPetalinuxVersion
ZYNQMP_PETALINUX_VERSION
"The version of Petalinux to use"
"The version of Petalinux to use. Default is 2018.3, which will use images \
compatible with the seL4 kernel device tree"
"2018_3;VmZynqmpPetalinux2018_3;ZYNQMP_PETALINUX_2018_3;KernelPlatformZynqmp"
"2021_1;VmZynqmpPetalinux2021_1;ZYNQMP_PETALINUX_2021_1;KernelPlatformZynqmp"
)

Expand Down
4 changes: 4 additions & 0 deletions components/VM_Arm/plat_include/zynqmp/plat/vmlinux.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,11 @@

#pragma once

#ifdef CONFIG_ZYNQMP_PETALINUX_2018_3
#define GIC_NODE_PATH "/amba_apu@0/interrupt-controller@f9010000"
#else
#define GIC_NODE_PATH "/axi/interrupt-controller@f9010000"
#endif

static const int linux_pt_irqs[] = {};

Expand Down
Loading