Skip to content

Instantly share code, notes, and snippets.

@benpye
Created December 2, 2015 13:50
Show Gist options
  • Save benpye/ae0bbf2e8efc408829c4 to your computer and use it in GitHub Desktop.
Save benpye/ae0bbf2e8efc408829c4 to your computer and use it in GitHub Desktop.
setenv fdtfile bcm2835-rpi-b-plus.dtb
mmc dev 0
fatload mmc 0:1 ${kernel_addr_r} zImage
fatload mmc 0:1 ${fdt_addr_r} ${fdtfile}
fatload mmc 0:1 ${ramdisk_addr_r} rootfs.cpio.uboot
setenv bootargs earlyprintk console=tty0 console=ttyAMA0 rootwait
bootz ${kernel_addr_r} ${ramdisk_addr_r} ${fdt_addr_r}
earlyprintk console=tty0 console=ttyAMA0 rootwait
initramfs rootfs.cpio.lzo 0x00800000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment