Commit Graph

130 Commits

Author SHA1 Message Date
Bruce Ashfield
b4e50f377f lopper: update to -tip
Bumping lopper to latest, which comprises the following commits:

    a2abe17 lopper/device tree: variable sized records
    fe60827 lopper: add heuristics to string format detection
    00bd2e3 lopper: flush, unify and simplify output (print())
    166d608 lopper/sanity: test both LopperTreePrinter and node print to file
    6c4fd8e lopper: add warning/error checking framwork
    55c415d lopper: make some warnings informational
    2518125 lopper: improve output directory and output file handling
    60357a6 lopper: assists: baremetal_xparameters_xlnx: In case of no valid lable don't generate defines
    e0f6cd8 openamp: xlnx: rpmsg-native: update node names for shared mem and IPI
    f84f204 lopper: assists: baremetal_gentestapp_xlnx: Add support for dependency files
    08d1ac6 lopper: assists: gen_domain_dts: Remove unneeded properties while generating linux device-tree
    4f22075 assists:baremetallinker: Avoid setting axi_emc as the default memory in linker sections
    b4176e4 openamp: xlnx: Update handling for rpmsg-native
    4644625 lopper: assists: xlnx_overlay_dt: Improvments in the assist
    0866e1f lopper: assist: gen_domain_dts: Update the linux device-tree to delete unneeded nodes
    7f909ed assists: baremetalconfig_xlnx: Remove the dead code from get_clock_prop()
    ae9bcd4 lops:lop-a53-32bit.dts Add a new lops file to generate apu_map..... without 64bit addresses Add a new lops file to generate an apu_map without 64 bit addresses for a53 Signed-off-by: Dhriti Sree Rompicharla <drompich@amd.com>
    1df1bad lopper: assists: bmcmake_metadata_xlnx: Update the driver example meta-data to take care of windows platform as well
    8a67bb8 lopper_sanity: add openamp sanity test
    f601286 lopper: add strict mode to nodes()
    774ffc1 lops:lop-cpu-oslist Add a new lops file to get ai_engine as cpu
    c3eae64 openamp: xlnx: fix syntax err
    1b014ad lops: lop-microblaze-riscv: Update multilib mappings
    3c69852 petalinuxconfig_xlnx.py:pass memory_type value to device_type
    4d15e3e lops: mb-riscv: Add generic cpus_* pattern to re-use riscv lop file for asu
    c649a70 openamp: xlnx: Validate reserved-mem regions
    10efc21 isospec: add permissive flag for non-SMID devices
    53db451 lopper/log: move basicConfig to init()
    b5ae620 lopper: assists: gen_domain_dts: Add Audio formatter DT yaml
    2be4756 lopper: assists: gen_domain_dts: Add SPDIF DT yaml
    771dc82 lopper: assists: gen_domain_dts: Add I2S sound card DT yaml
    18b9a7c lopper: assists: gen_domain_dts: Add SDI Rx Subsystem DT yaml
    7d3726f lopper: assists: gen_domain_dts: Add SDI Tx Subsystem DT yaml
    16dd23c assists: gen_domain_dts: Add support for MB-V zephyr
    b6cd9f4 openamp: xlnx: Update property 'power-domain' to 'power-domains'
    bcd9835 assists: gen_domain_dts: Hardcode DDR address for Zynq to always start from 0
    19a29c3 lopper_sanity: add phandle selection test
    7f80d1a assists/isospec: introduce base protections
    042d1e6 lopper: fix property comparisions
    edb1c8a lopper: assists: Initial support for Versal Gen2 pl configuration
    4bab4d1 lopper: add --symbols command line flag
    c900d73 lopper: update default phandle map definitions
    b212b99 lopper/base: enhance node dereference field lookup
    2fff711 lopper: assists: baremetal_xparameters_xlnx: Generate coherency defines to inline with old tool defines
    4013600 lopper: assists: petalinuxconfig_xlnx: Add support for memory_type in the generated yaml file
    81f6a45 lopper: assists: yaml_bindings: Documentation for switch and broadcaster
    4f4b8e5 assists: gen_domain_dts: Add ocm IPs into linux ignore list
    c13ea5d assists: gen_domain_dts: Add few Zynq specific IPs in Linux ignore list
    a02e2e5 lopper: don't check the existence of cpp when LOPPER_CPP is set
    52ba5b6 assists: baremetallinker: Add support for the memory sections with new taxonomy changes
    0676d1a lopper: lops: lop-ttc-split: Rename the label names to inline with old tool
    bcc1e08 lopper: assists: baremetal_xparameters_xlnx: remove references to duplicate SDT* defines
    b405692 lopper: assists: baremetal_gentestapp_xlnx: Add support for override stdin configuration
    9ee70bc lopper: assists: baremetal_gentestapp_xlnx: Fix race condition while making the Interrupt Controller example as the primary example
    eb56358 lopper: assists: baremetal_bspconfig_xlnx: Add support for generating microblaze_exceptions_g.h header
    8151269 lopper: assists: Add HLS IPs yaml documentation.
    381a0c2 assists: baremetal_gentestapp: Pull the examples based on the hwproperties
    fa615ba lopper: assists: gen_domain_dts: Add phandle to Video Phy Controller DT entry
    c4ee0d0 lopper: assists: gen_domain_dts: Add DP1.4 Rx Subsystem DT yaml
    6f7bd17 lopper: assists: gen_domain_dts: Add DP 1.4 Tx Subsystem DT yaml
    fcfad51 assists: zuplus_xppu_default: fix syntax error
    b4dd529 assists: baremetallinker: Fix ddr_default logic for memory tests
    1d9afe6 assists: baremetallinker: Update the logic to find phandle in address msp
    cac0985 lopper: assists: gen_domain_dts: Add mipi pipeline documentation
    ae68834 lopper: lops: lop-ttc-split.dts: Add new lops file for baremetal ttc driver
    697ce41 tree: fix phandle collision detection
    cecdead isospec: read id from .iss and propagate to yaml
    c895b6e lopper: assists: gen_domain_dts: Add HDMI Phy Controller DT yaml
    5bbab83 modify: delete node before copy and rename
    1cd1eaa assist-sanity: add node reordering self test
    79d5457 tree: add API to reorder nodes
    f9a3605 lopper: assists: gen_domain_dts: Add Video Phy Controller DT yaml
    0e29b6a lopper: assists: gen_domain_dts: Add HDMI 2.0 Tx Subsystem DT yaml
    10c162f lopper: assists: gen_domain_dts: Add HDMI 2.0 Rx Subsystem DT yaml
    4c867f0 assists: linker_xlnx: Fix memory assignment to avoid build failure
    e016f0e tree: remove extraneous output
    0260f70 tree: fix property debug level and output
    41d9d99 tree: simplfy node copy and update
    c5aaab7 lopper: make print() more robust
    25d080c lopper/tree: fix node addition and move robustness
    9007c25 lopper_sanity: add external assist santy
    2cfc2cd lopper: search configured paths for assists
    8af3dfb tests: add selftest for assist sanity checking
    626c472 lopper: assists: gen_domain_dts: Add HDMI 2.1 Tx Subsystem DT yaml
    d141520 lopper: assists: gen_domain_dts: Add HDMI 2.1 Rx Subsystem DT yaml
    df99632 lopper: assists: gen_domain_dts: Don't delete child nodes when pruning yaml files
    a6a8907 lopper: assists: Initial support for zynq pl configuration
    87f81b6 openamp: Add Validation for carveouts and linker
    cecc083 assists: baremetallinker: Add HBM specific address ranges in axi_noc1 dictionary
    2cc9ba4 lopper: assists: xlnx_overlay_dt: Add proper checks to add &amba node
    93b1c56 lopper: assists: gen_domain_dts: Move the yaml bindings into a seperate folder
    ae67899 assists: baremetal_xparameters: Generate Canonical definitions for IPI targets
    699ecb3 lopper: assists: bmcmake_metadata_xlnx: Add proper checks
    a8168be lops: lop-microblaze-riscv: Sync with Vitis riscv gnu lib installation
    d90c10b assists: baremetal_gentestapp: Check the interrupt-parent of IPs before adding their intr example in peripheral test
    4db8fdd lopper: assists: baremetal_gentestapp_xlnx: Don't pull uart examples if the hardware instance is configured as stdin
    b3e6a55 assists: gentest_app: exclude last occurence of ttc node
    c20b0cb assists:baremetal_validate_comp_xlnx: Avoid the hw check when device_type property is missing in YAML
    285e063 lopper: assists: Add num-insts to rfdc node
    f51e38d lopper: Update check to adjust DDR start and size address
    855aaf2 lopper: fix incorrect warning log
    90de8d0 lopper: assists: baremetallinker: Adjust heap size for microblaze lmb_bram designs having size less than 8k
    1d9c628 openamp: xlnx: Add vc-p and vn-p models
    4794bc9 openamp: xlnx: versal: match model parsing same as VNET
    eec481d assists: generate_config_object: Enable user-driven customization of library options
    79549ae assists: generate_config_object: Addressed the scenario where, not all masters are reset masters
    f82ab8d lopper:assists:baremetallinker: Do not consider linear SPIs for memory tests
    a73d564 lopper:assists:gen_domain_dts: Remove axi_noc and noc_ddr4 IPs from linux ignore list
    021013d base: add expression to clock phandle description
    48750bd openamp: xlnx: Update model parsing
    60d8aa1 openamp: xlnx: remove a2197
    7bd74a9 lopper: assists: gen_domain_dts: Update symbol node entry for gic_its node
    cfb21da base/phandle: add resets and assigned-clocks
    5d13874 lopper: assists: gen_domain_dts: Add option to keep TCM nodes
    ebdfc57 lopper: assists: baremetal_validate_comp_xlnx: Update the assist to handle use cases where dev_type is missing in the driver yaml
    ff72bf2 lopper: assists: baremetal_validate_comp_xlnx: Update mem_type check for microblaze_riscv
    1eeeec3 lopper: assists: baremetal_xparameters_xlnx: Generate reg and interrupt defines for all possible ranges
    064646a assists: gen_domain_dts: Remove BRAM memory nodes from linux device tree
    624e91d assists: linker/domain: Add support for linear flash memories in linker script
    5e68bc5 lopper: assists: baremetal_validate_comp_xlnx: Update memory test checks for zynq platform
    818100c lopper: assists: baremetal_xparameters_xlnx: Fix whitespace after the marco name warning
    01d33c4 assists: baremetal_xparameters_xlnx: Export defines needed by MB V BSP
    442630a lops: lop-microblaze-riscv: Add support for library fallback mechanism
    e8f8c80 lopper: assists: baremetal_gentestapp_xlnx: Fix the condition for selftest API declartion
    136a11a setup.py: change minimum version to 3.8
    4b68752 lopper: assists: xlnx_overlay_dt: Handle phandle properties in a specific way
    8476601 assists:gen_domain_dts.py: Remove PL DDR from default linux device tree
    57180b8 lopper: assists: gen_domain_dts: Prune clocking wizard
    450b6ad setup: update description and python version
    bd0aa2f version: update to v1.2.0
    83b251f lops: lop-microblaze-riscv: Add support for bit-manipulation extensions
    ef5524b lopper: assits: bmcmake_metadata_xlnx: Fix CMAKE_MACHINE value for versal platform
    282ec07 lopper: assists: baremetal_validate_comp_xlnx: Add special handling for emacps
    e4b61fc assists:baremetallinker: Correct the logic to set the start address of linker section for microblaze
    538f6b5 assists: baremetallinker: Correct the start address for text and data sections for microblaze
    4e00e10 assists: baremetalconfig: Correct the size for 32bit cell size boundary condition
    026f7ad lopper: assists: baremetallinker_xlnx:  Update default heap size for microblaze processor
    bcd57e9 lopper: assists: baremetal_validate_comp_xlnx: Add assist to validate the hardware required for a given ESW component
    c34ef01 lopper: assists: gen_domain_dts: Update don't delete properties list
    bc99d2f lopper: assists: preserve the device-tree node order
    212686c isspec: drop debug code
    d01a174 openamp: xlnx: Update Platform handling to use model property
    c747581 base/phandle: add reset-gpios
    4451694 tree: return a list of nodes matching an address
    1bf6728 Revert "lopper: assists: gen_domain_dts: Remove dupe TCM node"
    9173c4c openamp: xlnx: VHK158: clean up compatible string
    7b8fafc lopper: assists: xlnx_overlay_dt: fixed the closing bracket missing issue
    bfbd55b domain_access: reference count memory nodes
    6937a27 Revert "openamp: xlnx: Clean up TCM handling"
    4e8c9a4 assists/domain_access: keep all matched regions
    8a936b8 openamp: xlnx: Clean up TCM handling
    7a16db0 lopper: assists: gen_domain_dts: Remove dupe TCM node
    17cc815 lopper: assists: domain_access: Fix typo vebose
    033a78f lopper: assists: barmetal*: Fix race condition in the version driver handling
    ac63f30 openamp: xlnx: Add versal SOC's vhk158 and vek280
    5b0289f lopper: assistes: Reduce dtb for sd-fec designs
    6ce8ab4 lopper: assists: Enhance special proprety removal
    d6eedf2 lopper: assists: Add special handling for xdma pcie
    b658166 lopper:assists:baremetal*: Correct the steps to construct a 64 bit value from 2 32-bit cells
    6525a7f assists/domain_access: update start and size of memory
    843a5ea assists: remove overly verbose output
    939b356 assists/domain_access: count indirect references
    e2ed2f3 assists/isospec: output cpu specific label
    56b34b2 assists/domain_access: fix memory node -> address-map updating
    1709d94 yaml: update version check to use packaging module
    bc86e1e assists: baremetal_xparameters_xlnx: Export MB V cpu parameters related defines
    4af6ecd openamp: xlnx: Clean up SOC Parsing
    5ba9f59 openamp: xlnx: Add support for more SOC's
    f58a344 openamp: xlnx: Add VMK180 support
    1fcbfed assists/isospec: add ss_permissions to valid access types
    6b74788 lopper: assists: baremetal_xparameters_xlnx: Update IPI interrupt ID value to inline with vitis classic
    b03b978 lopper: assists: baremetal_xparameters_xlnx: Generate interrupt ID for IPI
    cf70679 lopper: assists: baremetalconfig_xlnx: Generate dummy config struct in case proprety is not present
    f20667c assists/isospec: log new spec type ss_management
    3b8462b lopper: assists: baremetal_xparameters_xlnx: Fix subnode_phandle property generation
    b734b82 lopper: assists: xlnx_overlay_dt: Fix wrong gic_node referencing
    9c8f055 setup.py: Add "packaging" module under YAML related requirements of Lopper
    ed32a4a lops: lop-microblaze-riscv: Fix handling of use-muldiv and use-fpu
    f4f4da8 lopper: assists: Remove domain specific code from the assist
    a76048f xlnx_overlay_dt.py: Rename dfx-static to dfx
    5446ee6 asists/subsystem: make processing more robust
    d9f9621 isospec: ensure that memory and cpus are always lists
    c4e1589 lopper: assists: baremetal*: Add provision to pass float numbers from SDT as is
    738df8c yaml: support ruamel versions > 0.17.x
    8e23822 lopper: assists: gen_domain_dts: Fix syntax issue in the code
    8eaf027 lopper: assists: baremetal_xparams: Done generate interruptIDs for PS peripherals
    54a8dbd isospec: refactor for speed and tracking
    37b6217 tree: fix property iteration for json
    f0a6873 isospec. WIP2. cleanedup prints
    67cbf9b WIP: v2 unassigned devices and memory
    d7fa5bb WIP: unreferenced devices can be addded, lots of address warnings
    8b7df8c assist:baremetalconfig: Avoid the error when there is no serial mapped to the processor
    5a3e037 xlnx_overlay_dt.py: Update script to support partial use cases
    8ee72f0 openamp: xlnx: Enable Linux generated Device Tree to work for OpenAMP use cases
    6b68ec5 lopper: assists: xlnx_overlay_dt: Update the interrupt-parent references in pl.dtsi
    8ff2ef3 lopper: assists: gen_domain_dts: Update symbol node gic entries as per latest change
    4314f3c lopper: assists: gen_domain_dts: Fix race condition for pl microblaze based system device-tree
    9b9abce lopper: assists: gen_domain_dts: Update comments
    c032056 lopper: assists: baremetalconfig_xlnx: Don't generate config file when it is not needed
    4be33e3 assists: bmcmake_metadata_xlnx: Add check for interrupt property
    f3cfd99 lopper: assists: xlnx_overlay_dt: Add outdir support for pl.dtsi generation
    358e798 lopper: assists: gen_domain_dts: fix race condition in the size cells handling
    49cb3df lops: openamp: Update lops to be scalable for Linux boot with latest Lopper outputs
    292221c lopper: assists: baremetal_gentestapp_xlnx: make the Interrupt Controller example as the primary example
    52d3310 openamp: xlnx: Update RPMsg kernel mailbox output
    0721a60 lopper: assists: baremetalconfig_xlnx: Update the get_label() API to read xlnx,name property
    029302d lopper: assists: Add support for VersalNet linux device-tree generation
    cbf2a75 assists: baremetal_gentestapp_xlnx: Don't generate Instance names for selftest
    9883a0b lopper: lops: Rename the interrupt-controller node to inline with existing linux device-tree entries
    2a1b71f lopper: assists: gen_domain_dts: Add support for linux device-tree generation
    236ba92 lopper: assists: correct memory size when the size crosses 32 bit
    4411d8a lopper:assists:baremetal_config: Correct the pci range mapping
    0733a51 xlnx_overlay_dt.py: Update script to support full and dfx-static
    d9b0491 lopper:assists:baremetal_xparams Generate the Memory region names within NOC macros
    6567bbf openamp: xlnx: Add IPI Helper code
    9f79719 assists: introduce sample comparision assist
    f638216 assists:baremetallinker_xlnx: Fix handling for lmb bram
    08714b3 lops: Add lops file to generate Microblaze RISC-V compiler flags
    e8d8670 lopper: assists: baremetal*: Add proper checks
    0e640aa openamp: xlnx: Add support for Versal NET
    c33273e assists:baremetalconfig_xlnx: Update logic to get correct PCI range
    dafaa60 lopper: assists: baremetal_xlnx*: Add support for the Generic Interrupt ID
    eab07ca lopper: assists: bmcmake_metadata_xlnx: Add support for XPAR_CPU_ID in cmake meta-data
    c1f4c15 lopper: lops: Keep the status disabled nodes in the pruned tree
    76f8b57 lopper: assists: xlnx_overlay_dt: Remove amba_pl references
    26cfd97 assists:baremetal_xparameters_xlnx: Correct the string macros in xparameters
    f7de8bb openamp: xlnx: Add new module flags for role, host and remote
    74dcf15 lopper: assists: bmcmake_metadata_xlnx: Don't include IP subcores in the hw metadata
    37e3181 openamp: xlnx: Update output file
    6e06529 lopper: lops: lop-domain-linux-a72-prune: prune symbol node
    2c42dc5 lopper: lops: lop-domain-a72-prune: Don't delete pl nodes
    fb4aab3 lopper: assists: xlnx_overlay_dt: Migrate the DT overlays to sugar syntax
    58972a7 lopper:assists:xparams: Provide an option to configure the xparam prefix
    7877280 lopper:assists:xparams: Replace the node label name with the IP name in canonical entries
    657c7d6 tree: count indexes for dropped records
    07d5b55 spec: document extended yaml operators
    d23e170 yaml: expand all chunks of json into numbered nodes
    4430667 tree: improve phandle map variable field handling
    294d238 yaml: resolve json properties after setting pclass
    9ab64bd base/phandle: add expression to clock phandle description
    3108937 lopper: assists: gen_domain_dts: Fix race condition in deleting the cluster cpu node
    fcf7db3 lopper: assists: xlnx_overlay_dt: Remove deprecated lopper_tree imports
    10460d8 lopper: assists: baremetalconfig_xlnx: Don't generate config file in case driver is compatible with the given sdt
    a8e926b openamp: xlnx: Update channel check to account for 0
    512fede openamp: xlnx: Enable multiple channels in YAML
    5f6dec1 openamp: xlnx: remove old openamp zynq logic
    885a446 openamp: xlnx: Enable Zynq Platform via updated module flow
    7dddfe1 lopper: assists: Add support for pruned system device-tree
    a43e3ee assists/domain: respect -t flag to lopper
    d83c43b tree: enhance phandle handling for variable sized fields
    c5fdcd5 lopper: assists: gen_domain_dts: Add assist for generating processor specific dts
    d8f4baa tree: decreate duplicate node verbosity
    eeb629c yaml: switch output to logging format
    61c9105 assists/isospec: change no-flags/default for devices
    c6bb68b tree: convert to logger and f-string format
    4787e49 lopper: convert debug to logger and f-strings
    5fe8c25 logging: ensure that the root logger has the same level as subloggers
    8f0214a lopper: move logging to reusable location
    9a55fdc lopper:assists:baremetallinker_xlnx Correcting logic to get the stack and heap data from yaml
    a92c7d9 lopper:assists:baremetal_xparameters_xlnx: Removing the BOARD dependency on compatible string
    bcfb72d docs: add 'output' lop operation documentation
    950ed68 lopper: assists: If options has outdir option consider it as precedence
    dc9cf68 lopper: __init__: Add support for optional outdir feature when assist called from lops
    315bdb9 lopper: add "cond" property to lops
    c4d8872 assists:baremetal_xparameters_xlnx: Fix for the wrong reuse of variable "index"
    a2835e9 lopper: assists: Add proper checks for chosen node handling
    240b9b7 lopper: assists: baremetal_xparameters_xlnx: Fix race condition in the additionalProperties handling
    57e9a24 lopper:assists:baremetal_config : Add flexibility for padding number
    c4c0b12 lopper:assists:baremetal_xparameters : Adding support to add a 64 bit property in xparameters
    0dfdf0f lopper: assists: baremetal_xparameters_xlnx: Ignore Subnodes
    7f0464d lopper:assists:baremetalconfig : Adding support to read a 64 bit property from a node on demand
    8dc8be5 lopper: assists: baremetallinker_xlnx: Fix UnboundLocalError has_ocm
    3e501d6 lopper: assists: baremetallinker_xlnx: Fix race condition in the memtest config
    2824f18 lopper: assists: bmcmake_metadata_xlnx: fix type in driver name
    4940c61 lopper: assists: baremetal_xparameters_xlnx: Add support for generating XSEM_CFRSCAN_EN and XSEM_NPISCAN_EN defines
    d48e497 lopper: assists: baremetallinker_xlnx: Update the process checks for all cores instead of 0th instance
    9b4a1b2 lopper: assists: baremetallinker_xlnx: Add support for linker_constraints
    f053643 openamp: xlnx: Add Host specific values
    791a368 lopper: assists: bmcmake_metadata_xlnx: Generate CMAKE_MACHINE variable for microblaze processor
    068882c lopper: assists: baremetal_xparameters_xlnx: Fix IndexError in assist
    2f022b5 lopper: assists: baremetal_gentestapp_xlnx: Update the assist to handle versioned drivers
    807435a lopper: assists: Generate BOARD define inline with existing code
    a41c9f2 lops: lop-microblaze.dts: Add check for model property
    d6ea4ba lopper: assists: baremetalconfig_xlnx: Add support for variable size structs
    55961c6 lopper: assists: baremetallinker_xlnx: Add support for ps7_ram
    12994d4 lops:lop-microblaze: Fix generated library path
    89de3b1 lopper: assists: Generate board information in the cmake meta-data
    872a00e lopper: assists: baremetal_gentestapp_xlnx: check for all compatible strings in a node
    07a7da5 lopper: assists: baremetal_getsupported_comp_xlnx: Use VerboseSafeDumper to remove the yaml anchor
    e4cd719 lopper: assists: baremetalconfig_xlnx: Make sure node order is preserved
    19e89c7 assists/baremetal/linker : Adding new memory nodes to the linker metadata to support versal net
    3a1e67f lops/baremetal: Adding new lops file for supporting Versal Net imux use cases
    a795ad9 lopper: assists: baremetal_xparameters_xlnx: Generate XPAR_MICROBLAZE_ADDR_SIZE define if xlnx,addr-size property is present
    b5fbd62 lopper: assists: baremetal_xparameters_xlnx: Cleanup the try execpt blocks
    95e8283 lopper: assists: bmcmake_metadata_xlnx: Fix the lwip topology index
    14c4fad lopper: assists: bmcmake_metadata_xlnx: Fix race condition in the assist
    f5050f4 lopper: assists: baremetal_xparameters_xlnx: Handle string property values
    9110f94 lopper: assists: bmcmake_metadata_xlnx: remove duplicate node references
    8e1bb57 lopper: assists: baremetallinker_xlnx: Add missing tcm memory section for versal a72 and r5 processors
    f2c82ce lopper: assists: baremetal_gentestapp_xlnx: Fix race condition in the self test app declartion
    bf43b8d lopper: assists: bmcmake_metadata_xlnx: Check for all compatible strings in the node
    0db3eb5 lopper: assists: baremetalconfig_xlnx: Handle string property values
    a1e5f4a assists/baremetal: Add handling for non homogeneous driver device trees
    baee4f1 lopper: assists: baremetal_gentestapp_xlnx: Don't generate meta-data for the non mapped drivers
    5d1cb8a openamp: xlnx: Enable module with host/remote role
    96e6796 openamp: Enable assist to be invoked as module
    d4eb9bf lopper: assists: baremetal_xparameters_xlnx: Generate PSS_REF_CLK define for all the processors
    d4013c3 isospec: handle subdomains of default subystem
    b69b557 lopper: assists: Generate device_id and slrcount information in the cmake meta-data
    f429a84 isospec: format memory ranges in hex
    9ea1d12 isospec: handle multiple memory ranges
    98e25b6 lops: Add lops file to generate microblaze compiler flags
    f4fc65c lopper: assists: Add support for mig7
    b61d099 lopper: assists: Special handling for ps7 ddr controller
    0d70ce1 lopper: assists: baremetalconfig_xlnx: Fix race condition in the cmake meta file name
    8c9c847 bmconfig: Change in the logic to get the _g.c name for the drivers
    3c59af4 lopper: assists: baremetaldrvlist_xlnx: Generate both xlnx,ip-name and xlnx,name variable meta-data in the ip_drv_map.yaml file
    c7ab947 lopper: assists: baremetallinker_xlnx: Add default memory section for cortexr5 processor
    3b4b710 lopper: lops: lop-domain-linux-a53-prune: prune symbol node
    9caac31 lopper: assists: Update the assist as per latest repo yaml changes
    457ad40 lopper: assists: bmcmake_metadata_xlnx: Handle versioned folders
    227de35  openamp: xlnx: Update compatible string checks
    bc85a14 lopper: merge inputs with domains to main device tree
    81f11da lopper: assists: baremetal_xparameters_xlnx: Generate the XPAR_MICROBLAZE_DDR_RESERVE_SA define
    e0e7200 lopper: assists: baremetalconfig_xlnx: Special handling for Handler-table property
    5ba05a0 assists/domain_access: allow domain_access to function as a module
    beffe48 subsystem: make processing more robust
    6d911d3 yaml: fix output to not be list based
    fe4fb6a yaml: allow files to be system device tree files
    5ac6ae9 assists/isospec: update to json format v2
    9f83eae assists/isospec: introduce reference domains.yaml generation
    0f232f1 tree: add compatible string and address node searching
    bad0783 yaml: override default anytree iterator generator
    4c26d2f tree: add children() method
    732c14c yaml: tweak output style
    3169a71 lopper: handle json encoded strings in DTC
    5d2b417 lopper/tree: create address() lookup on a node
    b548dae lopper: allow input files to be stored for future use
    a622afd lopper: allow .json files to be passed as tree inputs
    6f15431 lopper: assists: Handle drivers which are part of sdt folder
    9a21695 lopper: assists: baremetaldrvlist_xlnx: Update the ip_dict to use xlnx,name property instead of xlnx,ip-name
    c524140 lopper: assists: bmcmake_metadata_xlnx: Update the assist to handle versioned libraries
    34bcaf4 build(deps): bump flask from 1.1.2 to 2.2.5
    addf5dd README: Fix loppper spell check
    71ac299 lopper: assists: bmcmake_metadata_xlnx: Generate example list yaml
    5536a45 lopper: assists: baremetal*: update the driver name variable to handle versioned drivers
    1b9b56d lopper: assists: baremetalconfig_xlnx: Add support for subnode generation
    dbd29ef lopper: assists: baremetal_xparameters_xlnx: Add support for additionalProperties schema
    395f00d lopper: assists: baremetal_xparameters_xlnx: Add support for generating NUMBER_OF_SLRS define
    6831950 lopper: assists: baremetallinker_xlnx: For memory tests configuration default memory should be ocm if available
    a276bb7 lopper: assists: bmcmake_metadata_xlnx: Remove unneeded list set operation on node list
    40d2d6f lopper: assists: baremetallinker_xlnx: Fix compare logic in hex strings
    4fc81d4 lopper: assists: bmcmake_metadata_xlnx: Don't use hardcoded library name
    f04afa2 lopper: lops: lop-domain-linux-a53-prune: Update memory nodes as per cpu cluster mapping
    1bd16af dts: remove invalid space before label
    df60538 lop-domain-linux-a53-prune: Removing all the unneeded sdfec properties from linux device tree
    7abbe5f lopper: assists: generate_config_object: Add outdir option support
    148dc1d lopper: assists: bmcmake_metadata_xlnx: Fix failed name 'compat_list' is not defined
    a528f34 lopper: Delete unneeded processor node in a generic way
    3871b4a baremetal_assists: Modifying baremetal assists to support use of multiple ESW repos
    7c8bd82 lopper: assists: baremetal_xparameters_xlnx: Generate time stamp frequency define
    5c73008 lops: fix comment style
    9a303b6 specification: fix incorrect phandle
    8c02dae specification: wrap long system-device-tree.dts lines
    ac864c5 specification: migrate remaining .md documents to Sphinx
    0cf0bbc specification: rework 'core' chapters
    929aa91 specification: rework intro and add glossary/bibliography
    4ecc1af lopper: create LopperJSON class
    6ee8691 lopper: add json input/output file format
    3e599b8 lopper: assists: petalinuxconfig_xlnx: Add device information in the meta-data
    e9a5887 lopper: assists: bmcmake_metadata_xlnx: Add support for hardware ip name
    46a9d81 lopper: lops: lop-domain-a72-prune.dts: Delete unneeded nodes from a72 domain
    eb71824 sanity: make temporary file management cross platform safe
    a476a33 lopper: Implementation of lopper plugin for generating config object
    aa96fcc lopper: assists: baremetal_xparameters_xlnx: Fix whitespace after the marco name warning
    ed171c2 lopper: lops: Remove R5 cpu nodes while generating linux dtb
    146b2e8 lopper: assists: bmcmake_metadata_xlnx: Generate node label name instead of node name in the cmake meta-data
    746a744 lopper: assists: Move get_label api to baremetalconfig_xlnx so that other baremetal assists can use it
    098ba70 Revert "lopper: assists: baremetaldrvlist_xlnx: Generate CMakeLists.txt file"
    2018c89 lopper: assists: bmcmake_metadata_xlnx: Add support for generating standalone bsp meta-data
    b1a0443 lopper: assists: Add MEMORY_SECTION cmake variable
    8146b45 lopper: assists: petalinuxconfig_xlnx: Remove the hardcoded processor name
    37408dd Convert demo readme to markdown
    0da7cbd specification: remove secure-bus and secure-reg
    2cfea13 specification: fix incorrect usage of unit addresses
    374fcdc specification: fix invalid dts in examples
    22fcd01 lopper: lops: lop-domain-linux-a53-prune.dts: Fix undefined reference to valid_phandles in case of no domain file passed
    bad1796 specification: convert to Sphinx
    5eabf85 assists:gentest_app : Adding outdir support to periph test assist
    a04f96c asists:baremetaldrvlist_xlnx : adding the usage of outdir option in baremetaldrvlist_xlnx assist
    c8e9554 lopper:assists: Update assists to support outdir option and the changed yaml format in embeddedsw
    932b574 lopper: assists: petalinuxconfig_xlnx: Update assist as per latest lopper changes
    dfa5252 docs: Minor README.md fixes
    cd47956 README: update and clarify Xen extraction demo
    f91d5ef inputs: update host device tree to include interrupt-parent
    d7b6962 inputs: update demo yaml to remove DOS formatting
    4fb5339 demos: add openamp and Xen demo README and input files
    94ce2d6 a53-prune: allow access specified devices to be retained
    4f131aa tree: fix dref() parent tree lookup
    54f9921 subsystem: use dref() instead of lnodes()
    5bd964b openamp: update 3rd parameter to options list
    da29be7 lopper: assists: baremetal_bspconfig_xlnx: Clean up the code
    aa7c005 lopper: assists: Updated the assists to support for outdir option
    5702589 lopper: assists: baremetaldrvlist_xlnx: Generate CMakeLists.txt file
    ac1b419 lopper: assists: Remove hardcoded cpu to yocto machine mapping dictionary
    1e9e7d0 lopper: lops: lop-cpulist: Add lops file for getting the processors list for a given System Device Tree
    9670921 lopper: assists: baremetal_getsupported_comp_xlnx: Add assist for getting the baremetal supported components list for a given processor
    41b08f5 lops: create phandles for modify operation references
    0c9c95b Changing the bus name from amba to a valid bus name as per open source dts schema.
    03e4ec9 fdt: Fix for the condition when an include file is defined inside a node
    ce4e3c4 extract-xen: Copy sdt root compatibles into extracted node
    de9dc53 extract-xen: Handle xen,reg properly
    cdacef3 sanity: close memreserve tree before reading
    11d1923 fdt: ensure new line after /memreserve/
    534b3dc extract-xen: encode the virtual interrupt parent as string
    cdb1a7b lopper/release: bump version to 1.1.0
    f5ee4ae tree: fix 32bit value detection
    19c83bb fdt: use hints to write single byte
    2f389c8 tree/conditional: fix dtc 1.6.1+ support
    6343c41 lopper/core: support 64 bit values
    46e6505 libfdt: add 3.10 vendor
    64482a5 lopper: lops: lop-domain-linux-a53: Remove duplicate psu_r5_tcm_ram_global node
    79a3c3e lopper: assists: bmcmake_metadata_xlnx: Fix race condition in the code
    b7d116f lops: fix comment style
    093ef5a lopper: lops: lop-domain-linux-a53-prune: Don't delete the amba_pl node
    e1429f5 Revert "base: add powerdomains to default phandle meta data"
    9159040 lopper: assists: baremetallinker_xlnx: Fix race condition in memory domain handling

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2024-10-03 01:28:52 +00:00
Bruce Ashfield
5aa5d646e1 kernel: add selinux fragment if selinux is enabled
When distro features include selinux, we should add that
configuration to our kernel.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2024-10-03 01:28:52 +00:00
Bruce Ashfield
54480c55be kernel: simplify the kernel-cfg-fragments-native dependency
The routine calculating the -native depdenency for configuration
fragments had issues with variations in kernel PV definitions.

