From b0cd99d409f38e1aafcd67fef85a95f913b8ffbd Mon Sep 17 00:00:00 2001
From: guowenxue <guowenxue@gmail.com>
Date: Mon, 03 Jan 2022 20:51:19 +0800
Subject: [PATCH] update imx6ull bsp tarball buid.sh fix 127.0.0.1 bug
---
bsp/kernel/build.sh | 19 ++++++++-----------
1 files changed, 8 insertions(+), 11 deletions(-)
diff --git a/bsp/kernel/build.sh b/bsp/kernel/build.sh
index aece0e5..6e373c8 100755
--- a/bsp/kernel/build.sh
+++ b/bsp/kernel/build.sh
@@ -1,25 +1,21 @@
#!/bin/bash
-INST_DRIVER=1
-
PRJ_PATH=`pwd`
-IMG_PATH=${PRJ_PATH}/../images/boot
-
+# update by top build.sh
BOARD=igkboard
-
+BSP_BRANCH=lf-5.10.52-2.1.0
CROSS_TOOL=/opt/buildroot/cortexA7/bin/arm-linux-
-# linux kernel tarball path and branch
+INST_DRIVER=1
+
TAR_PATH=${PRJ_PATH}/../tarball
-BSP_BRANCH=lf-5.10.52-2.1.0
+IMG_PATH=${PRJ_PATH}/../images/boot
BOOT=emmc
-
LINUX_SRC=linux-imx
PATCH_FILE=${PRJ_PATH}/patch/${LINUX_SRC}-${BOARD}.patch
-
CONF_FILE=arch/arm/configs/${BOARD}_defconfig
JOBS=`cat /proc/cpuinfo | grep processor | wc -l`
@@ -91,13 +87,14 @@
set -x
cp arch/arm/boot/zImage ${IMG_PATH}
- cp arch/arm/boot/dts/imx6ul-14x14-evk-emmc.dtb ${IMG_PATH}/${BOARD}-${BOOT}.dtb
+ cp arch/arm/boot/dts/${BOARD}-${BOOT}.dtb ${IMG_PATH}/
cp arch/arm/boot/zImage /tftp
- cp arch/arm/boot/dts/imx6ul-14x14-evk-emmc.dtb /tftp/${BOARD}-${BOOT}.dtb
+ cp arch/arm/boot/dts/${BOARD}-${BOOT}.dtb /tftp/
set +x
if [ $INST_DRIVER != 0 ] ;then
+ rm -rf ${PRJ_PATH}/../rootfs/driver
make modules_install INSTALL_MOD_PATH=${PRJ_PATH}/../rootfs/driver INSTALL_MOD_STRIP=1
fi
--
Gitblit v1.9.1