SHA256
1
0
forked from pool/u-boot
u-boot/0001-XXX-openSUSE-XXX-Load-dtb-from-part.patch
Guillaume GARDET 899039e75b Accepting request 621892 from hardware👢staging
- Update to v2018.07
- Patch queue updated from git://github.com/openSUSE/u-boot.git tumbleweed-2018.07
* Patches dropped:
  0010-arm-timer-factor-out-FSL-arch-timer.patch
  0011-arm-timer-sunxi-add-Allwinner-timer.patch
- Update to v2018.07-rc3
- Patch queue updated from git://github.com/openSUSE/u-boot.git tumbleweed-2018.07
* Patches added:
  0010-arm-timer-factor-out-FSL-arch-timer.patch
  0011-arm-timer-sunxi-add-Allwinner-timer.patch
- Update to v2018.07-rc2
- update to v2018.07-rc1
- Add bison and flex deps needed since Kconfig update
- Use 'make syncconfig' instead of deprecated 'make silentoldconfig'
- Patch queue updated from git://github.com/openSUSE/u-boot.git tumbleweed-2018.07
* Patches dropped:
  0006-tools-zynqmpimage-Add-partition-rea.patch
  0007-tools-zynqmpimage-Move-defines-to-h.patch
  0008-MAINTAINERS-Declare-tools-zynq-.-c-.patch
  0009-tools-zynqmpimage-Add-bif-support.patch
  0010-tools-zynqmpbif-Add-support-for-loa.patch
  0011-rockchip-make_fit_atf-use-elf-entry.patch
  0012-rockchip-make_fit_atf-make-python3-.patch
  0013-rockchip-make_fit_atf.py-depends-on.patch
* Patches added:
  0006-tools-zynqmpbif-Add-support-for-loa.patch
  0007-rockchip-make_fit_atf-use-elf-entry.patch
  0008-rockchip-make_fit_atf-make-python3-.patch
  0009-rockchip-make_fit_atf.py-depends-on.patch

OBS-URL: https://build.opensuse.org/request/show/621892
OBS-URL: https://build.opensuse.org/package/show/hardware:boot/u-boot?expand=0&rev=22
2018-07-12 15:14:04 +00:00

42 lines
1.8 KiB
Diff

From 891e02db364c3b6a75d933af4eae5c40014a18b8 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 d672e8ebe6..d06fb4367e 100644
--- a/include/config_distro_bootcmd.h
+++ b/include/config_distro_bootcmd.h
@@ -138,16 +138,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;" \