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

bootscripts: Allwinner: Bugfix: Remove "allwinner/" from 3 boards configurations #7535

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

Commits on Dec 2, 2024

  1. bootscripts: Set the expected default path to "${prefix}dtb/${vendor}"

    Set the expected default path to /boot/dtb/allwinner and
    start analyzing if the DTB file is not found in this path.
    
    The folder with the vendor's name is now part of the path,
    not part of the file name. This greatly facilitates the analysis
    of various possible options in a simple u-boot shell.
    The-going committed Dec 2, 2024
    Configuration menu
    Copy the full SHA
    bf65718 View commit details
    Browse the repository at this point in the history
  2. bootscript: Messages to the user about real work

    Inform the user about the actual file that will be uploaded
    on the first iteration. Inform the user that it cannot be
    downloaded only once if the first iteration was unsuccessful.
    The-going committed Dec 2, 2024
    Configuration menu
    Copy the full SHA
    f55b951 View commit details
    Browse the repository at this point in the history
  3. bootscript: Set path without $vendor folder for the 2 iteration.

    In the second iteration, we check the path that does not
    contain the vendor folder. But this will also be done if
    the real path contains the vendor's folder and the vendor's
    name is contained in the DTB file name as
        fdtfile=allwinner/sun50i-*-bananapi-*.dtb.
    However, overlays will not be available.
    Remove "allwinner/" from all board configurations that
    use the boot script mechanism so that the script works
    correctly.
    
    Signed-off-by: The-going <[email protected]>
    The-going committed Dec 2, 2024
    Configuration menu
    Copy the full SHA
    5867a1e View commit details
    Browse the repository at this point in the history
  4. bootscript: Use the DTB name from the default u-boot

    Use the DTB name from the u-boot default for the third
    iteration if the provided DTB name was not found. Also
    delete the duplicate of the previous iteration.
    The-going committed Dec 2, 2024
    Configuration menu
    Copy the full SHA
    d37f8d3 View commit details
    Browse the repository at this point in the history
  5. bootscript: sunxi: Tell the user only the actual actions.

    Make the script work silently when testing path options
    and report only the actual file being uploaded.
    Delete the duplicate iteration.
    The-going committed Dec 2, 2024
    Configuration menu
    Copy the full SHA
    18a925f View commit details
    Browse the repository at this point in the history

Commits on Dec 4, 2024

  1. bootscript: Remove vendor name and slash from DTB file name

    After that, the script successfully loads the DTB file from
    two possible paths and overlays. If the file does not exist,
    then the default file will be uploaded.
    The-going committed Dec 4, 2024
    Configuration menu
    Copy the full SHA
    7eb71a0 View commit details
    Browse the repository at this point in the history