diff --git a/fix-extlinux-kconfig-preboot.patch b/fix-extlinux-kconfig-preboot.patch index 0353ab7..015a4de 100644 --- a/fix-extlinux-kconfig-preboot.patch +++ b/fix-extlinux-kconfig-preboot.patch @@ -9,12 +9,12 @@ index 74743a5e..2e1f7fa9 100644 +CONFIG_USE_PREBOOT=y +CONFIG_PREBOOT="setenv fdt_addr ${fdtcontroladdr}; fdt addr ${fdtcontroladdr};" diff --git a/configs/sifive_fu540_defconfig b/configs/sifive_fu540_defconfig -index f1920374..5ff8e099 100644 +index 48865e5f..a8525793 100644 --- a/configs/sifive_fu540_defconfig +++ b/configs/sifive_fu540_defconfig -@@ -9,3 +9,5 @@ CONFIG_DISPLAY_CPUINFO=y +@@ -9,3 +9,5 @@ CONFIG_MISC_INIT_R=y + CONFIG_DISPLAY_CPUINFO=y CONFIG_DISPLAY_BOARDINFO=y - CONFIG_MISC_INIT_R=y CONFIG_OF_PRIOR_STAGE=y +CONFIG_USE_PREBOOT=y +CONFIG_PREBOOT="setenv fdt_addr ${fdtcontroladdr}; fdt addr ${fdtcontroladdr};" diff --git a/fu540-boot-mmc-pxe.patch b/fu540-boot-mmc-pxe.patch new file mode 100644 index 0000000..cc06b5c --- /dev/null +++ b/fu540-boot-mmc-pxe.patch @@ -0,0 +1,13 @@ +diff --git a/include/configs/sifive-fu540.h b/include/configs/sifive-fu540.h +index ba4aa065..7eedc765 100644 +--- a/include/configs/sifive-fu540.h ++++ b/include/configs/sifive-fu540.h +@@ -26,6 +26,8 @@ + #define CONFIG_ENV_SIZE SZ_128K + + #define BOOT_TARGET_DEVICES(func) \ ++ func(MMC, mmc, 0) \ ++ func(PXE, pxe, na) \ + func(DHCP, dhcp, na) + + #include diff --git a/sources b/sources index e52d8c7..a0d1eae 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (u-boot-2019.10-rc2.tar.bz2) = 5a9173a1bd945736c8e0c1797b4c8fdd9833fc4e04d6b0e562c2018884da9bc10c110231b690450fb2761e19cd19ab24fc8744000c901f416ba2936c8278799e +SHA512 (u-boot-2019.10-rc3.tar.bz2) = 598a6637fdbd62f30a3c4f73f0e89022c6c92b9ec93f4c4215547f54493ff17b2a0b127328ad6e1561e451b3cddca89f168f8adfe4cc59f8125fc70787d8cf4c diff --git a/uboot-tools.spec b/uboot-tools.spec index 23eff58..5e3af2e 100644 --- a/uboot-tools.spec +++ b/uboot-tools.spec @@ -30,6 +30,7 @@ Patch9: arm-tegra-defaine-fdtfile-for-all-devices.patch Patch20: fix-extlinux-kconfig-preboot.patch Patch21: env-fix-build-error-for-envtools.patch +Patch22: fu540-boot-mmc-pxe.patch BuildRequires: bc BuildRequires: dtc