am335x-try-boot-from-first-partition
authorVagrant Cascadian <vagrant@debian.org>
Tue, 7 Apr 2015 20:42:30 +0000 (20:42 +0000)
committerVagrant Cascadian <vagrant@debian.org>
Tue, 7 Apr 2015 20:42:30 +0000 (20:42 +0000)
Attempt booting from the first partition on each device if the second
partition doesn't have any of the expected boot files.

Gbp-Pq: Name am335x-try-boot-from-first-partition.diff

include/configs/am335x_evm.h

index aa4ca8d13942da6d531364cfa616bbade01bc499..d72855cf8e430b99437efcbfacf368e26d5cfe0c 100644 (file)
 #define CONFIG_BOOTCOMMAND \
        "run findfdt; " \
        "run mmcboot;" \
+       "setenv bootpart 0:1; " \
+       "run mmcboot;" \
        "setenv mmcdev 1; " \
        "setenv bootpart 1:2; " \
        "run mmcboot;" \
+       "setenv bootpart 1:1; " \
+       "run mmcboot;" \
        "run nandboot;"
 
 /* NS16550 Configuration */