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

NanoPi R2S support #271

Merged
merged 5 commits into from
Jan 22, 2024
Merged

NanoPi R2S support #271

merged 5 commits into from
Jan 22, 2024

Commits on Jan 21, 2024

  1. patches/uboot: move to sub-directory, does not apply to older u-boot

    The Nanopi R2S currently only works with an older U-Boot v2021.10.  This
    commit only relocates the CN9130 patches to a sub-directory.
    
    Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
    troglobit committed Jan 21, 2024
    Configuration menu
    Copy the full SHA
    4b8f3ab View commit details
    Browse the repository at this point in the history
  2. board/common: skip if not SIGN_ENABLED

    All Infix builds should be signed, but for some test equipment, and
    during board bringup, this may be too much of a hassle.
    
    Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
    troglobit committed Jan 21, 2024
    Configuration menu
    Copy the full SHA
    0a24fd2 View commit details
    Browse the repository at this point in the history
  3. Initial support for Nanopi R2S from FriendlyELEC

    Support for this is based on the upstream Buildroot R2S defconfig and
    the myLinux extensions and stripped-down kernel defconfig.  For more
    information about the Nanopi R2S, see the FriendlyELC wiki at:
    
        https://wiki.friendlyelec.com/wiki/index.php/NanoPi_R2S
    
    Please note, due to the lack of a VPD on the board, and some very poor
    devicetree skills by yours truly, Infix currently refuse to boot on this
    board.  An in-devicetree factory-password-hash node has to be added, and
    will be done soon.
    
    Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
    troglobit committed Jan 21, 2024
    Configuration menu
    Copy the full SHA
    f06059c View commit details
    Browse the repository at this point in the history

Commits on Jan 22, 2024

  1. configs/r2s_defconfig: resort/make update-defconfig

    Loss of BusyBox "show others", uboot-tools, and e2fsprogs, are likely
    due to resolved dependencies from other packages.  E.g., Frr requires
    bash.
    
    Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
    troglobit committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    5c41cc4 View commit details
    Browse the repository at this point in the history
  2. board/aarch64/r2s: patch device tree for factory-password-hash

    Since the Nanopi R2S does not have a VPD, we use this mechanism to set
    the default admin password.  Without one, Infix will refuse to generate
    the factory- and failure-config files, and thus refuse to start.
    
    On custom boards in production we have VPD in ONIE format that contains
    a per-device unique SHA256 hashed admin user password.
    
    Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
    troglobit committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    fa10db8 View commit details
    Browse the repository at this point in the history