To avoid making the routine even more complex, this commit switches
to using the same variables that include the correct virtualization
include file. This way, if bitbake has located and included the
file that adds the -native dependency, we know that the variables
will find the correct recipe.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2024-10-03 01:28:52 +00:00
Martin Jansa
c02af94731 linux-yocto_virtualization.inc: parse MAJOR.MINOR version from PV not PREFERRED_VERSION
* it was introduced in:
  https://git.yoctoproject.org/meta-virtualization/commit/?id=a940a0e873f9163d4585555b3f3d38e99400d237
  but it doesn't work well when PREFERRED_VERSION is set to e.g. "6.6.%",
  you remove the '%' but not the trailing dot, causing:

  ERROR: Nothing PROVIDES 'yocto-cfg-fragments-6.6.-native'. Close matches:
    yocto-cfg-fragments-6.10-native
    yocto-cfg-fragments-6.6
    yocto-cfg-fragments-6.6-native

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2024-09-03 02:09:16 +00:00
Bruce Ashfield
a940a0e873 kernel/cfg: allow multiple kernel configuration options
When more than one kernel is supported in oe-core, we may have
situations where the options from an older (or newer) kernel
are not appropriate for the other version (i.e. options have
been added, removed or renamed).

To support this we check the preferred version of the kernel
and depend on a specific yocto-cfg recipe.

