mirror of
https://github.com/godotengine/buildroot.git
synced 2026-01-05 14:09:53 +03:00
configs/stm32mp157_dk: bump U-Boot to 2019.10
Add patch to fix mounting rootfs partition properly. This issue is already reported upstream. Signed-off-by: Bartosz Bilas <b.bilas@grinn-global.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
committed by
Thomas Petazzoni
parent
a3113b6b5a
commit
17cd919116
@@ -0,0 +1,37 @@
|
||||
From a7204e5ae1e5f87ad449c7425cf7614205e60734 Mon Sep 17 00:00:00 2001
|
||||
From: Bartosz Bilas <bartosz.bilas@hotmail.com>
|
||||
Date: Sun, 27 Oct 2019 09:01:12 +0100
|
||||
Subject: [PATCH] stm32mp1: configs: fix checking the presence of an
|
||||
environment
|
||||
|
||||
Execute env check command within extra env settings section instead of
|
||||
bootcmd whereby we are able to mount rootfs partition from sd card properly.
|
||||
|
||||
Signed-off-by: Bartosz Bilas <bartosz.bilas@hotmail.com>
|
||||
---
|
||||
include/configs/stm32mp1.h | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/include/configs/stm32mp1.h b/include/configs/stm32mp1.h
|
||||
index 988992b336..cadc0358fd 100644
|
||||
--- a/include/configs/stm32mp1.h
|
||||
+++ b/include/configs/stm32mp1.h
|
||||
@@ -115,7 +115,6 @@
|
||||
"if test ${boot_device} = serial || test ${boot_device} = usb;" \
|
||||
"then stm32prog ${boot_device} ${boot_instance}; " \
|
||||
"else " \
|
||||
- "run env_check;" \
|
||||
"if test ${boot_device} = mmc;" \
|
||||
"then env set boot_targets \"mmc${boot_instance}\"; fi;" \
|
||||
"if test ${boot_device} = nand;" \
|
||||
@@ -160,6 +159,7 @@
|
||||
"initrd_high=0xffffffff\0" \
|
||||
"altbootcmd=run bootcmd\0" \
|
||||
"env_default=1\0" \
|
||||
+ "run env_check;" \
|
||||
"env_check=if test $env_default -eq 1;"\
|
||||
" then env set env_default 0;env save;fi\0" \
|
||||
STM32MP_BOOTCMD \
|
||||
--
|
||||
2.23.0
|
||||
|
||||
Reference in New Issue
Block a user