8bb7d3f247
- Enable new RPi3 B+ (bsc#1085262) - Fix network boot (bsc#1070775) - Patch queue updated from git://github.com/openSUSE/u-boot.git tumbleweed-2018.03 * Patches added: 0005-rpi3-Enable-lan78xx-driver.patch 0006-net-Only-access-network-devices-aft.patch 0007-rpi-Add-identifier-for-the-new-RPi3.patch 0008-efi_loader-Fix-network-DP-with-DM_E.patch OBS-URL: https://build.opensuse.org/request/show/587586 OBS-URL: https://build.opensuse.org/package/show/hardware:boot/u-boot?expand=0&rev=5
42 lines
1.8 KiB
Diff
42 lines
1.8 KiB
Diff
From f9856b798578670b682889a05a9e4df078a53dd6 Mon Sep 17 00:00:00 2001
|
|
From: Alexander Graf <agraf@suse.de>
|
|
Date: Wed, 13 Apr 2016 13:44:29 +0200
|
|
Subject: [PATCH] XXX openSUSE XXX: Load dtb from partition 2
|
|
|
|
Upstream U-Boot loads the device tree from the EFI partition. This is
|
|
mostly because upstream we don't know which partition really holds the
|
|
boot data.
|
|
|
|
For openSUSE however we do know, so let's just patch the boot script to
|
|
load device trees from partition 2.
|
|
|
|
Signed-off-by: Alexander Graf <agraf@suse.de>
|
|
---
|
|
include/config_distro_bootcmd.h | 6 +++---
|
|
1 file changed, 3 insertions(+), 3 deletions(-)
|
|
|
|
diff --git a/include/config_distro_bootcmd.h b/include/config_distro_bootcmd.h
|
|
index f567cebd38..96b05aeeed 100644
|
|
--- a/include/config_distro_bootcmd.h
|
|
+++ b/include/config_distro_bootcmd.h
|
|
@@ -135,16 +135,16 @@
|
|
"fi\0" \
|
|
\
|
|
"load_efi_dtb=" \
|
|
- "load ${devtype} ${devnum}:${distro_bootpart} " \
|
|
+ "load ${devtype} ${devnum}:2 " \
|
|
"${fdt_addr_r} ${prefix}${efi_fdtfile}\0" \
|
|
\
|
|
- "efi_dtb_prefixes=/ /dtb/ /dtb/current/\0" \
|
|
+ "efi_dtb_prefixes=/ /dtb/ /dtb/current/ /boot/ /boot/dtb/ /boot/dtb/current/\0" \
|
|
"scan_dev_for_efi=" \
|
|
"setenv efi_fdtfile ${fdtfile}; " \
|
|
BOOTENV_EFI_SET_FDTFILE_FALLBACK \
|
|
"for prefix in ${efi_dtb_prefixes}; do " \
|
|
"if test -e ${devtype} " \
|
|
- "${devnum}:${distro_bootpart} " \
|
|
+ "${devnum}:2 " \
|
|
"${prefix}${efi_fdtfile}; then " \
|
|
"run load_efi_dtb; " \
|
|
"fi;" \
|