This is similar to how the virtualization .inc files are
chosen.

If this technique proves to be correct, we can factor the
common routines into a .inc and just set SRCREVs in the
individual .bb files.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2024-08-12 17:54:24 +00:00
Bruce Ashfield
3865be0a79 kernel: add 6.10 configuration
kernel version 6.10 will be the next reference kernel, so we
add the .inc file to enable the configuration

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2024-08-05 18:36:44 +00:00
Bruce Ashfield
13928411b2 kernel: fix fragment path
Now that UNPACKDIR is used to unpack sources we have an
extra level of indirection to locate our cloned fragments.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2024-05-29 13:16:56 +00:00
Bruce Ashfield
b7e77b69d3 kernel/cfg: update SRCREV to sync lxc options
Bumping the SRCREV to pickup the latest lxc configuration
tweaks and consoliation.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2024-04-10 14:02:27 +00:00
Bruce Ashfield
c936858b1b kernel/cfg: update configuration for kubernetes
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2024-03-19 13:36:33 +00:00
Bruce Ashfield
29603462e1 kernel/cfg: add space before distro optional features
distro optional features need to ensure that they are space
separated or we'll have configuration failures.

Additionally, always add a local configuration fragment for
easy debug and enablement of options.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2024-03-19 13:35:05 +00:00
Bruce Ashfield
628d9430a8 kernel/cfg: move to a kernel-cache / central location for configuration
We've had duplicate fragments in the kernel-cache and the meta-virt
layer for quite some time (i.e. docker).

