File tree 1 file changed +7
-1
lines changed
1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,8 @@ TARGET_ARCH=aarch64
77TARGET=aarch64
88DTB_REPO=" https://github.com/raspberrypi/firmware/blob/master/boot/"
99
10+ NEW_UBOOT=" https://hardenedbsd.org/~shawn/rpi3/smp"
11+
1012# Not used - just in case someone wants to use a manual ubldr. Obtained
1113# from 'printenv' in boot0: kernel_addr_r=0x42000000
1214# UBLDR_LOADADDR=0x42000000
@@ -42,12 +44,16 @@ raspberry_pi_populate_boot_partition ( ) {
4244 cp ${UBOOT_PATH} /start_x.elf .
4345 cp ${UBOOT_PATH} /u-boot.bin .
4446
47+ # Copy new u-boot for SMP
48+ fetch ${NEW_UBOOT} /u-boot.bin
49+ fetch ${NEW_UBOOT} /armstub8.bin
50+
4551 # Populate config.txt
4652 echo " arm_control=0x200" > config.txt
4753 echo " dtparam=audio=on,i2c_arm=on,spi=on" >> config.txt
4854 echo " dtoverlay=mmc" >> config.txt
4955 echo " dtoverlay=pi3-disable-bt" >> config.txt
50- echo " device_tree_address=0x100 " >> config.txt
56+ echo " device_tree_address=0x4000 " >> config.txt
5157 echo " kernel=u-boot.bin" >> config.txt
5258
5359 # Fetch the dtb
You can’t perform that action at this time.
0 commit comments