2016-06-17 00:59:15 +00:00
|
|
|
From 79e1cf43cb41de41944272ea46e077b6315ce8c0 Mon Sep 17 00:00:00 2001
|
2016-02-05 04:30:35 +00:00
|
|
|
From: Kevin Mihelich <kevin@archlinuxarm.org>
|
|
|
|
Date: Wed, 3 Feb 2016 21:23:59 -0700
|
2016-06-17 00:59:15 +00:00
|
|
|
Subject: [PATCH 2/2] arch linux arm modifications
|
2016-02-05 04:30:35 +00:00
|
|
|
|
|
|
|
---
|
|
|
|
common/cmd_cfgload.c | 2 +-
|
|
|
|
include/configs/odroidc2.h | 7 +++++++
|
|
|
|
2 files changed, 8 insertions(+), 1 deletion(-)
|
|
|
|
|
|
|
|
diff --git a/common/cmd_cfgload.c b/common/cmd_cfgload.c
|
2016-06-17 00:59:15 +00:00
|
|
|
index 90e2541..7166d26 100644
|
2016-02-05 04:30:35 +00:00
|
|
|
--- a/common/cmd_cfgload.c
|
|
|
|
+++ b/common/cmd_cfgload.c
|
|
|
|
@@ -52,7 +52,7 @@ static char* read_cfgload(void)
|
|
|
|
|
|
|
|
setenv("filesize", "0");
|
|
|
|
|
|
|
|
- sprintf(cmd, "fatload mmc 0:1 0x%p boot.ini", (void *)p);
|
|
|
|
+ sprintf(cmd, "load mmc 0:1 0x%p /boot/boot.ini", (void *)p);
|
|
|
|
run_command(cmd, 0);
|
|
|
|
|
|
|
|
filesize = getenv_ulong("filesize", 16, 0);
|
|
|
|
diff --git a/include/configs/odroidc2.h b/include/configs/odroidc2.h
|
2016-06-17 00:59:15 +00:00
|
|
|
index 307d643..6c1564b 100755
|
2016-02-05 04:30:35 +00:00
|
|
|
--- a/include/configs/odroidc2.h
|
|
|
|
+++ b/include/configs/odroidc2.h
|
2016-02-27 00:54:13 +00:00
|
|
|
@@ -75,6 +75,13 @@
|
2016-02-05 04:30:35 +00:00
|
|
|
#define CONFIG_BOOTDELAY 1 // Seconds
|
2016-02-27 00:54:13 +00:00
|
|
|
#define CONFIG_ABORTBOOT_WITH_ENTERKEY
|
2016-02-05 04:30:35 +00:00
|
|
|
|
|
|
|
+/* Arch Linux ARM */
|
|
|
|
+#define CONFIG_CMD_FS_GENERIC
|
|
|
|
+#define CONFIG_SUPPORT_RAW_INITRD
|
|
|
|
+#define CONFIG_IDENT_STRING " Arch Linux ARM"
|
|
|
|
+#define CONFIG_CMD_PART
|
|
|
|
+#define CONFIG_PARTITION_UUIDS
|
|
|
|
+
|
|
|
|
/* args/envs */
|
|
|
|
#define CONFIG_SYS_MAXARGS 64
|
|
|
|
|
|
|
|
--
|
2016-06-17 00:59:15 +00:00
|
|
|
2.8.0
|
2016-02-05 04:30:35 +00:00
|
|
|
|