]> code.ossystems Code Review - bsp/u-boot.git/commitdiff
mx25pdk: Change root to use a single partition layout
authorOtavio Salvador <otavio@ossystems.com.br>
Thu, 28 Sep 2017 17:30:22 +0000 (14:30 -0300)
committerOtavio Salvador <otavio@ossystems.com.br>
Fri, 14 Sep 2018 18:37:51 +0000 (15:37 -0300)
This allow for use of wic images as generated by the wic tool inside
the OpenEmbedded.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
include/configs/mx25pdk.h

index 6537e3a204452b8d01b2b6a2c713c56e4a05dcad..558a363a2f88f47c0b5bd53715df2bfea215ffc8 100644 (file)
 #define CONFIG_SYS_LOAD_ADDR   CONFIG_LOADADDR
 
 #define CONFIG_EXTRA_ENV_SETTINGS \
-       "script=boot.scr\0" \
-       "image=zImage\0" \
+       "script=/boot/boot.scr\0" \
+       "image=/boot/zImage\0" \
        "console=ttymxc0\0" \
        "splashpos=m,m\0" \
        "fdt_high=0xffffffff\0" \
        "initrd_high=0xffffffff\0" \
-       "fdt_file=" CONFIG_DEFAULT_FDT_FILE "\0" \
+       "fdt_file=/boot/" CONFIG_DEFAULT_FDT_FILE "\0" \
        "fdt_addr=0x82000000\0" \
        "boot_fdt=try\0" \
        "ip_dyn=yes\0" \
        "mmcdev=" __stringify(CONFIG_SYS_MMC_ENV_DEV) "\0" \
        "mmcpart=1\0" \
-       "mmcroot=/dev/mmcblk0p2 rootwait rw\0" \
+       "mmcroot=/dev/mmcblk0p1 rootwait rootfstype=ext4 rw\0" \
        "update_sd_firmware_filename=u-boot.imx\0" \
        "update_sd_firmware=" \
                "if test ${ip_dyn} = yes; then " \