Skip to content

Instantly share code, notes, and snippets.

@mattes
Created October 23, 2012 09:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mattes/3937879 to your computer and use it in GitHub Desktop.
Save mattes/3937879 to your computer and use it in GitHub Desktop.
bootcmd for u-boot
fatload mmc 0 0x80300000 uImage
setenv bootargs console=ttyO2,115200n8 noinitrd init=/sbin/init root=/dev/mmcblk0p2 rootwait rw loglevel=8
bootm 80300000
@mattes
Copy link
Author

mattes commented Oct 23, 2012

create boot.scr with:
mkimage -A arm -O linux -T script -C none -a 0 -e 0 -n "PandaBoard boot script" -d bootcmd boot.scr

@mattes
Copy link
Author

mattes commented Oct 23, 2012

Short URL: http://goo.gl/uGbRf

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment