aboutsummaryrefslogtreecommitdiffstats
path: root/rpi2-debian-stdkernel/other_boot_files/boot.scr
diff options
context:
space:
mode:
authorVG <vg@devys.org>2016-11-06 20:04:54 +0100
committerVG <vg@devys.org>2016-11-06 20:04:54 +0100
commitcf0edd94c05a9fc0c609758016a697c24dd913a0 (patch)
tree568d7345b0d6e438769c4f2ef1b7ecdb66576259 /rpi2-debian-stdkernel/other_boot_files/boot.scr
parentfb6fa99c0da96a45d458b2ffa0b9b2fe8890ac36 (diff)
downloaddebootstrap-scripts-cf0edd94c05a9fc0c609758016a697c24dd913a0.tar.gz
debootstrap-scripts-cf0edd94c05a9fc0c609758016a697c24dd913a0.tar.bz2
debootstrap-scripts-cf0edd94c05a9fc0c609758016a697c24dd913a0.zip
add other debootstrap scripts and older instructions
Diffstat (limited to 'rpi2-debian-stdkernel/other_boot_files/boot.scr')
-rw-r--r--rpi2-debian-stdkernel/other_boot_files/boot.scr25
1 files changed, 25 insertions, 0 deletions
diff --git a/rpi2-debian-stdkernel/other_boot_files/boot.scr b/rpi2-debian-stdkernel/other_boot_files/boot.scr
new file mode 100644
index 0000000..f1ec9f8
--- /dev/null
+++ b/rpi2-debian-stdkernel/other_boot_files/boot.scr
@@ -0,0 +1,25 @@
+# u-boot commands, this file must be compiled with mk-image (or use
+# update-boot-uimage.sh)
+
+#setenv machid 0x00000c42
+
+# set the fdtfile according to your board model
+#setenv fdtfile bcm2709-rpi-2-b.dtb
+#setenv fdtfile bcm2835-rpi-b-rev2.dtb
+setenv fdtfile bcm2836-rpi-2-b.dtb
+
+mmc dev 0
+#ext4load mmc 0:2 ${kernel_addr_r} vmlinuz
+fatload mmc 0:1 ${kernel_addr_r} kernel.img
+#ext4load mmc 0:2 ${ramdisk_addr_r} initrd.img
+fatload mmc 0:1 ${fdt_addr_r} ${fdtfile}
+setenv bootargs earlyprintk console=ttyAMA0,115200n8 root=/dev/mmcblk0p2 rootfstype=ext4 rootwait noinitrd
+#bootz ${kernel_addr_r} ${ramdisk_addr_r} ${fdt_addr_r}
+bootz ${kernel_addr_r} - ${fdt_addr_r}
+#bootz ${kernel_addr_r}
+
+#mmc dev 0
+#ext4load mmc 0:2 0x01000000 vmlinuz
+#fatload mmc 0:1 0x00000100 bcm2835-rpi-b-rev2.dtb
+#setenv bootargs earlyprintk console=ttyAMA0,115200n8
+#bootz 0x01000000 - 0x00000100