To more easily keep these in sync, promote the sharing of fragments
and to allow them to be used even when meta-virt isn't part of
a build, we change our feature additions to use the yocto-kernel-cfg
clone of the kernel-cache instead of the ones in our layer.

It remains to be seen if any other kernel recipes will run into
issues with this movement of the fragments, so we mark this as a
WIP/RFC.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2024-03-15 17:17:20 +00:00
Bruce Ashfield
c4523d341e kernel/cfg: synchronize latest docker configuration
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2024-03-15 17:17:20 +00:00
Bruce Ashfield
8c18554d3e cfg-fragments: update to 6.6
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2024-03-15 17:17:20 +00:00
Bruce Ashfield
bd67612b66 kernel: drop 6.1 inc file
6.1 has been removed from oe-core, so we update our .inc files
to match.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2024-02-07 22:34:09 +00:00
Bruce Ashfield
cd448b3de6 kernel/cfg: change CONFIG_TUN to module
Currently Xen expected a tun module to be packaged. We need
a better way to resolve dependencies such as this (perhaps
by the kernel providing the package requested when functionality
is built in).

But for now, without a compelling need for criu to have tun
built in, we tweak this config to match and keep the xen builds
happy and with no conditional package requirements.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2024-01-23 19:24:18 +00:00
Xiangyu Chen
e4e2072188 criu: add kernel configuration features
criu needs to turn on sock diag features in kernel to do the system dump[1].

