Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

allow using labels with fdtget/fdtput #150

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Commits on Oct 7, 2024

  1. allow paths in fdt_path_offset to begin with a &label reference

    When using the CLI tools fdtget and fdtput, it can be convenient to
    refer to a node by a label rather than having to know the full path
    from the root.
    
    Signed-off-by: Rasmus Villemoes <[email protected]>
    ravi-prevas committed Oct 7, 2024
    Configuration menu
    Copy the full SHA
    03d949a View commit details
    Browse the repository at this point in the history
  2. tests: add basic tests of fdtget/fdtput with &label syntax

    We obviously need to build some dtbs with -@ to do these tests. In
    order to still test all the old functionality on blobs built without
    -@, simply run all fdtget/fdtput tests twice, with/without -@, and for
    the few new test cases that rely on -@, check that they fail when the
    blob is not built with -@.
    
    Signed-off-by: Rasmus Villemoes <[email protected]>
    ravi-prevas committed Oct 7, 2024
    Configuration menu
    Copy the full SHA
    2cbe7aa View commit details
    Browse the repository at this point in the history