Skip to content

Instantly share code, notes, and snippets.

@RobertCNelson
Last active December 15, 2015 21:29
Show Gist options
  • Save RobertCNelson/5326187 to your computer and use it in GitHub Desktop.
Save RobertCNelson/5326187 to your computer and use it in GitHub Desktop.
u-boot transition part 1
#define CONFIG_BOOTCOMMAND \
"mmc dev ${mmcdev}; if mmc rescan; then " \
"echo SD/MMC found on device ${mmcdev};" \
"if run loadbootenv; then " \
"echo Loaded environment from uEnv.txt;" \
"run importbootenv;" \
"fi;" \
"if test -n $uenvcmd; then " \
"echo Running uenvcmd ...;" \
"run uenvcmd;" \
"fi;" \
"if run loaduimage; then " \
"run loadfdt;" \
"run mmcboot;" \
"fi;" \
"fi;"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment