diff options
author | Mark Hatle <mark.hatle@amd.com> | 2022-09-13 11:29:02 -0700 |
---|---|---|
committer | Mark Hatle <mark.hatle@amd.com> | 2022-09-13 11:29:02 -0700 |
commit | 454ce5a32cf6052d630b1dc542a5289fcad11500 (patch) | |
tree | 9bfeada2851422f2324ed553ed8fbcfefc7ea382 /meta-xilinx-core/conf | |
parent | 22bdaf77674cf219e8ce899dac9263b63ea9f432 (diff) | |
parent | 93c211cefd1d7bf700d2642a9df53a085c2a9bf1 (diff) | |
download | meta-xilinx-454ce5a32cf6052d630b1dc542a5289fcad11500.tar.gz |
Merge branch 'kirkstone-next'
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
Diffstat (limited to 'meta-xilinx-core/conf')
9 files changed, 59 insertions, 6 deletions
diff --git a/meta-xilinx-core/conf/layer.conf b/meta-xilinx-core/conf/layer.conf index 5c27aa73..33dd732c 100644 --- a/meta-xilinx-core/conf/layer.conf +++ b/meta-xilinx-core/conf/layer.conf | |||
@@ -18,6 +18,8 @@ meta-python:${LAYERDIR}/dynamic-layers/meta-python/recipes-*/*/*.bb \ | |||
18 | meta-python:${LAYERDIR}/dynamic-layers/meta-python/recipes-*/*/*.bbappend \ | 18 | meta-python:${LAYERDIR}/dynamic-layers/meta-python/recipes-*/*/*.bbappend \ |
19 | virtualization-layer:${LAYERDIR}/dynamic-layers/virtualization-layer/recipes-*/*/*.bb \ | 19 | virtualization-layer:${LAYERDIR}/dynamic-layers/virtualization-layer/recipes-*/*/*.bb \ |
20 | virtualization-layer:${LAYERDIR}/dynamic-layers/virtualization-layer/recipes-*/*/*.bbappend \ | 20 | virtualization-layer:${LAYERDIR}/dynamic-layers/virtualization-layer/recipes-*/*/*.bbappend \ |
21 | xilinx-tools:${LAYERDIR}/dynamic-layers/meta-xilinx-tools/recipes-*/*/*.bb \ | ||
22 | xilinx-tools:${LAYERDIR}/dynamic-layers/meta-xilinx-tools/recipes-*/*/*.bbappend \ | ||
21 | " | 23 | " |
22 | 24 | ||
23 | LAYERDEPENDS_xilinx = "core" | 25 | LAYERDEPENDS_xilinx = "core" |
@@ -42,4 +44,15 @@ SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS += " \ | |||
42 | *->xserver-xorg \ | 44 | *->xserver-xorg \ |
43 | " | 45 | " |
44 | 46 | ||
45 | XILINX_RELEASE_VERSION = "v2022.1" | 47 | XILINX_RELEASE_VERSION ??= "v2022.2" |
48 | |||
49 | BUILDCFG_VARS:append = " XILINX_RELEASE_VERSION" | ||
50 | |||
51 | PREFERRED_VERSION_qemu-xilinx ?= "v6.1.0-xilinx-${XILINX_RELEASE_VERSION}%" | ||
52 | PREFERRED_VERSION_qemu-xilinx-native ?= "v6.1.0-xilinx-${XILINX_RELEASE_VERSION}%" | ||
53 | PREFERRED_VERSION_qemu-xilinx-system-native ?= "v6.1.0-xilinx-${XILINX_RELEASE_VERSION}%" | ||
54 | PREFERRED_VERSION_qemu-devicetrees ?= "xilinx-${XILINX_RELEASE_VERSION}%" | ||
55 | PREFERRED_VERSION_arm-trusted-firmware ?= "2.6-xilinx-${XILINX_RELEASE_VERSION}%" | ||
56 | PREFERRED_VERSION_u-boot-xlnx ?= "v2021.01-xilinx-${XILINX_RELEASE_VERSION}%" | ||
57 | PREFERRED_VERSION_pmu-rom-native ?= "${@d.getVar("XILINX_RELEASE_VERSION").replace('v','')}" | ||
58 | PREFERRED_VERSION_linux-xlnx ?= "${@'5.15.19' if d.getVar("XILINX_RELEASE_VERSION") == 'v2022.1' else '5.15.36'}%" | ||
diff --git a/meta-xilinx-core/conf/local.conf.sample b/meta-xilinx-core/conf/local.conf.sample index a7173fb8..10134d53 100644 --- a/meta-xilinx-core/conf/local.conf.sample +++ b/meta-xilinx-core/conf/local.conf.sample | |||
@@ -206,11 +206,11 @@ BB_DISKMON_DIRS ??= "\ | |||
206 | #file://.* http://someserver.tld/share/sstate/PATH;downloadfilename=PATH \n \ | 206 | #file://.* http://someserver.tld/share/sstate/PATH;downloadfilename=PATH \n \ |
207 | #file://.* file:///some/local/dir/sstate/PATH" | 207 | #file://.* file:///some/local/dir/sstate/PATH" |
208 | 208 | ||
209 | XILINX_VER_MAIN = "2022.1" | 209 | XILINX_RELEASE_VERSION = "v2022.2" |
210 | 210 | ||
211 | # Uncomment below lines to provide path for custom xsct trim | 211 | # Uncomment below lines to provide path for custom xsct trim |
212 | # | 212 | # |
213 | #EXTERNAL_XSCT_TARBALL = "/proj/yocto/xsct-trim/2022.1_xsct_daily_latest" | 213 | #EXTERNAL_XSCT_TARBALL = "/proj/yocto/xsct-trim/2022.2_xsct_daily_latest" |
214 | #VALIDATE_XSCT_CHECKSUM = '0' | 214 | #VALIDATE_XSCT_CHECKSUM = '0' |
215 | 215 | ||
216 | # | 216 | # |
diff --git a/meta-xilinx-core/conf/machine/include/machine-xilinx-default.inc b/meta-xilinx-core/conf/machine/include/machine-xilinx-default.inc index a0c5afeb..7d3d45f3 100644 --- a/meta-xilinx-core/conf/machine/include/machine-xilinx-default.inc +++ b/meta-xilinx-core/conf/machine/include/machine-xilinx-default.inc | |||
@@ -37,6 +37,13 @@ XSERVER ?= " \ | |||
37 | ${XSERVER_EXT} \ | 37 | ${XSERVER_EXT} \ |
38 | " | 38 | " |
39 | 39 | ||
40 | # Automatically add WKS_FILE_DEPENDS based on the configuration | ||
41 | WKS_FILE_DEPENDS:append = "${@bb.utils.contains('IMAGE_BOOT_FILES', 'boot.bin', ' xilinx-bootbin', '', d)}" | ||
42 | WKS_FILE_DEPENDS:append = "${@bb.utils.contains('IMAGE_BOOT_FILES', 'system.dtb', ' virtual/dtb', '', d)}" | ||
43 | WKS_FILE_DEPENDS:append = "${@bb.utils.contains('IMAGE_BOOT_FILES', 'boot.scr', ' u-boot-zynq-scr', '', d)}" | ||
44 | WKS_FILE_DEPENDS:append = "${@bb.utils.contains('IMAGE_BOOT_FILES', 'uEnv.txt', ' u-boot-zynq-uenv', '', d)}" | ||
45 | WKS_FILE_DEPENDS:append = "${@bb.utils.contains('IMAGE_BOOT_FILES', 'atf-uboot.ub', ' arm-trusted-firmware', '', d)}" | ||
46 | |||
40 | IMAGE_BOOT_FILES ?= "${@get_default_image_boot_files(d)}" | 47 | IMAGE_BOOT_FILES ?= "${@get_default_image_boot_files(d)}" |
41 | 48 | ||
42 | def get_default_image_boot_files(d): | 49 | def get_default_image_boot_files(d): |
diff --git a/meta-xilinx-core/conf/machine/include/soc-versal.inc b/meta-xilinx-core/conf/machine/include/soc-versal.inc index 40145963..dcf3796e 100644 --- a/meta-xilinx-core/conf/machine/include/soc-versal.inc +++ b/meta-xilinx-core/conf/machine/include/soc-versal.inc | |||
@@ -7,6 +7,7 @@ SOC_FAMILY ?= "versal" | |||
7 | # "hbm" - Versal HMB Devices | 7 | # "hbm" - Versal HMB Devices |
8 | # "ai-core" - Versal AI-core Devices | 8 | # "ai-core" - Versal AI-core Devices |
9 | # "ai-edge" - Versal AI-Edge Devices | 9 | # "ai-edge" - Versal AI-Edge Devices |
10 | # "net" - Versal Net Devices | ||
10 | 11 | ||
11 | SOC_VARIANT ?= "prime" | 12 | SOC_VARIANT ?= "prime" |
12 | 13 | ||
diff --git a/meta-xilinx-core/conf/machine/microblaze-generic.conf b/meta-xilinx-core/conf/machine/microblaze-generic.conf index c0e41948..92412681 100644 --- a/meta-xilinx-core/conf/machine/microblaze-generic.conf +++ b/meta-xilinx-core/conf/machine/microblaze-generic.conf | |||
@@ -32,7 +32,7 @@ MACHINE_FEATURES = "" | |||
32 | KERNEL_IMAGETYPE ?= "linux.bin.ub" | 32 | KERNEL_IMAGETYPE ?= "linux.bin.ub" |
33 | KERNEL_IMAGETYPES = "" | 33 | KERNEL_IMAGETYPES = "" |
34 | 34 | ||
35 | SERIAL_CONSOLES ?= "115200;ttyS0" | 35 | SERIAL_CONSOLES ?= "115200;ttyUL0" |
36 | 36 | ||
37 | MACHINE_ESSENTIAL_EXTRA_RDEPENDS += "device-tree" | 37 | MACHINE_ESSENTIAL_EXTRA_RDEPENDS += "device-tree" |
38 | 38 | ||
@@ -44,6 +44,7 @@ EXTRA_IMAGEDEPENDS += "libyaml-native python3-cython-native python3-pyyaml-nativ | |||
44 | 44 | ||
45 | UBOOT_MACHINE ?= "microblaze-generic_defconfig" | 45 | UBOOT_MACHINE ?= "microblaze-generic_defconfig" |
46 | UBOOT_INITIAL_ENV = "" | 46 | UBOOT_INITIAL_ENV = "" |
47 | BOOTMODE ?= "generic.root" | ||
47 | 48 | ||
48 | HDF_MACHINE = "kc705-microblazeel" | 49 | HDF_MACHINE = "kc705-microblazeel" |
49 | IMAGE_FSTYPES += "cpio.gz" | 50 | IMAGE_FSTYPES += "cpio.gz" |
diff --git a/meta-xilinx-core/conf/machine/versal-generic.conf b/meta-xilinx-core/conf/machine/versal-generic.conf index b737f1d1..9b9ebf31 100644 --- a/meta-xilinx-core/conf/machine/versal-generic.conf +++ b/meta-xilinx-core/conf/machine/versal-generic.conf | |||
@@ -20,6 +20,7 @@ MACHINE_FEATURES += "rtc ext2 ext3 vfat usbhost" | |||
20 | EXTRA_IMAGEDEPENDS += "libyaml-native python3-cython-native python3-pyyaml-native" | 20 | EXTRA_IMAGEDEPENDS += "libyaml-native python3-cython-native python3-pyyaml-native" |
21 | 21 | ||
22 | UBOOT_MACHINE ?= "xilinx_versal_virt_defconfig" | 22 | UBOOT_MACHINE ?= "xilinx_versal_virt_defconfig" |
23 | BOOTMODE ?= "generic.root" | ||
23 | 24 | ||
24 | SERIAL_CONSOLES ?= "115200;ttyAMA0" | 25 | SERIAL_CONSOLES ?= "115200;ttyAMA0" |
25 | 26 | ||
diff --git a/meta-xilinx-core/conf/machine/versal-net-generic.conf b/meta-xilinx-core/conf/machine/versal-net-generic.conf new file mode 100644 index 00000000..1941235a --- /dev/null +++ b/meta-xilinx-core/conf/machine/versal-net-generic.conf | |||
@@ -0,0 +1,30 @@ | |||
1 | #@TYPE: Machine | ||
2 | #@NAME: Versal Net Generic | ||
3 | ##@DESCRIPTION: Versal Net | ||
4 | |||
5 | #### Preamble | ||
6 | MACHINEOVERRIDES =. "${@['', 'versal-net-generic:']['versal-net-generic' != '${MACHINE}']}" | ||
7 | #### Regular settings follow | ||
8 | |||
9 | SOC_VARIANT = "net" | ||
10 | |||
11 | # Must be set first, or versal-generic will set it | ||
12 | UBOOT_MACHINE ?= "xilinx_versal_net_virt_defconfig" | ||
13 | |||
14 | require conf/machine/versal-generic.conf | ||
15 | |||
16 | #### REMOVE THE FOLLOWING WHEN BOOTGEN IS SYNCED | ||
17 | # required for bootgen native/nativesdk | ||
18 | MACHINEOVERRIDES:class-native = "versal-net" | ||
19 | MACHINEOVERRIDES:class-nativesdk = "versal-net" | ||
20 | #### REMOVE THE ABOVE | ||
21 | |||
22 | HDF_MACHINE = "versal-net-generic" | ||
23 | |||
24 | QEMU_HW_DTB_PS = "${QEMU_HW_DTB_PATH}/board-versal-net-psx-spp-1.4.dtb" | ||
25 | QEMU_HW_DTB_PMC = "${QEMU_HW_DTB_PATH}/board-versal-pmx-virt.dtb" | ||
26 | |||
27 | #### No additional settings should be after the Postamble | ||
28 | #### Postamble | ||
29 | PACKAGE_EXTRA_ARCHS:append = "${@['', ' versal_net_generic']['versal-net-generic' != "${MACHINE}"]}" | ||
30 | |||
diff --git a/meta-xilinx-core/conf/machine/zynq-generic.conf b/meta-xilinx-core/conf/machine/zynq-generic.conf index 3c30c362..e8ecfb34 100644 --- a/meta-xilinx-core/conf/machine/zynq-generic.conf +++ b/meta-xilinx-core/conf/machine/zynq-generic.conf | |||
@@ -20,6 +20,7 @@ MACHINE_FEATURES += "rtc ext2 ext3 vfat usbhost usbgadget" | |||
20 | EXTRA_IMAGEDEPENDS += "libyaml-native python3-cython-native python3-pyyaml-native" | 20 | EXTRA_IMAGEDEPENDS += "libyaml-native python3-cython-native python3-pyyaml-native" |
21 | 21 | ||
22 | UBOOT_MACHINE ?= "xilinx_zynq_virt_defconfig" | 22 | UBOOT_MACHINE ?= "xilinx_zynq_virt_defconfig" |
23 | BOOTMODE ?= "generic.root" | ||
23 | 24 | ||
24 | SERIAL_CONSOLES ?= "115200;ttyPS0" | 25 | SERIAL_CONSOLES ?= "115200;ttyPS0" |
25 | 26 | ||
@@ -39,8 +40,6 @@ WKS_FILES ?= "sdimage-bootpart.wks" | |||
39 | QB_MEM = "-m 1024" | 40 | QB_MEM = "-m 1024" |
40 | QB_NETWORK_DEVICE = "-net nic,netdev=net0,macaddr=@MAC@" | 41 | QB_NETWORK_DEVICE = "-net nic,netdev=net0,macaddr=@MAC@" |
41 | 42 | ||
42 | QB_KERNEL_CMDLINE = "none" | ||
43 | |||
44 | QB_KERNEL_ROOT = "/dev/mmcblk0p2" | 43 | QB_KERNEL_ROOT = "/dev/mmcblk0p2" |
45 | 44 | ||
46 | # Replicate BootROM like behaviour, having loaded SPL and PMU(ROM+FW) | 45 | # Replicate BootROM like behaviour, having loaded SPL and PMU(ROM+FW) |
diff --git a/meta-xilinx-core/conf/machine/zynqmp-generic.conf b/meta-xilinx-core/conf/machine/zynqmp-generic.conf index 15fe9d11..32de4d50 100644 --- a/meta-xilinx-core/conf/machine/zynqmp-generic.conf +++ b/meta-xilinx-core/conf/machine/zynqmp-generic.conf | |||
@@ -31,6 +31,7 @@ EXTRA_IMAGEDEPENDS += "libyaml-native python3-cython-native python3-pyyaml-nativ | |||
31 | 31 | ||
32 | UBOOT_MACHINE ?= "xilinx_zynqmp_virt_defconfig" | 32 | UBOOT_MACHINE ?= "xilinx_zynqmp_virt_defconfig" |
33 | SPL_BINARY ?= "spl/boot.bin" | 33 | SPL_BINARY ?= "spl/boot.bin" |
34 | BOOTMODE ?= "generic.root" | ||
34 | 35 | ||
35 | # Default SD image build onfiguration, use qemu-sd to pad | 36 | # Default SD image build onfiguration, use qemu-sd to pad |
36 | IMAGE_CLASSES += "image-types-xilinx-qemu" | 37 | IMAGE_CLASSES += "image-types-xilinx-qemu" |