| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
| |
1. Deprecate meta-xilinx-setup and dt-processor.sh for generating
SDK and machine configuration files. Instead use gen-machineconf
tool to parse sdt file and generate machine configuration files.
2. Remove README-setup and add instructions in
meta-xilinx-standalone-experimental/README.md file.
Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com>
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
|
|
|
|
| |
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
|
|
|
|
|
| |
Signed-off-by: John Toomey <john.toomey@amd.com>
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
|
|
|
|
|
|
|
| |
Redirect MACHINEOVERRIDES to conf file.
Signed-off-by: Raju Kumar Pothuraju <rajukumar.pothuraju@amd.com>
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
|
|
|
|
|
|
|
|
|
| |
When the dts_path is relative, it's relative from <build>/conf/dts
Note, using an absolute path may affect some recipe hashes, preventing
sstate-cache re-use by other users.
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Additional MACHINEOVERRIDES can be automatically appeneded by using the
-O option. No validation is preformed, but the value is used in the
generated content. For example:
dt-processor.sh .... -O override1:override2
The generated content will be:
MACHINEOVERRDIES .= ":override1:override2"
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
[-r <require_machine>] This machine will be required, instead of the generic machine if defined
For example:
dt-processor.sh -m xilinx-zynqmp-sc-revb -r eval-brd-sc-zynqmp.conf
This will create a new machine 'xilinx-zynqmp-sc-revb' which will generate:
require conf/machine/eval-brd-sc-zynqmp.conf
The value of -r is not verified, but is designed to allow for arbitrary
values such as:
-r include/kria-k24-generic.inc
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
|
|
|
|
|
|
|
|
|
|
|
| |
The generated DTS files will be installed into the same directory as the
automatically generated machine name. This provides a method for the user
to specify an alternative directory name instead.
Note, if the machine name is defined by the user, the dts directory is not
changed from the default without using this additional argument.
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
|
|
|
|
| |
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
and srcrev for 2023.2 release
Below are the updates:
742a608800e7 create_bsp: Remove references to /dev/null
826fcc503554 settings.sh: Changing version from 2023.1 to 2023.2
51adc44151e7 scripts: rigel_scripts: regen_linker: Add script for regenerating linker
b5e2f5e9b887 dmaps: Remove arm,primecell compat string from compatible list
89767030a151 rigel_scripts: copy psu_init* files for zynqmp_fsbl app
2a448b31f000 scripts: rigel_scritps: build_app: Remove unneeded repo handling from build_app
1d85f3d87ffd scripts: rigel_scripts: Handle drivers which are part of sdt folder
23891dfcfdad scripts: rigel_scripts: create_example: Add support for compiling library or driver examples
88b749d8e8c6 scripts: rigel_scripts: Update get_high_precedence_path API to use concatenate paths
cade1b610ba4 scripts: rigel_scripts: Add support for library examples meta-data
49df9535433a scripts: rigel_scripts: load_example: Add support for driver example meta-data
3169cabf8576 scripts: rigel_scripts: Update the bsp.yaml domain drv_info with hardware instance instead of driver
f81d03153a45 create_bsp: Adding libsrc subdir properly by correcting cmake syntax
1ede8254fb6e *.py: Fixing the timing issues with library addition and configuration
787efbe8dd0f sw_services:xilsecure:Fix passing device id to xilmailbox library
27d8798fb1f0 scripts: rigel_scripts: Workaround for windows support enablement
3a2ce07f49ed scripts: rigel_scripts: Use GNU Makefile generator
Signed-off-by: Appana Durga Kedareswara rao <appana.durga.kedareswara.rao@amd.com>
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1. Add AMD Copyright notice.
2. Fix pdi_path typo in usage.
3. If dt-processor is run with two different zynqmp/versal sdt dts
then <cpu>-linux.dts and multiconfig dts were overwritten.
Generate dts files in build/conf/dts/<machine_name>/ directory
instead of build/conf/dts. This way when user use same build
directory for building different machine target it will avoid
overwriting dts files.
Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com>
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Remove DEVICE_TREE_NAME from dt-processor.sh to set right FDT name
in pxeboot.cfg from u-boot-xlnx-scr recipe. With that said user
can override DEVICE_TREE_NAME value from local.conf.
Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com>
Removed KERNEL_DEVICETREE:example-sdt line that never did anything.
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
|
|
|
|
| |
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
|
|
|
|
| |
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
|
|
|
|
|
| |
Signed-off-by: varalaxmi bingi <varalaxm@xilinx.com>
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
|
|
|
|
| |
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
|
|
|
|
|
|
|
|
|
|
|
| |
dt-processor.sh: Update petalinux config assist as per latest lopper
With the latest lopper change processor name needs to be passed as a
first argument when calling the petalinuxconfig_xlnx assist update
the logic 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>
|
|
|
|
|
|
|
|
|
|
| |
repo changes
Update recipes and readme as per 2023.1 embeddedsw repo and as per
latest lopper changes.
Signed-off-by: Appana Durga Kedareswara rao <appana.durga.kedareswara.rao@amd.com>
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
|
|
|
|
|
|
|
|
|
| |
In meta-xilinx-core u-boot-zynq-scr and u-boot-zynq-uenv recipes are
renamed to u-boot-xlnx-scr and u-boot-xlnx-uenv. Hence change these
in all the files.
Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com>
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
|
|
|
|
|
|
|
|
|
|
| |
lopper baremeal assists got updated to take cpu name as input instead of
yocto machine name this commit updates the dt-processor.sh script for the
same, and also adds support for generating mulit config machine for Other
processor cores (Cortexr5-1 etc...)
Signed-off-by: Appana Durga Kedareswara rao <appana.durga.kedareswara.rao@amd.com>
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
|
|
|
|
|
|
|
|
|
|
| |
sstate-cache re-use is affected by the value of CONFIG_DTFILE as used by the
device-tree recipe. If we are setting CONFIG_DTFILE, be sure to exclude
TOPDIR from the hash calculations to avoid unnecessary rebuilds.
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
(cherry picked from commit c6f917c289be96ca030a275e0c4d92384ca5bb16)
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
By move system_dtb real path earlier, we ensure that the default psu_init
(and other users) of system_dtb path will get the full path.
Also ensure if the user passes in a psu_init or pdi path, it is expanded
as well.
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
(cherry picked from commit 4914145ca3944763b7171367ee056f97b213ff30)
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The build directory may be on an NFS server, while it's easy for a user to
modify the BASE_TMPDIR to a local device, this is difficult for an automated
build to do via another configuration file.
Switching to ?= will allow site.conf (or a similar file) to set a custom value
for BASE_TMPDIR to a local disk.
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
(cherry picked from commit ac13c9714585deab3c6c8e815b9750e8a4e1f0b0)
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
dt-processor.sh: Add relative path support for system device-tree and domain file
With the existing dt-processor.sh fails if relative paths of system-top.dts
or domains yaml have been provided, this commit fixes this issue.
Signed-off-by: Appana Durga Kedareswara rao <appana.durga.kedareswara.rao@amd.com>
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
(cherry picked from commit 15e8e7ed939ce5f6e95ff3dc8bf68242cadfca12)
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
dt-processor.sh: Remove permissive flag while processing domain yaml files
Earlier in the lopper, domain yaml support is there only with the
permissive flag, With the latest lopper source code passing this flag is
optional, When we have this flag in the lopper command and if the output
format is dts in that case it will include invalid phandle references
also(As this option is designed to maintain all phandle references) in
the final dts resulting compilation errors, so to avoid above mentioned
issue remove the permissive flag from the domain handling.
Signed-off-by: Appana Durga Kedareswara rao <appana.durga.rao@xilinx.com>
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
(cherry picked from commit 40a8e575737be91414bed98821d9775643b4dd90)
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
dt-processor.sh: Generate Linux domain dts file
Add support for generating Linux domain dts file along with dtb,
Generated dts file consumed by the petalinux tool to add support
for custom dts files (ex: system-user. dtsi).
Signed-off-by: Appana Durga Kedareswara rao <appana.durga.rao@xilinx.com>
Signed-off-by: Mark Hatle <mhatle@xilinx.com>
(cherry picked from commit f7268d92980681c3a408f80f872a30592c64d1ff)
Signed-off-by: Mark Hatle <mhatle@xilinx.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Expecting the pdi also in the system device tree path.
This patch will add teh PDI_PATH variable in versal case.
if pdi not present in sdt path it will throw warning.
if more then one pdi is present, throw a warning.
Signed-off-by: Varalaxmi Bingi <varalaxmi.bingi@xilinx.com>
Also fix -p and -h usage.
Signed-off-by: Mark Hatle <mhatle@xilinx.com>
(cherry picked from commit 10c209172ae6ff91293ac1aeee706e9eb5c52e48)
Signed-off-by: Mark Hatle <mhatle@xilinx.com>
|
|
|
|
|
|
|
| |
Signed-off-by: Ben Levinsky <ben.levinsky@xilinx.com>
Signed-off-by: Mark Hatle <mhatle@xilinx.com>
(cherry picked from commit 171c4114b2f9f039698e2538f2898a2913fc742d)
Signed-off-by: Mark Hatle <mhatle@xilinx.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add support for generating petalinux conf file
This commit adds an optional -P argument for generating the
petalinux conf file, Generated file will be consumed by the
petalinux tool.
Signed-off-by: Appana Durga Kedareswara rao <appana.durga.rao@xilinx.com>
Signed-off-by: Mark Hatle <mhatle@xilinx.com>
(cherry picked from commit 1ddaf20eb0935d76d95011084c90fda02e614508)
Signed-off-by: Mark Hatle <mhatle@xilinx.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Latest lopper separates the pruning of nodes into separate lop files.
Ensure that:
1. Latest lopper is used
2. These pruning operations are included in the A53 and A72 Linux lopper runs.
Signed-off-by: Ben Levinsky <ben.levinsky@xilinx.com>
Signed-off-by: Mark Hatle <mhatle@xilinx.com>
(cherry picked from commit 1df9b28d5284e2ee333c705ce0b41686a87decba)
Signed-off-by: Mark Hatle <mhatle@xilinx.com>
|
|
|
|
|
|
|
|
|
| |
Baremetal doesn't use tpm, virtualization or security layers. Avoid
the checks, as these layers are often used by the Linux configuration.
Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
(cherry picked from commit 5bd416526195607a20ddbb5e38d85417a5790f29)
Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
|
|
|
|
|
|
|
|
|
| |
The location for psu_init is now explicitly set. If the psu_init files
are not available, a warning will be presented to the user.
Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
(cherry picked from commit 4d2eceaeb6d0d659b8f1f84d16723dcd3dcd1b14)
Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
|
|
|
|
|
|
|
|
|
| |
SYSTEM_DTFILE points to the original system-top.dts. CONFIG_DTFILE will
point to the configuration specific device tree (dtb).
Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
(cherry picked from commit ef543b3a8ee238e1e6ab2ec69019748e6fbb709d)
Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
|
|
|
|
|
|
|
|
|
| |
The -l argument will write the local.conf fragment to a file of the user's
choice. This can help automation that uses the dt-processor.sh.
Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
(cherry picked from commit a57c38d7535e3d7907916eb8e420903d39e1631d)
Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
|
|
|
|
|
|
|
|
|
| |
Upgrade of lopper changed the executable name to lopper. Switch all of
the users.
Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
(cherry picked from commit 5d28e5640859bc6f275b804e1344c6dd17e5a492)
Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
|
|
|
|
|
|
| |
Honister fixed a couple of typos, this resolves the same in the 2022 branch.
Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
|
|
|
|
|
|
|
| |
After moving from Xilinx specific cortex r5 turning file, the 5f is no
longer defined. Move to the now standard 'cortexr5' definition.
Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
|
|
|
|
|
|
|
|
|
|
|
| |
README file was updates, as uninative no longer needs to be separately
included.
The meta-xilinx-setup needs to be updated from ?= to =, as a distro (poky)
may configure it's own default TOOLCHAIN_HOST_TASK, which causes the wrong
items to be loaded.
Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
|
|
|
|
|
|
| |
This script will generate configurations, so move to the new syntax.
Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
|
|
|
|
|
|
|
|
|
|
| |
handling for cortexr5 processor
Signed-off-by: Appana Durga Kedareswara rao <appana.durga.rao@xilinx.com>
Acked-by: John Toomey <jtoomey@xilinx.com>
Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
(cherry picked from commit d18dbc02d9b68edc33bf328e9ce4e40874e7e758)
Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
|
|
|
|
|
|
|
|
| |
The README file needed to be updated to explain the new argument syntax.
Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
(cherry picked from commit 4623e117c97c7a001f405ded6832ee2c4b10d7f1)
Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Refactor for maintainability and code reuse
- Add missing copyright/license and description
- Implement getopts for command line arg parsing
- Add proper help function and additional comments
- Add error/warn/info functions and clean up output
- Fix variable quoting and wrap lines to 100 chars
- Fix code duplication and remove redundancy
- Simplify the parse_cpus() function for readability
- Add missing error checking
Add support for a domain file (.yml or .dts)
- Add new optional -d <domain_file> flag to getopts
- Change lopper.py args in each function when a domain file is passed
Signed-off-by: John Toomey <jtoomey@xilinx.com>
Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
|