Bug 257045 - [NEW PORT] sysutils/u-boot-nanopi-r4s: u-boot port for FriendlyArm NanoPi R4S
Summary: [NEW PORT] sysutils/u-boot-nanopi-r4s: u-boot port for FriendlyArm NanoPi R4S
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Bernhard Froehlich
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-07-07 18:33 UTC by Bernhard Froehlich
Modified: 2021-07-09 18:52 UTC (History)
1 user (show)

See Also:


Attachments
sysutils/u-boot-nanopi-r4s (768 bytes, patch)
2021-07-07 18:33 UTC, Bernhard Froehlich
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Bernhard Froehlich freebsd_committer freebsd_triage 2021-07-07 18:33:05 UTC
Created attachment 226286 [details]
sysutils/u-boot-nanopi-r4s

U-Boot 2021.07 supports a new RK3399 board: FriendlyArm NanoPi R4S.

Board:
https://wiki.friendlyarm.com/wiki/index.php/NanoPi_R4S

Bootlog (13.0-RELEASE):
https://people.freebsd.org/~decke/nanopi-r4s/friendlyelec-nanopi-r4s-bootlog.txt

All tests have been performed on the 4GB/LPDDR4 variant of the board. They have also sold a 1GB/DDR3 in the past which they don't seem to sell right now. U-Boot 2021.07 currently only supports the 4GB/LPDDR4 board.
Comment 1 Bernhard Froehlich freebsd_committer freebsd_triage 2021-07-07 18:40:27 UTC
poudriere builds have been performed:
https://ports.bluelife.at/builds/20210707-18:36:12.69546/

portlint errors are expected since it is a slave port
Comment 2 Emmanuel Vadot freebsd_committer freebsd_triage 2021-07-08 11:29:53 UTC
LGTM
Comment 3 Bernhard Froehlich freebsd_committer freebsd_triage 2021-07-09 18:51:53 UTC
Committed. Thanks!
Comment 4 commit-hook freebsd_committer freebsd_triage 2021-07-09 18:52:33 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=bfe768d33a24d0184c023a2a05ba309252339f05

commit bfe768d33a24d0184c023a2a05ba309252339f05
Author:     Bernhard Froehlich <decke@FreeBSD.org>
AuthorDate: 2021-07-09 18:48:53 +0000
Commit:     Bernhard Froehlich <decke@FreeBSD.org>
CommitDate: 2021-07-09 18:51:22 +0000

    sysutils/u-boot-nanopi-r4s: u-boot port for FriendlyArm NanoPi R4S

    U-Boot loader and related files for the FriendlyARM NanoPi-R4S (4GB/LPDDR4)

    To install this bootloader on an sdcard just do:

    dd if=/usr/local/share/u-boot/u-boot-nanopi-r4s/idbloader.img of=/path/to/sdcarddevice seek=64 bs=512 conv=sync
    dd if=/usr/local/share/u-boot/u-boot-nanopi-r4s/u-boot.itb of=/path/to/sdcarddevice seek=16384 bs=512 conv=sync

    WWW: https://www.denx.de/wiki/U-Boot

    PR:             257045
    Approved by:    manu@

 sysutils/Makefile                          | 1 +
 sysutils/u-boot-nanopi-r4s/Makefile (new)  | 7 +++++++
 sysutils/u-boot-nanopi-r4s/pkg-descr (new) | 8 ++++++++
 3 files changed, 16 insertions(+)