summaryrefslogtreecommitdiffstats
path: root/meta-xilinx-bsp/conf/machine
Commit message (Collapse)AuthorAgeFilesLines
...
* Reorganize the various layer componentsMark Hatle2021-07-1412-1097/+0
| | | | | | | | | | | | | | | | | | | | Machines: Move baremetal machines to meta-xilinx-standalone Layers: - Add new meta-xilinx-standalone-experimental This layer may require components that may not yet be available to the general public. It will contain various experiemntal integration work. - meta-xilinx-standalone This layer should be functional and contain the necessary items to build a baremetal toolchain that can use libxil (replacement to libgloss) from the Xilinx embeddedsw components. (Note, libxil is NOT built as part of this work!) The layer also contains the buildable components for the various firmware components required to startup various Xilinx FPGAs. Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
* versal-generic.conf: Enable qemu for BOARD vp1202-versalSai Hari Chandana Kalluri2021-07-141-4/+9
| | | | | | Enable runqemu for BOARD vp1202-versal Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
* xilinx-board.inc: inserting a '-' in between board and boardvariantJaewon Lee2021-07-141-2/+2
| | | | | | | Inserting a '-' in between board and boardvariant to align with the format of soc and soc family Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.com>
* Updating machine overrides to match new formatJaewon Lee2021-07-141-2/+2
| | | | | | | | | Previously machine override for a soc variant was SOC_VARIANT appended to SOC_FAMILY. A '-' was included in between to align with how versal handles machine overrides. Updating machine overrides to match this format Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.com>
* SOC_VARIANT versal: removing previously required prepended '-'Jaewon Lee2021-07-144-8/+8
| | | | | | | Removing the need to prepend a '-' to SOC_VARIANT for versal variants for ex. '-ai-core' Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.com>
* microblaze: Defining UBOOT_MACHINE and wiping UBOOT_INITIAL_ENVJaewon Lee2021-07-143-0/+7
| | | | | | | | Defining UBOOT_MACHINE as microblaze-generic_defconfig and setting UBOOT_INITIAL_ENV to empty to be able to compile uboot as microblaze env/common.o doesn't have default_environment section Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.com>
* Cleanup QB_MACHINE for xilinx machinesSai Hari Chandana Kalluri2020-12-225-5/+0
| | | | | | | Pick correct QB_MACHINE name for each of the machine from qemuboot-xilinx.bbclass. Remove QB_MACHINE from machine.conf Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
* zcu102-zynqmp.conf: Fix qemuboot for zcu102-zynqmpSai Hari Chandana Kalluri2020-12-221-1/+0
| | | | | | Fix machine name being passed to zcu102-zynqmp qemu boot arg. Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
* ultra96: Using BOARD level hiearchy for ultra96 overridesJaewon Lee2020-12-221-0/+3
| | | | | | | | Using BOARD level hierarchy to rewire ultra96 specific overrides. Each package using BOARD override has to also redefine PACKAGE_ARCH using BOARD_ARCH Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.com>
* Adding BOARD and BOARD_VARIANT level hierarchyJaewon Lee2020-12-223-0/+3
| | | | | | | | | | | Going to generic machine confs, we can no longer use machine overrides for specific machine changes. Adding BOARD and BOARD_VARIANT level hierarchy for packaging for zynqmp/zynq/versal generic machines confs. BOARD and BOARD_VARIANT must be set accordingly to use these hierarchy levels properly Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.com>
* xilinx-board.inc: fixing BOARD_ARCH and BOARDVARIANT_ARCH namesJaewon Lee2020-12-221-4/+4
| | | | | | | Fixing arch variables, removing SOC_ for BOARD_ARCH and BOARDVARIANT_ARCH variables Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.com>
* machine/aarch64-tc.conf: Fix incorrect ilp32 pkgarchMark Hatle2020-12-041-1/+1
| | | | | | | | | | If there is a _ in the package arch, the sstate-control files are written with a _. However, when they are used they somehow get translated to a -, triggering a warning message. The warning though means that the sstate component was not actually staged into the recipe-sysroot, causing a later build failure. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* xilinx-board.inc: Introducing inc file to add BOARD/BOARD_VARIANTJaewon Lee2020-10-231-0/+12
| | | | | | | | | | | | Introducing an include file to add levels of hiearchy to PACKAGE_ARCH, namely BOARD and BOARD_VARIANT To use this, future confs will need to have the following line: require conf/machine/include/xilinx-board.inc Along with BOARD/BOARD_VARIANT definitions Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.com>
* versal-generic.conf:zynqmp-generic.conf: Add ↵Raju Kumar Pothuraju2020-10-232-0/+4
| | | | | | | | | MACHINE_ESSENTIAL_EXTRA_RDEPENDS variable only for specific machines. Add MACHINE_ESSENTIAL_EXTRA_RDEPENDS variable for zynqmp and versal platforms. Signed-off-by: Raju Kumar Pothuraju <raju.kumar-pothuraju@xilinx.com> Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
* zcu102-zynqmp.conf: Update PMU_FIRMWARE_DEPLOY_DIR paths to look under ↵Sai Hari Chandana Kalluri2020-09-301-2/+2
| | | | | | | | | | | microblaze-pmu zynqmp-pmu is renamed to microblaze-pmu. Update the PMU_FIRMWARE_DEPLOY_DIR path to look under correct path. Set weakest assignment in local.conf.sample for the above variables. Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
* vmk180-versal.conf: Enable runqemu for vmk180 versalSai Hari Chandana Kalluri2020-09-301-0/+42
| | | | | | Enable runqemu for vmk180-versal Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
* vc-p-a2197-00-versal.conf: Updating SOC_VARIANTJaewon Lee2020-09-301-0/+2
| | | | | | Updating tenzing machine SOC_VARIANT to "-ai-core" Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.com>
* vck190-versal.conf: Setting SOC_VARIANT to ai-coreJaewon Lee2020-09-081-0/+2
| | | | | | Setting vck190-versal board's SOC_VARIANT to ai-core Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.com>
* soc-versal.inc: Setting default versal SOC_FAMILY to primeJaewon Lee2020-09-081-2/+4
| | | | | | Default versal SOC_FAMILY is changed to "prime" from "s80" Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.com>
* machine-xilinx-qemu: Refer to the standard helper then use PREFERRED_PROVIDERMark Hatle2020-08-141-1/+1
| | | | Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
* machine-xilinx-qemu.inc: Specify PREFERRED_PROVIDER for qemuSai Hari Chandana Kalluri2020-08-131-0/+2
| | | | | | | | Set default PREFERRED_PROVIDER for qemu as qemu-xilinx within machine-xilinx-qemu.inc. This eliminates the need to use PNBLACKLIST within local.conf Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
* Upstream v4l2-xilinx config fragments and update zybo-linux-bd to use ↵Sai Hari Chandana Kalluri2020-08-111-1/+1
| | | | | | fragment from kernel-cache Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
* Upstream zybo-linux-bd-zynq7 config fragment to YP kernel-cacheSai Hari Chandana Kalluri2020-08-111-1/+1
| | | | Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
* Revert "machine-xilinx-default.inc: Add device-tree to ↵Jaewon Lee2020-07-271-1/+0
| | | | | | | | MACHINE_ESSENTIAL_EXTRA_RDEPENDS" This reverts commit ee6d2b039501f63098831bbff141a9d1ef1ae645. Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.com>
* machine-xilinx-default.inc: Add device-tree to MACHINE_ESSENTIAL_EXTRA_RDEPENDSRaju Kumar Pothuraju2020-07-241-0/+1
| | | | | | | | Adding device-tree to MACHINE_ESSENTIAL_EXTRA_RDEPENDS for all xilinx machines, this will install dtb/dtbo files into the rootfs. Signed-off-by: Raju Kumar Pothuraju <raju.kumar-pothuraju@xilinx.com> Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
* vck5000-versal.conf: Add support for vck5000-versal machineSai Hari Chandana Kalluri2020-06-261-0/+29
| | | | | | Machine support for versal targetting the vck500 Alveo evaluation card Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
* versal confs: cleaning up unnecessary file loading in runqemu commandJaewon Lee2020-05-083-10/+0
| | | | | | | | | | | | | | | | Removing dtb fatload in boot.scr and removing unnecessary image, dtb, rootfs loading in runqemu command dtb is being loaded through boot.bin for versal so fatload through boot.scr and loading into memory through runqemu commands are not necessary (before this change dtb was essentially being loaded three times) image will be fatloaded through boot.scr (provided in sd image) rootfs is provided through sd image Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.com>
* versal confs: Upping RAM in runqemu command to 8G for versal boardsJaewon Lee2020-05-083-3/+3
| | | | | | | | Recent requirement for Versal has changed, we now we need to supply 8G so changing QB_MEM to 8G from 4096. This will fix issue of runqemu hanging at 'Starting Kernel' Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.com>
* zynq-generic.conf: Remove the qemu overrides, not neededMark Hatle2020-04-211-4/+0
| | | | | | Issue: CR-1061420 Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* init-ifupdown: Fix BSPs that were setting partial overridesMark Hatle2020-04-213-0/+3
| | | | | | | | | | | | | | | Issue: CR-1061420 The init-ifupdown will choose alternative network interface configuration files based on the FILESOVERRIDE setting, which usually includes a machine name. If an alternative is selected, then the package should become machine specific. The BSPs were setting the files override, but were NOT settings the required machine override. Fix this by setting the necessary machine override, ensuring the init-ifupdown IS now machine specific. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* microblaze machines: Set LINKER_HASH_STYLE defaultsMark Hatle2020-04-035-4/+6
| | | | | | | | | | | For Linux based builds, it should be set to sysv. This will result in the system using a supported hash type. (GNU hash is not supported on Microblaze., so sysv will be used instead.) For baremetal, set the value to "". This will result in no value set, and the system will use the compiler and linker default. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* machines: Remove default SERIAL_CONSOLES_CHECKMark Hatle2020-04-0317-17/+0
| | | | | | | | | | | | | | | | | | By default the machines should not check and remove declared consoles that are not available on first boot. It's up to the user to add this to their build configuration. The recommended user behavior is: SERIAL_CONSOLES_CHECK = ${SERIAL_CONSOLES} but the side effect of this is that if the device configuration changes after the first boot, the additional devices will not be available. (Note, this may result in warning messages with getty unable to connect to certain devices.) Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* machines: Allow the user to override SERIAL_CONSOLESMark Hatle2020-04-0323-23/+23
| | | | Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* machines: Move from SERIAL_CONSOLE (deprecated) to SERIAL_CONSOLESMark Hatle2020-04-0332-33/+34
| | | | | | | Usage of 'SERIAL_CONSOLE' was deprecarted in late 2013. Move to the using 'SERIAL_CONSOLES', where the format is slightly different. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* meta-xilinx-bsp: conf: machine: Add standalone based machine for zynqMubin Usman Sayyed2020-03-181-0/+1
| | | | | | | | | This machine can be used with xilinx-standalone-nolto and xilinx-standalone distros to build standalone components for zynq. Signed-off-by: Mubin Usman Sayyed <mubin.usman.sayyed@xilinx.com> Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* versal-generic: Move from vck190 to vc-p-a2197-00-versalMark Hatle2020-03-171-2/+2
| | | | | | This move syncronizes qemu call and DTB generation. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* *-generic.conf: Add QEMU support to each of the generic BSPsMark Hatle2020-03-173-4/+180
| | | | | | | Additionally ensure that all u-boot defconfigs use the common configuration for each platform. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* xilinx-qemu: Move -multiarch extension to the machine-xilinx-qemuMark Hatle2020-03-174-9/+1
| | | | | | | | All xilinx BSPs that support qemu should use the machine-xilinx-qemu.inc file. So move all references to the -multiarch extension into that location. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* meta-xilinx-bsp: cleanup qemu referencesMark Hatle2020-03-1713-39/+7
| | | | | | | | | | Move IMAGE_CLASSES setting to common machine-xilinx-qemu.inc, also add preferred provider for the xilinx specific qemu components. Adjust the various BSPs to remove duplicate references to these and non-Xilinx versions of qemu. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* qemu-zynq7: Add qemu wiring for zc706 machineMark Hatle2020-03-171-5/+26
| | | | | | Enable qemuboot for qemu-zynq7 machine using qemu-xilinx provider Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* zc706-zynq7: Add qemu wiring for zc706 machineMark Hatle2020-03-171-5/+19
| | | | | | Enable qemuboot for zc702-zynq7 machine using qemu-xilinx provider Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* zc702-zynq7: Add qemu wiring for zc702 machineSai Hari Chandana Kalluri2020-03-171-5/+19
| | | | | | | Enable qemuboot for zc702-zynq7 machine using qemu-xilinx provider Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com> Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* meta-xilinx-bsp: machine-xilinx-default.inc allow empty WIC_DEPENDSMark Hatle2020-03-161-1/+1
| | | | Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* meta-xilinx-bsp: remove redundant PREFERRED_PROVIDERMark Hatle2020-03-1317-45/+0
| | | | | | | PREFERRED_PROVIDER_virtual/kernel and PREFERRED_PROVIDER_virtual/bootloader are normally set by machine-xilinx-default.inc. Only set these if necessary. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* meta-xilinx-bsp: Adjust soc to permit multiple CPU/TUNESMark Hatle2020-03-1311-30/+27
| | | | | | | | | | | | | The various Xilinx FPGAs may have more then one CPU type including cortexr5, microblaze and regular ARM Cortex CPUs. Adding a new soc-tune-include.inc will allow the machine to choose a default tune, and then the correct matching tune will be loaded. In a perfect world this wouldn't be required, but doing it this way permits us to target specific optimizations or CPUs in the soc. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* meta-xilinx-standalone: Move soc overrides from meta-xilinx-defaultMark Hatle2020-03-139-21/+20
| | | | | | | | | | | | | | | | | | | | Any soc overrides belong in the soc configuration files. Also move UBOOT_SUFFIX and UBOOT_ELF defaults into the meta-xilinx-default, as well as specific soc settings in each soc file. This results in the ability to override the value in multiple places based on load order: local.conf (user setting) machine.conf (machine setting) soc-....inc (soc setting) machine-xilinx-default.inc (the actual default) Each step uses ?=, so if the previous step hasn't set it that level will define it's default if necessary. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* meta-xilinx-bsp: rename machine-xilinx-override to xilinx-soc-family.incMark Hatle2020-03-1330-29/+5
| | | | | | | | | | The machine-xilinx-override is really just an extension to the standard soc-family.inc file. So rename this, move the include of soc-family.inc to this file, move the include to the soc includes to each soc file, and finally adjust the machines to remove machine-xilinx-override as it's no longer necessary. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* machine-xilinx-overrides: Make this genericMark Hatle2020-03-132-17/+7
| | | | | | | | | Move the soc specific contents into the soc configuration file. Adjust the PACKAGE_EXTRA_ARCHS append to a more generic method for setting the SOC_FAMILY and SOC_VARIANT package arch. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* meta-xilinx-bsp: Remove default valuesMark Hatle2020-03-1316-29/+1
| | | | | | Remove the default values, as they are already set by the soc include. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* meta-xilinx-bsp: Rename soc configuration masquerading as a tune fileMark Hatle2020-03-1329-26/+26
| | | | | | | The tune files were really soc configuration files. Tune files should only specify toolchain flags that affect optimiation and abi. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>