Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F103530749
D16240.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
D16240.diff
View Options
Index: head/release/arm/RPI-B.conf
===================================================================
--- head/release/arm/RPI-B.conf
+++ head/release/arm/RPI-B.conf
@@ -13,6 +13,7 @@
KERNEL="RPI-B"
MD_ARGS="-x 63 -y 255"
NODOC=1
+OVERLAYS="mmc.dtbo pi3-disable-bt.dtbo"
PART_SCHEME="MBR"
arm_install_uboot() {
@@ -21,7 +22,9 @@
UBOOT_FILES="u-boot.bin"
RPI_FIRMWARE_FILES="bootcode.bin config.txt \
fixup.dat fixup_cd.dat fixup_db.dat fixup_x.dat \
- start.elf start_cd.elf start_db.elf start_x.elf"
+ start.elf start_cd.elf start_db.elf start_x.elf \
+ bcm2708-rpi-0-w.dtb bcm2708-rpi-b-plus.dtb bcm2708-rpi-b.dtb \
+ bcm2708-rpi-cm.dtb"
FATMOUNT="${DESTDIR%${KERNEL}}/fat"
chroot ${CHROOTDIR} mkdir -p "${FATMOUNT}"
chroot ${CHROOTDIR} mount_msdosfs /dev/${mddev}s1 ${FATMOUNT}
@@ -32,6 +35,11 @@
for _UF in ${RPI_FIRMWARE_FILES}; do
chroot ${CHROOTDIR} cp -p ${RPI_FIRMWARE_DIR}/${_UF} \
${FATMOUNT}/${_UF}
+ done
+ chroot ${CHROOTDIR} mkdir -p ${FATMOUNT}/overlays
+ for _OL in ${OVERLAYS}; do
+ chroot ${CHROOTDIR} cp -p ${OL_DIR}/${_OL} \
+ ${FATMOUNT}/overlays/${_OL}
done
chroot ${CHROOTDIR} cp ${UBOOT_DIR}/boot.scr ${FATMOUNT}/boot.scr
sync
Index: head/release/arm/RPI2.conf
===================================================================
--- head/release/arm/RPI2.conf
+++ head/release/arm/RPI2.conf
@@ -13,6 +13,7 @@
KERNEL="GENERIC"
MD_ARGS="-x 63 -y 255"
NODOC=1
+OVERLAYS="mmc.dtbo"
PART_SCHEME="MBR"
export BOARDNAME="RPI2"
@@ -22,7 +23,8 @@
UBOOT_FILES="u-boot.bin"
RPI_FIRMWARE_FILES="bootcode.bin config.txt \
fixup.dat fixup_cd.dat fixup_db.dat fixup_x.dat \
- start.elf start_cd.elf start_db.elf start_x.elf"
+ start.elf start_cd.elf start_db.elf start_x.elf \
+ bcm2709-rpi-2-b.dtb"
FATMOUNT="${DESTDIR%${KERNEL}}/fat"
chroot ${CHROOTDIR} mkdir -p "${FATMOUNT}"
chroot ${CHROOTDIR} mount_msdosfs /dev/${mddev}s1 ${FATMOUNT}
@@ -33,6 +35,11 @@
for _UF in ${RPI_FIRMWARE_FILES}; do
chroot ${CHROOTDIR} cp -p ${RPI_FIRMWARE_DIR}/${_UF} \
${FATMOUNT}/${_UF}
+ done
+ chroot ${CHROOTDIR} mkdir -p ${FATMOUNT}/overlays
+ for _OL in ${OVERLAYS}; do
+ chroot ${CHROOTDIR} cp -p ${OL_DIR}/${_OL} \
+ ${FATMOUNT}/overlays/${_OL}
done
chroot ${CHROOTDIR} cp ${UBOOT_DIR}/boot.scr ${FATMOUNT}/boot.scr
sync
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Nov 27, 4:13 AM (20 h, 20 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14877570
Default Alt Text
D16240.diff (2 KB)
Attached To
Mode
D16240: release: Add rpi firmware dtb and mmc overlays for RPI-B and RPI2
Attached
Detach File
Event Timeline
Log In to Comment