]> code.ossystems Code Review - bsp/u-boot.git/commitdiff
pico-imx7d: Enable booting from single partition
authorVanessa Maegima <vanessa.maegima@nxp.com>
Fri, 15 Sep 2017 21:34:21 +0000 (18:34 -0300)
committerVanessa Maegima <vanessa.maegima@nxp.com>
Fri, 15 Sep 2017 22:30:30 +0000 (19:30 -0300)
Update 'fdt_file' and 'image' location and change rootfs mmc partition
in 'finduuid' to support booting from a single partition.

Signed-off-by: Vanessa Maegima <vanessa.maegima@nxp.com>
include/configs/pico-imx7d.h

index 3a772b30321dde10362d1e63104e7ff63aae704c..462c5bf55c2113d2bdf74252408fbf7a07bdc05b 100644 (file)
 
 #define CONFIG_EXTRA_ENV_SETTINGS \
        "script=boot.scr\0" \
-       "image=zImage\0" \
+       "image=/boot/zImage\0" \
        "console=ttymxc4\0" \
        "fdt_high=0xffffffff\0" \
        "initrd_high=0xffffffff\0" \
-       "fdt_file=imx7d-pico.dtb\0" \
+       "fdt_file=/boot/imx7d-pico.dtb\0" \
        "fdt_addr=0x83000000\0" \
        "ip_dyn=yes\0" \
        "mmcdev="__stringify(CONFIG_SYS_MMC_ENV_DEV)"\0" \
        "mmcpart=" __stringify(CONFIG_SYS_MMC_IMG_LOAD_PART) "\0" \
-       "finduuid=part uuid mmc 0:2 uuid\0" \
+       "finduuid=part uuid mmc 0:1 uuid\0" \
        "mmcargs=setenv bootargs console=${console},${baudrate} " \
                "root=PARTUUID=${uuid} rootwait rw\0" \
        "loadimage=load mmc ${mmcdev}:${mmcpart} ${loadaddr} ${image}\0" \