-
Notifications
You must be signed in to change notification settings - Fork 28
/
Copy path0001-sama5d4ek-uEnv.txt-bootz-n-fixes.patch
42 lines (37 loc) · 1.31 KB
/
0001-sama5d4ek-uEnv.txt-bootz-n-fixes.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
From 562d9abc8ed6f47ab39b773de8ed1aeb307c3402 Mon Sep 17 00:00:00 2001
From: Robert Nelson <[email protected]>
Date: Tue, 1 Dec 2015 11:16:25 -0600
Subject: [PATCH] sama5d4ek: uEnv.txt, bootz, n fixes
Signed-off-by: Robert Nelson <[email protected]>
---
include/configs/at91-sama5_common.h | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/include/configs/at91-sama5_common.h b/include/configs/at91-sama5_common.h
index 9db4a4f..e47e138 100644
--- a/include/configs/at91-sama5_common.h
+++ b/include/configs/at91-sama5_common.h
@@ -35,7 +35,7 @@
/* general purpose I/O */
#define CONFIG_AT91_GPIO
-#define CONFIG_BOOTDELAY 3
+#define CONFIG_BOOTDELAY 1
/*
* BOOTP options
@@ -71,12 +71,12 @@
#define CONFIG_BOOTCOMMAND "if test ! -n ${dtb_name}; then " \
"setenv dtb_name at91-${board_name}.dtb; " \
"fi; " \
- "fatload mmc 0:1 0x21000000 ${dtb_name}; " \
+ "fatload mmc 0:1 0x21000000 /dtbs/${dtb_name}; " \
"fatload mmc 0:1 0x22000000 zImage; " \
"bootz 0x22000000 - 0x21000000"
#define CONFIG_BOOTARGS \
- "console=ttyS0,115200 earlyprintk " \
- "root=/dev/mmcblk0p2 rw rootwait"
+ "console=ttyS0,115200 " \
+ "root=/dev/mmcblk0p2 ro rootwait"
#else
#define CONFIG_BOOTARGS \
"console=ttyS0,115200 earlyprintk " \
--
2.6.2