Bug 210628 - [NEW PORT] sysutils/u-boot-bananapim2
Summary: [NEW PORT] sysutils/u-boot-bananapim2
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Pawel Pekala
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-06-27 14:23 UTC by Emmanuel Vadot
Modified: 2016-07-10 15:23 UTC (History)
1 user (show)

See Also:


Attachments
bananapim2 u-boot port (1.48 KB, patch)
2016-06-27 14:23 UTC, Emmanuel Vadot
no flags Details | Diff
u-boot bananapim2 shar (1.80 KB, text/plain)
2016-06-27 14:48 UTC, Emmanuel Vadot
no flags Details
u-boot bananapim2 shar (1.85 KB, text/plain)
2016-06-27 15:16 UTC, Emmanuel Vadot
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Emmanuel Vadot freebsd_committer freebsd_triage 2016-06-27 14:23:11 UTC
Created attachment 171869 [details]
bananapim2 u-boot port

This adds a new u-boot port for bananapim2.
It depends on the master port submitted in bug #210625
Comment 1 Emmanuel Vadot freebsd_committer freebsd_triage 2016-06-27 14:48:36 UTC
Created attachment 171871 [details]
u-boot bananapim2 shar

Provide shar file as requested.
Comment 2 Emmanuel Vadot freebsd_committer freebsd_triage 2016-06-27 15:16:24 UTC
Created attachment 171874 [details]
u-boot bananapim2 shar

Fix a few issues found by portlint

portlint: OK
testport: OK
Comment 3 commit-hook freebsd_committer freebsd_triage 2016-07-10 15:23:02 UTC
A commit references this bug:

Author: pawel
Date: Sun Jul 10 15:22:02 UTC 2016
New revision: 418325
URL: https://svnweb.freebsd.org/changeset/ports/418325

Log:
  U-Boot loader for Banana Pi M2.

  To install this bootloader, follow the instructions in
   http://linux-sunxi.org/Bootable_SD_card#Bootloader

  This version is patched so that:
   * ELF and API features are enabled.
   * The default environment is trimmed to just what's needed to boot.
   * The saveenv command writes to the file u-boot.env on the FAT partition.
   * The DTB file name is chosen based on the board model and passed to ubldr
     using the fdtfile env variable.  ubldr loads the DTB from /boot/dtb/ on
     the FreeBSD partition.
   * By default, it loads PIE ubldr.bin from file ubldr.bin on the FAT partition
     to address 0x42000000, and launches it.

  For information about running FreeBSD on Banana Pi, see
   https://wiki.freebsd.org/FreeBSD/arm/Allwinner

  For general information about U-Boot see WWW: http://www.denx.de/wiki/U-Boot

  PR:		210628
  Submitted by:	manu

Changes:
  head/sysutils/Makefile
  head/sysutils/u-boot-bananapim2/
  head/sysutils/u-boot-bananapim2/Makefile
  head/sysutils/u-boot-bananapim2/pkg-descr