try to reduce boot vs root partition confusion letux-extensions-v2016.07
authornotaz <notasas@gmail.com>
Sun, 14 Aug 2016 16:01:33 +0000 (19:01 +0300)
committernotaz <notasas@gmail.com>
Sun, 14 Aug 2016 16:01:33 +0000 (19:01 +0300)
include/configs/ti_armv7_common.h
include/configs/ti_omap5_common.h

index ba7cf15..eabce6a 100644 (file)
@@ -59,7 +59,7 @@
 #define DEFAULT_MMC_TI_ARGS \
        "mmcdev=0\0" \
        "mmcrootfstype=ext4 rootwait\0" \
-       "finduuid=part uuid mmc ${bootpart} uuid\0" \
+       "finduuid=part uuid mmc ${rootpart} uuid\0" \
        "args_mmc=run finduuid;setenv bootargs console=${console} " \
                "${optargs} " \
                "root=PARTUUID=${uuid} rw " \
index 5386a5b..d114c5f 100644 (file)
@@ -74,6 +74,7 @@
        "console=" CONSOLEDEV ",115200n8\0" \
        "fdtfile=undefined\0" \
        "bootpart=0:2\0" \
+       "rootpart=0:2\0" \
        "bootdir=/boot\0" \
        "bootfile=zImage\0" \
        "bootfilecmd=bootz\0" \
        "fi;" \
        "run findfdt; " \
        "setenv mmcdev 0; " \
-       "setenv bootpart 0:2; " \
+       "setenv bootpart 0:1; " \
+       "setenv rootpart 0:2; " \
        "run envboot; " \
        "run mmcboot;" \
        "setenv mmcdev 1; " \
-       "setenv bootpart 1:2; " \
+       "setenv bootpart 1:1; " \
+       "setenv rootpart 1:2; " \
        "run mmcboot;" \
        ""
 #endif