diff options
author | Ryan Harkin <ryan.harkin@linaro.org> | 2018-03-08 17:27:12 +0000 |
---|---|---|
committer | Ryan Harkin <ryan.harkin@linaro.org> | 2018-03-08 17:46:11 +0000 |
commit | 0db31fc32f3f6f7ffede083238115a8ab777c1b1 (patch) | |
tree | 32749ce10eb514d31dc6fe60fe22cd2693f5041e | |
parent | 5c17566eae9a84786f14460c00cdbaf58f73b0ba (diff) |
HACK bootcmdlinaro-20180308-002
Create a simple bootcmd that will boot the board with our setup only.
Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
-rw-r--r-- | include/configs/sunxi-common.h | 6 |
1 files changed, 6 insertions, 0 deletions
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 */ |