##// END OF EJS Templates
a
Unknown -
r422:143b4936325f
parent child
Show More
@@ -84,7 +84,7 if [ "$ENABLE_UBOOT" = true ] ; then
84 fi
84 fi
85
85
86 # Set mkfile to use the correct dtb file
86 # Set mkfile to use the correct dtb file
87 sed -i "s/^\(setenv dtbfile \).*/\1${DTB_FILE}/" "${BOOT_DIR}/uboot.mkimage"
87 sed -i "s|bcm2709-rpi-2-b.dtb|${DTB_FILE}|" "${BOOT_DIR}/uboot.mkimage"
88
88
89 # Set mkfile to use the correct mach id
89 # Set mkfile to use the correct mach id
90 if [ "$ENABLE_QEMU" = true ] ; then
90 if [ "$ENABLE_QEMU" = true ] ; then
@@ -92,7 +92,7 if [ "$ENABLE_UBOOT" = true ] ; then
92 fi
92 fi
93
93
94 # Set mkfile to use kernel image
94 # Set mkfile to use kernel image
95 sed -i "s/^\(fatload mmc 0:1 \${kernel_addr_r} \).*/\1${KERNEL_IMAGE}/" "${BOOT_DIR}/uboot.mkimage"
95 sed -i "s|kernel7.img|${KERNEL_IMAGE}|" "${BOOT_DIR}/uboot.mkimage"
96
96
97 # Remove all leading blank lines
97 # Remove all leading blank lines
98 sed -i "/./,\$!d" "${BOOT_DIR}/uboot.mkimage"
98 sed -i "/./,\$!d" "${BOOT_DIR}/uboot.mkimage"
General Comments 0
Vous devez vous connecter pour laisser un commentaire. Se connecter maintenant