Commit 5e39e20a authored by Marcel Ziswiler's avatar Marcel Ziswiler Committed by Tom Warren
Browse files

board: apalis-tk1: launch toradex easy installer in usb recovery

The USB recovery mode is used by Toradex to load the Toradex Easy
Installer image which supports further system images installation.
Prepare for loading and launching the Toradex Easy Installer if the
USB Recovery mode is activated.
Signed-off-by: default avatarMarcel Ziswiler <>
Signed-off-by: default avatarOleksandr Suvorov <>
Signed-off-by: Tom Warren's avatarTom Warren <>
parent a0da2dda
......@@ -38,8 +38,24 @@
int arch_misc_init(void)
printf("USB recovery mode\n");
printf("USB recovery mode, attempting to boot Toradex Easy "
env_set("bootdelay", "-2");
env_set("defargs", "pcie_aspm=off user_debug=30");
env_set("fdt_high", "");
env_set("initrd_high", "");
env_set("setup", "env set setupargs igb_mac=${ethaddr} "
"consoleblank=0 no_console_suspend=1 "
"console=${console},${baudrate}n8 ${memargs}");
env_set("teziargs", "rootfstype=squashfs root=/dev/ram quiet "
env_set("vidargs", "video=HDMI-A-1:640x480-16@60D");
env_set("bootcmd", "run setup; env set bootargs ${defargs} "
"${setupargs} ${vidargs} ${teziargs}; bootm 0x80208000"
/* PCB Version Indication: V1.2 and later have GPIO_PV0 wired to GND */
gpio_request(TEGRA_GPIO(V, 0), "PCB Version Indication");
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment