From bcfde7885d6adbf067db5dd54cd4d9cea7426870 Mon Sep 17 00:00:00 2001 From: Jason Kridner Date: Thu, 4 Apr 2013 07:16:41 +0000 Subject: [PATCH 11/14] am335x_evm: HACK to turn on BeagleBone LEDs * This might break non-BeagleBone platforms --- include/configs/am335x_evm.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/configs/am335x_evm.h b/include/configs/am335x_evm.h index f2838ac..9e39d00 100644 --- a/include/configs/am335x_evm.h +++ b/include/configs/am335x_evm.h @@ -150,6 +150,7 @@ #endif #define CONFIG_BOOTCOMMAND \ + "gpio set 53; " \ "i2c mw 0x24 1 0x3e; " \ "run findfdt; " \ "mmc dev 0; if mmc rescan ; then " \ @@ -161,6 +162,7 @@ "fi;" \ "setenv bootpart ${mmcdev}:2;" \ "mmc dev ${mmcdev}; if mmc rescan; then " \ + "gpio set 54; " \ "echo SD/MMC found on device ${mmcdev};" \ "if run loadbootenv; then " \ "echo Loaded environment from ${bootenv};" \ @@ -170,7 +172,9 @@ "echo Running uenvcmd ...;" \ "run uenvcmd;" \ "fi;" \ + "gpio set 55; " \ "if run loaduimage; then " \ + "gpio set 56; " \ "run loadfdt;" \ "run mmcboot;" \ "fi;" \ -- 1.8.1.4