summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* python3-anytree: Set branch to resolve fetch warningMark Hatle2023-01-161-1/+1
| | | | Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* dt-processor.sh: Minor revisions for better user errorsMark Hatle2023-01-161-1/+4
| | | | Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* libxil: Move from require to includeMark Hatle2023-01-161-1/+18
| | | | | | | | | | Due to the change of the machine.conf where LIBXIL_CONFIG is set to the multiconfig, some non-baremetal configurations may not generate a config file. Using include will prevent this from being an early parse error, while the python function will disble libxil when no configuration file is present. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* dt-processor.sh: Code cleanup, rename 'distro' to 'features'Mark Hatle2023-01-161-27/+27
| | | | | | | | Prior changes moved from a 'DISTRO_FEATURES' to 'MACHINE_FEATURES', but in all cases these are just generated feature files. Rename to make this more clear in the future. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* dt-processor.sh: Define mc_name and cleanup various usageMark Hatle2023-01-161-109/+97
| | | | | | | | mc_name (multiconfig name) is now defined for each section, this single variable is used to create files and directories as requires. This should prevent subtle errors from mismatched naming. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* meta-xilinx-standalone-experimetnal: Move from using DISTRO to MACHINE featuresMark Hatle2023-01-16152-156/+165
| | | | | | | | | | | | | | Using DISTRO_FEATURES will affect task hashes for non-target recipes. This triggers some signficant unnecessary rebuilds. Since these options all point back to a given device-tree (related) setting they really are machine, not distribution specific anyway. So the change should also better align to the purpose of the settings. Additionally, change dt-processor.sh to generate MACHINE_FEATURES instead of DISTRO_FEATURES. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* dt-processor.sh: Move includes from distro to machineMark Hatle2023-01-161-25/+27
| | | | | | | The include files are moved from the conf/multiconfig/include directory to the new machine/include/<machine> directory. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* xilinx-standalone.inc: Further sync with upstream disro settingsMark Hatle2023-01-162-15/+4
| | | | | | | | | | | | | Many of the settings/workaround have been replaced by changes in the upstream OE-Core tclibc-newlib. Additionally adding the DISTROVERRIDES with an append was potentially changing -native recipes hashes. Move this only where needed to avoid this behavior. Also sync settings with meta-petalinux, such as the buildhistory. This is now moved to the local.conf file. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* meta-xilinx-standalone-experimental: README.md: Update instructions, move ↵Mark Hatle2023-01-161-2/+2
| | | | | | meta-som to meta-kria Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* qemu-xilinx-system-native: Move pmu-rom enablement to recipeMark Hatle2023-01-163-3/+8
| | | | | | | | | | | | Setting the pmu-rom being required by QEMU within the machine.conf will cause the recipe's hash to change, which can cause a ripple effect causing other things to rebuild. Moving this to the recipe, and switching it on based on what licenses the user allows will avoid this conflict. Additionally add a warning message to the xilinx-vars.bbclass if the user has not enabled the license. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* xilinx-standalone.inc: Sync with poky distro settingsMark Hatle2023-01-161-0/+18
| | | | | | | | | | | | | | | | | Certain settings appear to have an overall affect on recipe hashes. Use petalinux (poky) distro as an example for base settings to ensure native items built in one config SHOULD also be re-usable in the bareemetal config. This has a side effect of NOT disabling static binaries in baremetal, but this seems like a reasonable default, since there really isn't a concept of dynamically loaded libraries. If necessary, the user can still override this, but will need to specifically select class-target to do so. Similarly SECURITY_CFLAGS and SECURITY_LDFLAGS are available by empty by default. The default cflags/ldflags for baremetal usage are likely different from a Linux system, so can be used in the future if requried. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* dt-processor.sh: Move warning avoidance to local.confMark Hatle2023-01-161-36/+7
| | | | | | | | | | | | | meta-virtualization, meta-security and meta-tpm check to see if they are available, but the MACHINE_FEATURE is not enabled. For baremetal configs these become nuisance warnings. Instead of disabling them in each configuration move it to the central local.conf and thus global namespace. SKIP_META_VIRT_SANITY_CHECK = "1" SKIP_META_SECURITY_SANITY_CHECK = "1" SKIP_META_TPM_SANITY_CHECK = "1" Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* base-pid: Allow microblaze as a supported archMark Hatle2023-01-161-0/+1
| | | | | | | In a multiconfig build, microblaze may be the current architecture. Allow both versal and microblaze to avoid confusing errors. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* meta-xilinx-setup: Rework dt-processor.sh to generate a machine and configsMark Hatle2023-01-164-180/+309
| | | | | | | | | | | | | | | | | | | | | | | lop-microblaze-yocto.dts has been modified to generate the file in a slightly different format. There is no need for an intermediate representation for the various microblaze tunings, instead use fixed names for pmc, psm and pmu configurations. dt-processor.sh was reworked to generate a machine.conf file and shrink the amount of information that ends up in the local.conf file. As part of this work the -m option has been renamed to -t. This option is rarely used, so should not impact many users. A new -m option is implemented to allow the user to manually name the generated machine.conf file. Otherwise, it will discover the name from the system device tree using the root 'compatible' object. The tool will also print more useful diagnostics to the screen, this should help ensure that the correct machine is being targeted by the actions and improve early system debuggability. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* meta-xilinx-standalone-experimental: layer.conf: Add device trees to ↵Mark Hatle2023-01-161-0/+3
| | | | | | BUILDCFG_VARS Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* xilinx-lops.bb: Add lop-machine-name.dtsMark Hatle2023-01-162-0/+45
| | | | | | Add a new lop that will pull out the model and machine name. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* Updated SRCREV for 2023.1_3135Sivaprasad Addepalli2023-01-162-2/+2
| | | | Signed-off-by: Siva Addepalli <sivaprasad.addepalli@xilinx.com>
* Updated SRCREV for 2023.1_7643Sivaprasad Addepalli2023-01-163-3/+3
| | | | Signed-off-by: Siva Addepalli <sivaprasad.addepalli@xilinx.com>
* libdfx:update commitidNava kishore Manne2023-01-131-1/+1
| | | | | | | | | | | This patch updates the libdfx commit-id to the latest. libdfx: Update library README and copyright information libdfx: Add generic error messaging support libdfx: Add support to measure the API's timing Signed-off-by: Nava kishore Manne <nava.kishore.manne@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* meta-xilinx-standalone-experimental: conf: dtb-embeddedsw.inc: Update srcrev ↵Appana Durga Kedareswara rao2023-01-131-1/+1
| | | | | | | | | | for 2023 Below are the updates esw: Update drivers and library examples CMakeLists.txt to use common cmake package Signed-off-by: Appana Durga Kedareswara rao <appana.durga.kedareswara.rao@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* u-boot-xlnx: Move to release branch and update commitMark Hatle2023-01-131-1/+1
| | | | Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* README-setup: Update instructions to better explain usageMark Hatle2023-01-131-24/+46
| | | | | | | Reword sections, update the example to use -l, and explain how BBMULTICONFIG affects parse performance and possible mitigation strategies. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* device-tree: Remove YAML_DT_BOARD_FLAGS from bbappendSandeep Gundlupet Raju2023-01-132-42/+0
| | | | | | | | Remove YAML_DT_BOARD_FLAGS from bbappend as it is moved to board machine conf files. Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* pmu-firmware: Move compiler flags from ultra96 machine fileSandeep Gundlupet Raju2023-01-131-2/+7
| | | | | Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* zedboard-zynq7: Remove BOARD machineoverrideSandeep Gundlupet Raju2023-01-131-3/+0
| | | | | Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* ultra96-zynqmp: Update machine conf file using gen-machineconf toolSandeep Gundlupet Raju2023-01-131-12/+52
| | | | | | | | | | | 1. Update machine conf file using gen-machineconf tool by parsing ultra96 reva xsa. 2. Use use soc variant based generic machine inclusion. 3. Move variables which changes based on xsa before required inclusion file to handle pre-expansion values. Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* zcu670-zynqmp: Add new machine conf file using gen-machineconf toolSandeep Gundlupet Raju2023-01-131-0/+50
| | | | | | | | | 1. Add new zcu670 eval board machine conf file using gen-machineconf tool by parsing respective xsa. 2. Use use soc variant based generic machine inclusion. Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* versal: Add new machine conf file using gen-machineconf toolSandeep Gundlupet Raju2023-01-133-0/+144
| | | | | | | | | | | | 1. Add new versal eval board machine conf file using gen-machineconf tool by parsing respective xsa. - vhk158-versal - vpk120-versal - vpk180-versal 2. Use use soc variant based generic machine inclusion. Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* microblazeel: Update machine conf file using gen-machineconf toolSandeep Gundlupet Raju2023-01-134-28/+92
| | | | | | | | | | | | | | 1. Update below microblazeel eval board machine conf file using gen-machineconf tool by parsing respective xsa. - ac701-microblazeel - kc705-microblazeel - kcu105-microblazeel - vcu118-microblazeel 2. Move variables which changes based on xsa before required inclusion file to handle pre-expansion values. Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* versal: Update machine conf file using gen-machineconf toolSandeep Gundlupet Raju2023-01-133-16/+133
| | | | | | | | | | | | | | 1. Update below versal eval board machine conf file using gen-machineconf tool by parsing respective xsa. - vck190-versal - vck5000-versal - vmk180-versal 2. Move variables which changes based on xsa before required inclusion file to handle pre-expansion values. 3. Use use soc variant based generic machine inclusion. Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* zynqmp: Update machine conf file using gen-machineconf toolSandeep Gundlupet Raju2023-01-138-52/+387
| | | | | | | | | | | | | | | | | | | | | 1. Update below zynqmp eval board machine conf file using gen-machineconf tool by parsing respective xsa. - zcu102-zynqmp - zcu104-zynqmp - zcu106-zynqmp - zcu111-zynqmp - zcu1275-zynqmp - zcu1285-zynqmp - zcu208-zynqmp - zcu216-zynqmp 2. Move variables which changes based on xsa before required inclusion file to handle pre-expansion values. 3. Disable U-boot SPL boot and kernel device tree by default. User has to set explicitly to use it. 4. Use use soc variant based generic machine inclusion Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* zynq7: Update machine conf file using gen-machineconf toolSandeep Gundlupet Raju2023-01-132-37/+73
| | | | | | | | | | | 1. Update zc702 and zc706 machine conf file using gen-machineconf tool by parsing zc702 and zc706 xsa. 2. Move variables which changes based on xsa before required inclusion file to handle pre-expansion values. 3. Remove BOARD MACHINEOVERRIDES in conf file. Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* libmetal/openamp: xlnx: update to use 2023 sourcesBen Levinsky2023-01-132-9/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | git log --pretty=' %s' - libmetal lib: add support for A72 Baremetal test: linux: add test for multiple IO regions log: add ML_ERR, ML_INFO, ML_DBG macros examples: linux: add an option to set debug log level linux: device: fix access return test linux: device: remove excessive warnings system: linux: fix misleading argument names and messages libmetal: amp_demo: improve performance measurement linux: device: update logging for linux devices linux: device: check if device has bound to listed driver before rebind system: linux: vfio: Support vfio only for aarch64 architectures examples: vfio: Add example for demonstarting vfio usage system: linux: vfio: Add irq based eventfd support to vfio system: linux: vfio: Add vfio support to libmetal libmetal: Add APIs for supporting address translation system: linux: Add support for fetching device name from device address system: linux: Use libudev instead of libsysfs system: linux: Add priv_data into struct linux_device for storing private data system: linux: Add APIs for set and get the dma capability flags libmetal: Create device.h file for handling linux related common data examples: linux: add OCM demo examples: generic: add OCM demo examples: freertos: zynqmp_r5: dynamically set TTC and IPI vars examples: generic: zynqmp_r5: dynamically set TTC and IPI vars examples: linux: zynqmp_r5: dynamically set TTC and IPI vars examples: linux: libmetal_amp_demod: add macro guards for IPI examples: linux: zynqmp: Use IPI commit API git log --pretty=' %s' - open-amp apps: add remoteproc trace buffer apps: add remoteproc trace buffer rpc_demo: fix spelling, trailing space app: rpc_demod: check if copy_from_shbuf returns negative instead of non-zero value app: rpc_demod: replace copy_from_shbuf with call to metal_io_block_read apps: demos: oob_echo: update platform clean up update license to SPDX license apps: examples: load_fw: fix up for -werror app: rpc_demod: update read to fix potential buffer overflow remoteproc: set return var in remoteproc_remote() apps: add out of band rpmsg echo demo linux_rpc_demo: do not include rsc_table.h release: open-amp 2021.10 apps: add linux applications for linux rpc communication lib: added generic rpmsg services CI: Fix Zephyr build by updating Zephyr SDK version to 0.13.1 MAINTAINERS: Update maintainer email address. CI: Fix Zephyr build error due to cmake version CI: Fix Zephyr build by updating Zephyr SDK version to 13.0 Introduce CMake options to enable cache operations openamp: Introduce cache helpers CI: Fix Zephyr build by updating Zephyr SDK version CI: Zephyr test: copy whole libmetal directory for test Semantic Versioning: Update library version to 1.0.0. version: add generated define for version CI: Copy the VERSION file in zephyr openamp module apps: add libraries version information in echo example lib: add new API to get the library version Rework the version management README: Add version chapter rpmsg: fix variable overflow openamp: replace while(1) to metal_assert in RPMSG_ASSERT rpc_demo: fix spelling and grammar in code comment CI: compliance: fix check_compliance workflow CI: compliance: fail on errors Fix compilation error.Add missing semicolon. apps: machine: Fix MicroBlaze compilation error remoteproc: add get_mem callback to remoteproc_ops Readme: add description for zero copy demo apps: update nocopy ping to use nocopy API for reception. apps: add responder part of the no copy example apps: move nocopy ping test to example Signed-off-by: Ben Levinsky <ben.levinsky@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* dtb-embeddedsw.inc: Rename experimental to 2023.1_sdt_experimentalMark Hatle2023-01-132-8/+8
| | | | Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* meta-xilinx-standalone-experimental: README.md: update file dateMark Hatle2023-01-131-1/+1
| | | | Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* core-image-ptest-fast: Add zynq and microblaze limitationsMark Hatle2023-01-131-0/+10
| | | | Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* kernel-module-mali: Add patch to fix mali probe issueParth Gajjar2023-01-132-0/+47
| | | | | | | Added 0026-Fix-gpu-driver-probe-failure.patch for probe fix Signed-off-by: Parth Gajjar <parth.gajjar@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* meta-xilinx-standalone-experimental: recipes-bsp: embeddedsw: pmu-firmware: ↵Appana Durga Kedareswara rao2023-01-131-1/+1
| | | | | | | | | | Update executable name as per latest changes pmufw executable name changed from pmufw.elf to zynqmp_pmufw.elf to inline with applicatin name update the recipe for the same. Signed-off-by: Appana Durga Kedareswara rao <appana.durga.kedareswara.rao@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* Updated SRCREV for 2023.1_3343Sivaprasad Addepalli2023-01-144-4/+4
| | | | Signed-off-by: Siva Addepalli <sivaprasad.addepalli@xilinx.com>
* Updated commit IDSiva Addepalli2023-01-131-0/+0
| | | | | | uboot_bsp.tcl: Rename CONFIG_SYS_TEXT_BASE to CONFIG_TEXT_BASE Signed-off-by: Siva Addepalli <sivaprasad.addepalli@xilinx.com>
* meta-xilinx-standalone-experimental: recipes-applications: Update executable ↵Appana Durga Kedareswara rao2023-01-112-6/+6
| | | | | | | | | | | name as per latest changes Peripheral test and empty application CMakeLists.txt updated the binary name from executable.elf to app_name.elf update the recipes for the same. Signed-off-by: Appana Durga Kedareswara rao <appana.durga.kedareswara.rao@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* meta-xilinx-standalone-experimental: conf: dtb-embeddedsw.inc: Update srcrev ↵Appana Durga Kedareswara rao2023-01-111-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | for 2023 Below are the updates BSP: arm: common: Add weak implementation for getentropy XilinxProcessorIPLib: drivers: CMakeLists.txt: Fix CMAKE_SOURCE_DIR variable usage esw: Fix sleep.h pulling for yocto flow lib: sw_services: xiltimer: Fix race condition in sleep and tick timer define generation esw: Pull xiltimer by default for bsp Merge pull request #2 from vijayara/xlnx_rel_v2023.1_sdt_experimental changes to add fixed sdts fo install delivered xsas. scripts: rigel_scripts: regen_bsp: Make sdt as optinal argument lib: sw_apps: Use aux_source_directory() instead of *.c scripts: rigel_scripts: create_app: Add support for custom app name scripts: rigel_scripts: Improve build_app handling scripts: rigel_scripts: Add support for regenerate bsp pull sleep.h file from xiltimer library lwip: Rename config options from lwip_ to lwip211_ lib: sw_apps: Add custom APP_NAME for target Signed-off-by: Appana Durga Kedareswara rao <appana.durga.kedareswara.rao@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* core-image-ptest-*: Update QEMU memory for SoCsMark Hatle2023-01-112-0/+10
| | | | Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* machine-xilinx-default.inc: Set default virtual/dtb providerMark Hatle2023-01-111-0/+3
| | | | Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* u-boot-xlnx: Update 2023.1 versionMark Hatle2023-01-1113-38/+174
| | | | | | | | | | | Add u-boot-tools-xlnx as well. Update the PREFERRED VERSION to select the new u-boot version, add preferred provider for u-boot-tools to be u-boot-tools-xlnx. Needed to split the microblaze configs to older and newer versions as well. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* microblaze-generic: Make it clear it uses 2GB of memoryMark Hatle2023-01-111-0/+1
| | | | Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* zynqmp-generic: Add a comment explaining network configMark Hatle2023-01-111-0/+1
| | | | Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* versal-generic: Fix network device configurationMark Hatle2023-01-111-2/+2
| | | | Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* qemu: Fix nativesdk-qemu disablingMark Hatle2023-01-111-1/+1
| | | | Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* fpgamanager_custom: Add support for dtsi and prebuilt dtboSandeep Gundlupet Raju2023-01-111-30/+105
| | | | | | | | | | | | | | | | | 1. Add support for prebuilt dtbo input from firmware recipe. 2. Add support for dtsi which is generated outside of dtg as input from from firmware recipe. 3. Add support for versal. bbclass can support three flows, flow is decided by user inputs in SRC_URI XSA + pl-partial-custom.dtsi -> dtg + dtc dtsi + bit/bin/pdi -> dtc (no xsct involved) dtbo + bit/bin/pdi -> none (no xsct involved) Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>