summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bsp/nxp/imx/imx6ull-smart/applications/mnt.c21
-rw-r--r--bsp/nxp/imx/imx6ull-smart/emmc/image/input/u-boot-dtb.imxbin0 -> 523264 bytes
2 files changed, 9 insertions, 12 deletions
diff --git a/bsp/nxp/imx/imx6ull-smart/applications/mnt.c b/bsp/nxp/imx/imx6ull-smart/applications/mnt.c
index d1cb5083e2..90ebfead6a 100644
--- a/bsp/nxp/imx/imx6ull-smart/applications/mnt.c
+++ b/bsp/nxp/imx/imx6ull-smart/applications/mnt.c
@@ -22,23 +22,20 @@ int mnt_init(void)
int part_id = 0;
if (dfs_mount("emmc0", "/", "elm", 0, (void *)part_id) != 0)
{
- rt_kprintf("Dir / emmc mount failed!\n");
- return -1;
+ if (dfs_mount("sd0", "/", "elm", 0, (void *)part_id) != 0)
+ {
+ rt_kprintf("Dir / mount failed!\n");
+ return -1;
+ }
+ else
+ {
+ rt_kprintf("sd0 file system initialization done!\n");
+ }
}
else
{
rt_kprintf("emmc file system initialization done!\n");
}
-
- if (dfs_mount("sd0", "/", "elm", 0, (void *)part_id) != 0)
- {
- rt_kprintf("Dir / mount failed!\n");
- return -1;
- }
- else
- {
- rt_kprintf("sd0 file system initialization done!\n");
- }
#else
rt_thread_mdelay(500);
if (dfs_mount(NULL, "/", "rom", 0, &romfs_root) != 0)
diff --git a/bsp/nxp/imx/imx6ull-smart/emmc/image/input/u-boot-dtb.imx b/bsp/nxp/imx/imx6ull-smart/emmc/image/input/u-boot-dtb.imx
new file mode 100644
index 0000000000..1a8650bcf5
--- /dev/null
+++ b/bsp/nxp/imx/imx6ull-smart/emmc/image/input/u-boot-dtb.imx
Binary files differ