Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F142945125
D16242.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
2 KB
Referenced Files
None
Subscribers
None
D16242.diff
View Options
Index: head/sysutils/Makefile
===================================================================
--- head/sysutils/Makefile
+++ head/sysutils/Makefile
@@ -1337,6 +1337,7 @@
SUBDIR += u-boot-rpi
SUBDIR += u-boot-rpi2
SUBDIR += u-boot-rpi3
+ SUBDIR += u-boot-rpi-0-w
SUBDIR += u-boot-sinovoip-bpi-m3
SUBDIR += u-boot-sopine
SUBDIR += u-boot-tools
Index: head/sysutils/u-boot-rpi-0-w/Makefile
===================================================================
--- head/sysutils/u-boot-rpi-0-w/Makefile
+++ head/sysutils/u-boot-rpi-0-w/Makefile
@@ -0,0 +1,17 @@
+# $FreeBSD$
+
+MASTERDIR= ${.CURDIR}/../u-boot-master
+
+PATCHFILES+= 937869/raw \
+ 939129/raw
+
+MODEL= rpi-0-w
+BOARD_CONFIG= rpi_0_w_defconfig
+FAMILY= rpi
+
+DEPENDS= ${LOCALBASE}/share/rpi-firmware/bootcode.bin:sysutils/rpi-firmware
+
+CONFIG_FRAGMENT= ${.CURDIR}/files/rpi_0_w_fragment
+FRAGMENT_NAME= rpi_0_w_fragment
+
+.include "${MASTERDIR}/Makefile"
Index: head/sysutils/u-boot-rpi-0-w/files/rpi_0_w_fragment
===================================================================
--- head/sysutils/u-boot-rpi-0-w/files/rpi_0_w_fragment
+++ head/sysutils/u-boot-rpi-0-w/files/rpi_0_w_fragment
@@ -0,0 +1,3 @@
+CONFIG_OF_EMBED=n
+CONFIG_OF_BOARD=y
+CONFIG_API=y
Index: head/sysutils/u-boot-rpi-0-w/pkg-descr
===================================================================
--- head/sysutils/u-boot-rpi-0-w/pkg-descr
+++ head/sysutils/u-boot-rpi-0-w/pkg-descr
@@ -0,0 +1,15 @@
+U-Boot loader for Raspberry Pi
+
+To install this bootloader, copy u-boot.bin in the share/u-boot/u-boot-rpi-0-w
+directory to the first partition, formatted as FAT16 or FAT32, on an SD card.
+You will also need the firmware files and configs from the rpi-firmware package.
+
+This version is patched so that:
+ * API features are enabled.
+ * U-Boot and FreeBSD kernel are using rpi-firmware DTBs
+ * A boot.scr (U-Boot script) that loads ubldr.bin and execute it is included
+
+For information about running FreeBSD on RaspberryPi, see
+https://wiki.freebsd.org/FreeBSD/arm/Raspberry%20Pi
+
+WWW: http://www.denx.de/wiki/U-Boot
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Jan 25, 9:12 PM (10 h, 34 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
27969270
Default Alt Text
D16242.diff (2 KB)
Attached To
Mode
D16242: sysutils/u-boot-rpi-0-w: Add port
Attached
Detach File
Event Timeline
Log In to Comment