From 48eadbd80208cb54f4ac7aec2c0cdcb6967777b0 Mon Sep 17 00:00:00 2001 From: Max Krummenacher Date: Mon, 10 Mar 2014 18:50:51 +0100 Subject: boot: try emmcboot, nfsboot, then commandline change the bootcommand to the following boot order - emmcboot - nfsboot - enable usb keyboard and go to command prompt --- board/toradex/apalis_imx6/apalis_imx6.c | 1 + include/configs/apalis-imx6.h | 8 ++++---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/board/toradex/apalis_imx6/apalis_imx6.c b/board/toradex/apalis_imx6/apalis_imx6.c index a8376226e0..1175c91d94 100644 --- a/board/toradex/apalis_imx6/apalis_imx6.c +++ b/board/toradex/apalis_imx6/apalis_imx6.c @@ -265,6 +265,7 @@ int board_ehci_hcd_init(int port) mdelay(2); /* Set MXM USBH power enable */ gpio_set_value(IMX_GPIO_NR(3, 28), 1); + mdelay(100); return 0; } diff --git a/include/configs/apalis-imx6.h b/include/configs/apalis-imx6.h index 6e60d50ac4..2b3919ffd6 100644 --- a/include/configs/apalis-imx6.h +++ b/include/configs/apalis-imx6.h @@ -194,10 +194,10 @@ "fatload mmc 1:1 10800000 uImage && bootm 10800000" #define CONFIG_EXTRA_ENV_SETTINGS \ - "bootcmd=run emmcboot ; "\ - "setenv stdout serial,vga ; " \ - "echo ; echo emmcboot failed ; " \ - "run nfsboot\0" \ + "bootcmd=run emmcboot ; echo ; echo emmcboot failed ; " \ + "run nfsboot ; echo ; echo nfsboot failed ; " \ + "usb start ;" \ + "setenv stdout serial,vga ; setenv stdin serial,usbkbd\0" \ "bootscript=fatload mmc 1:1 10008000 6x_bootscript && source 10008000\0" \ "console=ttymxc0\0" \ "defargs=enable_wait_mode=off vmalloc=400M\0" \ -- cgit v1.2.3