From 9c222f3844cd06ce2d59511a01dcbfca8ad8e762 Mon Sep 17 00:00:00 2001
From: guowenxue <guowenxue@gmail.com>
Date: Thu, 30 Mar 2023 14:20:43 +0800
Subject: [PATCH] update bsp to lf-5.15.71-2.2.0, rename system image to distro, update download url

---
 bsp/scripts/setup_env.sh |   10 +++-------
 bsp/build.sh             |    4 ++--
 2 files changed, 5 insertions(+), 9 deletions(-)

diff --git a/bsp/build.sh b/bsp/build.sh
index 1da93f8..58ef68f 100755
--- a/bsp/build.sh
+++ b/bsp/build.sh
@@ -4,8 +4,8 @@
 
 BOARD=igkboard
 
-# BSP_VER should be lf-5.10.52-2.1.0, lf-5.15.32-2.0.0
-BSP_VER=lf-5.15.32-2.0.0
+# BSP_VER should be lf-5.15.71-2.2.0 lf-5.15.32-2.0.0 lf-5.10.52-2.1.0
+BSP_VER=lf-5.15.71-2.2.0
 
 CROSS_TOOL=/opt/gcc-arm-10.3-2021.07/bin/arm-none-linux-gnueabihf-
 
diff --git a/bsp/scripts/setup_env.sh b/bsp/scripts/setup_env.sh
index f95f044..893ba46 100755
--- a/bsp/scripts/setup_env.sh
+++ b/bsp/scripts/setup_env.sh
@@ -8,9 +8,9 @@
 CROSS_TOOL=/opt/gcc-arm-10.3-2021.07/bin/arm-none-linux-gnueabihf-
 
 # Source code download address
-SRV_URL=http://weike-iot.com:2211
+SRV_URL=http://master.iot-yun.club:2211
 #SRV_URL=http://127.0.0.1:2211
-BSP_VER=lf-5.15.32-2.0.0
+BSP_VER=lf-5.15.71-2.2.0
 BSP_URL=${SRV_URL}/imx/bsp/${BSP_VER}
 
 # SYSTEM  should be: yocto or debian
@@ -21,11 +21,7 @@
 
 TARBALL_DIR=${PRJ_PATH}/../tarballs/
 
-if [ $SYSTEM == "debian" ] ; then
-    SYSNAME=${DISTRO}
-else
-    SYSNAME=${SYSTEM}
-fi
+SYSNAME=${DISTRO}
 
 ROOTFS_DIR=rootfs_${DISTRO}
 

--
Gitblit v1.9.1