From 2808bf2f594f9ffb3017481b3f3b0940bbc29012 Mon Sep 17 00:00:00 2001
From: guowenxue <guowenxue@gmail.com>
Date: Sun, 14 Nov 2021 21:29:04 +0800
Subject: [PATCH] update uboot patch file, add bbl env support
---
bsp/bootloader/patch/uboot-imx-imx6ull.patch | 17 +++++++++--------
1 files changed, 9 insertions(+), 8 deletions(-)
diff --git a/bsp/bootloader/patch/uboot-imx-imx6ull.patch b/bsp/bootloader/patch/uboot-imx-imx6ull.patch
index 7fc1098..d33f2e4 100644
--- a/bsp/bootloader/patch/uboot-imx-imx6ull.patch
+++ b/bsp/bootloader/patch/uboot-imx-imx6ull.patch
@@ -1,6 +1,6 @@
diff -Nuar uboot-imx/arch/arm/dts/imx6ul-14x14-evk.dtsi uboot-imx-imx6ull/arch/arm/dts/imx6ul-14x14-evk.dtsi
--- uboot-imx/arch/arm/dts/imx6ul-14x14-evk.dtsi 2021-09-06 16:48:23.000000000 +0800
-+++ uboot-imx-imx6ull/arch/arm/dts/imx6ul-14x14-evk.dtsi 2021-11-14 13:27:59.306153563 +0800
++++ uboot-imx-imx6ull/arch/arm/dts/imx6ul-14x14-evk.dtsi 2021-11-14 19:56:16.924626040 +0800
@@ -83,6 +83,9 @@
pinctrl-0 = <&pinctrl_enet1>;
phy-mode = "rmii";
@@ -98,7 +98,7 @@
};
diff -Nuar uboot-imx/.cfg-imx6ull uboot-imx-imx6ull/.cfg-imx6ull
--- uboot-imx/.cfg-imx6ull 1970-01-01 08:00:00.000000000 +0800
-+++ uboot-imx-imx6ull/.cfg-imx6ull 2021-11-14 14:19:38.710849946 +0800
++++ uboot-imx-imx6ull/.cfg-imx6ull 2021-11-14 21:11:40.019795524 +0800
@@ -0,0 +1,1644 @@
+#
+# Automatically generated file; DO NOT EDIT.
@@ -1746,7 +1746,7 @@
+CONFIG_MKIMAGE_DTC_PATH="dtc"
diff -Nuar uboot-imx/drivers/net/phy/phy.c uboot-imx-imx6ull/drivers/net/phy/phy.c
--- uboot-imx/drivers/net/phy/phy.c 2021-09-06 16:48:23.000000000 +0800
-+++ uboot-imx-imx6ull/drivers/net/phy/phy.c 2021-11-14 13:28:43.737904373 +0800
++++ uboot-imx-imx6ull/drivers/net/phy/phy.c 2021-11-14 19:56:16.924626040 +0800
@@ -182,6 +182,9 @@
{
int result;
@@ -1759,8 +1759,8 @@
diff -Nuar uboot-imx/include/configs/mx6ullevk.h uboot-imx-imx6ull/include/configs/mx6ullevk.h
--- uboot-imx/include/configs/mx6ullevk.h 2021-09-06 16:48:23.000000000 +0800
-+++ uboot-imx-imx6ull/include/configs/mx6ullevk.h 2021-11-14 14:04:39.590289783 +0800
-@@ -100,124 +100,33 @@
++++ uboot-imx-imx6ull/include/configs/mx6ullevk.h 2021-11-14 20:55:47.745008838 +0800
+@@ -100,124 +100,34 @@
#else
#define CONFIG_EXTRA_ENV_SETTINGS \
@@ -1896,11 +1896,12 @@
+ "tftp $loadaddr $image; tftp $fdt_addr ${fdt_file};" \
+ "run mmcargs; " \
+ "bootz ${loadaddr} - ${fdt_addr}\0" \
-+ "bootcmd=run mmcboot\0"
++ "bootcmd=run mmcboot\0" \
++ "bbl=tftp ${loadaddr} u-boot-imx6ull-emmc.imx && mmc dev ${mmcdev} 1 && mmc write ${loadaddr} 2 0x500\0"
#endif
/* Miscellaneous configurable options */
-@@ -238,7 +147,9 @@
+@@ -238,7 +148,9 @@
(CONFIG_SYS_INIT_RAM_ADDR + CONFIG_SYS_INIT_SP_OFFSET)
/* environment organization */
@@ -1912,7 +1913,7 @@
#define CONFIG_IOMUX_LPSR
diff -Nuar uboot-imx/Makefile uboot-imx-imx6ull/Makefile
--- uboot-imx/Makefile 2021-09-06 16:48:23.000000000 +0800
-+++ uboot-imx-imx6ull/Makefile 2021-11-14 14:17:15.073367046 +0800
++++ uboot-imx-imx6ull/Makefile 2021-11-14 21:05:41.391745547 +0800
@@ -263,6 +263,9 @@
CROSS_COMPILE ?=
endif
--
Gitblit v1.9.1