From 3876f7962ba1e1d1159e5b93009e76c2db3845cc Mon Sep 17 00:00:00 2001 From: Vagrant Cascadian Date: Tue, 7 Apr 2015 20:42:30 +0000 Subject: [PATCH] emulate-config_distro_bootcmd-standardization Set additional variables (boot_targets, devtype, devnum, bootpart) to emulate config_distro_bootcmd.h so that the debian-installer bootscript will work. Gbp-Pq: Topic cubox-i Gbp-Pq: Name emulate-config_distro_bootcmd-standardization.diff --- include/configs/mx6_cubox-i.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/configs/mx6_cubox-i.h b/include/configs/mx6_cubox-i.h index 59c6040f1..88e785325 100644 --- a/include/configs/mx6_cubox-i.h +++ b/include/configs/mx6_cubox-i.h @@ -286,6 +286,10 @@ #define CONFIG_BOOTCOMMAND \ "mmc dev ${mmcdev}; if mmc rescan; then " \ + "setenv boot_targets mmc ; " \ + "setenv devtype mmc ; " \ + "setenv devnum ${mmcdev} ; " \ + "setenv bootpart ${mmcpart} ; " \ "for prefix in ${boot_prefixes}; do " \ "setenv file_prefix ${prefix}; " \ "run autodetectfdt; " \ -- 2.30.2