From 0db31fc32f3f6f7ffede083238115a8ab777c1b1 Mon Sep 17 00:00:00 2001 From: Ryan Harkin Date: Thu, 8 Mar 2018 17:27:12 +0000 Subject: HACK bootcmd Create a simple bootcmd that will boot the board with our setup only. Signed-off-by: Ryan Harkin --- include/configs/sunxi-common.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/include/configs/sunxi-common.h b/include/configs/sunxi-common.h index 9141ddb085..9aef414446 100644 --- a/include/configs/sunxi-common.h +++ b/include/configs/sunxi-common.h @@ -520,4 +520,10 @@ extern int soft_i2c_gpio_scl; #define CONFIG_EXTRA_ENV_SETTINGS #endif +#undef CONFIG_BOOTCOMMAND +#define CONFIG_BOOTCOMMAND \ + "setenv bootargs \"debug earlyprintk console=ttyS0,115200 root=/dev/mmcblk0p2 rootwait rw\" ; " \ + "load mmc 0:2 0x45000000 /boot/kernel.itb ; " \ + "bootm 0x45000000" + #endif /* _SUNXI_COMMON_CONFIG_H */ -- cgit v1.2.3