凌云实验室推出的ARM Linux物联网网关开发板IGKBoard(IoT Gateway Kit Board)项目源码
guowenxue
2022-06-12 0365e3e471c3df1c0a76d05dde7214d24d3f453d
bsp/bootloader/patch/uboot-imx-igkboard.patch
@@ -1,6 +1,6 @@
diff -Nuar uboot-imx/arch/arm/dts/imx6ul-14x14-evk.dtsi uboot-imx-igkboard/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-igkboard/arch/arm/dts/imx6ul-14x14-evk.dtsi   2021-12-27 17:34:17.925670562 +0800
+++ uboot-imx-igkboard/arch/arm/dts/imx6ul-14x14-evk.dtsi   2022-01-17 11:43:49.571146566 +0800
@@ -21,7 +21,6 @@
       regulator-name = "VSD_3V3";
       regulator-min-microvolt = <3300000>;
@@ -117,7 +117,7 @@
 
diff -Nuar uboot-imx/configs/igkboard_defconfig uboot-imx-igkboard/configs/igkboard_defconfig
--- uboot-imx/configs/igkboard_defconfig   1970-01-01 08:00:00.000000000 +0800
+++ uboot-imx-igkboard/configs/igkboard_defconfig   2021-12-27 21:28:57.371632449 +0800
+++ uboot-imx-igkboard/configs/igkboard_defconfig   2022-03-27 21:51:34.908762785 +0800
@@ -0,0 +1,96 @@
+CONFIG_ARM=y
+CONFIG_ARCH_MX6=y
@@ -217,7 +217,7 @@
+CONFIG_SPLASH_SCREEN_ALIGN=y
diff -Nuar uboot-imx/drivers/fastboot/fb_fsl/fb_fsl_partitions.c uboot-imx-igkboard/drivers/fastboot/fb_fsl/fb_fsl_partitions.c
--- uboot-imx/drivers/fastboot/fb_fsl/fb_fsl_partitions.c   2021-09-06 16:48:23.000000000 +0800
+++ uboot-imx-igkboard/drivers/fastboot/fb_fsl/fb_fsl_partitions.c   2021-12-27 19:10:28.608974060 +0800
+++ uboot-imx-igkboard/drivers/fastboot/fb_fsl/fb_fsl_partitions.c   2022-01-17 11:43:49.571146566 +0800
@@ -185,6 +185,12 @@
          boot_partition = FASTBOOT_MMC_BOOT_PARTITION_ID;
          user_partition = FASTBOOT_MMC_USER_PARTITION_ID;
@@ -233,7 +233,7 @@
          fastboot_devinfo.type);
diff -Nuar uboot-imx/drivers/net/phy/phy.c uboot-imx-igkboard/drivers/net/phy/phy.c
--- uboot-imx/drivers/net/phy/phy.c   2021-09-06 16:48:23.000000000 +0800
+++ uboot-imx-igkboard/drivers/net/phy/phy.c   2021-12-27 17:34:17.929670552 +0800
+++ uboot-imx-igkboard/drivers/net/phy/phy.c   2022-01-17 11:43:49.575146507 +0800
@@ -182,6 +182,9 @@
 {
    int result;
@@ -246,7 +246,7 @@
 
diff -Nuar uboot-imx/include/configs/mx6ullevk.h uboot-imx-igkboard/include/configs/mx6ullevk.h
--- uboot-imx/include/configs/mx6ullevk.h   2021-09-06 16:48:23.000000000 +0800
+++ uboot-imx-igkboard/include/configs/mx6ullevk.h   2021-12-27 19:11:09.428964256 +0800
+++ uboot-imx-igkboard/include/configs/mx6ullevk.h   2022-03-27 20:50:01.809573426 +0800
@@ -100,124 +100,36 @@
 
 #else
@@ -259,7 +259,7 @@
-   "fdt_high=0xffffffff\0" \
-   "initrd_high=0xffffffff\0" \
-   "fdt_file=undefined\0" \
+   "fdt_file=igkboard-emmc.dtb\0" \
+   "fdt_file=igkboard.dtb\0" \
    "fdt_addr=0x83000000\0" \
-   "tee_addr=0x84000000\0" \
-   "tee_file=undefined\0" \
@@ -280,7 +280,7 @@
+    "ipaddr=192.168.2.22\0" \
+    "serverip=192.168.2.2\0" \
+    "mmcpart=" __stringify(CONFIG_SYS_MMC_IMG_LOAD_PART) "\0" \
+    "mmcargs=setenv bootargs console=${console},${baudrate} root=/dev/mmcblk${mmc_no}p2 rootwait rw\0" \
+    "mmcargs=setenv bootargs console=${console},${baudrate} root=/dev/mmcblk${mmc_no}p2 rootwait rw net.ifnames=0\0" \
+    "loadbootscript=fatload mmc ${mmcdev}:${mmcpart} ${loadaddr} ${script};\0" \
+    "bootscript=echo Running bootscript from mmc ...; source\0" \
    "loadimage=fatload mmc ${mmcdev}:${mmcpart} ${loadaddr} ${image}\0" \
@@ -405,7 +405,7 @@
 #define CONFIG_IOMUX_LPSR
diff -Nuar uboot-imx/Makefile uboot-imx-igkboard/Makefile
--- uboot-imx/Makefile   2021-09-06 16:48:23.000000000 +0800
+++ uboot-imx-igkboard/Makefile   2021-12-27 19:28:00.507661085 +0800
+++ uboot-imx-igkboard/Makefile   2022-03-27 20:50:05.745527305 +0800
@@ -263,6 +263,9 @@
 CROSS_COMPILE ?=
 endif