os: fix u-boot env size (#153)
* os: fix u-boot env size * Delete fw_env.config
This commit is contained in:
@@ -1,24 +1,25 @@
|
||||
From 1529062f72cee8061b4733e1148357d227639900 Mon Sep 17 00:00:00 2001
|
||||
From 8458beb24f2540fff3c3faed4fa068553b9e474e Mon Sep 17 00:00:00 2001
|
||||
From: Pascal Vizeli <pvizeli@syshack.ch>
|
||||
Date: Mon, 11 Jun 2018 11:09:10 +0000
|
||||
Date: Wed, 8 Aug 2018 09:45:07 +0000
|
||||
Subject: [PATCH 1/1] Support HassOS bootstate partition
|
||||
|
||||
Signed-off-by: Pascal Vizeli <pvizeli@syshack.ch>
|
||||
---
|
||||
env/mmc.c | 4 ++++
|
||||
1 file changed, 4 insertions(+)
|
||||
env/mmc.c | 5 +++++
|
||||
1 file changed, 5 insertions(+)
|
||||
|
||||
diff --git a/env/mmc.c b/env/mmc.c
|
||||
index 5e3da6dca7..75c06899d1 100644
|
||||
index 5e3da6dca75..353f58a12c9 100644
|
||||
--- a/env/mmc.c
|
||||
+++ b/env/mmc.c
|
||||
@@ -18,6 +18,10 @@
|
||||
@@ -18,6 +18,11 @@
|
||||
#include <search.h>
|
||||
#include <errno.h>
|
||||
|
||||
+#undef CONFIG_SYS_MMC_ENV_DEV
|
||||
+#define CONFIG_SYS_MMC_ENV_DEV 0
|
||||
+#undef CONFIG_ENV_OFFSET
|
||||
+#define CONFIG_ENV_OFFSET 0x25100000
|
||||
+#define CONFIG_ENV_SIZE 0x400000
|
||||
+
|
||||
#define __STR(X) #X
|
||||
#define STR(X) __STR(X)
|
||||
|
||||
@@ -4,3 +4,4 @@ CHASSIS=embedded
|
||||
BOOTLOADER=uboot
|
||||
KERNEL_FILE=zImage
|
||||
BOOT_SYS=mbr
|
||||
BOOT_ENV_SIZE=0x4000
|
||||
|
||||
@@ -4,3 +4,4 @@ CHASSIS=embedded
|
||||
BOOTLOADER=uboot
|
||||
KERNEL_FILE=zImage
|
||||
BOOT_SYS=mbr
|
||||
BOOT_ENV_SIZE=0x4000
|
||||
|
||||
@@ -4,3 +4,4 @@ CHASSIS=embedded
|
||||
BOOTLOADER=uboot
|
||||
KERNEL_FILE=zImage
|
||||
BOOT_SYS=mbr
|
||||
BOOT_ENV_SIZE=0x4000
|
||||
|
||||
@@ -4,3 +4,4 @@ CHASSIS=embedded
|
||||
BOOTLOADER=uboot
|
||||
KERNEL_FILE=Image
|
||||
BOOT_SYS=mbr
|
||||
BOOT_ENV_SIZE=0x4000
|
||||
|
||||
@@ -4,3 +4,4 @@ CHASSIS=embedded
|
||||
BOOTLOADER=uboot
|
||||
KERNEL_FILE=zImage
|
||||
BOOT_SYS=mbr
|
||||
BOOT_ENV_SIZE=0x4000
|
||||
|
||||
@@ -4,3 +4,4 @@ CHASSIS=embedded
|
||||
BOOTLOADER=uboot
|
||||
KERNEL_FILE=zImage
|
||||
BOOT_SYS=spl
|
||||
BOOT_ENV_SIZE=0x8000
|
||||
|
||||
@@ -1,24 +1,25 @@
|
||||
From 1529062f72cee8061b4733e1148357d227639900 Mon Sep 17 00:00:00 2001
|
||||
From 8458beb24f2540fff3c3faed4fa068553b9e474e Mon Sep 17 00:00:00 2001
|
||||
From: Pascal Vizeli <pvizeli@syshack.ch>
|
||||
Date: Mon, 11 Jun 2018 11:09:10 +0000
|
||||
Date: Wed, 8 Aug 2018 09:45:07 +0000
|
||||
Subject: [PATCH 1/1] Support HassOS bootstate partition
|
||||
|
||||
Signed-off-by: Pascal Vizeli <pvizeli@syshack.ch>
|
||||
---
|
||||
env/mmc.c | 4 ++++
|
||||
1 file changed, 4 insertions(+)
|
||||
env/mmc.c | 5 +++++
|
||||
1 file changed, 5 insertions(+)
|
||||
|
||||
diff --git a/env/mmc.c b/env/mmc.c
|
||||
index 5e3da6dca7..75c06899d1 100644
|
||||
index 5e3da6dca75..353f58a12c9 100644
|
||||
--- a/env/mmc.c
|
||||
+++ b/env/mmc.c
|
||||
@@ -18,6 +18,10 @@
|
||||
@@ -18,6 +18,11 @@
|
||||
#include <search.h>
|
||||
#include <errno.h>
|
||||
|
||||
+#undef CONFIG_SYS_MMC_ENV_DEV
|
||||
+#define CONFIG_SYS_MMC_ENV_DEV 1
|
||||
+#undef CONFIG_ENV_OFFSET
|
||||
+#define CONFIG_ENV_OFFSET 0x25100000
|
||||
+#define CONFIG_ENV_SIZE 0x400000
|
||||
+
|
||||
#define __STR(X) #X
|
||||
#define STR(X) __STR(X)
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# CONFIG_USB_STORAGE is not set
|
||||
CONFIG_DM_VIDEO=y
|
||||
CONFIG_CMD_FILEENV=y
|
||||
|
||||
CONFIG_ENV_OFFSET=0x25100000
|
||||
|
||||
Reference in New Issue
Block a user