Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Aug 2017 15:23:11 +0000 (UTC)
From:      Steve Wills <swills@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r448432 - in head/sysutils: . rpi-firmware rpi-firmware/files
Message-ID:  <201708201523.v7KFNBqD077538@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: swills
Date: Sun Aug 20 15:23:11 2017
New Revision: 448432
URL: https://svnweb.freebsd.org/changeset/ports/448432

Log:
  sysutils/rpi-firmware: create port
  
  Firmware files for RaspberryPi Single Board Computer
  
  WWW: https://github.com/raspberrypi/firmware
  
  PR:		221632
  Submitted by:	manu

Added:
  head/sysutils/rpi-firmware/
  head/sysutils/rpi-firmware/Makefile   (contents, props changed)
  head/sysutils/rpi-firmware/distinfo   (contents, props changed)
  head/sysutils/rpi-firmware/files/
  head/sysutils/rpi-firmware/files/patch-boot_config.txt   (contents, props changed)
  head/sysutils/rpi-firmware/pkg-descr   (contents, props changed)
  head/sysutils/rpi-firmware/pkg-plist   (contents, props changed)
Modified:
  head/sysutils/Makefile

Modified: head/sysutils/Makefile
==============================================================================
--- head/sysutils/Makefile	Sun Aug 20 15:22:01 2017	(r448431)
+++ head/sysutils/Makefile	Sun Aug 20 15:23:11 2017	(r448432)
@@ -966,6 +966,7 @@
     SUBDIR += rmonitor
     SUBDIR += roottail
     SUBDIR += rovclock
+    SUBDIR += rpi-firmware
     SUBDIR += rsnapshot
     SUBDIR += rsyncbackup
     SUBDIR += rsyncrypto

Added: head/sysutils/rpi-firmware/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/rpi-firmware/Makefile	Sun Aug 20 15:23:11 2017	(r448432)
@@ -0,0 +1,37 @@
+# $FreeBSD$
+
+PORTNAME=	rpi-firmware
+PORTVERSION=	1.20170811
+CATEGORIES=	sysutils
+
+MAINTAINER=	manu@freebsd.org
+COMMENT=	Firmware for RaspberryPi Single Board Computer
+
+LICENSE=	BROADCOM
+LICENSE_NAME=	Broadcom Corporation
+LICENSE_FILE=	${WRKSRC}/boot/LICENCE.broadcom
+LICENSE_PERMS=	dist-mirror no-dist-sell pkg-mirror no-pkg-sell auto-accept
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	raspberrypi
+GH_PROJECT=	firmware
+
+NO_BUILD=	yes
+
+INSTALL_DIR=	${PREFIX}/share/${PORTNAME}
+
+do-install:
+	${MKDIR} ${STAGEDIR}/${INSTALL_DIR}
+	${INSTALL_DATA} ${LICENSE_FILE} ${STAGEDIR}/${INSTALL_DIR}/
+	${INSTALL_DATA} ${WRKSRC}/boot/bootcode.bin ${STAGEDIR}/${INSTALL_DIR}/
+	${INSTALL_DATA} ${WRKSRC}/boot/fixup_cd.dat ${STAGEDIR}/${INSTALL_DIR}/
+	${INSTALL_DATA} ${WRKSRC}/boot/fixup_db.dat ${STAGEDIR}/${INSTALL_DIR}/
+	${INSTALL_DATA} ${WRKSRC}/boot/fixup_x.dat ${STAGEDIR}/${INSTALL_DIR}/
+	${INSTALL_DATA} ${WRKSRC}/boot/fixup.dat ${STAGEDIR}/${INSTALL_DIR}/
+	${INSTALL_DATA} ${WRKSRC}/boot/start_cd.elf ${STAGEDIR}/${INSTALL_DIR}/
+	${INSTALL_DATA} ${WRKSRC}/boot/start_db.elf ${STAGEDIR}/${INSTALL_DIR}/
+	${INSTALL_DATA} ${WRKSRC}/boot/start_x.elf ${STAGEDIR}/${INSTALL_DIR}/
+	${INSTALL_DATA} ${WRKSRC}/boot/start.elf ${STAGEDIR}/${INSTALL_DIR}/
+	${INSTALL_DATA} ${WRKSRC}/boot/config.txt ${STAGEDIR}/${INSTALL_DIR}/
+
+.include <bsd.port.mk>

Added: head/sysutils/rpi-firmware/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/rpi-firmware/distinfo	Sun Aug 20 15:23:11 2017	(r448432)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1503157243
+SHA256 (raspberrypi-firmware-1.20170811_GH0.tar.gz) = a25f6281d64732892a2e838cc2346f1a88505b5c77a57a6540755362ea64043a
+SIZE (raspberrypi-firmware-1.20170811_GH0.tar.gz) = 120752064

Added: head/sysutils/rpi-firmware/files/patch-boot_config.txt
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/rpi-firmware/files/patch-boot_config.txt	Sun Aug 20 15:23:11 2017	(r448432)
@@ -0,0 +1,7 @@
+--- boot/config.txt.orig	2017-08-19 16:23:10 UTC
++++ boot/config.txt
+@@ -0,0 +1,4 @@
++init_uart_clock=3000000
++enable_uart=1
++kernel=u-boot.bin
++kernel7=u-boot.bin

Added: head/sysutils/rpi-firmware/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/rpi-firmware/pkg-descr	Sun Aug 20 15:23:11 2017	(r448432)
@@ -0,0 +1,3 @@
+Firmware files for RaspberryPi Single Board Computer
+
+WWW: https://github.com/raspberrypi/firmware

Added: head/sysutils/rpi-firmware/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/rpi-firmware/pkg-plist	Sun Aug 20 15:23:11 2017	(r448432)
@@ -0,0 +1,11 @@
+%%DATADIR%%/bootcode.bin
+%%DATADIR%%/fixup.dat
+%%DATADIR%%/fixup_cd.dat
+%%DATADIR%%/fixup_db.dat
+%%DATADIR%%/fixup_x.dat
+%%DATADIR%%/start.elf
+%%DATADIR%%/start_cd.elf
+%%DATADIR%%/start_db.elf
+%%DATADIR%%/start_x.elf
+%%DATADIR%%/config.txt
+%%DATADIR%%/LICENCE.broadcom



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201708201523.v7KFNBqD077538>