diff options
Diffstat (limited to 'files/boot/uboot.mkimage')
-rw-r--r-- | files/boot/uboot.mkimage | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/files/boot/uboot.mkimage b/files/boot/uboot.mkimage new file mode 100644 index 0000000..cd71de6 --- /dev/null +++ b/files/boot/uboot.mkimage @@ -0,0 +1,11 @@ +# Tell Linux that it is booting on a Raspberry Pi2 +setenv machid 0x00000c42 + +# Save these changes to u-boot's environment +saveenv + +# Load the existing Linux kernel into RAM +fatload mmc 0:1 ${kernel_addr_r} kernel7.img + +# Boot the kernel we have just loaded +bootz ${kernel_addr_r} |