Ref:
[1] https://criu.org/Linux_kernel

Signed-off-by: Xiangyu Chen <xiangyu.chen@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2024-01-19 14:29:24 +00:00
Bruce Ashfield
fb67ee2b7a kernel: drop 6.5 support
6.6 will be the default in oe-core and 6.5 removed, so we
follow with our support

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2024-01-04 02:52:53 +00:00
Bruce Ashfield
c56d8448e6 kernel: add v6.6 support
Adding support for the 6.6 kernel series as testing has been
completed against linux-yocto v6.6/*

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2024-01-04 02:52:53 +00:00
Bruce Ashfield
92a7e8ec46 kernel: allow configuration to be skipped .. but warn
Allow the kernel include file to be skipped, even if a
kernel is capable of merging and using the fragments in
the layer and kernel-cache.

Setting SKIP_META_VIRT_KERNEL_INCLUDE="t" in a kernel
bbappend, or in a configuration file will inhibit the
generated / detected include file.

BUT

If that opt-out is done, we warn, as the user has
explicitly disabled safeguards that help ensure that
subtle runtime issues aren't introduced.

BUT

If someone really knows what they are doing, they
don't want the warning to be present in each build.
So setting META_VIRT_KERNEL_CHECK_WARNING_INHIBIT="t"
will inhibit the message.

At that point, you have jumped through all the hoops
and you are free to ensure your kernel configuration
is correct using other means.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2023-11-07 13:22:17 +00:00
Bruce Ashfield
185d07f863 kernel/yocto-cfg-fragments: update to 6.5 kernel
Bumping the standalone fragments recipe to pickup the latest
6.5 fragments.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2023-11-06 16:21:12 +00:00
Bruce Ashfield
62d5c5a4f5 kernel: drop 6.4 .inc file
6.4 is no longer in OEcore, so we drop our associated
kernel .inc file.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2023-11-06 16:21:12 +00:00
Bruce Ashfield
7e9472c72b kernel: add 6.5 support
The 6.5 kernel has now been tested against core and meta-virtualization
so we add the .inc file to show that status.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2023-10-01 15:12:56 +00:00
Bruce Ashfield
08435d20b1 recipes/classes/scripts: Drop SRCPV usage
bitbake has been enhanced such that SRCPV is no longer needed in
PV to handle updating git hashes and task signatures.

We can simplify our PV by dropping SRCPV

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2023-08-24 01:38:21 +00:00
Bruce Ashfield
8e1a34f550 kernel: drop 5.15 inc file
5.15 hasn't been in master for quite some time, so we drop
our version matching .inc

Support for 5.15 can be found on release branches.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2023-08-15 18:24:13 +00:00
Bruce Ashfield
56593e277a python3-dtc: drop recipe
oe-core commit 123077ecd9f3c1839d [python3-dtc: add from
meta-virtualization] brings this recipe into core, so we drop
our version.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2023-08-01 14:42:25 -04:00
Bruce Ashfield
433e5ea556 kernel: the dev kernel is moving to 6.4, so we update our bbappend
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2023-06-07 16:40:21 -04:00
Bruce Ashfield
a8e46c6e1f kernel: add 6.2 kernel configuration include
The -dev kernel is on 6.2, so we create a .inc file to match.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2023-03-08 17:08:01 -05:00
Bruce Ashfield
2119189361 treewide: bulk update patches with status field
While the insane.bbclass upstream-status check hasn't been made
default, users of meta-virtualization may have it enabled in their
distros .. so the effect is the same. We must have this tracking
tag in out patches.

This is a bulk update to add the tag and silence the QA message.

As packages get updated, the normal/routine process of checking
the patches will continue, and the status fields may (or may not)
get more useful.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2023-01-27 10:32:06 -05:00
Bruce Ashfield
c3bd7a21d4 kernel: drop linux-yocto-dev.bbappend
The more generic linux-%.bbappend will match on linux-yocto-dev.
If we have the version specific .inc files in the layer, then we
will have support for linux-yocto-dev. Since we already track
the linux-yocto-tested versions, it isn't hard to track the -dev
kernel version.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2023-01-27 10:32:05 -05:00
Bruce Ashfield
3195447160 kernel: add 6.1 kernel configuration
Removing 5.19 and adding 6.1 kernel configuration triggers, now
that OE core will drop 5.19.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2023-01-26 12:22:30 -05:00
Bruce Ashfield
5cfc4c3f80 kernel/cfg: add CONFIG_NETFILTER_XT_MATCH_IPVS to docker config
This is an optional feature (but still commonly used), so we add
it to our default fragment.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2022-08-25 22:55:48 -04:00
Bruce Ashfield
fec43d04a4 kernel: add 5.19 inc file
The major stacks have been tested against 5.19, so we add the
tracking .inc to indicate support.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2022-08-09 14:25:04 -04:00
Bruce Ashfield
58f5ac62e8 kernel: drop 5.10 .inc
oe-core has removed 5.10 from master, so we drop our tracking .inc

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2022-08-09 14:25:04 -04:00
Bruce Ashfield
8364fd6c98 lopper: update to -latest
Bumping lopper to latest, which comprises the following commits:

    9159040 lopper: assists: baremetallinker_xlnx: Fix race condition in memory domain handling
    38d18ca lopper/fdt: add /memreserve/ to preprocessing routines
    33ee8e6 sanity: add /memreserve/ test
    c6431bf fdt: fix dtb handling of common prefix nodes
    211c902 lopper: add support for /memreserve/
    4545eed base: add powerdomains to default phandle meta data
    bc95bc2 tree: handle variable sized phandle properties
    69d8849 openamp: Update YAML handling to match spec
    578de1d lopper: assists: bmcmake_metadata_xlnx: Fix race condition in the assist file
    14d2aa3 tree: ensure that phandle is initialized before export
    a6b38e8 tree: make label generation more robust
    9faf923 extract-xen: add [extract-xen] prefix, and write xen,passthrough
    00c14d5 assists: add imagebuilder wrapper assist
    d879eaf extract: use lopper.write for export of trees
    ca80fbb extract: improve xen passthrough configuration
    791f0f5 lopper.py: allow execution from any directory
    0c62984 lops: fix comment style
    3598d54 lopper/tree: handle invalid last phandle
    697aa62 assists: create generic tree extraction and xen-processing assists
    5ae6650 lopper/tree: improve phandle and node operations
    5a230a5 lopper/assists: allow chained command line assists
    bbb92ee lopper/tree: make import/export more robust
    b8aeb54 lopper/tree: improve node iteration and resolution
    692cbc9 lopper: lops: lop-domain-linux-a53-prune: Remove unneeded nodes for Linux boot
    cd25873 lopper: assists: baremetalconfig_xlnx: Fix KeyError exception
    58dd00c lopper: assists: baremetal_xparameters_xlnx: Fix KeyError exception
    01ae242 openamp: xlnx: Update RPMsg-kernel mailbox information
    fbc4329 lopper: assists: petalinuxconfig_xlnx: Fix indentation and width params
    5c3074b lopper: assists: petalinuxconfig_xlnx: Add support for additional meta-data
    cc3de25 lopper: assists: breametallinker: fix race condition in memory node handling
    7723fed lopper: lops: a72 linux: remove axi intc node
    743432e openamp: xlnx: remove TCM compat strings
    53746be lopper: lops: lop-domain-linux-a53-prune: remove amba_pl pruning
    0d56f35 lopper: lops: lop-domain-linux-a72: move prune operations to separate lop
    fdbbe7b openamp: xlnx: add support for Versal platform
    1839bdb openamp: xlnx: add 'power-domain' prop for Xilinx R5 remoteproc driver SRAMs
    14d1caf lopper: lops: lop-domain-linux-a53: move prune operations to separate lop
    7169df0 openamp: xlnx: remove dead code
    ec9fdce openamp: xlnx: remove definitions node
    07f48d0 openamp: xlnx: Add text file for OpenAMP Channel information
    637863f openamp: xlnx: update IPI for mappings for ZU+ platform
    1b41e52 openamp: xlnx: rpmsg: generate rpmsg device tree nodes
    a643273 openamp: xlnx: remoteproc: generate remoteproc device tree nodes
    a833729 openamp: fix bug for domain-to-domain subnodes for openamp relations.
    ea6d8e1 lops: openamp: describe OpenAMP relation properties as phandles
    40c2070 openamp: translate YAML Remoteproc carveouts to DTS
    fda40d8 openamp: translate YAML RPMsg carveouts to DTS
    9d938f7 openamp: xlnx: parse pre-existing nodes in YAML
    eafb17a lopper: process .dtsi input files the same as .dts
    ce4638a lopper: assists: petalinuxconfig_xlnx: Add assist file for generating petalinux tool required configuration
    cfa0593 fdt: make node prefix lookups more robust
    2f3f2d2 lopper/format: allow tabs to be used when writing dts
    c7b22ce lopper/subsystem: update access to latest specification

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2022-07-14 15:17:08 -04:00
Richard Neill
6ed391fdb0 k3s: Add missing IP Virtual Server (ip_vs) feature to the kernel config
K3s (and Kubernetes) supports load balancing via IPVS, and by default reports
errors when IPVS kernel modules cannot be loaded.

This patch adds the missing reported kernel modules to the k3s recipe:

    * ip-vs
    * ip-vs-rr
    * ip-vs-wrr
    * ip-vs-sh

The modules are configured by including the ip_vs kernel feature.

Signed-off-by: Richard Neill <richard.neill@arm.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2022-04-20 14:12:03 -04:00
Bruce Ashfield
5d30327332 lopper: update to 1.0.2
Bumping lopper to latest, which comprises the following commits:

    c7b22ce lopper/subsystem: update access to latest specification
    716fe89 lopper/init: pass permissive to dt_compile if specified on the command line
    2575d66 dt_compile: allow duplicate label errors to be skipped with --permissive
    22b2515 lopper: drop duplicate labels due to node merging
    f70eb86 lopper: bump version to 1.0.2
    9b72de5 lopper: only execute main() when __main__ is called directly
    b0b19a1 lopper: improve label round trip handling
    d4b7706 docs: clarify lop versioning an compatible strings
    e44204b README: add phandle-desc-v1 description
    17350a7 version: bump to 1.0.1
    0a4fcac tree: fix tree export and reload
    520dea8 lopper/base: add secure-address-map description
    6e660c5 lopper/lops: resolve tree when copying
    8d46634 lopper: allow select to match labels
    7aac1e3 openamp: add stub for OpenAMP Domain processing landing function
    82986bb lopper: add the ability to extend phandle meta-data table
    914c7e2 yaml: add alias/anchor based node naming
    d9f1abb spec: update remoteproc example per latest spec
    40cc05d lop-load: add back CDO
    d5d23ab xlnx: subsystem: rename lopper_tree to lopper.tree in imports
    7d23ba6 lop-load: update for latest master
    4caa022 openamp: add stubs for picking up domain to domain YAML property
    d8dae9d openamp_xlnx: rename fily openamp_xlnx.py to allow includes from this file
    0358879 yaml-xlate: add stub for domain-to-domain property
    903b16a spec: remove resource-groups
    1dd1e67 README: update to add mailing list information
    5da82a1 lopper/yaml: add lopper processing for "<<+" extension marker
    3d05302 assists: domain_access: Fix update_mem_node handling for higher address
    3c81fcc fdt: handle large integers

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2022-03-21 17:31:29 -04:00
Ross Burton
26017da9d8 python3-dtc: fix missing files in sysroot
There is a bug in SWIG/setuptools where 'pip install' doesn't build
libfdt.py unless the build tree is already dirty, which makes using
the library impossible.

Bump the SRCREV to incorporate the upstream workaround for this issue.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2022-03-02 15:46:04 -05:00
Tim Orling
0f3da01452 lopper: fix wheel build
The wheel that is built is:
lopper-1.0-py3-none-any.whl

Set BASEVERSION to 1.0 and use this to set PV and the value for PYPA_WHEEL
(the path to the wheel filename).

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2022-03-02 15:44:59 -05:00
Tim Orling
35f34844ff python3-dtc: fix wheel build
The wheel that is built is ${S}/dist/libfdt-1.6.2.dev39+g4048aed.d20220103-cp310-cp310-linux_x86_64.whl
Set PYPA_WHEEL to match this.

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2022-03-02 15:44:58 -05:00
Bruce Ashfield
108e089f7e global: update licence values to SPDX values
These changes are the result of running the convert-spdx-licenses.py
oe-core script.

There's no impact to the build, but we will avoid issues when
interacting with core QA by the alignment.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2022-02-18 13:07:10 -05:00
Bruce Ashfield
198eb61ae3 python3-dtc: add SRCPV and fix missing symbol
We need some of the latest dtc functionality for lopper, but that
puts us out of sync with the main dtc recipe in oe-core master.

To show that we are running ahead, bumping the PV to include SRCPV.

To fix the following missing symbol:

| ImportError: qemuarm64-poky-linux/xen-image-minimal/1.0-r0/recipe-sysroot-native/usr/lib/python3.10/site-packages/_libfdt.cpython-310-x86_64-linux-gnu.so: undefined symbol: fdt_overlay_target_offset

We revert the commit that introduces it (since we don't need that
functionality), and will drop our revert when oe-core updates to
a similar version.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2022-01-19 13:18:15 -05:00
Bruce Ashfield
cb0884d16e python3-dtc: update to version v1.6.1-39-g4048aed
As part of this update:

  - we drop our backported patches
  - simplify the recipe to use setuptools-scm
  - remove the need to generate version_gen.h
  - adapt to setup.py at ${S}
  - and include following commits:

    4048aed setup.py: fix out of tree build
    ff5afb9 Handle integer overflow in check_property_phandle_args()
    ca72944 README: Explain how to add a new API function
    c0c2e11 Fix a UB when fdt_get_string return null
    cd5f69c tests: setprop_inplace: use xstrdup instead of unchecked strdup
    a04f690 pylibfdt: add Property.as_*int*_array()
    8310271 pylibfdt: add Property.as_stringlist()
    d152126 Fix Python crash on getprop deallocation
    17739b7 Support 'r' format for printing raw bytes with fdtget
    45f3d1a libfdt: overlay: make overlay_get_target() public
    c19a4ba libfdt: fix an incorrect integer promotion
    1cc41b1 pylibfdt: Add packaging metadata
    db72398 README: Update pylibfdt install instructions
    383e148 pylibfdt: fix with Python 3.10
    23b56cb pylibfdt: Move setup.py to the top level
    69a7607 pylibfdt: Split setup.py author name and email
    0b106a7 pylibfdt: Use setuptools_scm for the version
    c691776 pylibfdt: Use setuptools instead of distutils
    5216f3f libfdt: Add static lib to meson build
    4eda259 CI: Cirrus: bump used FreeBSD from 12.1 to 13.0
    0a3a9d3 checks: Add an interrupt-map check
    8fd2474 checks: Ensure '#interrupt-cells' only exists in interrupt providers
    d8d1a9a checks: Drop interrupt provider '#address-cells' check
    52a16fd checks: Make interrupt_provider check dependent on interrupts_extended_is_cell
    37fd700 treesource: Maintain phandle label/path on output
    e33ce1d flattree: Use '\n', not ';' to separate asm pseudo-ops
    d24cc18 asm: Use assembler macros instead of cpp macros
    ff3a30c asm: Use .asciz and .ascii instead of .string
    5eb5927 fdtdump: fix -Werror=int-to-pointer-cast
    0869f82 libfdt: Add ALIGNMENT error string
    69595a1 checks: Fix bus-range check
    72d09e2 Makefile: add -Wsign-compare to warning options
    b587787 checks: Fix signedness comparisons warnings
    69bed6c dtc: Wrap phandle validity check
    9102211 fdtget: Fix signedness comparisons warnings
    d966f08 tests: Fix signedness comparisons warnings
    ecfb438 dtc: Fix signedness comparisons warnings: pointer diff
    5bec74a dtc: Fix signedness comparisons warnings: reservednum
    24e7f51 fdtdump: Fix signedness comparisons warnings
    b6910be Bump version to v1.6.1

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2022-01-18 08:36:55 -05:00
Ross Burton
34c2f32ec1 python3-dtc: fix packaging by using setuptools
Inheriting setuptools3-base doesn't actually define any tasks, so commit
1ef6050 to drop distutils3 had the side-effect of not building any code.

Backport a commit from upstream to switch to setuptools, inherit
setuptool3, and change DISTUTILS_SETUP_PATH to SETUPTOOLS_SETUP_PATH.

Signed-off-by: Ross Burton <ross.burton@arm.com>
2022-01-17 13:05:06 -05:00
Bruce Ashfield
1ef60507d1 python3-dtc: drop distutils3 usage
distutils is depreciated, so we switch to setuptools3-base to avoid
the OE core warning.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2022-01-13 12:20:25 -05:00
Bruce Ashfield
88d6fa982a Revert "Revert "kernel: drop 5.14 .inc""
5.14 has been removed from core, we can now go ahead with this
removal.

This reverts commit 22628b76c9.
2022-01-13 08:46:34 -05:00
Bruce Ashfield
22628b76c9 Revert "kernel: drop 5.14 .inc"
The removal of the .inc was pushed prematurely. We'll remove it
again, once 5.14 is removed from core and 5.15 is the default.

This reverts commit 79e0e4598c.
2022-01-12 08:42:43 -05:00
Bruce Ashfield
79e0e4598c kernel: drop 5.14 .inc
5.14 has been removed from core, and is EOL upstream. We drop our 5.15
.inc file to match that status.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2022-01-10 13:34:44 -05:00
Ross Burton
e13d364d7f python3-dtc: port to Python 3.10
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2021-11-11 08:59:11 -05:00
Bruce Ashfield
ecd241fc90 kernel: add 5.15 fragment enablement
5.15 is tested as a kernel now, so we add the .inc to enable
fragments.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2021-11-09 08:29:32 -05:00
Bruce Ashfield
f3e3653d4d lopper: update to v1.0 and setuptools based project
Switching to lopper 1.0 brings us a more standard setuptools
based project for install and packaging.

This update also fixes the experimental update to master-next,
which was incomplete and broken.

The only signficant user visible change with this update is
that lopper.py is now 'lopper' and any calling recipes need
to be updated accordingly.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2021-11-08 21:57:02 -05:00