diff options
author | Jan Wagner <mail@jwagner.eu> | 2016-04-19 15:10:50 +0200 |
---|---|---|
committer | Jan Wagner <mail@jwagner.eu> | 2016-04-19 15:10:50 +0200 |
commit | d0f91512d9ca6d361d8a4a387094c48aab00e111 (patch) | |
tree | b00ed220e2fa04bdb1db43475a8149d01d1be5db /files/boot/uboot.mkimage | |
parent | 7878e85af7748d531a64f459723dca76ee37914b (diff) | |
download | rpi2-gen-image-d0f91512d9ca6d361d8a4a387094c48aab00e111.tar.gz rpi2-gen-image-d0f91512d9ca6d361d8a4a387094c48aab00e111.tar.bz2 rpi2-gen-image-d0f91512d9ca6d361d8a4a387094c48aab00e111.zip |
Diffstat (limited to 'files/boot/uboot.mkimage')
-rw-r--r-- | files/boot/uboot.mkimage | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/files/boot/uboot.mkimage b/files/boot/uboot.mkimage index cd71de6..8d02431 100644 --- a/files/boot/uboot.mkimage +++ b/files/boot/uboot.mkimage @@ -1,3 +1,6 @@ +# Set device tree fdtfile +setenv dtbfile bcm2709-rpi-2-b.dtb + # Tell Linux that it is booting on a Raspberry Pi2 setenv machid 0x00000c42 @@ -6,6 +9,7 @@ saveenv # Load the existing Linux kernel into RAM fatload mmc 0:1 ${kernel_addr_r} kernel7.img +fatload mmc 0:1 ${fdt_addr_r} ${dtbfile} +fatload mmc 0:1 ${ramdisk_addr_r} ${initramfs} # Boot the kernel we have just loaded -bootz ${kernel_addr_r} |